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

# Extend a data API key

> Extend a data API key to increase its validity period for continued access to generated data APIs.

You can increase the validity period of an API key.

## Prerequisites

* Appropriate permission: `nx1_ask` or `nx1_engineer`
* An existing domain created using [DataHub](/platform-components/datahub)
* A previously ingested dataset within a DataHub domain

## Extend a data API key

<Tabs>
  <Tab title="Web portal" icon="browser">
    Perform these steps to extend a data API key.

    1. Log in to NexusOne.
    2. On the NexusOne homepage, click **Connect**.
    3. On the top navigation bar, hover your mouse over **Connect** and then select **API Keys**.
    4. In the Data API Keys table, select an API key.
    5. You should see a three-dot menu next to each API key entry. Click the three-dot, click
       **Extend**.
    6. Enter the number of days you'd like to extend the key for, and then click **Extend** again.
  </Tab>

  <Tab title="REST API" icon="code">
    Use the following API endpoints to:

    1. [Retrieve a list of pre-shared keys](/api-reference/endpoints/data-products-formerly-views/retrieves-a-list-of-pre-shared-keys).
    2. [Extend the validity of one of the pre-shared keys](/api-reference/endpoints/data-products-formerly-views/retrieves-a-list-of-pre-shared-keys).
  </Tab>
</Tabs>

## Additional resources

* For an overview of the Data API and API key feature, refer to
  [Data API and API key Overview](/documentation/platform/overview/data-api-and-api-key).
* For more information about the Ask API, refer to [Create an Ask API](/documentation/ai/tasks/ask/create-an-ask-api).
* For more information about the Engineer API, refer to [Create an Engineer API](/documentation/data-pipeline/tasks/engineer/create-an-engineer-api).
* For more information about roles or permissions, refer to [Govern Overview](/documentation/govern/overview).
