textql.rpc.platform.AgentService

TriggerAgentWebhook

Trigger an agent run with a JSON webhook payload

post/v1/agents/webhook/trigger

Request

  • The document declares no server URL.
  • Auth
    none required

Headers

Connect-Protocol-Version1 required

Define the version of the Connect protocol

Connect-Timeout-Msnumber

Define the timeout, in ms

Request body

triggerIdstring uuid required

The webhook trigger ID for the agent.

payloadobject

JSON payload to pass to the agent as run context. Limited to 16KB after JSON serialization.

Response

Success

statusstring

Queue status for the agent run.

Example response

{
  "status": "queued"
}

Changes

No recorded changes to this operation across all 1 revision of this API.