Skip to main content
PATCH
/
platform
/
pipeline-api
/
{pipeline_id}
Update a pipeline
curl --request PATCH \
  --url https://api.covalenthq.com/platform/pipeline-api/{pipeline_id}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "destination_config": {
    "type": "<string>",
    "url": "<string>",
    "user": "<string>",
    "password": "<string>"
  },
  "transforms": {},
  "abi_file": {},
  "abi_contract_addresses": [
    "<string>"
  ],
  "abi_unmatched": "",
  "execution_start_from": "<string>",
  "execution_stop_from": "<string>",
  "status": "running"
}
'
{
  "data": {
    "id": "pipe_3e8678c5fc9e48a7bf9879ca729",
    "name": "From Base Swap to Postgres",
    "project": "pipeline-api-hr-1wk-unbounded",
    "description": "Base swaps, unbounded",
    "topic": "base.mainnet.ref.block.swap.v3",
    "destination_type": "postgres",
    "destination_config": {
      "type": "<string>",
      "url": "<string>",
      "user": "<string>",
      "password": "<string>"
    },
    "transforms": {
      "swaps": "SELECT chain_name, block_height, tx_hash FROM swaps WHERE protocol = 'uniswap_v3'"
    },
    "execution_mode": "bounded",
    "execution_start_from": "44745000",
    "execution_stop_from": "",
    "abi_file": {},
    "abi_contract_addresses": [
      "<string>"
    ],
    "abi_unmatched": "",
    "status": "running",
    "created_by": {
      "id": "user_fb22f43e38ac44edabc7f566c5d",
      "email": "jsmith@example.com",
      "display_name": "<string>",
      "full_name": "<string>"
    },
    "group": {
      "id": "group_d632592ddbde4a499452d25b",
      "name": "<string>",
      "slug": "<string>",
      "is_paid": true,
      "is_over_limit": true,
      "is_free_trial_expired": true
    },
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  },
  "error": true,
  "error_message": "<string>",
  "error_code": "<string>"
}

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.

Requires a ServiceKey. See Service Keys.
Send only the fields you want to change. Omitted fields are left untouched. Common uses:
  • Toggle status between running and paused to start or pause a pipeline.
  • Edit a single entry in transforms without disturbing destination credentials.
  • Rotate a destination password by sending a new destination_config.

Authorizations

Authorization
string
header
required

Pipeline REST endpoints require a ServiceKey. Regular GoldRush API keys are rejected with 403. See Service Keys.

Path Parameters

pipeline_id
string
required

The pipeline identifier, prefixed with pipe_.

Body

application/json

Partial update body. Any subset of writeable fields may be supplied. Omit a field to leave it unchanged.

name
string
description
string
destination_config
object

Destination-specific connection details. The accepted keys depend on destination_type. Examples: Postgres uses url, user, password; webhook uses url. On read, secret fields are masked as ****** and must be re-supplied in full on a PUT.

transforms
object
abi_file
object
abi_contract_addresses
string[]
abi_unmatched
enum<string>
Available options:
,
skip,
raw
execution_start_from
string
execution_stop_from
string
status
enum<string>

Flip between running and paused to start or pause the pipeline.

Available options:
running,
paused

Response

Updated pipeline.

data
object

A configured pipeline. Sensitive fields inside destination_config (such as passwords) are masked as ****** on read.

error
boolean
error_message
string | null
error_code
string | null