获取素材分组详情
API 配置
保存后下方「Try It」面板会自动携带此 API Key 发送真实请求。
Base: api.xrtoken.net
获取指定素材分组的详细信息。仅可查看当前用户拥有的分组。
Authorization
BearerAuth AuthorizationBearer <token>
API 密钥认证(OpenAI 格式)。在 Authorization 请求头中传入:
Authorization: Bearer tr-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
In: header
Path Parameters
groupId*string
素材分组 ID
Response Body
application/json
application/json
application/json
application/json
curl -X get "https://api.xrtoken.net/v1/asset-groups/string"{
"Id": "string",
"Name": "string",
"Description": "string",
"GroupType": "AIGC",
"CreateTime": "string",
"UpdateTime": "string"
}{
"error": "invalid or missing API key",
"type": "auth_error"
}{
"error": "string",
"type": "invalid_request_error"
}{
"error": "rate limit exceeded",
"type": "rate_limit_error"
}