Clad Labs API

Clad Labs API as documented publicly: 23 operations. Contract generated from the documentation by API Evangelist (2026-10-29); not the provider's own document.

Operations 23

POST /ai/answer One‑shot, non‑conversational answer / article suggestions for a single question (honors `ai.mode` of `answer_first` / `suggest_articles`). #
POST /ai/chat Conversational AI assistant turn (multi‑turn RAG grounded in published articles). This is what the in‑widget AI assistant uses. #
POST /ai/escalate Mark an AI chat as escalated to a human (logs the deflection hand‑off). #
GET /articles/{id} Fetch an article. #
POST /attachments Upload a ticket‑form image (raw bytes, `X-Filename` header; image‑only + size‑capped). Returns a short‑lived signed handle to include in a submission. #
GET /config Public Widget API #
GET /conversations Public Widget API #
POST /conversations Public Widget API #
GET /conversations/{id} Public Widget API #
GET /conversations/{id}/messages Public Widget API #
POST /conversations/{id}/messages Public Widget API #
POST /conversations/{id}/read Public Widget API #
POST /events Ingest client analytics/audit events. #
GET /forms List/fetch ticket forms. #
GET /forms/{id} List/fetch ticket forms. #
POST /forms/{id}/submissions Submit a ticket form. #
GET /graphql Send your first authenticated query, create an issue, and read it back. #
POST /graphql POST /graphql #
POST /sessions/anonymous Public Widget API #
POST /sessions/identify Public Widget API #
POST /sessions/realtime-token Public Widget API #
POST /sessions/refresh Public Widget API #
POST /sessions/shutdown Public Widget API #

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/useclad-ai:useclad-ai-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

useclad-ai-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Clad Labs API
  version: '2026-10-29'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-29: 23 operation(s) read from 4 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Clad Labs has published no machine-readable contract that the
    pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 1
    documentation: 22
    pages-with-code: 2
    pages-read: 4
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-10-29'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://docs.useclad.ai/api/quickstart.md
  - https://docs.useclad.ai/api/authentication.md
  - https://docs.useclad.ai/api/how-the-api-works.md
  - https://docs.useclad.ai/widget/widget-api-reference.md
