Tin Computer Tasks API

The Tasks API from Tin Computer — 8 operation(s) for tasks.

GitHub OpenAPI

Operations 8

GET /api/tasks/{run_id} Get Project Task #
GET /api/tasks/{run_id}/review/file Get Project Task Review File #
GET /api/tasks/{run_id}/review/document Get Project Task Review Document #
POST /api/tasks/{run_id}/messages Send Project Task Message #
POST /api/tasks/{run_id}/pause Pause Project Task #
POST /api/tasks/{run_id}/resume Resume Project Task #
POST /api/tasks/{run_id}/stop Stop Project Task #
POST /api/tasks/{run_id}/approve Approve Project Task #

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-tasks-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-tasks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tin Lite Switchboard Tasks API
  version: 0.1.0
tags:
- name: Tasks
paths:
  /api/tasks/{run_id}:
    get:
      summary: Get Project Task
      operationId: get_project_task_api_tasks__run_id__get
      security:
      - ClerkSession: []
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectTaskView'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Tasks
  /api/tasks/{run_id}/review/file:
    get:
      summary: Get Project Task Review File
      operationId: get_project_task_review_file_api_tasks__run_id__review_file_get
      security:
      - ClerkSession: []
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Run Id
      - name: path
        in: query
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 512
          title: Path
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Tasks
  /api/tasks/{run_id}/review/document:
    get:
      summary: Get Project Task Review Document
      operationId: get_project_task_review_document_api_tasks__run_id__review_document_get
      security:
      - ClerkSession: []
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Run Id
      - name: path
        in: query
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 512
          title: Path
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MarkdownDocumentView'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Tasks
  /api/tasks/{run_id}/messages:
    post:
      summary: Send Project Task Message
      operationId: send_project_task_message_api_tasks__run_id__messages_post
      security:
      - ClerkSession: []
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Run Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TaskMessageCreate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectTaskView'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Tasks
  /api/tasks/{run_id}/pause:
    post:
      summary: Pause Project Task
      operationId: pause_project_task_api_tasks__run_id__pause_post
      security:
      - ClerkSession: []
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RunView'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Tasks
  /api/tasks/{run_id}/resume:
    post:
      summary: Resume Project Task
      operationId: resume_project_task_api_tasks__run_id__resume_post
      security:
      - ClerkSession: []
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RunView'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Tasks
  /api/tasks/{run_id}/stop:
    post:
      summary: Stop Project Task
      operationId: stop_project_task_api_tasks__run_id__stop_post
      security:
      - ClerkSession: []
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RunView'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Tasks
  /api/tasks/{run_id}/approve:
    post:
      summary: Approve Project Task
      operationId: approve_project_task_api_tasks__run_id__approve_post
      security:
      - ClerkSession: []
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Run Id
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RunView'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Tasks
components:
  schemas:
    TaskEntryView:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        run_id:
          type: string
          format: uuid
          title: Run Id
        request_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Request Id
        kind:
          type: string
          title: Kind
        source:
          type: string
          title: Source
        content:
          type: string
          title: Content
        delivered_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Delivered At
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      required:
      - id
      - run_id
      - request_id
      - kind
      - source
      - content
      - delivered_at
      - created_at
      title: TaskEntryView
    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
    TaskMessageCreate:
      properties:
        request_id:
          type: string
          format: uuid
          title: Request Id
        message:
          type: string
          maxLength: 8000
          minLength: 1
          title: Message
      type: object
      required:
      - message
      title: TaskMessageCreate
    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
    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
    MarkdownHeadingView:
      properties:
        id:
          type: string
          title: Id
        title:
          type: string
          title: Title
      type: object
      required:
      - id
      - title
      title: MarkdownHeadingView
    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
    MarkdownDocumentView:
      properties:
        markdown:
          type: string
          title: Markdown
        html:
          type: string
          title: Html
        filename:
          type: string
          title: Filename
        source_url:
          type: string
          title: Source Url
        timestamp:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Timestamp
        word_count:
          type: integer
          title: Word Count
        reading_minutes:
          type: integer
          title: Reading Minutes
        headings:
          items:
            $ref: '#/components/schemas/MarkdownHeadingView'
          type: array
          title: Headings
        path:
          anyOf:
          - type: string
          - type: 'null'
          title: Path
        revision:
          anyOf:
          - type: string
          - type: 'null'
          title: Revision
        size_bytes:
          anyOf:
          - type: integer
          - type: 'null'
          title: Size Bytes
        related_documents:
          items:
            additionalProperties:
              type: string
            type: object
          type: array
          title: Related Documents
        sha256:
          anyOf:
          - type: string
          - type: 'null'
          title: Sha256
        assets:
          items:
            $ref: '#/components/schemas/MarkdownAssetView'
          type: array
          title: Assets
        asset_notes:
          items:
            type: string
          type: array
          title: Asset Notes
      type: object
      required:
      - markdown
      - html
      - filename
      - source_url
      - timestamp
      - word_count
      - reading_minutes
      - headings
      title: MarkdownDocumentView
    MarkdownAssetView:
      properties:
        path:
          type: string
          title: Path
        media_type:
          type: string
          title: Media Type
      type: object
      required:
      - path
      - media_type
      title: MarkdownAssetView
      description: A figure or embed the reader loads from the project at the document's revision.
    ProjectTaskView:
      properties:
        run:
          $ref: '#/components/schemas/RunView'
        entries:
          items:
            $ref: '#/components/schemas/TaskEntryView'
          type: array
          title: Entries
      type: object
      required:
      - run
      - entries
      title: ProjectTaskView
  securitySchemes:
    ClerkSession:
      type: http
      description: A Clerk session token minted for the signed-in Tin user.
      scheme: bearer