GetResponseResponseBody
OK
Example Usage
typescript
import { GetResponseResponseBody } from "@meetkai/mka1/models/operations";
let value: GetResponseResponseBody = {
id: "<id>",
createdAt: 8260.15,
status: "cancelled",
error: {
code: "<value>",
message: "<value>",
},
incompleteDetails: {
reason: "<value>",
},
background: true,
instructions: [
{
id: "<id>",
result: "<value>",
status: "<value>",
},
],
maxOutputTokens: 793691,
maxToolCalls: 311847,
metadata: {
"key": "<value>",
"key1": "<value>",
"key2": "<value>",
},
model: "Taurus",
output: [],
parallelToolCalls: true,
previousResponseId: null,
reasoning: {
effort: "medium",
summary: "detailed",
},
store: false,
temperature: 1661.23,
text: {
format: {},
},
toolChoice: {
mode: "required",
tools: [
{
type: "<value>",
},
],
},
tools: [],
topP: 960.89,
truncation: "disabled",
usage: {
inputTokens: 611548,
inputTokensDetails: {
cachedTokens: 279311,
},
outputTokens: 5921,
outputTokensDetails: {
reasoningTokens: 912901,
},
totalTokens: 958889,
},
user: "Kiara95",
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | ✔️ | N/A |
object | string | ✔️ | N/A |
createdAt | number | ✔️ | N/A |
status | operations.GetResponseStatus | ✔️ | The overall status of the response generation. 'completed' means successfully finished, 'failed' means error occurred, 'in_progress' means currently processing, 'cancelled' means user-cancelled, 'queued' means waiting to start, 'incomplete' means partial completion. |
error | operations.ErrorT | ✔️ | N/A |
incompleteDetails | operations.IncompleteDetails | ✔️ | N/A |
background | boolean | ✔️ | N/A |
conversation | operations.GetResponseConversation | ➖ | N/A |
instructions | operations.Instructions | ✔️ | N/A |
maxOutputTokens | number | ✔️ | N/A |
maxToolCalls | number | ✔️ | N/A |
metadata | Record<string, string> | ✔️ | N/A |
model | string | ✔️ | N/A |
output | operations.GetResponseOutput[] | ✔️ | N/A |
outputText | string | ➖ | N/A |
parallelToolCalls | boolean | ✔️ | N/A |
previousResponseId | string | ✔️ | N/A |
prompt | operations.GetResponsePrompt | ➖ | N/A |
promptCacheKey | string | ➖ | N/A |
reasoning | operations.GetResponseReasoning | ✔️ | N/A |
safetyIdentifier | string | ➖ | N/A |
serviceTier | operations.GetResponseServiceTier | ➖ | N/A |
store | boolean | ✔️ | N/A |
temperature | number | ✔️ | N/A |
text | operations.GetResponseText | ✔️ | N/A |
toolChoice | operations.GetResponseToolChoice | ✔️ | N/A |
tools | operations.GetResponseTools[] | ✔️ | N/A |
topLogprobs | number | ➖ | N/A |
topP | number | ✔️ | N/A |
truncation | operations.GetResponseTruncation | ✔️ | N/A |
usage | operations.GetResponseUsage | ✔️ | N/A |
user | string | ✔️ | N/A |