Skip to main content
POST
/
operations
Create Operation
curl --request POST \
  --url https://api.example.com/operations \
  --header 'Content-Type: application/json' \
  --data '
{
  "handle": "<string>",
  "description": "<string>",
  "definition": {
    "manifest": {},
    "code": "<string>",
    "files": {}
  }
}
'
{
  "success": true,
  "data": {
    "id": "<string>",
    "entity": "operation",
    "organization_id": "<string>",
    "handle": "<string>",
    "version": 1,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "description": "<string>",
    "active_revision_id": "<string>"
  }
}

Body

application/json
handle
string
required
description
string | null
definition
object

Response

201 - application/json

The created operation

success
boolean
data
object