Import an agent configuration from a YAML string to update the current agent.
Path Parameters
The UUID of the agent to update.
Request Body
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.