Sequences

List sequences with their versions and enrollment counts by status

GET
/v1/sequences

Authorization

projectKey
headerAuthorizationBearer <token>

A project API key (sk_live_…) with read, enroll or admin scope.

Query Parameters

limit?integer
Range1 <= value <= 200
Default50
cursor?string
updated_since?unknown

Response Body

Default Response

application/json
  1. response
success*true
Value intrue
data*array<>
meta*
curl -X GET 'http://localhost:8080/v1/sequences'
{  "success": true,  "data": [    {      "id": "string",      "projectId": "string",      "externalId": "string",      "name": "string",      "description": "string",      "createdBy": "string",      "labels": {        "property1": null,        "property2": null      },      "status": "active",      "defaultVersionId": "string",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "versions": [        {          "id": "string",          "tag": "string",          "status": "draft",          "published_at": "2019-08-24T14:15:22Z",          "created_at": "2019-08-24T14:15:22Z"        }      ],      "counts": {        "active": -9007199254740991,        "paused": -9007199254740991,        "waiting_limit": -9007199254740991,        "completed": -9007199254740991,        "exited": -9007199254740991,        "failed": -9007199254740991      }    }  ],  "meta": {    "request_id": "string",    "next_cursor": "string"  }}