What are API Keys
API Keys are secure tokens used to authenticate requests to Orq.ai. Each key is scoped to a single project and carries a set of permissions that control what it can do. Two key types are available, chosen by the key’s owner.User keys
Tied to a specific user account and project. Automatically revoked if the user is removed from the organization or project. Use user keys for personal use and local development.Service account keys
Not tied to any individual user, with a lifecycle independent of user membership. Only workspace admins can create service account keys. Use service account keys for production systems, so access does not break when a team member leaves.Viewing API Keys
Navigate to Organization > API Keys to see all keys across projects. The table shows the following columns:| Column | Description |
|---|---|
| Created | Date the key was created |
| Name | Key label |
| Type | User or Service |
| Status | Active, Disabled, or Revoked |
| Permissions | All, Read only, or Restricted |
| Created by | User who created the key |
Creating an API Key
Choose an owner
Select You to create a User key, or Service account to create a key not tied to any individual user.
Set name and project
Enter a Name for the key and select the Project it will have access to.
Set permissions
Choose a permission preset. See Permissions below.
Set expiration (optional)
Set an Expiration date if the key should automatically become inactive after a certain date.
Permissions
| Preset | Description |
|---|---|
| All | Read and write access to all API resources |
| Read only | Read access to all API resources |
| Restricted | Custom per-resource access |
Write permission automatically includes Read where Read is available for the endpoint.
Restricted permission resources
Restricted permission resources
| Resource | None | Read | Write |
|---|---|---|---|
| Agent schedules | ✓ | ✓ | ✓ |
| Agents | ✓ | ✓ | ✓ |
| Annotations | ✓ | ✓ | ✓ |
| Chunking | ✓ | ✓ | ✓ |
| Datasets | ✓ | ✓ | ✓ |
| Deployments | ✓ | ✓ | ✓ |
| Evaluators | ✓ | ✓ | ✓ |
| Feedback | ✓ | ✓ | ✓ |
| Files | ✓ | ✓ | ✓ |
| Guardrail rules | ✓ | ✓ | ✓ |
| Human evaluations | ✓ | ✓ | ✓ |
| Identities | ✓ | ✓ | ✓ |
| Knowledge bases | ✓ | ✓ | ✓ |
| Memory stores | ✓ | ✓ | ✓ |
| Policies | ✓ | ✓ | ✓ |
| Projects | ✓ | ✓ | ✓ |
| Prompts | ✓ | ✓ | ✓ |
| Reporting | ✓ | ✓ | |
| Routing rules | ✓ | ✓ | ✓ |
| Skills | ✓ | ✓ | ✓ |
| Tools | ✓ | ✓ | ✓ |
| Gateway | |||
| Chat completions | ✓ | ✓ | |
| Embeddings | ✓ | ✓ | |
| Images | ✓ | ✓ | |
| Models | ✓ | ✓ | |
| Moderations | ✓ | ✓ | |
| OCR | ✓ | ✓ | |
| Rerank | ✓ | ✓ | |
| Responses | ✓ | ✓ | ✓ |
| Speech | ✓ | ✓ | |
| Transcriptions | ✓ | ✓ |
Managing Keys

- Edit: update the name, permissions, or expiration date. The owner type cannot be changed after creation.
- Duplicate: opens the creation panel pre-filled with the key’s current settings.
- Delete: permanently removes the key. This cannot be undone.
A Revoked status means the key belonged to a user who was removed from the organization or project, or it has been revoked manually. Revocation is permanent.

