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

# API keys

> Create a key so another system can talk to your workspace, and revoke one you no longer trust.

An API key lets another system authenticate as your workspace. Create one, name it, and delete it the moment you no longer trust it.

<Frame caption="The API keys settings page.">
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/oneprofile/images/settings/api-keys.png" alt="A list of API keys with masked values, an eye icon to reveal one, and a Create API key button, next to columns for created date, updated date and expiry." />
</Frame>

## Create a key

<Steps>
  <Step title="Click Create API key">
    Give it a name that says what will use it.
  </Step>

  <Step title="Set an expiry, or leave it open">
    Leave **Expires** empty and the key never expires on its own.
  </Step>

  <Step title="Copy the key">
    Click the clipboard icon next to it. The key stays visible behind the eye icon whenever you need it again.
  </Step>
</Steps>

## Edit or delete a key

Click a key's name to rename it or change its expiry. **Delete** removes it immediately and cannot be undone, so whatever was using it stops working right away.

## Good to know

<AccordionGroup>
  <Accordion title="Can I see a key's value again later?">
    Yes. Click the eye icon next to any key at any time to reveal it, not only at creation.
  </Accordion>

  <Accordion title="Do API keys have limited permissions?">
    No. Every key can do anything your workspace can do through the API, so treat each one like a password.
  </Accordion>

  <Accordion title="What happens when a key expires?">
    It stops working on its expiry date. Anything still using it needs a new key before then.
  </Accordion>
</AccordionGroup>

## Next steps

<CardGroup cols={2}>
  <Card title="Usage and reports" icon="chart-column" href="/settings/usage-and-reports">
    See what a key's own requests have spent.
  </Card>

  <Card title="Workspace and team" icon="users" href="/settings/workspace-and-team">
    Manage who in your workspace can create a key.
  </Card>
</CardGroup>
