Interface: OpenAIResponsesResponseObject
Defined in: src/batteries/llm/openai_responses/types.ts:280
The full response object — returned directly (non-streaming), or nested under a terminal streaming event.
Indexable
ts
[key: string]: unknownProperties
| Property | Type | Description | Defined in |
|---|---|---|---|
created_at? | number | Unix timestamp (seconds) when the response was created. | src/batteries/llm/openai_responses/types.ts:286 |
error? | | { code?: string; message?: string; type?: string; } | null | Present when status is 'failed'; the provider's error details. | src/batteries/llm/openai_responses/types.ts:300 |
id? | string | The response's unique identifier. | src/batteries/llm/openai_responses/types.ts:282 |
incomplete_details? | | { reason?: string; } | null | Present when status is 'incomplete'; explains why generation stopped early. | src/batteries/llm/openai_responses/types.ts:298 |
model? | string | The model that generated the response. | src/batteries/llm/openai_responses/types.ts:290 |
object? | string | Object-type discriminator, typically 'response'. | src/batteries/llm/openai_responses/types.ts:284 |
output? | OpenAIResponsesOutputItem[] | The ordered output items the model produced. | src/batteries/llm/openai_responses/types.ts:292 |
output_text? | string | Convenience concatenation of the response's output text, when the provider supplies it. | src/batteries/llm/openai_responses/types.ts:294 |
status? | | "failed" | "completed" | "incomplete" | "in_progress" | "cancelled" | "queued" | Terminal or in-flight lifecycle status of the response. | src/batteries/llm/openai_responses/types.ts:288 |
usage? | OpenAIResponsesUsage | Token-usage accounting for this response. | src/batteries/llm/openai_responses/types.ts:296 |