Skip to content
Skip to Content
Coder Docs

Enterprise

Endpoints

OAuth2 authorization server metadata. GET

/.well-known/oauth-authorization-server

OAuth2 protected resource metadata. GET

/.well-known/oauth-protected-resource

Get agent firewall session by ID GET

/api/v2/agent-firewall/sessions/{id}

Get agent firewall session logs GET

/api/v2/agent-firewall/sessions/{id}/logs

List AI Gateway keys GET

/api/v2/ai-gateway/keys

Create AI Gateway key POST

/api/v2/ai-gateway/keys

Delete AI Gateway key DELETE

/api/v2/ai-gateway/keys/{key}

AI Gateway serve GET

/api/v2/ai-gateway/serve

Get appearance GET

/api/v2/appearance

Update appearance PUT

/api/v2/appearance

Get connection logs GET

/api/v2/connectionlog

Report a premium paywall click POST

/api/v2/deployment/premium-funnel-events

Get entitlements GET

/api/v2/entitlements

Get groups GET

/api/v2/groups

Get group by ID GET

/api/v2/groups/{group}

Delete group by name DELETE

/api/v2/groups/{group}

Update group by name PATCH

/api/v2/groups/{group}

Get group AI budget GET

/api/v2/groups/{group}/ai/budget

Upsert group AI budget PUT

/api/v2/groups/{group}/ai/budget

Delete group AI budget DELETE

/api/v2/groups/{group}/ai/budget

Get group AI spend GET

/api/v2/groups/{group}/ai/spend Returns the AI spend limit and aggregate spend for the group.

Get group members by group ID GET

/api/v2/groups/{group}/members

Get group members AI spend GET

/api/v2/groups/{group}/members/ai/spend Returns aggregate AI spend attributed to the group per requested user.

Get licenses GET

/api/v2/licenses

Add new license POST

/api/v2/licenses

Update license entitlements POST

/api/v2/licenses/refresh-entitlements

Request a trial license POST

/api/v2/licenses/trial

Delete license DELETE

/api/v2/licenses/{id}

Update notification template dispatch method PUT

/api/v2/notifications/templates/{notification_template}/method

Get OAuth2 applications. GET

/api/v2/oauth2-provider/apps

Create OAuth2 application. POST

/api/v2/oauth2-provider/apps

Get OAuth2 application. GET

/api/v2/oauth2-provider/apps/{app}

Update OAuth2 application. PUT

/api/v2/oauth2-provider/apps/{app}

Delete OAuth2 application. DELETE

/api/v2/oauth2-provider/apps/{app}

Get OAuth2 application secrets. GET

/api/v2/oauth2-provider/apps/{app}/secrets

Create OAuth2 application secret. POST

/api/v2/oauth2-provider/apps/{app}/secrets

Delete OAuth2 application secret. DELETE

/api/v2/oauth2-provider/apps/{app}/secrets/{secretID}

Get OAuth2 provider settings. GET

/api/v2/oauth2-provider/settings

Update OAuth2 provider settings. PUT

/api/v2/oauth2-provider/settings

Export organization AI spend as CSV GET

/api/v2/organizations/{organization}/ai/spend/export Returns per-user, per-group, per-model, per-provider aggregated AI spend for the organization as CSV, built from raw AI Gateway token usage.

Get groups by organization GET

/api/v2/organizations/{organization}/groups

Create group for organization POST

/api/v2/organizations/{organization}/groups

Get organization groups AI spend GET

/api/v2/organizations/{organization}/groups/ai/spend Returns AI spend limits and aggregate spend for the requested groups.

Get group by organization and group name GET

/api/v2/organizations/{organization}/groups/{groupName}

Get group members by organization and group name GET

/api/v2/organizations/{organization}/groups/{groupName}/members

Get group members AI spend by organization GET

/api/v2/organizations/{organization}/groups/{groupName}/members/ai/spend Returns aggregate AI spend attributed to the group per requested user.

Get workspace quota by user GET

/api/v2/organizations/{organization}/members/{user}/workspace-quota

Get groups by organization (paginated) GET

