API Reference
Use the Opsflow REST API to programmatically manage runs and pipelines. Authenticate with a bearer token generated in the Opsflow console.
List Pipelines
GET /api/v1/pipelines
Authorization: Bearer <token>
Returns pipeline metadata including the latest revision.
Trigger a Run
POST /api/v1/pipelines/{pipeline_id}/runs
Authorization: Bearer <token>
Content-Type: application/json
{
"parameters": {
"region": "us-east-1",
"priority": "high"
}
}
Response contains the run ID you can poll via GET /api/v1/runs/{run_id}.