# Public API

Generate and manage the REST API keys that authenticate programmatic access to your Foldspace account.

The Foldspace REST API lets you integrate directly with the platform. As an **admin**, you create and manage the API keys that authenticate those requests.

## Access API key management

1. Open the **Apps** dropdown at the top-left, under **Agent Studio**.
2. Go to **Settings → Public API**.

You'll see a list of existing API keys with their names and descriptions.

## Generate a new API key

1. Click **Create**.
2. Fill out the form:
   - **Name**: A short, clear name for the key, such as `Vibe Coding`, `Test Prod`, or `LocalTesting`.
   - **Description**: Optional. Explain what the key is used for, such as `Key for testing API calls in staging`.
   - **Expiry Date**: Optional. Add an expiration for tighter security.
3. Click **Generate**.

:::caution
The new key is shown **only once**. Copy it and store it securely before leaving the page.
:::

## Related

- [Authentication](/start/authentication/): how Foldspace authenticates requests.
- [API Reference, Overview](/reference/overview/): base URL, versioning, and conventions.
