MCP is live.Set upAsk the community
OmniDimension
Agents

Save an agent version

Save the agent's current configuration as a named version.

POST/agents//versions
Path parameters
agent_idrequired
Body
3 fields
·

Reseller keys only: act as one of your clients by its user id. Omit it to act on your own account. [How acting for a client works](/docs/reseller/your-clients/acting-as-clients).

Display name for the version.

Optional note describing the version.

curl -X POST 'https://omnidim.io/api/v1/agents/{agent_id}/versions' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "user_id": 1234,
  "name": "v2 pricing script",
  "note": "Shorter opener, new objection handling."
}'
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
headerAuthorizationBearer <token>

Bearer token authentication. Obtain your API key from the OmniDimension dashboard.

Path Parameters

agent_id*integer

The ID of the agent.

Request Body

application/json
user_id?ClientUserId

Reseller keys only: act as one of your clients by its user id. Omit it to act on your own account. How acting for a client works.

name*string

Display name for the version.

note?string

Optional note describing the version.

Response body

application/json

Response Body

Version saved.

application/json
success?boolean
version?

A saved snapshot of an agent's configuration.

Was this page helpful?