> ## Documentation Index
> Fetch the complete documentation index at: https://docs.threetone.in/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Agent Version Metadata

> Get metadata for a specific agent version



## OpenAPI

````yaml /api-reference/openapi.json get /v1/convai/agents/{agent_id}/versions/{version_id}
openapi: 3.1.0
info:
  title: Threetone API Documentation
  description: >-
    This is the documentation for the Threetone API. You can use this API to use
    our service programmatically with API keys sent in the x-api-key header. You
    can create and manage API keys in the dashboard at
    https://threetone.in/app/developers/api-keys.
  version: '1.0'
servers:
  - url: https://api.threetone.in
    description: Production
security: []
paths:
  /v1/convai/agents/{agent_id}/versions/{version_id}:
    get:
      tags:
        - Agents Platform
      summary: Get Agent Version Metadata
      description: Get metadata for a specific agent version
      operationId: get_version_metadata_route
      parameters:
        - name: agent_id
          in: path
          required: true
          schema:
            type: string
            description: The id of an agent. This is returned on agent creation.
            examples:
              - agent_3701k3ttaq12ewp8b7qv5rfyszkz
            embed: true
            title: Agent Id
          description: The id of an agent. This is returned on agent creation.
        - name: version_id
          in: path
          required: true
          schema:
            type: string
            description: Unique identifier for the version.
            examples:
              - agtvrsn_0901k4aafjxxfxt93gd841r7tv5t
            title: Version Id
          description: Unique identifier for the version.
        - name: x-api-key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Your API key for programmatic access. Send it in the x-api-key
              header; you can create and manage keys from the Developers page.
            title: X-Api-Key
          description: >-
            Your API key for programmatic access. Send it in the x-api-key
            header; you can create and manage keys from the Developers page.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentVersionMetadata'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AgentVersionMetadata:
      properties:
        id:
          type: string
          title: Id
        agent_id:
          type: string
          title: Agent Id
        branch_id:
          type: string
          title: Branch Id
        version_description:
          type: string
          title: Version Description
        seq_no_in_branch:
          type: integer
          title: Seq No In Branch
        time_committed_secs:
          type: integer
          title: Time Committed Secs
        parents:
          $ref: '#/components/schemas/AgentVersionParents'
        access_info:
          anyOf:
            - $ref: '#/components/schemas/ResourceAccessInfo'
            - type: 'null'
      type: object
      required:
        - id
        - agent_id
        - branch_id
        - version_description
        - seq_no_in_branch
        - time_committed_secs
        - parents
      title: AgentVersionMetadata
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AgentVersionParents:
      properties:
        in_branch_parent_id:
          anyOf:
            - type: string
            - type: 'null'
          title: In Branch Parent Id
        out_of_branch_parent_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Out Of Branch Parent Id
        merged_into_branch_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Merged Into Branch Id
        merged_from_branch_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Merged From Branch Id
        merged_from_version_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Merged From Version Id
        rebased_from_version_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Rebased From Version Id
      type: object
      title: AgentVersionParents
    ResourceAccessInfo:
      properties:
        is_creator:
          type: boolean
          title: Is Creator
          description: Whether the user making the request is the creator of the agent
        creator_name:
          type: string
          title: Creator Name
          description: Name of the agent's creator
        creator_email:
          type: string
          title: Creator Email
          description: Email of the agent's creator
        role:
          type: string
          enum:
            - admin
            - editor
            - commenter
            - viewer
          title: Role
          description: The role of the user making the request
        anonymous_access_level_override:
          anyOf:
            - type: string
              enum:
                - admin
                - editor
                - commenter
                - viewer
            - type: 'null'
          title: Anonymous Access Level Override
          description: >-
            The access level for anonymous users. If None, the resource is not
            shared publicly.
        access_source:
          anyOf:
            - type: string
              enum:
                - creator
                - explicit
                - workspace_admin
                - workspace_default
            - type: 'null'
          title: Access Source
          description: >-
            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.
      type: object
      required:
        - is_creator
        - creator_name
        - creator_email
        - role
      title: ResourceAccessInfo
      example:
        access_source: creator
        creator_email: john.doe@example.com
        creator_name: John Doe
        is_creator: true
        role: admin
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````