Doctave Deployments API

Trigger and monitor documentation site deployments.

Operations 3

GET /sites/{siteId}/deployments Doctave List Deployments #
POST /sites/{siteId}/deployments Doctave Create Deployment #
GET /sites/{siteId}/deployments/{deploymentId} Doctave Get Deployment #

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/doctave-deployments-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

doctave-deployments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Doctave Deployments API
  description: The Doctave API provides programmatic access to manage documentation sites, deployments, pages, and search on the Doctave docs-as-code platform. It allows teams to automate documentation workflows, trigger deployments, manage site configurations, and integrate documentation search into their own applications and developer portals.
  version: 1.0.0
  contact:
    name: Doctave
    url: https://www.doctave.com/
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: https://api.doctave.com/v1
  description: Doctave Production API
security:
- bearerAuth: []
tags:
- name: Deployments
  description: Trigger and monitor documentation site deployments.
paths:
  /sites/{siteId}/deployments:
    get:
      operationId: listDeployments
      summary: Doctave List Deployments
      description: Returns a list of all deployments for a specific documentation site, ordered by creation date.
      tags:
      - Deployments
      parameters:
      - $ref: '#/components/parameters/SiteId'
      responses:
        '200':
          description: A list of deployments for the site.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Deployment'
        '401':
          description: Authentication credentials are missing or invalid.
        '404':
          description: The specified site was not found.
    post:
      operationId: createDeployment
      summary: Doctave Create Deployment
      description: Triggers a new deployment for the documentation site, building and publishing the latest content from the configured source.
      tags:
      - Deployments
      parameters:
      - $ref: '#/components/parameters/SiteId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeploymentInput'
      responses:
        '201':
          description: The newly created deployment.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Deployment'
        '400':
          description: The request body is invalid.
        '401':
          description: Authentication credentials are missing or invalid.
        '404':
          description: The specified site was not found.
  /sites/{siteId}/deployments/{deploymentId}:
    get:
      operationId: getDeployment
      summary: Doctave Get Deployment
      description: Returns the details and status of a specific deployment.
      tags:
      - Deployments
      parameters:
      - $ref: '#/components/parameters/SiteId'
      - $ref: '#/components/parameters/DeploymentId'
      responses:
        '200':
          description: The requested deployment.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Deployment'
        '401':
          description: Authentication credentials are missing or invalid.
        '404':
          description: The specified deployment was not found.
components:
  schemas:
    Deployment:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the deployment.
        siteId:
          type: string
          description: Identifier of the site this deployment belongs to.
        status:
          type: string
          enum:
          - pending
          - building
          - deploying
          - live
          - failed
          description: Current status of the deployment.
        commitSha:
          type: string
          description: Git commit SHA that triggered the deployment.
        branch:
          type: string
          description: Git branch used for this deployment.
        triggeredBy:
          type: string
          description: User or system that triggered the deployment.
        createdAt:
          type: string
          format: date-time
          description: Timestamp when the deployment was created.
        finishedAt:
          type: string
          format: date-time
          description: Timestamp when the deployment finished.
        buildLog:
          type: string
          description: URL to the build log for this deployment.
      required:
      - id
      - siteId
      - status
    DeploymentInput:
      type: object
      properties:
        branch:
          type: string
          description: Git branch to deploy from.
        commitSha:
          type: string
          description: Specific commit SHA to deploy.
  parameters:
    SiteId:
      name: siteId
      in: path
      required: true
      description: The unique identifier of the documentation site.
      schema:
        type: string
    DeploymentId:
      name: deploymentId
      in: path
      required: true
      description: The unique identifier of the deployment.
      schema:
        type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Authentication token obtained from the Doctave dashboard or via API key management.