ReferenceV1
Get Turn
Get a chat turn by ID.
Path Parameters
turn_id*string
Format
uuidHeader Parameters
authorization?|
X-API-Key?|
Cookie Parameters
vai_token?|
Response Body
application/json
application/json
curl -X GET "https://loading/api/v1/chat/turns/497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"completedAt": "2019-08-24T14:15:22Z",
"concurrencyKey": "string",
"createdAt": "2019-08-24T14:15:22Z",
"durationSeconds": 0,
"error": {},
"id": "string",
"idempotencyKey": "string",
"inputMessageId": "string",
"modelId": "string",
"outputMessageId": "string",
"settings": {},
"startedAt": "2019-08-24T14:15:22Z",
"status": "pending",
"threadId": "string",
"updatedAt": "2019-08-24T14:15:22Z",
"usage": {
"cachedInputTokens": 0,
"inputTokens": 0,
"outputTokens": 0,
"totalCost": "string"
}
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}