curl --request GET \
--url https://{controlPlaneURL}/api/llm/batches/{id}/output \
--header 'Authorization: Bearer <token>'[
{
"id": "<string>",
"custom_id": "<string>",
"response": {
"status_code": 123,
"request_id": "<string>",
"body": {
"id": "<string>",
"object": "<string>",
"created": 123,
"model": "<string>",
"choices": [
{
"index": 123,
"message": {
"role": "<string>",
"content": "<string>",
"annotations": [
"<unknown>"
],
"refusal": "<unknown>"
},
"finish_reason": "<string>",
"logprobs": "<unknown>"
}
],
"usage": {
"prompt_tokens": 123,
"completion_tokens": 123,
"total_tokens": 123,
"prompt_tokens_details": {
"cached_tokens": 123,
"audio_tokens": 123
},
"completion_tokens_details": {
"reasoning_tokens": 123,
"audio_tokens": 123,
"accepted_prediction_tokens": 123,
"rejected_prediction_tokens": 123
}
},
"service_tier": "<string>",
"system_fingerprint": "<unknown>"
},
"error": "<unknown>"
},
"error": "<unknown>"
}
]Get output of a specific batch process
curl --request GET \
--url https://{controlPlaneURL}/api/llm/batches/{id}/output \
--header 'Authorization: Bearer <token>'[
{
"id": "<string>",
"custom_id": "<string>",
"response": {
"status_code": 123,
"request_id": "<string>",
"body": {
"id": "<string>",
"object": "<string>",
"created": 123,
"model": "<string>",
"choices": [
{
"index": 123,
"message": {
"role": "<string>",
"content": "<string>",
"annotations": [
"<unknown>"
],
"refusal": "<unknown>"
},
"finish_reason": "<string>",
"logprobs": "<unknown>"
}
],
"usage": {
"prompt_tokens": 123,
"completion_tokens": 123,
"total_tokens": 123,
"prompt_tokens_details": {
"cached_tokens": 123,
"audio_tokens": 123
},
"completion_tokens_details": {
"reasoning_tokens": 123,
"audio_tokens": 123,
"accepted_prediction_tokens": 123,
"rejected_prediction_tokens": 123
}
},
"service_tier": "<string>",
"system_fingerprint": "<unknown>"
},
"error": "<unknown>"
},
"error": "<unknown>"
}
]Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Optional metadata for the request
Batch Id
Batch output retrieved successfully
Batch request ID.
Custom ID for the request.
Response details.
Show child attributes
HTTP status code of the response.
Unique request ID.
Show child attributes
ID of the chat completion.
Object type.
Creation timestamp.
Model used.
Show child attributes
Index of the choice.
Show child attributes
Role of the message sender.
Message content.
Annotations for the message.
Refusal details, if any.
Reason for finishing the response.
Log probabilities.
Show child attributes
Number of prompt tokens.
Number of completion tokens.
Total number of tokens.
Show child attributes
Number of reasoning tokens.
Number of audio tokens.
Number of accepted prediction tokens.
Number of rejected prediction tokens.
Service tier.
System fingerprint.
Error details, if any.
Error details, if any.
Was this page helpful?