Deeptrace Chat API

AI-powered conversational interface over your production systems.

Operations 3

POST /api/v1/chat Send Chat Message #
GET /api/v1/chats/{chat_id} Get Chat #
GET /api/chat List Chats #

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/deeptrace-chat-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

deeptrace-chat-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Deeptrace REST Chat API
  description: Trigger and retrieve Deeptrace investigations, and drive AI-powered chat, programmatically. Deeptrace is an AI SRE that automatically investigates and root-causes production alerts by reasoning across logs, traces, metrics, and code.
  version: v1
  contact:
    name: Deeptrace
    url: https://docs.deeptrace.com
servers:
- url: https://api.deeptrace.com
  description: Production
security:
- ApiKeyHeader: []
- BearerAuth: []
tags:
- name: Chat
  description: AI-powered conversational interface over your production systems.
paths:
  /api/v1/chat:
    post:
      operationId: sendChatMessage
      tags:
      - Chat
      summary: Send Chat Message
      description: Send a message and receive an AI-powered response. Supports multi-turn conversations by passing a chat_id from a previous response. Set stream=true for Server-Sent Events streaming.
      security:
      - BearerAuth: []
      parameters:
      - name: stream
        in: query
        required: false
        description: Enable Server-Sent Events streaming.
        schema:
          type: boolean
          default: false
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - messages
              properties:
                messages:
                  type: array
                  minItems: 1
                  items:
                    $ref: '#/components/schemas/ChatInputMessage'
                chat_id:
                  type: string
                  description: ID of an existing chat to continue a conversation.
                model:
                  type: string
                  default: claude-opus-4-6
                  description: Model to use for the response.
                system_prompt:
                  type: string
                  description: Custom system prompt override.
            example:
              messages:
              - role: user
                content: What errors are happening in production right now?
      responses:
        '200':
          description: Chat response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '422':
          $ref: '#/components/responses/ValidationError'
        '500':
          $ref: '#/components/responses/InternalError'
  /api/v1/chats/{chat_id}:
    get:
      operationId: getChat
      tags:
      - Chat
      summary: Get Chat
      description: Retrieve a chat by ID including the full conversation history and metadata.
      security:
      - BearerAuth: []
      parameters:
      - name: chat_id
        in: path
        required: true
        description: UUID of the chat returned by Send Chat Message.
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Chat object.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Chat'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
  /api/chat:
    get:
      operationId: listChats
      tags:
      - Chat
      summary: List Chats
      description: Get a paginated list of chats for your team.
      security:
      - BearerAuth: []
      parameters:
      - name: page
        in: query
        description: Page number (1-based).
        schema:
          type: integer
          default: 1
      - name: count
        in: query
        description: Items per page (max 100).
        schema:
          type: integer
          default: 20
          maximum: 100
      - name: my_chats
        in: query
        description: Filter to only your chats.
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: Paginated list of chats.
          content:
            application/json:
              schema:
                type: object
                description: Paginated chat list (shape per Deeptrace docs).
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  responses:
    InternalError:
      description: Internal server error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    BadRequest:
      description: Invalid request body or missing required fields.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Resource not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ValidationError:
      description: Validation error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: Expired or revoked API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    ChatInputMessage:
      type: object
      required:
      - role
      - content
      properties:
        role:
          type: string
          enum:
          - user
          - assistant
        content:
          type: string
    ChatMessage:
      type: object
      properties:
        role:
          type: string
          enum:
          - user
          - assistant
        content:
          type: array
          description: Array of content blocks, e.g. {type text, text ...}.
          items:
            type: object
            properties:
              type:
                type: string
              text:
                type: string
    ChatResponse:
      type: object
      properties:
        chat_id:
          type: string
          format: uuid
        response:
          type: string
    Chat:
      type: object
      properties:
        id:
          type: string
          format: uuid
        created_at:
          type: string
          format: date-time
        messages:
          type: array
          items:
            $ref: '#/components/schemas/ChatMessage'
        data_sources:
          type: array
          items: {}
        investigation_results:
          type: array
          items: {}
        citation_map:
          type: object
    Error:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
      description: Deeptrace API key (dt_ prefix) from Settings > API Keys.
    BearerAuth:
      type: http
      scheme: bearer
      description: 'Authorization: Bearer <your_api_key> using the same Deeptrace API key.'