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

# List remote config history

> List published remote configuration versions of a RUM application.

## Restrictions

| Aspect      | Value                                                         |
| ----------- | ------------------------------------------------------------- |
| Rate limits | **1,000 requests/minute**; **50 requests/second** per account |
| Permissions | None — any valid `app_key` can call this operation            |

## Usage

* Newest first by default (`orderby=updated_at`, `asc=false`).
* `content_hash` and `equivalent_to` identify versions whose content is identical, so the console can say "this is an earlier version's content" instead of showing a false difference.


## OpenAPI

````yaml /api-reference/rum.openapi.en.json post /rum/application/remote-config/history/list
openapi: 3.1.0
info:
  description: >-
    Public HTTP API for the Flashduty incident management platform — incidents,
    notification templates, channels, schedules, monitors, RUM, and platform
    administration. Every operation is authenticated with an `app_key` query
    parameter issued from the Flashduty console under Account → APP Keys.
    Responses follow a uniform envelope: `{ request_id, data }` on success, `{
    request_id, error }` on failure.
  title: Flashduty Open API
  version: 1.0.0
servers:
  - description: Flashduty Open API
    url: https://api.flashcat.cloud
security:
  - AppKeyAuth: []
tags:
  - description: Manage Real User Monitoring (RUM) applications.
    name: RUM/Applications
  - description: Run RUM analytics queries over event data.
    name: RUM/Data query
  - description: Query and manage RUM error tracking issues and preset severity rules.
    name: RUM/Issues
  - description: >-
      Query RUM facet fields and their value distributions for building
      analytics filters.
    name: RUM/Facets
  - description: >-
      Manage and query RUM sourcemap files for browser, Android, and iOS error
      symbolication.
    name: RUM/Sourcemaps
  - description: Retrieve session replay metadata and recorded segments for RUM sessions.
    name: RUM/Session replay
  - description: >-
      Configure and inspect the rules that decide which RUM errors get ingested
      and stored for an application, including their edit history.
    name: RUM/Error ingestion rules
  - description: >-
      Manage per-application rules that assign a severity to matching front-end
      errors, plus their evaluation order and change history.
    name: RUM/Issue preset severity rules
  - description: Query the RUM resource record and current usage for the account.
    name: RUM/Resources
