Create a procedural agent
curl --request POST \
--url https://api.operator.xyz/procedural_agents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Operator-Version: <operator-version>' \
--data '
{
"name": "<string>",
"description": "<string>",
"config": {
"filter_statuses": [],
"runtime": {
"prompt": {
"text": "<string>",
"type": "fixed"
},
"reasoning_effort": "medium"
},
"tool": {
"tools": [
{
"name": "<string>"
}
]
},
"output": {
"slack_channel": null,
"output_schema": null,
"post_url": null
},
"filter_condition": null
}
}
'import requests
url = "https://api.operator.xyz/procedural_agents"
payload = {
"name": "<string>",
"description": "<string>",
"config": {
"filter_statuses": [],
"runtime": {
"prompt": {
"text": "<string>",
"type": "fixed"
},
"reasoning_effort": "medium"
},
"tool": { "tools": [{ "name": "<string>" }] },
"output": {
"slack_channel": None,
"output_schema": None,
"post_url": None
},
"filter_condition": None
}
}
headers = {
"Operator-Version": "<operator-version>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'Operator-Version': '<operator-version>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: '<string>',
description: '<string>',
config: {
filter_statuses: [],
runtime: {prompt: {text: '<string>', type: 'fixed'}, reasoning_effort: 'medium'},
tool: {tools: [{name: '<string>'}]},
output: {slack_channel: null, output_schema: null, post_url: null},
filter_condition: null
}
})
};
fetch('https://api.operator.xyz/procedural_agents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"version_id": "<string>"
}{
"code": "<string>",
"message": "<string>",
"data": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"data": "<unknown>"
}Procedural agents
Create a procedural agent
POST
/
procedural_agents
Create a procedural agent
curl --request POST \
--url https://api.operator.xyz/procedural_agents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Operator-Version: <operator-version>' \
--data '
{
"name": "<string>",
"description": "<string>",
"config": {
"filter_statuses": [],
"runtime": {
"prompt": {
"text": "<string>",
"type": "fixed"
},
"reasoning_effort": "medium"
},
"tool": {
"tools": [
{
"name": "<string>"
}
]
},
"output": {
"slack_channel": null,
"output_schema": null,
"post_url": null
},
"filter_condition": null
}
}
'import requests
url = "https://api.operator.xyz/procedural_agents"
payload = {
"name": "<string>",
"description": "<string>",
"config": {
"filter_statuses": [],
"runtime": {
"prompt": {
"text": "<string>",
"type": "fixed"
},
"reasoning_effort": "medium"
},
"tool": { "tools": [{ "name": "<string>" }] },
"output": {
"slack_channel": None,
"output_schema": None,
"post_url": None
},
"filter_condition": None
}
}
headers = {
"Operator-Version": "<operator-version>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'Operator-Version': '<operator-version>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: '<string>',
description: '<string>',
config: {
filter_statuses: [],
runtime: {prompt: {text: '<string>', type: 'fixed'}, reasoning_effort: 'medium'},
tool: {tools: [{name: '<string>'}]},
output: {slack_channel: null, output_schema: null, post_url: null},
filter_condition: null
}
})
};
fetch('https://api.operator.xyz/procedural_agents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"version_id": "<string>"
}{
"code": "<string>",
"message": "<string>",
"data": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"data": "<unknown>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The API version to use.
Available options:
2025-06-19 Body
application/json

