List Pipelines

List all pipelines for the hub

Requires the pipelines-view permission.

query
  • include

    Accepted Values: creatorsname

  • sort

    Sorts can be performed on any field - see sorting

  • filter

    Collections of resources can be filtered based on certain criteria - see filtering 

Returns

Returns a collection of source resources, otherwise returns an Error.

GET /v1/pipelines

Example Request
$ curl https://api.cycle.io/v1/pipelines \
-H
"Authorization: Bearer API_KEY"
\
-H
"X-Hub-Id: HUB_ID"
Example Response
{
"data": [
{
"id": "5ccc2a2226393d1231eb4abd",
"name": "Demo Name",
"creator": {
"id": "5b9c2a77b6393d0001eb45fd",
"type": "account"
},
"hub_id": "5a232a77b6393d0001ac2df2",
"disable": false,
"stages": [],
"state": {
"changed": "2021-01-11T18:00:44.952Z",
"current": "live"
},
"events": {
"created": "2021-01-11T18:00:44.952Z",
"updated": "0001-01-01T00:00:00Z",
"deleted": "0001-01-01T00:00:00Z",
"last_run": "0001-01-01T00:00:00Z"
}
}
]
}