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

# List config snapshots

> **Auth:** organization API key (`read` scope or higher) or a signed-in user.

The configuration versions the runtime was served for this agent, newest first, without their documents. Still readable after the agent is deleted. `limit` defaults to `50` (maximum `200`).



## OpenAPI

````yaml https://cp.xenovia.io/openapi.json get /api/v1/agents/{agent_id}/config-snapshots
openapi: 3.1.0
info:
  title: Xenovia Control Plane API
  version: 1.0.0
  description: >-
    Management API for agents, providers, policies, telemetry, alerts and
    organization settings.
servers:
  - url: https://cp.xenovia.io
    description: Production
security:
  - BearerAuth: []
paths:
  /api/v1/agents/{agent_id}/config-snapshots:
    get:
      tags:
        - agents
      summary: List config snapshots
      description: >-
        **Auth:** organization API key (`read` scope or higher) or a signed-in
        user.


        The configuration versions the runtime was served for this agent, newest
        first, without their documents. Still readable after the agent is
        deleted. `limit` defaults to `50` (maximum `200`).
      operationId: >-
        list_config_snapshots_route_api_v1_agents__agent_id__config_snapshots_get
      parameters:
        - name: agent_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Agent Id
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 200
            minimum: 1
            default: 50
            title: Limit
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
            title: Offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ConfigSnapshotRecordSummary'
                title: >-
                  Response List Config Snapshots Route Api V1 Agents  Agent Id 
                  Config Snapshots Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ConfigSnapshotRecordSummary:
      properties:
        agent_id:
          type: string
          format: uuid
          title: Agent Id
        config_version:
          type: integer
          title: Config Version
        schema_version:
          type: integer
          title: Schema Version
        snapshot_sha256:
          type: string
          title: Snapshot Sha256
        policy_versions:
          items:
            $ref: '#/components/schemas/SnapshotPolicyVersion'
          type: array
          title: Policy Versions
        first_served_at:
          type: string
          format: date-time
          title: First Served At
      type: object
      required:
        - agent_id
        - config_version
        - schema_version
        - snapshot_sha256
        - policy_versions
        - first_served_at
      title: ConfigSnapshotRecordSummary
      description: One recorded snapshot, without its document.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SnapshotPolicyVersion:
      properties:
        policy_id:
          type: string
          format: uuid
          title: Policy Id
        version:
          type: integer
          title: Version
      type: object
      required:
        - policy_id
        - version
      title: SnapshotPolicyVersion
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer token: an organization API key (`ak_…`) created under Settings →
        API Keys, or a dashboard user session token. Agent keys (`xe_…`) are not
        accepted here. Endpoints marked as user-only in their description reject
        organization keys with `403`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.