Skip to main content
POST
/
agents
/
{agentId}
/
probe
/
run
Error
A valid request URL is required to generate request examples
{
  "success": true,
  "data": {
    "runId": "<string>"
  },
  "message": "<string>",
  "errors": [
    {
      "field": "<string>",
      "message": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Clerk JWT (browser). Requires Authorization: Bearer <clerk_jwt> and the X-Organization-Id header. Validated by the ported Clerk middleware, which sets the app.current_organization_id RLS context.

Path Parameters

agentId
string
required

Body

application/json
scenarioId
string
required
mode
enum<string>
required
Available options:
loopback,
phone

Response

Run kicked.

success
boolean
required
data
object
required
message
string
errors
object[]