Overview
The Organizations API manages org profiles, legal entity details, jurisdiction settings, and API key lifecycle. The /me shorthand targets the currently authenticated organization. Unauthenticated endpoints (e.g. /organizations/:id/info) expose public org metadata.
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /me | Get current org profile and counts |
| POST | /organizations | Create a new org with a default API key |
| GET | /organizations/:id | Get org by ID |
| PATCH | /organizations/me | Update org settings (name, jurisdiction, publicKey, dataRegion) |
| POST | /organizations/:id/api-keys | Create API key |
| GET | /organizations/:id/api-keys | List API keys |
| DELETE | /organizations/:id/api-keys/:keyId | Delete API key |
| GET | /organizations/:id/info | Get public org info (no auth) |
| GET | /api-keys | List API keys for current org |
| POST | /api-keys | Create API key |
| DELETE | /api-keys/:keyId | Delete API key |
Example
curl http://localhost:4000/me \
-H "Authorization: Bearer tr_abc123"