update an agent
change any of the agent’s fields. saving never deploys: prompt, greeting, voice, language and call settings land in the agent’s draft, and POST /v1/agents/{agent_ref}/deploy is what puts them live. name applies at once. versionName names the draft this edit writes; send it alone to rename an existing draft.
Authorizations
your rumik api key, e.g. rk_live_.... create one in the rumik dashboard.
Path Parameters
the agent's UUID or its ua_… handle.
1 - 64Body
the body of PATCH /v1/agents/{agent_ref} — every field optional.
goes to the draft.
renames the agent. applies immediately.
120goes to the draft.
8000goes to the draft.
1000goes to the draft.
goes to the draft.
names the draft this edit writes. omit to leave the draft's name alone; null clears it. sent alone, renames the existing draft (409 when there is none).
120Response
ok.
an agent as the account sees it: identity plus the live configuration.
the agent's UUID.
your account id.
the persona the live version answers with. a pending draft is under GET /v1/agents/{agent_ref}/versions/draft.
the live greeting.
the live voice config.
scratch or template.
the agent's short public handle (ua_…). accepted wherever an agent is named.
when the agent was created.
the last save (draft edits included).
the live call behaviour.
the live conversation language, or null for the engine's default.
the template it was created from, if any.
the E.164 number this agent answers (a rented number or a SIP trunk connected to it), or null.
true once a version has been deployed. until then the agent answers no calls and cannot be connected to a number.