Tin Computer Decisions API
The Decisions API from Tin Computer — 1 operation(s) for decisions.
The Decisions API from Tin Computer — 1 operation(s) for decisions.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/tin-computer:tin-computer-decisions-api"
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.
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: 3.2.0
info:
title: Tin Lite Switchboard Decisions API
version: 0.1.0
tags:
- name: Decisions
paths:
/api/decisions/{decision_id}/apply:
post:
summary: Apply Decision
operationId: apply_decision_api_decisions__decision_id__apply_post
security:
- ClerkSession: []
parameters:
- name: decision_id
in: path
required: true
schema:
type: string
format: uuid
title: Decision Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DecisionApply'
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:
- Decisions
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
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
DecisionApply:
properties:
action:
type: string
enum:
- approve
- decline
title: Action
feedback:
anyOf:
- type: string
maxLength: 8000
- type: 'null'
title: Feedback
review_token:
anyOf:
- type: string
maxLength: 64
- type: 'null'
title: Review Token
delivery:
anyOf:
- type: string
enum:
- github_pr
- github_commit
- none
- type: 'null'
title: Delivery
remember:
type: boolean
title: Remember
default: false
additionalProperties: false
type: object
required:
- action
title: DecisionApply
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