/api/v2/organizations/{organization}/paginated-groups Unlike "Get groups by organization" (GET /organizations/{organization}/groups), which authorizes each group individually via its ACL, this endpoint requires organization-wide group read permission…

Serve provisioner daemon GET

/api/v2/organizations/{organization}/provisionerdaemons/serve

List provisioner key GET

/api/v2/organizations/{organization}/provisionerkeys

Create provisioner key POST

/api/v2/organizations/{organization}/provisionerkeys

List provisioner key daemons GET

/api/v2/organizations/{organization}/provisionerkeys/daemons

Delete provisioner key DELETE

/api/v2/organizations/{organization}/provisionerkeys/{provisionerkey}

Get the available organization idp sync claim fields GET

/api/v2/organizations/{organization}/settings/idpsync/available-fields

Get the organization idp sync claim field values GET

/api/v2/organizations/{organization}/settings/idpsync/field-values

Get group IdP Sync settings by organization GET

/api/v2/organizations/{organization}/settings/idpsync/groups

Update group IdP Sync settings by organization PATCH

/api/v2/organizations/{organization}/settings/idpsync/groups

Update group IdP Sync config PATCH

/api/v2/organizations/{organization}/settings/idpsync/groups/config

Update group IdP Sync mapping PATCH

/api/v2/organizations/{organization}/settings/idpsync/groups/mapping

Get role IdP Sync settings by organization GET

/api/v2/organizations/{organization}/settings/idpsync/roles

Update role IdP Sync settings by organization PATCH

/api/v2/organizations/{organization}/settings/idpsync/roles

Update role IdP Sync config PATCH

/api/v2/organizations/{organization}/settings/idpsync/roles/config

Update role IdP Sync mapping PATCH

/api/v2/organizations/{organization}/settings/idpsync/roles/mapping

Get workspace sharing settings for organization GET

/api/v2/organizations/{organization}/settings/workspace-sharing

Update workspace sharing settings for organization PATCH

/api/v2/organizations/{organization}/settings/workspace-sharing

Fetch provisioner key details GET

/api/v2/provisionerkeys/{provisionerkey}

Get active replicas GET

/api/v2/replicas

Get the available idp sync claim fields GET

/api/v2/settings/idpsync/available-fields

Get the idp sync claim field values GET

/api/v2/settings/idpsync/field-values

Get organization IdP Sync settings GET

/api/v2/settings/idpsync/organization

Update organization IdP Sync settings PATCH

/api/v2/settings/idpsync/organization

Update organization IdP Sync config PATCH

/api/v2/settings/idpsync/organization/config

Update organization IdP Sync mapping PATCH

/api/v2/settings/idpsync/organization/mapping

Get template ACLs GET

/api/v2/templates/{template}/acl

Update template ACL PATCH

/api/v2/templates/{template}/acl

Get template available acl users/groups GET

/api/v2/templates/{template}/acl/available

Invalidate presets for template POST

/api/v2/templates/{template}/prebuilds/invalidate

Get user AI budget override GET

/api/v2/users/{user}/ai/budget/override

Upsert user AI budget override PUT

/api/v2/users/{user}/ai/budget/override

Delete user AI budget override DELETE

/api/v2/users/{user}/ai/budget/override

Get user AI spend GET

/api/v2/users/{user}/ai/spend

Get user quiet hours schedule GET

/api/v2/users/{user}/quiet-hours

Update user quiet hours schedule PUT

/api/v2/users/{user}/quiet-hours

Get workspace proxies GET

/api/v2/workspaceproxies

Create workspace proxy POST

/api/v2/workspaceproxies

Get workspace proxy GET

/api/v2/workspaceproxies/{workspaceproxy}

Delete workspace proxy DELETE

/api/v2/workspaceproxies/{workspaceproxy}

Update workspace proxy PATCH

/api/v2/workspaceproxies/{workspaceproxy}

Get workspace external agent credentials GET

/api/v2/workspaces/{workspace}/external-agent/{agent}/credentials

SCIM 2.0: Service Provider Config GET

/scim/v2/ServiceProviderConfig

SCIM 2.0: Get user by ID GET

/scim/v2/Users/{id}