Tin Computer Workspaces API

The Workspaces API from Tin Computer — 6 operation(s) for workspaces.

GitHub OpenAPI

Operations 6

GET /api/workspaces List Workspaces #
POST /api/workspaces/bootstrap Bootstrap Personal Workspace #
POST /api/workspaces/{workspace_id}/projects Create Workspace Project #
POST /api/workspaces/{workspace_id}/billing/test-enrollment Enroll #
GET /api/workspaces/{workspace_id}/billing/payments Payment List #
POST /api/workspaces/{workspace_id}/billing/checkout Checkout #

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-workspaces-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-workspaces-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tin Lite Switchboard Workspaces API
  version: 0.1.0
tags:
- name: Workspaces
paths:
  /api/workspaces:
    get:
      summary: List Workspaces
      operationId: list_workspaces_api_workspaces_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/WorkspaceView'
                type: array
                title: Response List Workspaces Api Workspaces Get
      security:
      - ClerkSession: []
      tags:
      - Workspaces
  /api/workspaces/bootstrap:
    post:
      summary: Bootstrap Personal Workspace
      operationId: bootstrap_personal_workspace_api_workspaces_bootstrap_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PersonalProjectCreate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceBootstrapView'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - ClerkSession: []
      tags:
      - Workspaces
  /api/workspaces/{workspace_id}/projects:
    post:
      summary: Create Workspace Project
      operationId: create_workspace_project_api_workspaces__workspace_id__projects_post
      security:
      - ClerkSession: []
      parameters:
      - name: workspace_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Workspace Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkspaceProjectCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectView'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Workspaces
  /api/workspaces/{workspace_id}/billing/test-enrollment:
    post:
      summary: Enroll
      operationId: enroll_api_workspaces__workspace_id__billing_test_enrollment_post
      security:
      - ClerkSession: []
      parameters:
      - name: workspace_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Workspace Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Workspaces
  /api/workspaces/{workspace_id}/billing/payments:
    get:
      summary: Payment List
      operationId: payment_list_api_workspaces__workspace_id__billing_payments_get
      security:
      - ClerkSession: []
      parameters:
      - name: workspace_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Workspace Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Workspaces
  /api/workspaces/{workspace_id}/billing/checkout:
    post:
      summary: Checkout
      operationId: checkout_api_workspaces__workspace_id__billing_checkout_post
      security:
      - ClerkSession: []
      parameters:
      - name: workspace_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Workspace Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TopupRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Workspaces
components:
  schemas:
    ProjectView:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        name:
          type: string
          title: Name
        state_repo_id:
          type: string
          title: State Repo Id
        canonical_branch:
          type: string
          title: Canonical Branch
        timezone:
          type: string
          title: Timezone
          default: UTC
        workspace_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Workspace Id
        workspace_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Workspace Name
        can_create_project_in_workspace:
          type: boolean
          title: Can Create Project In Workspace
          default: false
        member_count:
          type: integer
          title: Member Count
          default: 1
        can_delete:
          type: boolean
          title: Can Delete
          default: false
      type: object
      required:
      - id
      - name
      - state_repo_id
      - canonical_branch
      title: ProjectView
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    WorkspaceProjectCreate:
      properties:
        name:
          type: string
          maxLength: 80
          minLength: 1
          title: Name
        request_id:
          type: string
          format: uuid
          title: Request Id
      type: object
      required:
      - name
      - request_id
      title: WorkspaceProjectCreate
    TopupRequest:
      properties:
        request_id:
          type: string
          format: uuid
          title: Request Id
        amount_cents:
          type: integer
          maximum: 100000.0
          minimum: 1000.0
          title: Amount Cents
      additionalProperties: false
      type: object
      required:
      - request_id
      - amount_cents
      title: TopupRequest
    PersonalProjectCreate:
      properties:
        name:
          type: string
          maxLength: 80
          minLength: 1
          title: Name
      type: object
      required:
      - name
      title: PersonalProjectCreate
    WorkspaceView:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        name:
          type: string
          title: Name
      type: object
      required:
      - id
      - name
      title: WorkspaceView
    WorkspaceBootstrapView:
      properties:
        workspace:
          anyOf:
          - $ref: '#/components/schemas/WorkspaceView'
          - type: 'null'
        project:
          $ref: '#/components/schemas/ProjectView'
      type: object
      required:
      - workspace
      - project
      title: WorkspaceBootstrapView
    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