Skip to main content
POST
/
zo
/
ask
Ask Zo
curl --request POST \
  --url https://api.zo.computer/zo/ask \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "input": "<string>",
  "conversation_id": "<string>",
  "model_name": "<string>",
  "output_format": {
    "type": "<string>",
    "required": [
      "<string>"
    ],
    "properties": {},
    "description": "<string>"
  },
  "stream": false
}
'
{
  "output": "<string>",
  "conversation_id": "<string>"
}

Authorizations

Authorization
string
header
required

Zo API key (zo_sk_...)

Body

application/json
input
string
required

Your message to Zo

conversation_id
string | null

Continue an existing conversation

model_name
string | null

Override the default model (use /models/available to list available)

output_format
StructuredOutputFormat · object

JSON Schema for structured output

stream
boolean
default:false

Enable streaming mode (returns Server-Sent Events)

Response

Success (non-streaming)

output
required

Zo's response (object if output_format was specified)

conversation_id
string | null

ID to continue this conversation