OpenSequence
DocsAPI referenceSDKs and CLIReference
Sequences

Create a sequence and its v1 draft

POST
/v1/sequences

Authorization

projectKey
headerAuthorizationBearer <token>

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

Request Body

application/json
  1. body
name*string
Length1 <= length <= 160
description?string
Lengthlength <= 2000
external_id?string
Lengthlength <= 64
created_by?string
Lengthlength <= 64
labels?
definition?unknown

Response Body

Default Response

application/json
  1. response
success*true
Value intrue
data*unknown
meta*
curl -X POST 'http://localhost:8080/v1/sequences' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
{  "success": true,  "data": null,  "meta": {    "request_id": "string",    "next_cursor": "string"  }}