Clerion Deploys API

Mark a release so the Errors page and the briefing can compare the 24 hours before with the 24 hours after.

GitHub OpenAPI

Operations 1

POST /api/v1/deploys Record a deploy #

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/getclerion-com:getclerion-com-deploys-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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

getclerion-com-deploys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Clerion Deploys API
  version: 1.0.0
  summary: Website intelligence for AI founders.
  description: 'The HTTP surface of Clerion that a customer''s own systems call. Analytics are read through the MCP server at /mcp, which serves the same aggregates the dashboard shows and can change or delete nothing. Deploys are recorded with one POST from CI. Visitor rows are never exposed: every figure is an aggregate.'
  termsOfService: https://getclerion.com/terms
  contact:
    name: Clerion
    url: https://getclerion.com/contact
    email: hello@getclerion.com
servers:
- url: https://api.getclerion.com
tags:
- name: Deploys
  description: Mark a release so the Errors page and the briefing can compare the 24 hours before with the 24 hours after.
paths:
  /api/v1/deploys:
    post:
      operationId: recordDeploy
      tags:
      - Deploys
      summary: Record a deploy
      description: 'Called from the end of a deploy job. Clerion marks the moment on the Errors page with the error rate and conversion rate before and after, and the briefing can name the deploy behind a change. Guide: https://getclerion.com/docs/deploy-markers'
      security:
      - clerionKey: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeployInput'
      responses:
        '200':
          description: The deploy as stored.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeployResponse'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        success:
          type: boolean
          const: false
        error:
          type: string
        code:
          type: string
    DeployInput:
      type: object
      required:
      - websiteId
      properties:
        websiteId:
          type: string
          description: The site id from the dashboard, for example site_abc123.
        label:
          type: string
          maxLength: 80
          description: 'What shipped: a version, a commit, or a sentence.'
        deployedAt:
          type: string
          format: date-time
          description: When visitors started getting the new version. Defaults to now; must be within the last week.
    DeployResponse:
      type: object
      properties:
        success:
          type: boolean
          const: true
        data:
          type: object
          properties:
            deployed_at:
              type: string
              format: date-time
            label:
              type:
              - string
              - 'null'
  responses:
    Error:
      description: The request failed; error says why in plain words.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    clerionKey:
      type: http
      scheme: bearer
      description: The account key from the dashboard, under Your model. Replacing the key there revokes it everywhere.
    oauth:
      type: oauth2
      description: 'OAuth 2.1 for MCP clients: authorization code with PKCE, dynamic client registration at /oauth/register. Discover it at /.well-known/oauth-authorization-server.'
      flows:
        authorizationCode:
          authorizationUrl: https://api.getclerion.com/oauth/authorize
          tokenUrl: https://api.getclerion.com/oauth/token
          scopes:
            analytics:read: Read aggregate analytics for the sites on the account. Nothing can be changed or deleted.
externalDocs:
  description: Clerion docs
  url: https://getclerion.com/docs