paths:
  /rum/application/remote-config/history/list:
    post:
      tags:
        - RUM/Applications
      summary: List remote config history
      description: List published remote configuration versions of a RUM application.
      operationId: rum-application-remote-config-read-history-list
      requestBody:
        content:
          application/json:
            example:
              application_id: WoyQQ3BohkdtPivubEvE8o
              asc: false
              limit: 20
              orderby: updated_at
              p: 0
            schema:
              $ref: '#/components/schemas/ListRemoteConfigHistoryRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              example:
                data:
                  has_next_page: false
                  items:
                    - config:
                        activation: next_session
                        custom:
                          feature_flags:
                            checkout_v2: true
                        default:
                          defaultPrivacyLevel: mask-user-input
                          sessionReplaySampleRate: 20
                          sessionSampleRate: 100
                          traceSampleRate: 100
                        enabled: true
                        refresh_on_foreground: false
                        rules:
                          - match:
                              env: production
                            set:
                              defaultPrivacyLevel: mask
                              sessionReplaySampleRate: 0
                              sessionSampleRate: 5
                      content_hash: >-
                        9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08
                      reason: Tighten replay sampling for the Q4 launch
                      updated_at: 1773398630657
                      updated_by: 4441703362131
                      updated_by_name: Alice Zhang
                      version: 8
                    - config:
                        activation: next_session
                        custom:
                          feature_flags:
                            checkout_v2: true
                        default:
                          defaultPrivacyLevel: mask-user-input
                          sessionReplaySampleRate: 20
                          sessionSampleRate: 100
                          traceSampleRate: 100
                        enabled: true
                        refresh_on_foreground: false
                        rules:
                          - match:
                              env: production
                            set:
                              defaultPrivacyLevel: mask
                              sessionReplaySampleRate: 0
                              sessionSampleRate: 5
                      content_hash: >-
                        9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08
                      reason: ''
                      updated_at: 1772398630657
                      updated_by: 4441703362131
                      updated_by_name: Alice Zhang
                      version: 7
                  total: 3
                request_id: 01HK8XQE3Z7JM2NTFQ5YJ8P9R4
              schema:
                allOf:
                  - $ref: '#/components/schemas/SuccessEnvelope'
                  - properties:
                      data:
                        $ref: '#/components/schemas/ListRemoteConfigHistoryResponse'
                    type: object
          description: Success
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/ServerError'
components:
  schemas:
    ListRemoteConfigHistoryRequest:
      description: Remote configuration history request. Newest first by default.
      properties:
        application_id:
          description: RUM application ID.
          type: string
        asc:
          description: 'Ascending order. Default: false (descending).'
          type: boolean
        limit:
          default: 20
          description: Page size. Default 20, max 100.
          maximum: 100
          type: integer
        orderby:
          default: updated_at
          description: 'Sort field. Default: `updated_at`.'
          enum:
            - updated_at
            - version
          type: string
        p:
          default: 0
          description: Zero-based page index; offset is p multiplied by limit.
          maximum: 100000
          minimum: 0
          type: integer
      required:
        - application_id
      type: object
    SuccessEnvelope:
      description: >-
        Success response envelope. On every 2xx response, `request_id`
        identifies the call (also mirrored in the `Flashcat-Request-Id` header)
        and `data` holds the endpoint-specific payload. Failure responses use a
        different shape — see `ErrorResponse`.
      properties:
        data:
          description: Endpoint-specific payload. See each operation's 200 response schema.
        request_id:
          description: >-
            Unique ID for this request. Mirrored in the Flashcat-Request-Id
            response header. Include it when reporting issues.
          example: 01HK8XQE3Z7JM2NTFQ5YJ8P9R4
          type: string
      required:
        - request_id
        - data
      type: object
    ListRemoteConfigHistoryResponse:
      description: Remote configuration history page.
      properties:
        has_next_page:
          description: Whether more pages remain.
          type: boolean
        items:
          description: Version items, newest first by default.
          items:
            $ref: '#/components/schemas/RemoteConfigHistoryItem'
          type: array
        total:
          description: Total number of versions.
          type: integer
      type: object
    RemoteConfigHistoryItem:
      description: One published remote configuration version.
      properties:
        config:
          $ref: '#/components/schemas/RemoteConfig'
        content_hash:
          description: >-
            Hash of the configuration content; lets the console identify
            versions with identical content.
          type: string
        equivalent_to:
          description: >-
            Earliest version carrying the same content, when that is not this
            version itself.
          type: integer
        reason:
          description: >-
            Operator's note left when the version was published. Empty when none
            was given.
          type: string
        updated_at:
          description: Unix timestamp in milliseconds - when the version was published.
          format: int64
          type: integer
        updated_by:
          description: ID of the member who published the version.
          format: int64
          type: integer
        updated_by_name:
          description: Name of the member who published the version.
          type: string
        version:
          description: Version number, unique within the application.
          type: integer
      type: object
    ErrorResponse:
      description: Response envelope for errors. `error` is required; `data` is absent.
      properties:
        error:
          $ref: '#/components/schemas/DutyError'
        request_id:
          description: >-
            Unique trace ID of this request; include it when reporting issues so
            logs can be located.
          example: 01HK8XQE3Z7JM2NTFQ5YJ8P9R4
          type: string
      required:
        - request_id
        - error
      type: object
    RemoteConfig:
      description: >-
        The whole per-application remote configuration. A change reaches an SDK
        asynchronously and is applied when that SDK creates its next session, so
        a running session never flips a decision mid-flight.
      properties:
        activation:
          default: next_session
          description: >-
            How a change lands on a client that is already running:
            `next_session` (the default, and what an empty value means) leaves
            running sessions untouched and applies the change to new sessions;
            `immediate` ends the running session as soon as the change arrives
            so a new session starts under the new configuration.
          enum:
            - next_session
            - immediate
          type: string
        custom:
          additionalProperties: {}
          description: >-
            Application-defined pass-through values handed to the host app
            verbatim. At most 5 keys, each key up to 64 bytes, each value up to
            4 KB of JSON nested at most 3 levels, 16 KB in total. Anyone holding
            the public client token can read it.
          maxProperties: 5
          type: object
        default:
          $ref: '#/components/schemas/RemoteConfigValues'
        enabled:
          description: >-
            Kill switch. When false the engine reports no values at all and SDKs
            fall back to their init values.
          type: boolean
        refresh_on_foreground:
          description: >-
            Let clients re-check the configuration when they return to the
            foreground instead of waiting for the next poll.
          type: boolean
        rules:
          description: Targeting rules, evaluated in order; at most 20 per application.
          items:
            $ref: '#/components/schemas/RemoteConfigRule'
          maxItems: 20
          type: array
      type: object
    DutyError:
      description: >-
        Error payload inside the response envelope. Present only on non-2xx
        responses.
      properties:
        code:
          $ref: '#/components/schemas/ErrorCode'
        message:
          description: >-
            Human-readable error message, localized by the caller's
            Accept-Language. May contain field names, IDs, or other context from
            the failing request.
          example: The specified parameter template_id is not valid.
          type: string
      required:
        - code
        - message
      type: object
    RemoteConfigValues:
      description: >-
        The SDK knobs a configuration can set. Every field is optional: a value
        absent from both rule and default is omitted from the SDK response,
        which tells the SDK to keep its init value.
      properties:
        defaultPrivacyLevel:
          description: How Session Replay masks a page by default.
          enum:
            - mask
            - mask-user-input
            - allow
          type:
            - string
            - 'null'
        sessionReplaySampleRate:
          description: Session Replay sampling rate (0-100).
          maximum: 100
          minimum: 0
          type:
            - integer
            - 'null'
        sessionSampleRate:
          description: Session sampling rate (0-100).
          maximum: 100
          minimum: 0
          type:
            - integer
            - 'null'
        traceSampleRate:
          description: >-
            Trace sampling rate (0-100): which sessions inject trace headers
            into their requests.
          maximum: 100
          minimum: 0
          type:
            - integer
            - 'null'
      type: object
    RemoteConfigRule:
      description: >-
        One targeting rule: when `match` holds, `set` overrides `default`. The
        first matching rule wins and evaluation stops there - rule order is the
        priority.
      properties:
        match:
          additionalProperties:
            maxLength: 256
            type: string
          description: >-
            Key/value conditions the SDK's config request must equal. Keys are
            limited to `env`, `app_version` and `sdk`; values are at most 256
            bytes.
          minProperties: 1
          type: object
        set:
          $ref: '#/components/schemas/RemoteConfigValues'
      required:
        - match
        - set
      type: object
    ErrorCode:
      description: >-
        Flashduty error code enum. Every failed API response sets `error.code`
        to one of these stable wire strings. HTTP status is informational — the
        authoritative signal is the enum value.


        | Code | HTTP | Meaning |

        |---|---|---|

        | `OK` | 200 | Reserved — not returned on real errors. |

        | `InvalidParameter` | 400 | A required parameter is missing or failed
        validation. |

        | `BadRequest` | 400 | Generic 400 used when no more specific code fits.
        |

        | `InvalidContentType` | 400 | The `Content-Type` header is not
        `application/json`. |

        | `ResourceNotFound` | 400 | The referenced resource does not exist.
        Note: returned as HTTP 400, not 404 (historical choice). |

        | `NoLicense` | 400 | The feature is license-gated and no active license
        was found. |

        | `ReferenceExist` | 400 | Deletion blocked — other entities still
        reference this resource. |

        | `Unauthorized` | 401 | `app_key` is missing, invalid, or expired. |

        | `BalanceNotEnough` | 402 | Billing-gated operation with insufficient
        account balance. |

        | `AccessDenied` | 403 | Authenticated but lacking the permission
        required for this operation. |

        | `RouteNotFound` | 404 | The request URL path is not a known route. |

        | `MethodNotAllowed` | 405 | The HTTP method is not allowed on this
        otherwise-known path. |

        | `UndonedOrderExist` | 409 | An outstanding billing order blocks this
        new one. Wait and retry. |

        | `RequestLocked` | 423 | Operation temporarily locked due to repeated
        failures. |

        | `EntityTooLarge` | 413 | Request body exceeds the configured max size.
        |

        | `RequestTooFrequently` | 429 | Rate limit hit — API-global,
        per-account, or per-integration. |

        | `RequestVerifyRequired` | 428 | Second-factor verification required
        but not supplied. |

        | `DangerousOperation` | 428 | High-risk operation requires MFA
        verification. |

        | `InternalError` | 500 | Unhandled server-side error. Include
        `request_id` in the bug report. |

        | `ServiceUnavailable` | 503 | A backend dependency is unavailable. Try
        again later. |
      enum:
        - OK
        - InvalidParameter
        - BadRequest
        - InvalidContentType
        - ResourceNotFound
        - NoLicense
        - ReferenceExist
        - Unauthorized
        - BalanceNotEnough
        - AccessDenied
        - RouteNotFound
        - MethodNotAllowed
        - UndonedOrderExist
        - RequestLocked
        - EntityTooLarge
        - RequestTooFrequently
        - RequestVerifyRequired
        - DangerousOperation
        - InternalError
        - ServiceUnavailable
      example: InvalidParameter
      type: string
      x-enumDescriptions:
        AccessDenied: Authenticated but lacking the permission required for this operation.
        BadRequest: Generic 400 used when no more specific code fits.
        BalanceNotEnough: Billing-gated operation with insufficient account balance.
        DangerousOperation: High-risk operation requires MFA verification.
        EntityTooLarge: Request body exceeds the configured max size.
        InternalError: Unhandled server-side error. Include `request_id` in the bug report.
        InvalidContentType: The `Content-Type` header is not `application/json`.
        InvalidParameter: A required parameter is missing or failed validation.
        MethodNotAllowed: The HTTP method is not allowed on this otherwise-known path.
        NoLicense: The feature is license-gated and no active license was found.
        OK: Reserved — not returned on real errors.
        ReferenceExist: Deletion blocked — other entities still reference this resource.
        RequestLocked: Operation temporarily locked due to repeated failures.
        RequestTooFrequently: Rate limit hit — API-global, per-account, or per-integration.
        RequestVerifyRequired: Second-factor verification required but not supplied.
        ResourceNotFound: >-
          The referenced resource does not exist. Note: returned as HTTP 400,
          not 404 (historical choice).
        RouteNotFound: The request URL path is not a known route.
        ServiceUnavailable: A backend dependency is unavailable. Try again later.
        Unauthorized: '`app_key` is missing, invalid, or expired.'
        UndonedOrderExist: An outstanding billing order blocks this new one. Wait and retry.
  responses:
    BadRequest:
      content:
        application/json:
          examples:
            missingParameter:
              value:
                error:
                  code: InvalidParameter
                  message: The specified parameter is not valid.
                request_id: 01HK8XQE3Z7JM2NTFQ5YJ8P9R4
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: Invalid request — usually a missing or malformed parameter.
    Unauthorized:
      content:
        application/json:
          examples:
            missingAppKey:
              value:
                error:
                  code: Unauthorized
                  message: You are unauthorized.
                request_id: 01HK8XQE3Z7JM2NTFQ5YJ8P9R4
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: Missing or invalid app_key.
    TooManyRequests:
      content:
        application/json:
          examples:
            rateLimited:
              value:
                error:
                  code: RequestTooFrequently
                  message: Request too frequently.
                request_id: 01HK8XQE3Z7JM2NTFQ5YJ8P9R4
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: >-
        Rate limit hit. Either the global API limit, a per-account limit, or a
        per-integration limit.
    ServerError:
      content:
        application/json:
          examples:
            internal:
              value:
                error:
                  code: InternalError
                  message: >-
                    We encountered an internal error, and it has been reported.
                    Please try again later.
                request_id: 01HK8XQE3Z7JM2NTFQ5YJ8P9R4
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: Unexpected server-side error. Include the request_id when reporting.
  securitySchemes:
    AppKeyAuth:
      description: >-
        App key issued from the Flashduty console under Account → APP Keys.
        Required on every public API call. Keep it secret — it grants the same
        access as the owning account.
      in: query
      name: app_key
      type: apiKey

````