Skip to main content

Get archived features

GET 

<your-unleash-url>/api/admin/archive/features

deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

Retrieve a list of all archived feature flags.

Responses

archivedFeaturesSchema
Schema
    version integerrequired

    The version of the feature's schema

    features object[]required

    A list of features

  • Array [
  • name stringrequired

    Unique feature name

    Example: disable-comments
    type string

    Type of the flag e.g. experiment, kill-switch, release, operational, permission

    Example: kill-switch
    description stringnullable

    Detailed description of the feature

    Example: Controls disabling of the comments section in case of an incident
    project stringrequired

    Name of the project the feature belongs to

    Example: dx-squad
    stale boolean

    true if the feature is stale based on the age and feature type, otherwise false.

    Example: false
    impressionData boolean

    true if the impression data collection is enabled for the feature, otherwise false.

    Example: false
    createdAt date-time

    The date the feature was created

    Example: 2023-01-28T15:21:39.975Z
    archivedAt date-time

    The date the feature was archived

    Example: 2023-01-29T15:21:39.975Z
    lastSeenAt date-timenullabledeprecated

    The date when metrics where last collected for the feature. This field was deprecated in v5, use the one in featureEnvironmentSchema

    Example: 2023-01-28T16:21:39.975Z
    environments object[]deprecated

    The list of environments where the feature can be used

  • Array [
  • name string

    The name of the environment

    Example: my-dev-env
    lastSeenAt date-timenullable

    The date when metrics where last collected for the feature environment

    Example: 2023-01-28T16:21:39.975Z
    enabled boolean

    true if the feature is enabled for the environment, otherwise false.

    Example: true
  • ]
  • ]

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
curl -L '<your-unleash-url>/api/admin/archive/features' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
Request Collapse all
Base URL
<your-unleash-url>
Auth
ResponseClear

Click the Send API Request button above and see the response here!