Create a new action for a specific assistant.
cURL
curl --request POST \ --url https://api.example.com/orgs/{org_id}/assistants/{assistant_id}/actions \ --header 'Content-Type: application/json' \ --data ' { "enabled": true, "action_id": "<string>", "config": { "input": {}, "definitions": [ { "path": "<string>", "definition": {} } ] }, "name": "<string>", "instructions": "<string>", "connection_id": "<string>" } '
{ "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" }
The ID of the org
The ID of the assistant
The assistant action information.
Schema for creating a new assistant action
The input values with their dynamic field definitions
Show child attributes
64
1024
The created assistant action.
Schema for an assistant action
Was this page helpful?