Viewing your API keys
Navigate to Settings > API Keys to view your existing API keys. You’ll see a list of your keys along with their expiration dates and assigned permissions.API key permissions
Each API key permission is a combination of an access level (Read or Write) and a resource (a functional area of the platform like Datasets, Connections, or Jobs). A key can hold multiple permissions, and they are additive—each one grants additional capabilities.For a deeper explanation of how permissions work, see API Key Permissions. For a complete list of all resources and access levels, see the Permissions Reference.
Choosing permissions for common use cases
Use the table below to determine which permissions to assign based on what your key needs to do.| Use case | Recommended permissions |
|---|---|
| Read-only analytics | Read on Datasets, Queries, and Subscriptions |
| Data ingestion | Write on Datasets and DataStreams |
| Workflow automation | Read and Write on Workflows and Jobs |
| Connector delivery | Read and Write on Connections and Destinations |
| SDK development | Read and Write on the resources your application uses (see SDK Authentication) |
API key expiration
API keys can have an expiration date, after which they’re no longer valid.Creating a new API key
Configure the key
Enter a name for the key, select the permissions you want to grant, and set an expiration date. See common use cases for guidance on which permissions to select.
Revoking an API key
To revoke an API key:- Navigate to Settings > API Keys.
- Click the … menu next to the key you want to revoke.
- Select Delete.
Related content
API Key Permissions
Understand how scoped permissions protect your resources
Permissions Reference
All available permission resources and access levels
SDK Authentication
Configure API key authentication for the TypeScript SDK
Security Model
How Narrative protects your data

