CancelResponseResponseBody
OK
Example Usage
typescript
import { CancelResponseResponseBody } from "@meetkai/mka1/models/operations";
let value: CancelResponseResponseBody = {
id: "<id>",
createdAt: 6747.14,
status: "cancelled",
error: null,
incompleteDetails: {
reason: "<value>",
},
background: true,
instructions: [
{
id: "<id>",
summary: [
{
text: "<value>",
},
],
},
],
maxOutputTokens: 329942,
maxToolCalls: null,
metadata: {
"key": "<value>",
"key1": "<value>",
},
model: "1",
output: [
{
id: "<id>",
content: [
{
refusal: "<value>",
},
],
status: "incomplete",
},
],
parallelToolCalls: true,
previousResponseId: "<id>",
reasoning: {
effort: "medium",
summary: "detailed",
},
store: false,
temperature: 9216.8,
text: {
format: {},
},
toolChoice: "none",
tools: [],
topP: 2708.48,
truncation: "disabled",
usage: {
inputTokens: 299238,
inputTokensDetails: {
cachedTokens: 363214,
},
outputTokens: 667248,
outputTokensDetails: {
reasoningTokens: 866422,
},
totalTokens: 286290,
},
user: "Edyth.Flatley48",
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | ✔️ | N/A |
object | string | ✔️ | N/A |
createdAt | number | ✔️ | N/A |
status | operations.CancelResponseStatus | ✔️ | 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.CancelResponseError | ✔️ | N/A |
incompleteDetails | operations.CancelResponseIncompleteDetails | ✔️ | N/A |
background | boolean | ✔️ | N/A |
conversation | operations.CancelResponseConversation | ➖ | N/A |
instructions | operations.CancelResponseInstructions | ✔️ | N/A |
maxOutputTokens | number | ✔️ | N/A |
maxToolCalls | number | ✔️ | N/A |
metadata | Record<string, string> | ✔️ | N/A |
model | string | ✔️ | N/A |
output | operations.CancelResponseOutput[] | ✔️ | N/A |
outputText | string | ➖ | N/A |
parallelToolCalls | boolean | ✔️ | N/A |
previousResponseId | string | ✔️ | N/A |
prompt | operations.CancelResponsePrompt | ➖ | N/A |
promptCacheKey | string | ➖ | N/A |
reasoning | operations.CancelResponseReasoning | ✔️ | N/A |
safetyIdentifier | string | ➖ | N/A |
serviceTier | operations.CancelResponseServiceTier | ➖ | N/A |
store | boolean | ✔️ | N/A |
temperature | number | ✔️ | N/A |
text | operations.CancelResponseText | ✔️ | N/A |
toolChoice | operations.CancelResponseToolChoice | ✔️ | N/A |
tools | operations.CancelResponseTools[] | ✔️ | N/A |
topLogprobs | number | ➖ | N/A |
topP | number | ✔️ | N/A |
truncation | operations.CancelResponseTruncation | ✔️ | N/A |
usage | operations.CancelResponseUsage | ✔️ | N/A |
user | string | ✔️ | N/A |