v1
latestOpenAPI 3.1.02026-07-266016.5 KBTrigger Agent
Trigger an agent with an arbitrary JSON payload, which is passed to the agent as event context.
You can identify the agent by either its UUID or its macro (key). The API key can be supplied via the Authorization: Bearer header or the apiKey query parameter.
post/agent/{keyOrId}/trigger
Path parameters
keyOrIdstring required
Example:a1b2c3d4-5678-9abc-def0-1234567890ab
The agent's UUID or its macro (key). You can find the UUID in the agent's properties panel.
Query parameters
apiKeystring
API key for authentication. Alternative to using the Authorization header.
Request body
object required
Example request
{
"issue_url": "https://github.com/org/repo/issues/42",
"priority": "high"
}Response
Agent triggered successfully
Example response
{
"task": "RunAgent",
"status": "pending",
"priority": 5
}