---
title: "Get an archive configuration"
method: GET
path: "/api/v2/rum/config/archive/{app_id}"
tags: ["RUM Managed Archives"]
---

# Get an archive configuration

`GET /api/v2/rum/config/archive/{app_id}`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/rum/config/archive/{app_id}`
- Auth: API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
- TypeScript: <https://skmtc.dev/datadog/apis/datadog-api-v2-collection/docs/api/v2/rum/config/archive/:app_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Get the archive configuration for a RUM application.

## Path parameters

- `app_id` string, uuid, required: Application UUID.

## Response `200`

OK

- RumArchiveConfigResponse: JSON:API document.
  - `data` RumArchiveConfig, required: JSON:API resource.
    - `attributes` RumArchiveConfigAttributes, required: Archive configuration.
      - `enabled` boolean, required: Whether archiving is enabled.
      - `org_id` integer, required: Organization ID.
      - `retention_days` integer: Configured retention in days; omitted when unset. When archiving is enabled, this is 30, 90, or 180.
      - `updated_at` string, date-time: Last update time.
      - `updated_by` string: Handle of the user who last updated the configuration.
    - `id` string, required: Resource identifier.
    - `type` 'rum_archive_config', required: JSON:API resource type.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `429`: Too Many Requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/3f70db624329?raw)
