Coder Workspaces API declares
1 security scheme
for authenticating requests.
An API key is passed in the header as Coder-Session-Token (CoderSessionToken).
By default, every request must be authenticated.
Paths & Operations 24
Across 20 paths, the API surfaces 24 operations — 2 DELETE, 11 GET, 2 PATCH, 3 POST, 6 PUT. Each is listed below with its method, path, parameters, and response codes.
The contract defines 73 schemas that model the data the API accepts and returns. The most detailed are codersdk.WorkspaceAgent (33 properties), codersdk.Workspace (33 properties), codersdk.WorkspaceBuild (25 properties), codersdk.ProvisionerJob (21 properties). Each schema is shown below with its type and property counts.
workspacesdk.BuildUpdate
object
2 properties
codersdk.ServerSentEventType
string
codersdk.WorkspaceUser
object
5 properties2 required
codersdk.AgentConnectionTiming
object
5 properties
codersdk.ProvisionerJob
object
21 properties
codersdk.AgentSubsystem
string
codersdk.WorkspaceAppStatus
object
10 properties
codersdk.ProvisionerJobMetadata
object
8 properties
codersdk.UpdateWorkspaceDormancy
object
1 property
workspacesdk.AgentUpdate
object
2 properties
codersdk.ServerSentEvent
object
2 properties
codersdk.WorkspaceAgentHealth
object
2 properties
codersdk.WorkspaceTransition
string
codersdk.WorkspaceAgentScriptStatus
string
codersdk.WorkspaceResource
object
11 properties
codersdk.WorkspaceAgentStartupScriptBehavior
string
codersdk.TimingStage
string
codersdk.Healthcheck
object
3 properties
codersdk.WorkspaceAgentStatus
string
codersdk.UpdateWorkspaceACL
object
2 properties
codersdk.UpdateWorkspaceTTLRequest
object
1 property
codersdk.MinimalUser
object
4 properties2 required
codersdk.JobErrorCode
string
workspacesdk.WatchError
object
4 properties
codersdk.UpdateWorkspaceAutomaticUpdatesRequest
object
1 property
codersdk.GroupSource
string
codersdk.Response
object
3 properties
codersdk.WorkspaceBuildParameter
object
2 properties
codersdk.WorkspaceGroup
object
12 properties
workspacesdk.WatchErrorCode
integer
codersdk.WorkspaceHealth
object
2 properties
codersdk.WorkspaceACL
object
2 properties
codersdk.WorkspaceAppStatusState
string
codersdk.CreateWorkspaceRequest
object
CreateWorkspaceRequest provides options for creating a new workspace. Only one of TemplateID or TemplateVersionID can be specified, not both. If TemplateID is…
8 properties1 required
codersdk.WorkspaceResourceMetadata
object
3 properties
codersdk.WorkspaceAgentLogSource
object
5 properties
codersdk.AgentScriptTiming
object
8 properties
codersdk.UsageAppName
string
codersdk.DisplayApp
string
codersdk.ValidationError
object
2 properties2 required
codersdk.MatchedProvisioners
object
3 properties
codersdk.WorkspaceApp
object
17 properties
codersdk.ResolveAutostartResponse
object
1 property
codersdk.PutExtendWorkspaceRequest
object
1 property1 required
codersdk.LoginType
string
codersdk.ProvisionerJobStatus
string
codersdk.WorkspaceBuildTimings
object
3 properties
codersdk.ProvisionerJobType
string
workspacesdk.ConnectionWatchEvent
object
3 properties
codersdk.WorkspaceAgentLifecycle
string
codersdk.UpdateWorkspaceAutostartRequest
object
1 property
codersdk.SharedWorkspaceActorType
string
codersdk.SharedWorkspaceActor
object
5 properties
codersdk.WorkspaceAppOpenIn
string
codersdk.ProvisionerTiming
object
7 properties
codersdk.WorkspaceRole
string
codersdk.ProvisionerJobInput
object
3 properties
codersdk.UpdateWorkspaceRequest
object
1 property
uuid.NullUUID
object
2 properties
codersdk.UserStatus
string
codersdk.PostWorkspaceUsageRequest
object
2 properties
codersdk.WorkspaceAgentScript
object
12 properties
codersdk.WorkspaceAgent
object
33 properties
codersdk.WorkspaceAppHealth
string
codersdk.WorkspaceBuild
object
25 properties
codersdk.AutomaticUpdates
string
codersdk.BuildReason
string
codersdk.WorkspaceAppSharingLevel
string
codersdk.WorkspacesResponse
object
2 properties
codersdk.ReducedUser
object
12 properties4 required
codersdk.WorkspaceStatus
string
codersdk.DERPRegion
object
2 properties
codersdk.Workspace
object
33 properties
Specification
The full machine-readable OpenAPI contract behind this narrative.
Every API here is available over the API and to AI agents over MCP. APIs is not yet its own endpoint on the v1 API. Reach this content through network search and the tag graph, or the MCP server below.
Installs https://mcp.apievangelist.com/mcp in Claude, Cursor, VS Code and the rest — one button, every client.
MCP tools for apis
4 tools reach this content
search_api_evangelistSearch every content type across the network at once.
find_relatedThe shared-tag relevance graph — what else covers this.
get_tagEverything one tag labels, across all content types.
guide_topicPRO — a curated bundle for a topic: area, guidance, rules, papers, stories, services.
A second provider on the same verified email joins the account you already have.
Your account
ⓘWhere this information came from
This is an independent, third-party profile of Coder Workspaces API, published by
API Evangelist. We do not operate, host, resell, or
support these APIs, and we are not affiliated with or endorsed by the company unless stated above.
Everything here is built from publicly available information — the company's own site,
developer portal, documentation, public repositories, and the specifications it publishes for public use.
Nothing is obtained by breaching a system, defeating an access control, or using credentials.
The Kin Score and Agent Readiness rating are independently calculated assessments of a company's
public API artifacts, scored against a published rubric. They are not certifications,
endorsements, security assessments, or audits.
Corrections, re-scores, and removal are free — no partnership or purchase required, and
you do not need to justify the request. A removed company is recorded as unrated, never scored
zero for having asked. Acknowledgement within one business day; removal within two.
info@apievangelist.com
·
Read the full data-sourcing policy → On a security or compliance team? Put security in the subject line and
you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.