cURL
curl --request GET \ --url https://api.ai-stats.phaseo.app/v1/generation \ --header 'Authorization: Bearer <token>'
{ "request_id": "<string>", "team_id": "<string>", "app_id": "<string>", "endpoint": "<string>", "model_id": "<string>", "provider": "<string>", "native_response_id": "<string>", "stream": true, "byok": true, "status_code": 123, "success": true, "error_code": "<string>", "error_message": "<string>", "latency_ms": 123, "generation_ms": 123, "usage": { "prompt_tokens": 123, "completion_tokens": 123, "total_tokens": 123 }, "cost_nanos": 123, "currency": "<string>", "pricing_lines": [ {} ], "key_id": "<string>", "throughput": 123 }
Retrieve a specific generation by ID.
request_id
id
Bearer token authentication
The ID of the generation
Generation data
Show child attributes
Was this page helpful?