Agents
Publish agent
Put the current version live.
https://app.elunos.ai/api/v1/spaces/{space}/agents/{agent}/syncTransfers the agent's stored version into live operation. Only then do changes to behavior, tools, knowledge, voice or model apply in conversations. Publishing runs in the background and usually takes a few seconds.
Path parameters
spacestringPflichtSlug of the space, e.g. `praxis-mueller`. Returned by `GET /spaces`.
agentuuidPflichtID of the agent.
Example
curl -X POST https://app.elunos.ai/api/v1/spaces/praxis-mueller/agents/0199a3c2-7d4e-7b21-9f3a-2c5e8d1b4a70/sync \
-H "Authorization: Bearer np_xxxxxxxx"Response
202, publishing has started:
{
"data": {
"job_id": "0199b2a0-5c4d-7e3f-8a2b-1c0d9e8f7a6b",
"sync_status": "pending"
}
}Check the outcome with Get publish status.
Batch your changes: all PATCH calls first, then publish once. Every publish replaces the live version as a whole.