Who should use the OpenAPI, recommended reading order, and prerequisites.
Use the Qoder OpenAPI to manage members, groups, billing groups, and model visibility, and to query usage and AI code metrics at the organization level. Organization management and usage queries require the target organization’s API Key. Issuing a short-lived service account token requires that account’s own long-lived key.
Domains and Egress IPs requires no authentication, API key, or organization ID. Use this endpoint to retrieve Qoder's access domains and public egress IPs for the current environment to configure firewall, IP, or domain allowlists.
Follow the sidebar under Account → OpenAPI:
For organization endpoints, obtain
If an error occurs, capture
Who this is for
- Organization admins or integration / ops / data owners who need to pull organizational data into external systems.
- Callers comfortable with HTTPS, JSON, and REST.
Recommended reading order
Follow the sidebar under Account → OpenAPI:
- Conventions — Base URL, auth, pagination, errors, naming.
- Get API Key — Create a key in the console.
- API Key Security — Storage, rotation, and incident handling.
- Egress IP API — Query Qoder access domains and public egress IPs without authentication to configure firewall allowlists.
- Member APIs — Members, invitations, stats, quotas, and add-on caps.
- Group APIs — Groups and group membership.
- Billing Group APIs — Credits attribution, group limits, members, and period usage.
- Model APIs — Model levels, new models, and their visibility by group.
- Usage API — Usage events and summaries, service account usage events and summaries, resource packages, and seat-month queries.
- AI Code Metrics & Tracking — Aggregates, commit attribution, detail and export APIs.
- Service Account APIs — Accounts, Credits limits, long-lived keys, and short-lived tokens.
- Enterprise Marketplace APIs — Collections, Plugins, Skills, Connectors, categories, and distribution policies.
Organization endpoint scope (summary)
| Topic | Details |
|---|---|
| Auth | Authorization: Bearer <api_key>; the key is tied to an organization. |
| Data scope | Only data for that organization; fields per endpoint. |
| Base path | Most routes live under /v1/organizations/{organization_id} (see Conventions). |
Organization ID
For organization endpoints, obtain organization_id from the organization settings or URL in the Qoder web console. Replace placeholder org_xxx in examples with your real ID.
Getting help
If an error occurs, capture requestId from the response body and share it with Qoder support.