Run
Retrieves a paginated list of runs for the authenticated user
false110Runs retrieved successfully
Unauthorized - invalid API key
Internal server error
GET /v1/runs HTTP/1.1
Host: api.toolregistry.ai
x-api-key: YOUR_API_KEY
Accept: */*
[
{
"runId": "123e4567-e89b-12d3-a456-426614174000",
"repeatKey": "text",
"repeatRunId": "123e4567-e89b-12d3-a456-426614174000",
"status": "RUNNING",
"stepsFinished": [
{}
],
"result": {},
"intent": "Create a summary of the latest sales data",
"context": "Focus on Q4 2023 data with regional breakdown",
"createdAt": "2025-11-06T10:57:29.720Z",
"updatedAt": "2025-11-06T10:57:29.720Z"
}
]Creates a new run with the specified intent and selected integrations
The intent or goal for the run
Create a summary of the latest sales dataArray of selected customer integration IDs to use for the run, or use ["*"] to include all active integrations
["integration-1","integration-2"]Additional context for the run execution
Focus on Q4 2023 data with regional breakdownThe ID of the user who is initiating the run
user-123Approval strategy for the run
NONEPossible values: The key of the run to repeat
Run successfully created
Invalid request body or parameters
Unauthorized - invalid API key
POST /v1/runs HTTP/1.1
Host: api.toolregistry.ai
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 244
{
"intent": "Create a summary of the latest sales data",
"selectedCustomerIntegrationIds": [
"integration-1",
"integration-2"
],
"context": "Focus on Q4 2023 data with regional breakdown",
"userId": "user-123",
"approvalStrategy": "NONE",
"repeatKey": "text"
}{
"runId": "123e4567-e89b-12d3-a456-426614174000",
"repeatKey": "text",
"status": "QUEUED",
"stepsFinished": [
{}
],
"plan": {
"planType": "json",
"plan": {}
},
"repeatRunId": "123e4567-e89b-12d3-a456-426614174000"
}Approve or deny a run or its individual steps
Run successfully created
Invalid request body or parameters
Unauthorized - invalid API key
GET /v1/runs/approval?token=text HTTP/1.1
Host: api.toolregistry.ai
x-api-key: YOUR_API_KEY
Accept: */*
No content
Retrieves detailed information about a specific run
Unique identifier of the run to retrieve
Run details retrieved successfully
Unauthorized - invalid API key
Run not found
GET /v1/runs/{runId} HTTP/1.1
Host: api.toolregistry.ai
x-api-key: YOUR_API_KEY
Accept: */*
{
"runId": "123e4567-e89b-12d3-a456-426614174000",
"repeatKey": "text",
"repeatRunId": "123e4567-e89b-12d3-a456-426614174000",
"status": "RUNNING",
"stepsFinished": [
{}
],
"result": {},
"intent": "Create a summary of the latest sales data",
"context": "Focus on Q4 2023 data with regional breakdown",
"createdAt": "2025-11-06T10:57:29.720Z",
"updatedAt": "2025-11-06T10:57:29.720Z"
}Aborts a running or queued run by its ID
Unique identifier of the run to abort
Run successfully aborted
No content
Unauthorized - invalid API key
Run not found
DELETE /v1/runs/{runId} HTTP/1.1
Host: api.toolregistry.ai
x-api-key: YOUR_API_KEY
Accept: */*
No content
Establishes a Server-Sent Events connection to stream real-time updates for a run
Unique identifier of the run to stream events for
SSE stream established successfully
Server-sent events stream with run updates
Unauthorized - invalid API key
Run not found
Internal server error or stream error
GET /v1/runs/{runId}/sse HTTP/1.1
Host: api.toolregistry.ai
x-api-key: YOUR_API_KEY
Accept: */*
text