Organizations and Access
Operate organizations, members, invites, API keys, service accounts, wallets, billing, sessions, and knowledge.
| Method | Endpoint | Description |
|---|---|---|
GET | /v1/api-keys | List all API keys for the current organization |
POST | /v1/api-keys | Create a new API key for the current organization |
DELETE | /v1/api-keys/{id} | Revoke an API key by ID |
GET | /v1/api-keys/{id} | Get a single API key by ID |
GET | /v1/api-keys/requests | List recent API request audit logs for the current organization |
GET | /v1/invites | List pending invites for the current user |
GET | /v1/organizations | List all organizations for the current user |
GET | /v1/organizations/{orgId}/auto-swap-settings | Get automatic token swap settings for an organization. Returns a disabled default if not yet configured. |
PUT | /v1/organizations/{orgId}/auto-swap-settings | Update automatic token swap settings for an organization. Owners only. |
GET | /v1/organizations/{orgId}/cu | Get CU balance and threshold |
GET | /v1/organizations/{orgId}/cu/runs | Get runs with CU costs |
GET | /v1/organizations/{orgId}/cu/usage | Get CU usage |
GET | /v1/organizations/{orgId}/cu/usage-by-workflow | Get CU usage by workflow |
GET | /v1/organizations/{orgId}/knowledge | List org knowledge entries with optional source_type filter. |
GET | /v1/organizations/{orgId}/knowledge-settings | Get knowledge settings for an organization. Returns enabled=false default if not yet configured. |
PUT | /v1/organizations/{orgId}/knowledge-settings | Update knowledge settings for an organization. Requires org update permission. |
PATCH | /v1/organizations/{orgId}/knowledge/{id}/pin | Pin or unpin a knowledge entry. Pinned entries are excluded from auto-pruning. |
DELETE | /v1/organizations/{orgId}/knowledge/bulk | Bulk delete org knowledge entries by source_type or IDs. |
GET | /v1/organizations/{orgId}/plan-options | Returns all possible plan transitions with pre-calculated pricing |
GET | /v1/organizations/{orgId}/public | Get public organization metadata |
GET | /v1/organizations/{orgId}/sessions | List active wallet sessions with pagination |
POST | /v1/organizations/{orgId}/sessions | Create a new wallet session key |
DELETE | /v1/organizations/{orgId}/sessions/{id} | Revoke a wallet session key |
GET | /v1/organizations/{orgId}/templates/public | List public templates by organization |
GET | /v1/organizations/{orgId}/wallets | List all wallets for an organization with pagination |
POST | /v1/organizations/{orgId}/wallets | Create a new Turnkey wallet for an organization |
DELETE | /v1/organizations/{orgId}/wallets/{walletId} | Archive a wallet (soft delete). Cannot archive default wallet or only wallet. |
PUT | /v1/organizations/{orgId}/wallets/{walletId}/default | Set a wallet as the default wallet for an organization. |
POST | /v1/organizations/{orgId}/wallets/{walletId}/withdraw | Withdraw tokens from an organization wallet via Turnkey signing |
GET | /v1/orgs/{orgId}/invites | List pending invites for an organization |
GET | /v1/orgs/{orgId}/members | List all members of an organization |
GET | /v1/tiers | List all subscription tiers |
