Get asset details
API Configuration
After saving, the Try It panel below sends real requests with this key.
Base: api.xrtoken.ai
Retrieve detailed information for a specific asset, including processing status. Only assets owned by the current user can be viewed.
Asset status reference:
- Active: Processing complete, ready for use
- Processing: Still processing, check back later (recommended interval: 5 seconds)
- Failed: Processing failed, the
Errorfield contains the error message
Authorization
BearerAuth AuthorizationBearer <token>
API key authentication (OpenAI format). Pass in the Authorization header:
Authorization: Bearer tr-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
In: header
Path Parameters
assetId*string
Asset ID
Response Body
application/json
application/json
application/json
application/json
curl -X get "https://api.xrtoken.ai/v1/assets/string"{
"Id": "string",
"Name": "string",
"AssetType": "Image",
"Status": "Active",
"GroupId": "string",
"URL": "string",
"CreateTime": "string",
"UpdateTime": "string",
"Error": {
"Code": "string",
"Message": "string"
}
}{
"error": "invalid or missing API key",
"type": "auth_error"
}{
"error": "string",
"type": "invalid_request_error"
}{
"error": "rate limit exceeded",
"type": "rate_limit_error"
}