Callidus Legal AI Suggestion API

The Suggestion API from Callidus Legal AI — 2 operation(s) for suggestion.

Operations 2

POST /suggestion/assess/ Assess Endpoint #
POST /suggestion/rewrite/ Rewrite Endpoint #

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-suggestion-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-suggestion-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CallidusAI Suggestion API
  description: Callidus AI backend API
  version: 0.1.0
tags:
- name: Suggestion
paths:
  /suggestion/assess/:
    post:
      tags:
      - Suggestion
      summary: Assess Endpoint
      description: 'Score text quality and return improvement suggestions.


        Fast call intended to be debounced while the user is typing.'
      operationId: assess_endpoint_suggestion_assess__post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SuggestionRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssessmentResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /suggestion/rewrite/:
    post:
      tags:
      - Suggestion
      summary: Rewrite Endpoint
      description: 'Return a tightened rewrite of the provided text.


        Slower call — trigger on blur/focus-leave, not on keystrokes.'
      operationId: rewrite_endpoint_suggestion_rewrite__post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SuggestionRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RewriteResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SuggestionRequest:
      properties:
        suggestion_key:
          $ref: '#/components/schemas/SuggestionKey'
        text:
          type: string
          maxLength: 50000
          minLength: 1
          title: Text
      type: object
      required:
      - suggestion_key
      - text
      title: SuggestionRequest
      description: Incoming request for a writing suggestion.
    RewriteResponse:
      properties:
        rewrite:
          type: string
          title: Rewrite
          description: Concise polished version using only information from the original text
        suggestion_key:
          type: string
          title: Suggestion Key
          description: Echo of the request key
      type: object
      required:
      - rewrite
      - suggestion_key
      title: RewriteResponse
      description: Tightened rewrite — returned on blur/focus-leave.
    SuggestionKey:
      type: string
      enum:
      - suggest_timeline_case_background
      - suggest_timeline_cause_of_action
      - suggest_relevance_case_background
      - suggest_relevance_cause_of_action
      - suggest_familylaw_case_summary
      - suggest_matter_details
      - suggest_matter_cause_of_action
      title: SuggestionKey
      description: Identifies which prompt template to use for the suggestion.
    AssessmentResponse:
      properties:
        score:
          type: integer
          maximum: 5.0
          minimum: 1.0
          title: Score
          description: Quality score 1-5
        suggestions:
          items:
            type: string
          type: array
          maxItems: 3
          title: Suggestions
          description: Top 3 most impactful gaps or improvements
        suggestion_key:
          type: string
          title: Suggestion Key
          description: Echo of the request key
      type: object
      required:
      - score
      - suggestions
      - suggestion_key
      title: AssessmentResponse
      description: Score and improvement suggestions — returned on debounce while typing.
    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
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError