GET
/control/v1/activity/{request_id}

Path Parameters

request_id*string
Formatuuid

Response Body

application/json

application/json

curl -X GET "https://example.com/control/v1/activity/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "id": "string",
  "status": "pending",
  "model": "string",
  "custom_id": "string",
  "type": "standalone",
  "batch_id": "string",
  "stream_id": "string",
  "created_at": "2019-08-24T14:15:22Z",
  "completed_at": "2019-08-24T14:15:22Z",
  "prompt_tokens": 0,
  "completion_tokens": 0,
  "total_tokens": 0,
  "cached_prompt_tokens": 0,
  "cost_micros": 0,
  "body_json": {},
  "result_json": {},
  "error_json": {}
}
{
  "status_code": 400,
  "detail": "Bad Request",
  "extra": {}
}