Skip to main content
Import an agent configuration from a YAML string to update the current agent.

Path Parameters

id
string
required
The UUID of the agent to update.

Request Body

yaml_content
string
required
The complete YAML configuration string to import.
curl -X POST https://api.artaios.ai/api/v1/agent/{id}/import_yaml/ \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"yaml_content": "name: My Updated Agent\narchitecture: llm_agent"}'

Response

Returns the updated agent configuration.