This is part of the REST API Endpoint Reference. For authentication, rate limits, and general API usage, see REST API – Getting Started.
Base path: /api/v1/organizations
| Method | Path | Description | Scope |
|---|---|---|---|
GET | /api/v1/organizations/me | Get current organization details | read:organization |
PATCH | /api/v1/organizations/me | Update organization settings | write:organization |
GET | /api/v1/organizations/me/usage | Get monthly test usage statistics | read:organization |
GET | /api/v1/organizations/me/statistics | Get organization statistics | read:organization |
GET | /api/v1/organizations/me/trial | Check trial eligibility | read:organization |
Base path: /api/v1/team
Most team endpoints require admin role. These are available to all members:
| Method | Path | Description | Scope |
|---|---|---|---|
PATCH | /api/v1/team/invites/:id/accept | Accept a team invitation | write:profile |
DELETE | /api/v1/team/members/me | Leave the organization | write:profile |
Base path: /api/v1/users
| Method | Path | Description | Scope |
|---|---|---|---|
GET | /api/v1/users/me | Get current user profile | read:profile |
Base path: /api/v1/tokens
| Method | Path | Description | Scope |
|---|---|---|---|
POST | /api/v1/tokens | Create a new API token | manage:tokens |
GET | /api/v1/tokens | List all active tokens | read:tokens |
GET | /api/v1/tokens/:id | Get token details | read:tokens |
DELETE | /api/v1/tokens/:id | Revoke a token (cannot be undone) | manage:tokens |