cURL
curl --request POST \ --url https://api.veryfront.com/projects/{project_reference}/agents \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "id": "<string>", "name": "<string>", "system_prompt": "<string>", "description": "<string>", "model": "<string>", "max_steps": 1, "allowed_models": [ "<string>" ], "skill_ids": [ "<string>" ], "tool_ids": [ "<string>" ], "security_enabled": true } '
{ "id": "<string>", "name": "<string>", "description": "<string>", "model": "<string>", "system_prompt": "<string>", "max_steps": 1, "allowed_models": [ "<string>" ], "skill_ids": [ "<string>" ], "tool_ids": [ "<string>" ], "security_enabled": true, "source_path": "<string>", "source": "<string>", "edit_mode": "structured", "source_only_reasons": [ "<string>" ], "suggestions": { "suggestions": [ { "id": "<string>", "type": "prompt", "title": "<string>", "prompt": "<string>", "description": "<string>" } ], "welcome_message": "<string>" } }
Creates a project agent document.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1 - 128
^[a-zA-Z0-9_-]+$
1
x > 0
Show child attributes
Project agent created
structured
source_only