获取素材分组详情
API Configuration
After saving, the Try It panel below sends real requests with this key.
Base: api.xrtoken.ai
获取指定素材分组的详细信息。仅可查看当前用户拥有的分组。
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"
}