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

# Get Application Snapshots

> Retrieves a list of snapshots for a specific application or database.

<ParamField path="id" type="string" required>
  The ID of the application or database to retrieve snapshots for.
</ParamField>

<ParamField query="scope" type="string" required>
  The resource type to filter snapshots by. Possible values: `applications`, `databases`.
</ParamField>

### Response

<ResponseField name="response" type="array">
  An array of snapshot objects.

  <Expandable title="Toggle object">
    <ResponseField name="id" type="string">
      The snapshot ID.
    </ResponseField>

    <ResponseField name="resource_id" type="string">
      The ID of the resource this snapshot belongs to.
    </ResponseField>

    <ResponseField name="size" type="string">
      The formatted size of the snapshot (e.g. `"1.23 MB"`).
    </ResponseField>

    <ResponseField name="date" type="string">
      The timestamp when the snapshot was created.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json Response theme={null}
  {
    "response": [
      {
        "id": "550e8400-e29b-41d4-a716-446655440000",
        "resource_id": "550e8400-e29b-41d4-a716-446655440001",
        "size": "1.23 MB",
        "date": "2026-03-14T21:00:00.000Z"
      }
    ]
  }
  ```
</ResponseExample>

### Error Responses

<ResponseField name="code" type="string">
  The error code indicating the reason for failure. Possible values:

  * `UNAUTHORIZED`: The user is not authenticated.
  * `USER_NOT_FOUND`: The authenticated user was not found.
  * `INTERNAL_SERVER_ERROR`: An unexpected server error occurred.
</ResponseField>

<ResponseExample>
  ```json Error Response (401) theme={null}
  {
    "code": "UNAUTHORIZED"
  }
  ```

  ```json Error Response (401) theme={null}
  {
    "code": "USER_NOT_FOUND"
  }
  ```
</ResponseExample>
