Skip to main content
POST
Send a chat message and run the agent (returns a Job)

Authorizations

Authorization
string
header
required

API key: Authorization: Bearer og_live_...

Path Parameters

chat_id
string<uuid>
required

Body

application/json
prompt
string
required
Required string length: 1 - 10000
metadata
object

Response

Job admitted

Shared Job resource returned by every async operation. Poll GET /jobs/{job_id} honoring next_poll_at, or subscribe to job.* webhooks.

object
enum<string>
Available options:
job
id
string<uuid>
operation
string

Catalog operation id

status
enum<string>
Available options:
queued,
running,
needs_input,
succeeded,
failed,
cancelled
cancel_requested
boolean
phase
enum<string> | null
Available options:
researching,
fetching,
enriching,
drafting,
rendering
progress
object | null
target
object | null
metadata
object | null
next_poll_at
string<date-time> | null
result
object | null
credits
object | null

This Job's credit totals; null for non-spending operations. settled flips true after delivered-lead settlement writes back.

error
object | null
needs_input
object | null
chat_id
string | null
created_at
string<date-time>
updated_at
string<date-time>