Integration API
Trigger task executions, list runs, and receive webhook callbacks programmatically.
The Integration API lets external systems queue task executions, inspect run status, fetch artifacts, and receive signed webhook callbacks when runs progress.
Base URL
All endpoints are under:
https://your-app.example.com/api/v1/integrations
Replace your-app.example.com with your reArray deployment hostname.
Authentication
Authenticate every request with a Bearer API key:
Authorization: Bearer ra_live_<prefix>_<secret>
API keys are created in the workspace Integrations page. See Authentication for key management and scoping.
OpenAPI specification
Fetch the machine-readable spec:
GET /api/v1/integrations/openapi.json
No authentication required. The spec describes all endpoints, request/response schemas, and error codes.
Endpoints overview
| Method | Path | Purpose |
|---|---|---|
POST | /executions | Queue an execution |
GET | /executions | List executions (cursor pagination) |
GET | /executions/{id} | Get execution by ID |
POST | /executions/{id}/cancel | Cancel an execution |
GET | /executions/{id}/artifacts | Signed URLs for video artifacts |
GET | /tasks | List runnable tasks |
GET | /tasks/{id} | Get task details |
GET | /tasks/{id}/params-schema | Get params schema for a version |
GET | /agents | List available agents |
POST | /webhooks/test | Send a test webhook |
Error responses
Errors return JSON with a consistent shape:
{
"error": {
"code": "invalid_request",
"message": "Human-readable description",
"details": null,
"request_id": "req_..."
}
}
Common error codes: invalid_request, unauthorized, forbidden, not_found, rate_limited, invalid_params, idempotency_conflict, concurrency_limit_reached, internal_error.
In this section
- Authentication β API keys, scoping, and rate limits
- Executions API β Full endpoint reference with examples
- Webhooks β Callback events, HMAC verification, and delivery log