POST
/
task-templates
/
{
  "name": "<string>",
  "instruction": "<string>",
  "assignee": "<string>",
  "context": {
    "entities": []
  },
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "organisation_id": "<string>",
  "cron_schedule": "<string>",
  "schedule_enabled": true,
  "schedule_start_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Api-key
string | null

Body

application/json
instruction
string
required
name
string | null
assignee
string | null
context
object | null
cron_schedule
string | null
schedule_enabled
boolean | null
default:false
schedule_start_at
string | null

Response

Successful Response

instruction
string
required
id
string<uuid>
required
organisation_id
string
required
schedule_enabled
boolean
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
name
string | null
assignee
string | null
context
object | null
cron_schedule
string | null
schedule_start_at
string<date-time> | null