LlmapiResponseResponse
LlmapiResponseResponse =
object
Defined in: src/client/types.gen.ts:1582
Properties
client_injected_tools?
optionalclient_injected_tools:string[]
Defined in: src/client/types.gen.ts:1586
ClientInjectedTools are tool names the client provided in the original request.
created_at?
optionalcreated_at:number
Defined in: src/client/types.gen.ts:1590
Created is the Unix timestamp of creation (created_at in OpenAI format)
extra_fields?
optionalextra_fields:LlmapiResponseExtraFields
Defined in: src/client/types.gen.ts:1591
id?
optionalid:string
Defined in: src/client/types.gen.ts:1595
ID is the unique response identifier
messages?
optionalmessages:LlmapiMessage[]
Defined in: src/client/types.gen.ts:1602
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?
optionalmodel:string
Defined in: src/client/types.gen.ts:1606
Model is the model used for generation
object?
optionalobject:string
Defined in: src/client/types.gen.ts:1610
Object is the response type (e.g., “response”)
output?
optionaloutput:LlmapiResponseOutputItem[]
Defined in: src/client/types.gen.ts:1614
Output is the array of output items (OpenAI Responses API format)
portal_injected_tools?
optionalportal_injected_tools:string[]
Defined in: src/client/types.gen.ts:1618
PortalInjectedTools are tool names the portal’s classifier added to the request.
tool_call_events?
optionaltool_call_events:LlmapiToolCallEvent[]
Defined in: src/client/types.gen.ts:1622
ToolCallEvents is an array of tool call events.
tools_checksum?
optionaltools_checksum:string
Defined in: src/client/types.gen.ts:1626
ToolsChecksum is the checksum of the tool schemas used by the AI Portal.
usage?
optionalusage:LlmapiResponseUsage
Defined in: src/client/types.gen.ts:1627