/
CO
coder
/
Coder API
Search skmtc…
⌘K
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Subscribe
v54
latest
Swagger 2.0
AGPL-3.0
raw.githubusercontent.com
2026-08-03
397
565
628.8 KB
Enterprise
OAuth2 authorization server metadata.
get
/.well-known/oauth-authorization-server
Response
OK
CodersdkOAuth2AuthorizationServerMetadata
required
authorization_endpoint
string
code_challenge_methods_supported
CodersdkOAuth2PKCECodeChallengeMethod[]
grant_types_supported
CodersdkOAuth2ProviderGrantType[]
issuer
string
registration_endpoint
string
response_types_supported
CodersdkOAuth2ProviderResponseType[]
revocation_endpoint
string
scopes_supported
string[]
token_endpoint
string
token_endpoint_auth_methods_supported
CodersdkOAuth2TokenEndpointAuthMethod[]
All 397 operations
get
OAuth2 authorization server metadata.
get
OAuth2 protected resource metadata.
get
List chats
post
Create chat
get
Get chat retention days
put
Update chat retention days
post
Upload chat file
get
Get chat file
get
List chat models
get
Watch chat events for a user via WebSockets
get
Get chat by ID
patch
Update chat
get
Get chat ACLs
patch
Update chat ACL
post
Compact chat
put
Refresh chat context
get
Get chat cost
get
Get chat diff contents
post
Interrupt chat
get
List chat messages
post
Send chat message
patch
Edit chat message
get
List chat user prompts
post
Reconcile invalid chat state
get
Stream chat events via WebSockets
get
Connect to chat workspace desktop via WebSockets
get
Watch chat workspace git state via WebSockets
get
Stream chat parts via WebSockets
post
Regenerate chat title
get
List user skills
post
Create a user skill
get
Get a user skill by name
delete
Delete a user skill
patch
Update a user skill
get
Watch all workspace builds
get
API root handler
get
Get agent firewall session by ID
get
Get agent firewall session logs
get
List AI Gateway clients
get
List AI Gateway keys
post
Create AI Gateway key
delete
Delete AI Gateway key
get
List AI Gateway models
get
AI Gateway serve
get
List AI Gateway sessions
get
Get AI Gateway session threads
get
List AI providers
post
Create an AI provider
get
Get an AI provider
delete
Delete an AI provider
patch
Update an AI provider
get
Get appearance
put
Update appearance
get
Redirect to URI with encrypted API key
get
Get applications host
post
Issue signed app token for reconnecting PTY
get
Get audit logs
post
Generate fake audit log
get
List API key scopes
post
Check authorization
get
Build info
get
Get connection logs
post
Report CSP violations
get
Debug Info Wireguard Coordinator
get
Debug DERP traffic
get
Debug expvar
get
Debug Info Deployment Health
get
Get health settings
put
Update health settings
get
Debug metrics
get
Debug pprof index
get
Debug pprof cmdline
get
Debug pprof profile
get
Debug pprof symbol
get
Debug pprof trace
post
Collect debug profiles
get
Debug Info Tailnet
get
Debug Info Websocket Test
get
Debug OIDC context for a user
get
Get deployment config
get
SSH Config
get
Get deployment stats
get
Get DERP map updates
get
Get entitlements
get
Get enabled experiments
get
Get safe experiments
get
Get user external auths
get
Get external auth by ID
delete
Delete external auth user link by ID
get
Get external auth device by ID.
post
Post external auth device by ID
post
Upload file
get
Get file by ID
get
Get groups
get
Get group by ID
delete
Delete group by name
patch
Update group by name
get
Get group AI budget
put
Upsert group AI budget
delete
Delete group AI budget
get
Get group AI spend
get
Get group members by group ID
get
Get group members AI spend
get
Get agent init script
get
Get deployment DAUs
get
Get insights about templates
get
Get insights about user activity
get
Get insights about user latency
get
Get insights about user status counts
get
Get licenses
post
Add new license
post
Update license entitlements
delete
Delete license
post
Send a custom notification
get
Get notification dispatch methods
get
List inbox notifications
put
Mark all unread notifications as read
get
Watch for new inbox notifications
put
Update read status of a notification
get
Get notifications settings
put
Update notifications settings
get
Get custom notification templates
get
Get system notification templates
put
Update notification template dispatch method
post
Send a test notification
get
Get OAuth2 applications.
post
Create OAuth2 application.
get
Get OAuth2 application.
put
Update OAuth2 application.
delete
Delete OAuth2 application.
get
Get OAuth2 application secrets.
post
Create OAuth2 application secret.
delete
Delete OAuth2 application secret.
get
Get OAuth2 provider settings.
put
Update OAuth2 provider settings.
get
Get organizations
post
Create organization
get
Get organization by ID
delete
Delete organization
patch
Update organization
get
Export organization AI spend as CSV
get
Get groups by organization
post
Create group for organization
get
Get organization groups AI spend
get
Get group by organization and group name
get
Get group members by organization and group name
get
Get group members AI spend by organization
get
List organization members
get
Get member roles by organization
put
Update a custom organization role
post
Insert a custom organization role
delete
Delete a custom organization role
get
Get organization member
post
Add organization member
delete
Remove organization member
put
Assign role to organization member
get
Get workspace quota by user
post
Create user workspace by organization
get
Get users available for workspace creation
get
Paginated organization members
get
Get provisioner daemons
get
Serve provisioner daemon
get
Get provisioner jobs
get
Get provisioner job
get
List provisioner key
post
Create provisioner key
get
List provisioner key daemons
delete
Delete provisioner key
get
Get the available organization idp sync claim fields
get
Get the organization idp sync claim field values
get
Get group IdP Sync settings by organization
patch
Update group IdP Sync settings by organization
patch
Update group IdP Sync config
patch
Update group IdP Sync mapping
get
Get role IdP Sync settings by organization
patch
Update role IdP Sync settings by organization
patch
Update role IdP Sync config
patch
Update role IdP Sync mapping
get
Get workspace sharing settings for organization
patch
Update workspace sharing settings for organization
get
Get templates by organization
post
Create template by organization
get
Get template examples by organization
get
Get templates by organization and template name
get
Get template version by organization, template, and name
get
Get previous template version by organization, template, and name
post
Create template version by organization
get
Get prebuilds settings
put
Update prebuilds settings
get
Fetch provisioner key details
get
Get site-wide regions for workspace connections
get
Get active replicas
get
Get the available idp sync claim fields
get
Get the idp sync claim field values
get
Get organization IdP Sync settings
patch
Update organization IdP Sync settings
patch
Update organization IdP Sync config
patch
Update organization IdP Sync mapping
get
User-scoped tailnet RPC connection
get
List AI tasks
post
Create a new AI task
get
Get AI task by ID or name
delete
Delete AI task
patch
Update AI task input
get
Get AI task logs
post
Pause task
post
Resume task
post
Send input to AI task
get
List template builder base templates
post
Compose template from base and modules
post
Compose and create a template
get
List template builder modules
post
Report a template builder session event
get
Get all templates
get
Get template examples
get
Get template settings by ID
delete
Delete template by ID
patch
Update template settings by ID
get
Get template ACLs
patch
Update template ACL
get
Get template available acl users/groups
get
Get template DAUs by ID
post
Invalidate presets for template
get
List template versions by template ID
patch
Update active template version by template ID
post
Archive template unused versions by template id
get
Get template version by template ID and name
get
Get template version by ID
patch
Patch template version by ID
post
Archive template version
patch
Cancel template version by ID
post
Create template version dry-run
get
Get template version dry-run by job ID
patch
Cancel template version dry-run by job ID
get
Get template version dry-run logs by job ID
get
Get template version dry-run matched provisioners
get
Get template version dry-run resources by job ID
get
Open dynamic parameters WebSocket by template version
post
Evaluate dynamic parameters for template version
get
Get external auth by template version
get
Get logs by template version
get
Removed: Get parameters by template version
get
Get template version presets
get
Get resources by template version
get
Get rich parameters by template version
get
Removed: Get schema by template version
post
Unarchive template version
get
Get template variables by template version
get
Update check
get
Get users
post
Create new user
get
Get authentication methods
get
Check initial user created
post
Create initial user
post
Log in user
post
Log out user
get
OAuth 2.0 GitHub Callback
get
Get Github device auth.
get
Get OIDC claims for the authenticated user
get
OpenID Connect Callback
post
Change password with a one-time passcode
post
Request one-time passcode
get
Get site member roles
post
Validate user password
get
Get user by name
delete
Delete user
get
Get user AI budget override
put
Upsert user AI budget override
delete
Delete user AI budget override
get
Get user AI spend
get
Get user appearance settings
put
Update user appearance settings
get
Get autofill build parameters for user
post
Convert user from password to oauth authentication
get
Get user Git SSH key
put
Regenerate user SSH key
post
Create new session key
get
Get user tokens
post
Create token API key
get
Get token config
get
Get API key by token name
get
Get API key by ID
delete
Delete API key
put
Expire API key
get
Get user login type
get
Get user notification preferences
put
Update user notification preferences
get
Get organizations by user
get
Get organization by user and organization name
put
Update user password
get
Get user preference settings
put
Update user preference settings
put
Update user profile
get
Get user quiet hours schedule
put
Update user quiet hours schedule
get
Get user roles
put
Assign role to user
get
List user secrets
post
Create a new user secret
post
Import user secrets from a file
get
Get a user secret by name
delete
Delete a user secret
patch
Update a user secret
put
Activate user account
put
Suspend user account
post
Create user webpush subscription
delete
Delete user webpush subscription
post
Send a test push notification
get
Get workspace metadata by user and workspace name
get
Get workspace build by user, workspace name, and build number
post
Create user workspace
get
Get workspace quota by user deprecated
post
Authenticate agent on AWS instance
post
Authenticate agent on Azure instance
get
Get connection info for workspace agent generic
post
Authenticate agent on Google Cloud instance
patch
Patch workspace agent app status
get
Get workspace agent external auth
get
Removed: Get workspace agent git auth
get
Get workspace agent Git SSH key
post
Post workspace agent log source
patch
Patch workspace agent logs
get
Get workspace agent reinitialization
get
Workspace agent RPC API
post
Upload task log snapshot
get
Get workspace agent by ID
get
Get connection info for workspace agent
get
Get running containers for workspace agent
delete
Delete devcontainer for workspace agent
post
Recreate devcontainer for workspace agent
get
Watch workspace agent for container updates.
get
Coordinate workspace agent
get
Get listening ports for workspace agent
get
Get logs by workspace agent
get
Open PTY to workspace agent
get
Removed: Get logs by workspace agent
get
Watch for workspace agent metadata updates
get
Watch for workspace agent metadata updates via WebSockets
get
Get workspace build
patch
Cancel workspace build
get
Get workspace build logs
get
Get build parameters for workspace build
get
Removed: Get workspace resources for workspace build
get
Get provisioner state for workspace build
put
Update workspace build state
get
Get workspace build timings by ID
get
Get workspace proxies
post
Create workspace proxy
post
Report workspace app stats
get
Workspace Proxy Coordinate
get
Get workspace proxy crypto keys
post
Deregister workspace proxy
post
Issue signed workspace app token
post
Register workspace proxy
get
Get workspace proxy
delete
Delete workspace proxy
patch
Update workspace proxy
get
List workspaces
get
Get workspace metadata by ID
patch
Update workspace metadata by ID
get
Get workspace ACLs
delete
Completely clears the workspace's user and group ACLs.
patch
Update workspace ACL
get
Workspace Agent Connection Watch
put
Update workspace autostart schedule by ID
put
Update workspace automatic updates by ID
get
Get workspace builds by workspace ID
post
Create workspace build
put
Update workspace dormancy status by id.
put
Extend workspace deadline by ID
get
Get workspace external agent credentials
put
Favorite workspace by ID.
delete
Unfavorite workspace by ID.
get
Get workspace agent port shares
post
Upsert workspace agent port share
delete
Delete workspace agent port share
get
Resolve workspace autostart by id.
get
Get workspace timings by ID
put
Update workspace TTL by ID
post
Post Workspace Usage by ID
get
Watch workspace by ID
get
Watch workspace by ID via WebSockets
get
OAuth2 authorization request (GET - show authorization page).
post
OAuth2 authorization request (POST - process authorization).
get
Get OAuth2 client configuration (RFC 7592)
put
Update OAuth2 client configuration (RFC 7592)
delete
Delete OAuth2 client registration (RFC 7592)
post
OAuth2 dynamic client registration (RFC 7591)
post
Revoke OAuth2 tokens (RFC 7009).
post
OAuth2 token exchange.
delete
Delete OAuth2 application tokens.
get
SCIM 2.0: Service Provider Config
get
SCIM 2.0: Get users
post
SCIM 2.0: Create new user
get
SCIM 2.0: Get user by ID
put
SCIM 2.0: Replace user account
patch
SCIM 2.0: Update user account