Skip to main content
POST
/
orgs
/
{org_id}
/
assistants
/
{assistant_id}
/
actions
{
  "id": "<string>",
  "enabled": true,
  "name": "<string>",
  "instructions": "<string>",
  "action_id": "<string>",
  "assistant_id": "<string>",
  "connection_id": "<string>",
  "config": {
    "input": {},
    "definitions": [
      {
        "path": "<string>",
        "definition": {}
      }
    ]
  },
  "created_at": "2023-12-25",
  "updated_at": "2023-12-25"
}

Path Parameters

org_id
string
required

The ID of the org

assistant_id
string
required

The ID of the assistant

Body

The assistant action information.

Schema for creating a new assistant action

enabled
boolean
required
action_id
string
required
config
object
required

The input values with their dynamic field definitions

name
string
Maximum length: 64
instructions
string
Maximum length: 1024
connection_id
string

Response

200 - application/json

The created assistant action.

Schema for an assistant action

id
string
required
enabled
boolean
required
name
string | null
required
instructions
string | null
required
action_id
string
required
assistant_id
string
required
connection_id
string | null
required
config
object
required

The input values with their dynamic field definitions

created_at
string<date> | null
required
updated_at
string<date> | null
required