Skip to Content
SdkClientInternalType AliasesLlmapiResponseResponse

LlmapiResponseResponse

LlmapiResponseResponse = object

Defined in: src/client/types.gen.ts:1022 

Properties

created_at?

optional created_at: number

Defined in: src/client/types.gen.ts:1026 

Created is the Unix timestamp of creation (created_at in OpenAI format)


extra_fields?

optional extra_fields: LlmapiResponseExtraFields

Defined in: src/client/types.gen.ts:1027 


id?

optional id: string

Defined in: src/client/types.gen.ts:1031 

ID is the unique response identifier


messages?

optional messages: LlmapiMessage[]

Defined in: src/client/types.gen.ts:1038 

Messages contains the full conversation history when local tools need execution. This is populated when the model requests tools that are not MCP tools (local/client-side tools). The client should execute these tools and send a new request with this message history plus the tool results appended.


model?

optional model: string

Defined in: src/client/types.gen.ts:1042 

Model is the model used for generation


object?

optional object: string

Defined in: src/client/types.gen.ts:1046 

Object is the response type (e.g., “response”)


output?

optional output: LlmapiResponseOutputItem[]

Defined in: src/client/types.gen.ts:1050 

Output is the array of output items (OpenAI Responses API format)


tool_call_events?

optional tool_call_events: LlmapiToolCallEvent[]

Defined in: src/client/types.gen.ts:1054 

ToolCallEvents is an array of tool call events.


tools_checksum?

optional tools_checksum: string

Defined in: src/client/types.gen.ts:1058 

ToolsChecksum is the checksum of the tool schemas used by the AI Portal.


usage?

optional usage: LlmapiResponseUsage

Defined in: src/client/types.gen.ts:1059 

Last updated on