Agents
Save an agent version
Save the agent's current configuration as a named version.
POST/agents//versions
Bearersession
Path parameters
agent_idrequiredBody
2 fields
·
Display name for the version.
Optional note describing the version.
curl -X POST 'https://backend.omnidim.io/api/v1/agents/{agent_id}/versions' \ -H 'Authorization: Bearer YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{}'
Example response
{ "success": true, "version": { "id": 4830, "version_number": 6, "name": "Working pricing script", "note": "Before the new discount flow", "kind": "manual", "created_by": { "id": 1234, "name": "Demo User" }, "create_date": "2026-07-28T11:40:00Z", "summary": { "llm_service": "gpt-4.1-mini", "voice_name": "asteria", "bot_type": "prompt", "languages": [ "English" ], "context_sections": 7, "transfer_options": 1, "post_call_configs": 1, "knowledge_files": 2, "integrations": 0, "flow_nodes": 0 } } }
Authorization
BearerAuth AuthorizationBearer <token>
Bearer token authentication. Obtain your API key from the OmniDimension dashboard.
In: header
Path Parameters
agent_id*integer
The ID of the agent.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
