OpenSequence
DocsAPI referenceSDKs and CLIReference
Sequences

Copy a version into a new draft

POST
/v1/sequences/{id}/versions

Authorization

projectKey
headerAuthorizationBearer <token>

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

Path Parameters

id*string
Length1 <= length <= 128

Request Body

application/json
  1. body
from_version?string
tag*string
Length1 <= length <= 24
created_by?string
Lengthlength <= 64

Response Body

Default Response

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