Send a message with optional capabilities and files. Get finished work back.
API key in the format sk-stw_.... Get yours at stewrd.dev/dashboard.
The task or question for the agent.
"What is the capital of France?"
Filter which capabilities to use for this request. Omit to use all capabilities enabled on the project.
chat, research, documents, code, data, files Files to include with the request.
Set to true to receive a Server-Sent Events stream instead of a JSON response. Not supported when tools is provided.
Custom tool definitions for function calling. When provided, only the chat capability is used and streaming is disabled. Max 20 tools per request.
20Successful agent response
Unique request identifier.
Object type, always agent.response.
agent.response Response status. completed when the agent has finished, requires_tool_outputs when the agent needs custom tool results.
completed, requires_tool_outputs The agent's response message. Present when status is completed.
Tool calls the agent wants to make. Present when status is requires_tool_outputs.
Capabilities that were used for this request.
Files generated by the agent.
Compute instance ID — pass back with tool output submissions for machine affinity routing.