API reference
V1Sequence Executions

Create Sequence Execution

Create a new Sequence Run, this transforms the body of the current Sequence into a task list

POST
/api/v1/sequences/{sequence_id}/executions

Create a new Sequence Run, this transforms the body of the current Sequence into a task list

Authorization

access_token
Authorization<token>

In: header

Path Parameters

sequence_id*string

sequence ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/sequences/string/executions" \  -H "Content-Type: application/json" \  -d '{    "tasks": [      {        "actor": "string",        "description": "string",        "start_line": 0,        "end_line": 0,        "normal_user_id": "string",        "team_role_id": "string"      }    ]  }'
{  "message": "string",  "status": "string",  "data": {    "id": "string",    "sequence_version_id": "string",    "sequence_version_number": "string",    "sequence_execution_number": 1,    "title": "Execution Title",    "outcome": {      "id": "string",      "content": null,      "created_at": "string",      "updated_at": "string"    },    "created_at": "string",    "updated_at": "string",    "started_at": "string",    "finished_at": "string",    "duration": "string",    "rating": 0  },  "required": [    "message",    "status",    "data"  ]}