Callidus Legal AI Doc Agent v2 API

The Doc Agent v2 API from Callidus Legal AI — 5 operation(s) for doc agent v2.

Operations 5

POST /doc-agent-v2/chat Doc Agent Chat #
POST /doc-agent-v2/upload Doc Agent Upload #
GET /doc-agent-v2/status Doc Agent Status #
PATCH /doc-agent-v2/toggle Doc Agent Toggle #
GET /doc-agent-v2/outputs/{session_id} Doc Agent Output #

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/callidus-legal-ai:callidus-legal-ai-doc-agent-v2-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

callidus-legal-ai-doc-agent-v2-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CallidusAI Doc Agent v2 API
  description: Callidus AI backend API
  version: 0.1.0
tags:
- name: Doc Agent v2
paths:
  /doc-agent-v2/chat:
    post:
      tags:
      - Doc Agent v2
      summary: Doc Agent Chat
      description: 'Execute a doc-agent chat turn with SSE streaming.


        The turn itself runs in ``DocAgentV2ChatTurnWorkflow`` on the general worker (ENG-22450):

        Aspose.Words must not run in the API process. This handler authorizes, holds the turn slot,

        and relays the worker''s event stream to the client.'
      operationId: doc_agent_chat_doc_agent_v2_chat_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DocAgentChatRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /doc-agent-v2/upload:
    post:
      tags:
      - Doc Agent v2
      summary: Doc Agent Upload
      description: Validate and upload a .docx file for the doc-agent.
      operationId: doc_agent_upload_doc_agent_v2_upload_post
      parameters:
      - name: conversationId
        in: query
        required: true
        schema:
          type: string
          title: Conversationid
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_doc_agent_upload_doc_agent_v2_upload_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  anyOf:
                  - type: string
                  - type: integer
                title: Response Doc Agent Upload Doc Agent V2 Upload Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /doc-agent-v2/status:
    get:
      tags:
      - Doc Agent v2
      summary: Doc Agent Status
      description: Return whether draft mode is active for a conversation.
      operationId: doc_agent_status_doc_agent_v2_status_get
      parameters:
      - name: conversationId
        in: query
        required: true
        schema:
          type: string
          title: Conversationid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Doc Agent Status Doc Agent V2 Status Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /doc-agent-v2/toggle:
    patch:
      tags:
      - Doc Agent v2
      summary: Doc Agent Toggle
      description: Toggle draft mode for a conversation.
      operationId: doc_agent_toggle_doc_agent_v2_toggle_patch
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DocAgentToggleRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Doc Agent Toggle Doc Agent V2 Toggle Patch
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /doc-agent-v2/outputs/{session_id}:
    get:
      tags:
      - Doc Agent v2
      summary: Doc Agent Output
      description: 'Get a fresh signed download URL for a generated document.


        If ``output_url`` is provided (a specific blob URL from a prior turn''s

        ContextData), a signed URL is generated for that exact blob version.

        Otherwise, falls back to the latest output on the DocAgentSession.'
      operationId: doc_agent_output_doc_agent_v2_outputs__session_id__get
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          title: Session Id
      - name: output_url
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Output Url
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
                title: Response Doc Agent Output Doc Agent V2 Outputs  Session Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    DocAgentToggleRequest:
      properties:
        conversationId:
          type: string
          title: Conversationid
        enabled:
          type: boolean
          title: Enabled
      type: object
      required:
      - conversationId
      - enabled
      title: DocAgentToggleRequest
      description: Request body for PATCH /doc-agent/toggle.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    Body_doc_agent_upload_doc_agent_v2_upload_post:
      properties:
        file:
          type: string
          contentMediaType: application/octet-stream
          title: File
      type: object
      required:
      - file
      title: Body_doc_agent_upload_doc_agent_v2_upload_post
    DocAgentChatRequest:
      properties:
        request:
          type: string
          title: Request
        conversationId:
          type: string
          title: Conversationid
        interaction_mode:
          type: string
          title: Interaction Mode
          default: detailed
      type: object
      required:
      - request
      - conversationId
      title: DocAgentChatRequest
      description: Request body for POST /doc-agent/chat.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError