Agents
Create an agent
Creates a new agent bound to an AI provider.
post/v1/projects/{project_id}/agents
Request
- Base URL: https://api.naturali.ai
- URL: https://api.naturali.ai/v1/projects/{project_id}/agents
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://api.naturali.ai/authorize, token URL https://api.naturali.ai/token, scopes: mcp:access)
Request body
Example request
{
"tool_bindings": [
{
"tool_id": "tool_V1StGXR8Z5jdHi6B"
}
],
"boundary_policy": {
"statement": [
{
"effect": "Allow",
"action": [
"memories:*",
"agents:DeleteAgent"
],
"resource": [
"srn:proj_abc:memories:*"
],
"condition": {
"StringEquals": {}
}
}
]
},
"knowledge_config": {
"tags": {
"team": "finance",
"env": "prod"
}
},
"max_output_tokens": 1024,
"reasoning": {
"effort": "low"
},
"version_label": "initial"
}Response
Agent created
Example response
{
"id": "agent_V1StGXR8Z5jdHi6B",
"tool_bindings": [
{
"tool_id": "tool_V1StGXR8Z5jdHi6B"
}
],
"knowledge_config": {
"tags": {
"team": "finance",
"env": "prod"
}
},
"max_output_tokens": 1024,
"reasoning": {
"effort": "low"
},
"version": 3,
"active_release": {
"stable_version": 3,
"canary_version": 4,
"canary_percent": 20,
"promotion_gate": "eval_V1StGXR8Z5jdHi6B"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.