API Keys
GET
List API Keys
GET /v1/api-keysRetrieve a paginated list of all API keys in your workspace.
Use Cases:
- View all active API keys
- Audit API key usage
- Manage workspace integrations
- Identify keys for rotation or deletion
Behavior:
- Returns all API keys for the workspace
- Keys are returned in reverse chronological order (newest first)
- Actual key values are NOT included (only metadata)
- Includes key name, scopes, and creation date
- Uses cursor-based pagination
Required Scope: Requires API key authentication
Security Note:
- Full key values are never returned (they're hashed)
- Only the key prefix and metadata are shown
- Use this to audit and manage your keys
Query parameters
limitintegerNumber of items to return (default: 20, max: 100)
afterstringCursor for pagination - ID of the last item from the previous page
beforestringCursor for reverse pagination - ID of the first item from the next page
Response
200Successfully retrieved list of API keys with metadata (key values not included)
objectstringhasMorebooleandataobject[]