The Pipeline REST API exposes the same operations as the Manage Pipelines view in the GoldRush Platform: list pipelines, create new ones, edit configuration, pause and resume, and inspect runtime state. Use it when you want pipelines to be managed by code - infrastructure-as-code, CI/CD, internal tooling - rather than by hand in the UI.Documentation Index
Fetch the complete documentation index at: https://goldrush.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
Base URL
Authentication
All endpoints require a ServiceKey sent as a bearer token. Regular GoldRush API keys are rejected with403.
Endpoints
List pipelines
GET /platform/pipeline-api/ - paginated list of pipelines visible to your ServiceKey.Create a pipeline
POST /platform/pipeline-api/ - create from a JSON config that mirrors the YAML schema.Get a pipeline
GET /platform/pipeline-api/{id}/ - fetch a single pipeline. Secrets returned as ******.Set pipeline status
PUT /platform/pipeline-api/{id}/ - pause or resume by flipping status.Update a pipeline
PATCH /platform/pipeline-api/{id}/ - partial update of any writeable field.Delete a pipeline
DELETE /platform/pipeline-api/{id}/ - permanent removal.Status
GET /platform/pipeline-api/{id}/status/ - runtime deployment phase.Logs
GET /platform/pipeline-api/{id}/logs/ - recent worker log lines.Metrics
GET /platform/pipeline-api/{id}/metrics/ - throughput and lag snapshot.Destination health
GET /platform/pipeline-api/{id}/destination-health/ - last connectivity check.Response envelope
Every response follows the standard GoldRush envelope:pagination alongside items:
End-to-end example
The flow below creates a pipeline that streams Base swap logs into Postgres, waits for the runtime to come up, and then pauses it.Two notions of “status”
The API exposes two distinct status fields. Don’t confuse them:| Where | Field | Values | Meaning |
|---|---|---|---|
Pipeline object (GET /{id}/) | status | running, paused | User intent. What the user asked for. |
Status endpoint (GET /{id}/status/) | status | DEPLOYING, RUNNING, PAUSED, FAILED, STOPPING, STOPPED | Runtime phase. What the worker is actually doing. |
POST has status: "running" immediately, but the status endpoint will show DEPLOYING for several seconds until the worker comes up. Use the status endpoint when you need to know whether the pipeline is actually live.
Secrets are masked on read
Destination credentials (passwords, tokens, secret access keys) are returned as****** from GET endpoints. To rotate a secret, send a PATCH with the new value in destination_config - never send the masked ****** back.
See also
- Service Keys - how to create and rotate the credential.
- Configuration Reference - the YAML schema that the JSON request bodies mirror.
- Destinations - the shape of
destination_configfor eachdestination_type.