Documentation Index
Fetch the complete documentation index at: https://docs.raysurfer.com/llms.txt
Use this file to discover all available pages before exploring further.
Need help setting up enterprise keys?
Book a 15-minute call and we’ll get your team configured.
Authorization header.
Create a key for an org member
Creates an API key for a user (by email), adding them to the organization if they aren’t already a member.| Field | Type | Default | Description |
|---|---|---|---|
email | string | required | Email of the target user |
key_name | string | required | Display name for the key |
role | string | "member" | "member" or "admin" — only org owners can assign "admin" |
The full API key is only returned once at creation time. Store it securely — it cannot be retrieved again.
List all keys in the org
Returns all active (non-revoked) API keys in the caller’s organization, including the key prefix, user email, and timestamps.Revoke a key
Revokes an API key by ID. The key must belong to the caller’s organization — you cannot revoke keys from other orgs.| Field | Type | Description |
|---|---|---|
key_id | string | UUID of the key to revoke |
404 if the key is not found, already revoked, or belongs to a different organization.
Rate limit: 10 requests/minute
Error codes
| Status | Code | Meaning |
|---|---|---|
| 401 | auth/missing_api_key | No API key provided |
| 401 | auth/invalid_api_key | Key is invalid or revoked |
| 403 | permission/not_org_member | Caller’s key is not linked to an org |
| 403 | permission/enterprise_required | Org is not on the enterprise tier |
| 403 | permission/admin_key_required | Caller is not an admin/owner of the org |
| 403 | permission/only_owner_can_promote | Only owners can assign the admin role |
| 400 | validation/member_limit_reached | Org has hit its member cap |
| 404 | not_found/api_key | Key not found or already revoked |
