---
title: "Get Agent Version Metadata"
method: GET
path: "/v1/convai/agents/{agent_id}/versions/{version_id}"
tags: ["Agents Platform"]
---

# Get Agent Version Metadata

`GET /v1/convai/agents/{agent_id}/versions/{version_id}`

## Request

- Base URL: `https://api.elevenlabs.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.elevenlabs.io/v1/convai/agents/{agent_id}/versions/{version_id}`
- Auth: none declared

Get metadata for a specific agent version

## Path parameters

- `agent_id` string, required: The id of an agent. This is returned on agent creation.
- `version_id` string, required: Unique identifier for the version.

## Headers

- `xi-api-key` string, nullable: Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

## Response `200`

Successful Response

- AgentVersionMetadata
  - `id` string, required
  - `agent_id` string, required
  - `branch_id` string, required
  - `version_description` string, required
  - `seq_no_in_branch` integer, required
  - `time_committed_secs` integer, required
  - `parents` AgentVersionParents, required
    - `in_branch_parent_id` string, nullable
    - `out_of_branch_parent_id` string, nullable
    - `merged_into_branch_id` string, nullable
    - `merged_from_branch_id` string, nullable
    - `merged_from_version_id` string, nullable
    - `rebased_from_version_id` string, nullable
  - `access_info` ResourceAccessInfo
    - `is_creator` boolean, required: Whether the user making the request is the creator of the agent
    - `creator_name` string, required: Name of the agent's creator
    - `creator_email` string, required: Email of the agent's creator
    - `role` 'admin' | 'editor' | 'commenter' | 'viewer', required: The role of the user making the request
    - `anonymous_access_level_override` 'admin' | 'editor' | 'commenter' | 'viewer', nullable: The access level for anonymous users. If None, the resource is not shared publicly.
    - `access_source` 'creator' | 'explicit' | 'workspace_admin' | 'workspace_default', nullable: Why the requesting user has access to this resource. 'creator' = caller is the owner. 'explicit' = caller (or one of their workspace groups) is listed in role_to_group_ids beyond the workspace-wide everyone group. 'workspace_default' = the workspace-wide everyone group is listed in role_to_group_ids (every non-anon workspace member, including admins, sees this resource). 'workspace_admin' = caller is a workspace admin and the admin seat is the *only* path to access; reserved for docs nobody else can see. Lets the UI disclose why an admin-bypass viewer sees a doc that wasn't explicitly shared with them.
  - `merged_authors` ResourceAccessInfo[], nullable: For a merge into the main branch, the people who published the merged changes on the source branch (access_info is whoever ran the merge). Null when not recorded.
    - `is_creator` boolean, required: Whether the user making the request is the creator of the agent
    - `creator_name` string, required: Name of the agent's creator
    - `creator_email` string, required: Email of the agent's creator
    - `role` 'admin' | 'editor' | 'commenter' | 'viewer', required: The role of the user making the request
    - `anonymous_access_level_override` 'admin' | 'editor' | 'commenter' | 'viewer', nullable: The access level for anonymous users. If None, the resource is not shared publicly.
    - `access_source` 'creator' | 'explicit' | 'workspace_admin' | 'workspace_default', nullable: Why the requesting user has access to this resource. 'creator' = caller is the owner. 'explicit' = caller (or one of their workspace groups) is listed in role_to_group_ids beyond the workspace-wide everyone group. 'workspace_default' = the workspace-wide everyone group is listed in role_to_group_ids (every non-anon workspace member, including admins, sees this resource). 'workspace_admin' = caller is a workspace admin and the admin seat is the *only* path to access; reserved for docs nobody else can see. Lets the UI disclose why an admin-bypass viewer sees a doc that wasn't explicitly shared with them.

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-29** `4b83e486daca`: 1 info
  - added the optional property `merged_authors` to the response with the `200` status
- **2026-07-13** `009bd651509a`: 1 info
  - added the optional property `parents/rebased_from_version_id` to the response with the `200` status
- **2026-06-08** `37fac3c5a2d7`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation/changes/v1/convai/agents/:agent_id/versions/:version_id/get.md)

---

[API](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation.md) - [All operations](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation/revisions/0e2bfc751634?raw)
