Tin Computer Chat API

The Chat API from Tin Computer — 1 operation(s) for chat.

GitHub OpenAPI

Operations 1

POST /api/chat Chat #

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/tin-computer:tin-computer-chat-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

tin-computer-chat-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tin Lite Switchboard Chat API
  version: 0.1.0
tags:
- name: Chat
paths:
  /api/chat:
    post:
      summary: Chat
      operationId: chat_api_chat_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChatCreate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatView'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - ClerkSession: []
      tags:
      - Chat
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    RunStatus:
      type: string
      enum:
      - pending
      - running
      - needs_input
      - paused
      - stopped
      - succeeded
      - failed
      - superseded
      title: RunStatus
    ChatCreate:
      properties:
        project_id:
          type: string
          format: uuid
          title: Project Id
        request_id:
          type: string
          format: uuid
          title: Request Id
        message:
          type: string
          maxLength: 4000
          minLength: 1
          title: Message
      type: object
      required:
      - project_id
      - message
      title: ChatCreate
    RunView:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        project_id:
          type: string
          format: uuid
          title: Project Id
        workflow_id:
          type: string
          format: uuid
          title: Workflow Id
        project_workflow_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Project Workflow Id
        workflow_name:
          type: string
          title: Workflow Name
        definition_commit_sha:
          anyOf:
          - type: string
          - type: 'null'
          title: Definition Commit Sha
        status:
          $ref: '#/components/schemas/RunStatus'
        trigger_source:
          type: string
          title: Trigger Source
          default: manual
        scheduled_for:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Scheduled For
        review_required:
          type: boolean
          title: Review Required
          default: false
        review_root_run_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Review Root Run Id
        review_source_run_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Review Source Run Id
        review_version:
          type: integer
          title: Review Version
          default: 1
        review_decision:
          anyOf:
          - type: string
          - type: 'null'
          title: Review Decision
        selected_sources:
          additionalProperties: true
          type: object
          title: Selected Sources
        x_draft:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: X Draft
        review_requested_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Review Requested At
        reviewed_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Reviewed At
        system_wiki_commit_sha:
          anyOf:
          - type: string
          - type: 'null'
          title: System Wiki Commit Sha
        artifact_ref:
          anyOf:
          - type: string
          - type: 'null'
          title: Artifact Ref
        retained_output:
          anyOf:
          - $ref: '#/components/schemas/RetainedOutputView'
          - type: 'null'
        output_resolution:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Output Resolution
        artifact_path:
          anyOf:
          - type: string
          - type: 'null'
          title: Artifact Path
        artifact_title:
          anyOf:
          - type: string
          - type: 'null'
          title: Artifact Title
        canonical_commit_sha:
          anyOf:
          - type: string
          - type: 'null'
          title: Canonical Commit Sha
        error_message:
          anyOf:
          - type: string
          - type: 'null'
          title: Error Message
        error_kind:
          anyOf:
          - type: string
          - type: 'null'
          title: Error Kind
        error_action:
          anyOf:
          - type: string
          - type: 'null'
          title: Error Action
        task_title:
          anyOf:
          - type: string
          - type: 'null'
          title: Task Title
        task_phase:
          anyOf:
          - type: string
          - type: 'null'
          title: Task Phase
        task_summary:
          anyOf:
          - type: string
          - type: 'null'
          title: Task Summary
        task_question:
          anyOf:
          - type: string
          - type: 'null'
          title: Task Question
        task_question_requested_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Task Question Requested At
        task_turn_number:
          type: integer
          title: Task Turn Number
          default: 0
        task_result:
          anyOf:
          - type: string
          - type: 'null'
          title: Task Result
        task_diff:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Task Diff
        task_has_changes:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Task Has Changes
        created_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Created At
        started_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Started At
        finished_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Finished At
        trigger_client:
          anyOf:
          - type: string
          - type: 'null'
          title: Trigger Client
        retry_of_run_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Retry Of Run Id
        progress_mode:
          type: string
          title: Progress Mode
          default: indeterminate
        progress_step:
          anyOf:
          - type: string
          - type: 'null'
          title: Progress Step
        progress_current:
          anyOf:
          - type: integer
          - type: 'null'
          title: Progress Current
        progress_total:
          anyOf:
          - type: integer
          - type: 'null'
          title: Progress Total
        progress_percent:
          anyOf:
          - type: integer
          - type: 'null'
          title: Progress Percent
        progress_summary:
          anyOf:
          - type: string
          - type: 'null'
          title: Progress Summary
        progress_updated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Progress Updated At
        heartbeat_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Heartbeat At
        result_summary:
          anyOf:
          - type: string
          - type: 'null'
          title: Result Summary
        run_summary:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Run Summary
        prerequisite_evidence:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Prerequisite Evidence
        content_delivery:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Content Delivery
        page_url:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Page Url
        personal:
          type: boolean
          title: Personal
          default: false
        mine:
          type: boolean
          title: Mine
          default: false
      type: object
      required:
      - id
      - project_id
      - workflow_id
      - workflow_name
      - definition_commit_sha
      - status
      - artifact_ref
      - artifact_path
      - canonical_commit_sha
      - error_message
      title: RunView
    RetainedOutputView:
      properties:
        artifact_path:
          type: string
          title: Artifact Path
        revision:
          type: string
          title: Revision
        media_type:
          type: string
          title: Media Type
        byte_count:
          type: integer
          title: Byte Count
        reason:
          type: string
          enum:
          - publication_pending
          - reconciliation_pending
          - output_conflict
          - execution_interrupted
          - not_published
          title: Reason
      type: object
      required:
      - artifact_path
      - revision
      - media_type
      - byte_count
      - reason
      title: RetainedOutputView
    ChatView:
      properties:
        request_id:
          type: string
          format: uuid
          title: Request Id
        response_id:
          type: string
          title: Response Id
        message:
          type: string
          title: Message
        routed_workflow_key:
          anyOf:
          - type: string
          - type: 'null'
          title: Routed Workflow Key
        run:
          anyOf:
          - $ref: '#/components/schemas/RunView'
          - type: 'null'
      type: object
      required:
      - request_id
      - response_id
      - message
      - routed_workflow_key
      - run
      title: ChatView
    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
  securitySchemes:
    ClerkSession:
      type: http
      description: A Clerk session token minted for the signed-in Tin user.
      scheme: bearer