Coder Templates API

The Templates API from Coder — 33 operation(s) for templates.

Operations 38

GET /api/v2/organizations/{organization}/templates Get templates by organization #
POST /api/v2/organizations/{organization}/templates Create template by organization #
GET /api/v2/organizations/{organization}/templates/examples Get template examples by organization #
GET /api/v2/organizations/{organization}/templates/{templatename} Get templates by organization and template name #
GET /api/v2/organizations/{organization}/templates/{templatename}/versions/{templateversionname} Get template version by organization, template, and name #
GET /api/v2/organizations/{organization}/templates/{templatename}/versions/{templateversionname}/previous Get previous template version by organization, template, and name #
POST /api/v2/organizations/{organization}/templateversions Create template version by organization #
GET /api/v2/templates Get all templates #
GET /api/v2/templates/examples Get template examples #
GET /api/v2/templates/{template} Get template settings by ID #
DELETE /api/v2/templates/{template} Delete template by ID #
PATCH /api/v2/templates/{template} Update template settings by ID #
GET /api/v2/templates/{template}/daus Get template DAUs by ID #
GET /api/v2/templates/{template}/versions List template versions by template ID #
PATCH /api/v2/templates/{template}/versions Update active template version by template ID #
POST /api/v2/templates/{template}/versions/archive Archive template unused versions by template id #
GET /api/v2/templates/{template}/versions/{templateversionname} Get template version by template ID and name #
GET /api/v2/templateversions/{templateversion} Get template version by ID #
PATCH /api/v2/templateversions/{templateversion} Patch template version by ID #
POST /api/v2/templateversions/{templateversion}/archive Archive template version #
PATCH /api/v2/templateversions/{templateversion}/cancel Cancel template version by ID #
POST /api/v2/templateversions/{templateversion}/dry-run Create template version dry-run #
GET /api/v2/templateversions/{templateversion}/dry-run/{jobID} Get template version dry-run by job ID #
PATCH /api/v2/templateversions/{templateversion}/dry-run/{jobID}/cancel Cancel template version dry-run by job ID #
GET /api/v2/templateversions/{templateversion}/dry-run/{jobID}/logs Get template version dry-run logs by job ID #
GET /api/v2/templateversions/{templateversion}/dry-run/{jobID}/matched-provisioners Get template version dry-run matched provisioners #
GET /api/v2/templateversions/{templateversion}/dry-run/{jobID}/resources Get template version dry-run resources by job ID #
GET /api/v2/templateversions/{templateversion}/dynamic-parameters Open dynamic parameters WebSocket by template version #
POST /api/v2/templateversions/{templateversion}/dynamic-parameters/evaluate Evaluate dynamic parameters for template version #
GET /api/v2/templateversions/{templateversion}/external-auth Get external auth by template version #
GET /api/v2/templateversions/{templateversion}/logs Get logs by template version #
GET /api/v2/templateversions/{templateversion}/parameters Removed: Get parameters by template version #
GET /api/v2/templateversions/{templateversion}/presets Get template version presets #
GET /api/v2/templateversions/{templateversion}/resources Get resources by template version #
GET /api/v2/templateversions/{templateversion}/rich-parameters Get rich parameters by template version #
GET /api/v2/templateversions/{templateversion}/schema Removed: Get schema by template version #
POST /api/v2/templateversions/{templateversion}/unarchive Unarchive template version #
GET /api/v2/templateversions/{templateversion}/variables Get template variables by template version #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/coder-templates-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

coder-templates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Coderd is the service created by running coder server. It is a thin API that connects workspaces, provisioners and users. coderd stores its state in Postgres and is the only service that communicates with Postgres.
  title: Coder Templates API
  termsOfService: https://coder.com/legal/terms-of-service
  contact:
    name: API Support
    url: https://coder.com
    email: support@coder.com
  license:
    name: AGPL-3.0
    url: https://github.com/coder/coder/blob/main/LICENSE
  version: '2.0'
servers:
- url: https://{coderHost}/api/v2
  description: Coder instance
  variables:
    coderHost:
      default: coder.example.com
      description: Your Coder deployment hostname
security:
- CoderSessionToken: []
tags:


# --- truncated at 32 KB (72 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/coder/refs/heads/main/openapi/coder-templates-api-openapi.yml