Run
Retrieves a paginated list of runs for the authenticated user
false
1
10
Runs 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",
"status": "RUNNING",
"stepsFinished": [
{}
],
"result": {},
"createdAt": "2025-09-06T23:45:16.580Z",
"updatedAt": "2025-09-06T23:45:16.580Z"
}
]
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 data
Array 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 breakdown
The ID of the user who is initiating the run
user-123
Approval strategy for the run
NONE
Possible values: 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: 225
{
"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"
}
{
"runId": "123e4567-e89b-12d3-a456-426614174000",
"status": "QUEUED",
"stepsFinished": [
{}
],
"plan": {
"planType": "json",
"plan": {}
}
}
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 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",
"status": "RUNNING",
"stepsFinished": [
{}
],
"result": {},
"createdAt": "2025-09-06T23:45:16.580Z",
"updatedAt": "2025-09-06T23:45:16.580Z"
}
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