paths:
  /ai/answer:
    post:
      operationId: post_ai_answer
      tags:
      - Ai
      summary: One‑shot, non‑conversational answer / article suggestions for a single question (honors `ai.mode` of `answer_first` / `suggest_articles`).
      description: One‑shot, non‑conversational answer / article suggestions for a single question (honors `ai.mode` of `answer_first` / `suggest_articles`).
      x-source: https://docs.useclad.ai/widget/widget-api-reference.md
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /ai/chat:
    post:
      operationId: post_ai_chat
      tags:
      - Ai
      summary: Conversational AI assistant turn (multi‑turn RAG grounded in published articles). This is what the in‑widget AI assistant uses.
      description: Conversational AI assistant turn (multi‑turn RAG grounded in published articles). This is what the in‑widget AI assistant uses.
      x-source: https://docs.useclad.ai/widget/widget-api-reference.md
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /ai/escalate:
    post:
      operationId: post_ai_escalate
      tags:
      - Ai
      summary: Mark an AI chat as escalated to a human (logs the deflection hand‑off).
      description: Mark an AI chat as escalated to a human (logs the deflection hand‑off).
      x-source: https://docs.useclad.ai/widget/widget-api-reference.md
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /articles/{id}:
    get:
      operationId: get_articles_id
      tags:
      - Articles
      summary: Fetch an article.
      description: Fetch an article.
      x-source: https://docs.useclad.ai/widget/widget-api-reference.md
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /attachments:
    post:
      operationId: post_attachments
      tags:
      - Attachments
      summary: Upload a ticket‑form image (raw bytes, `X-Filename` header; image‑only + size‑capped). Returns a short‑lived signed handle to include
        in a submission.
      description: Upload a ticket‑form image (raw bytes, `X-Filename` header; image‑only + size‑capped). Returns a short‑lived signed handle
        to include in a submission.
      x-source: https://docs.useclad.ai/widget/widget-api-reference.md
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /config:
    get:
      operationId: get_config
      tags:
      - Config
      summary: Public Widget API
      x-source: https://docs.useclad.ai/widget/widget-api-reference.md
      parameters:
      - name: workspace_id
        in: query
        required: false
        schema:
          type: string
      - name: widget_id
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /conversations:
    get:
      operationId: get_conversations
      tags:
      - Conversations
      summary: Public Widget API
      x-source: https://docs.useclad.ai/widget/widget-api-reference.md
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_conversations
      tags:
      - Conversations
      summary: Public Widget API
      x-source: https://docs.useclad.ai/widget/widget-api-reference.md
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostConversationsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /conversations/{id}:
    get:
      operationId: get_conversations_id
      tags:
      - Conversations
      summary: Public Widget API
      x-source: https://docs.useclad.ai/widget/widget-api-reference.md
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /conversations/{id}/messages:
    get:
      operationId: get_conversations_id_messages
      tags:
      - Conversations
      summary: Public Widget API
      x-source: https://docs.useclad.ai/widget/widget-api-reference.md
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_conversations_id_messages
      tags:
      - Conversations
      summary: Public Widget API
      x-source: https://docs.useclad.ai/widget/widget-api-reference.md
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostConversationsIdMessagesRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /conversations/{id}/read:
    post:
      operationId: post_conversations_id_read
      tags:
      - Conversations
      summary: Public Widget API
      x-source: https://docs.useclad.ai/widget/widget-api-reference.md
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /events:
    post:
      operationId: post_events
      tags:
      - Events
      summary: Ingest client analytics/audit events.
      description: Ingest client analytics/audit events.
      x-source: https://docs.useclad.ai/widget/widget-api-reference.md
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /forms:
    get:
      operationId: get_forms
      tags:
      - Forms
      summary: List/fetch ticket forms.
      description: List/fetch ticket forms.
      x-source: https://docs.useclad.ai/widget/widget-api-reference.md
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /forms/{id}:
    get:
      operationId: get_forms_id
      tags:
      - Forms
      summary: List/fetch ticket forms.
      description: List/fetch ticket forms.
      x-source: https://docs.useclad.ai/widget/widget-api-reference.md
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /forms/{id}/submissions:
    post:
      operationId: post_forms_id_submissions
      tags:
      - Forms
      summary: Submit a ticket form.
      description: Submit a ticket form.
      x-source: https://docs.useclad.ai/widget/widget-api-reference.md
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /graphql:
    get:
      operationId: get_graphql
      tags:
      - Graphql
      summary: Send your first authenticated query, create an issue, and read it back.
      description: Authenticated GraphQL endpoint. Send a JSON payload with a `query` string and optional `variables`.
      x-source: https://docs.useclad.ai/api/quickstart.md
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetGraphqlResponse'
      x-evidence:
        kind: documentation
    post:
      operationId: post_graphql
      tags:
      - Graphql
      summary: POST /graphql
      x-source: https://docs.useclad.ai/api/quickstart.md
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostGraphqlRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostGraphqlResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl https://clad-server-production.up.railway.app/graphql  -H "Authorization: Bearer clad_mk_..."  -H "Content-Type: application/json"  -d
          ''{"query":"query {apiInfo}"}''

          ```'
  /sessions/anonymous:
    post:
      operationId: post_sessions_anonymous
      tags:
      - Sessions
      summary: Public Widget API
      x-source: https://docs.useclad.ai/widget/widget-api-reference.md
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /sessions/identify:
    post:
      operationId: post_sessions_identify
      tags:
      - Sessions
      summary: Public Widget API
      x-source: https://docs.useclad.ai/widget/widget-api-reference.md
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostSessionsIdentifyRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /sessions/realtime-token:
    post:
      operationId: post_sessions_realtime_token
      tags:
      - Sessions
      summary: Public Widget API
      x-source: https://docs.useclad.ai/widget/widget-api-reference.md
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /sessions/refresh:
    post:
      operationId: post_sessions_refresh
      tags:
      - Sessions
      summary: Public Widget API
      x-source: https://docs.useclad.ai/widget/widget-api-reference.md
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /sessions/shutdown:
    post:
      operationId: post_sessions_shutdown
      tags:
      - Sessions
      summary: Public Widget API
      x-source: https://docs.useclad.ai/widget/widget-api-reference.md
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
components:
  schemas:
    PostConversationsRequest:
      type: object
      properties:
        subject:
          type: string
        message:
          type: string
        tags:
          type: array
        customFields:
          type: object
        metadata:
          type: object
    PostConversationsIdMessagesRequest:
      type: object
      properties:
        text:
          type: string
        clientMessageId:
          type: string
      required:
      - text
    GetGraphqlResponse:
      type: object
      properties:
        data:
          type: object
          description: Result data from the GraphQL operation
    PostGraphqlRequest:
      type: object
      properties:
        query:
          type: string
    PostGraphqlResponse:
      type: object
      properties:
        createIssue:
          type: object
          properties:
            issue:
              type: object
              properties:
                id:
                  type: string
                ticketNumber:
                  type: integer
            error:
              type:
              - string
              - 'null'
    PostSessionsIdentifyRequest:
      type: object
      properties:
        identity JWT:
          type: string
      required:
      - identity JWT
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Ai
- name: Articles
- name: Attachments
- name: Config
- name: Conversations
- name: Events
- name: Forms
- name: Graphql
- name: Sessions