TaScan Projects API

The projects API from TaScan — 8 operation(s) for projects.

GitHub OpenAPI

Operations 13

GET /projects List projects #
POST /projects Create project #
GET /projects/{id} Get project #
PUT /projects/{id} Update project #
DELETE /projects/{id} Delete project #
PATCH /projects/{id} Update project (PATCH = PUT) #
GET /projects/{id}/digest Project Digest #
GET /projects/{id}/lists List task lists in a project #
POST /projects/{id}/lists Create task list #
GET /projects/{id}/responses Query one task's responses across a project #
POST /projects/{id}/clone Clone Project #
GET /projects/{id}/insights Project Insights #
DELETE /projects/{id}/workers/{worker_id} Remove a worker from a project #

Specifications

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/tascan-io:tascan-io-projects-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

tascan-io-projects-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TaScan Projects API
  version: 1.1.0
  description: 'TaScan: Task. Scan. Done. Verified Work for humans, AI agents and devices. Create and dispatch work, collect evidence (photos, GPS, NFC/QR/RFID scans, device readings, agent output), verify it under pinned policies, and get a signed Action Receipt anyone can check without trusting TaScan. Covers projects and task lists, workers and payments, zones, tags and assets, evidence ingestion, verifications, receipts, agent coordination (cycles, builds, fan-outs, runs), keys, budgets and delegations. MCP clients should use the native MCP server instead: https://app.tascan.io/mcp (npm: tascan-mcp), which exposes the same capabilities as tools. Protocol spec: https://app.tascan.io/docs/protocol/TASCAN-PROTOCOL-v0.1.md. Independent receipt verifier: npx tascan-verify.'
  contact:
    name: TaScan
    url: https://tascan.io
  termsOfService: https://tascan.io/terms
servers:
- url: https://app.tascan.io/api/v1
security:
- apiKey: []
tags:
- name: Projects
paths:
  /projects:
    get:
      summary: List projects
      tags:
      - Projects
      responses:
        '200':
          description: Projects in your org
      operationId: get_projects
      x-mcp-tools:
      - tascan_list_projects
      description: 'List projects in your org. Filters: status (exact, comma list), number (exact), ref (any external_refs[].ref, exact), and the portal''s date filters (SR-API2, metrics-lib.js projectDateMatch): starts_after=YYYY-MM-DD (the span starts after that day), ends_before=YYYY-MM-DD (the span ends before it), window=week (Sunday-Saturday of today) or month (the calendar month), all in zone (an IANA zone; default the org time zone, else UTC with dates.timezone_fallback true). A project with one date spans that day; one with neither uses its created day in the zone. With a date filter the body adds dates: { zone, timezone_fallback, today, starts_after, ends_before, window: { name, from, to } }. Every project carries calendar_url (https://app.tascan.io/.netlify/functions/calendar-feed?project=), webcal_url (the same as webcal:), map_url (https://app.tascan.io/map.html?project=) and wallet_pass_url (https://app.tascan.io/api/generate-pass?type=admin&eid=, the admin Wallet pass; it needs an admin session bearer), and report_options. Also accepts an admin portal session (the Supabase JWT of an admin_users row) as the bearer: any admin role may read; every other method needs an owner or admin session.'
      parameters:
      - name: status
        in: query
        required: false
        schema:
          type: string
        description: Status, or a comma list
      - name: number
        in: query
        required: false
        schema:
          type: string
        description: Project number, exact
      - name: ref
        in: query
        required: false
        schema:
          type: string
        description: An external_refs[].ref, exact
      - name: starts_after
        in: query
        required: false
        schema:
          type: string
        description: YYYY-MM-DD
      - name: ends_before
        in: query
        required: false
        schema:
          type: string
        description: YYYY-MM-DD
      - name: window
        in: query
        required: false
        schema:
          type: string
          enum:
          - week
          - month
        description: week (Sunday-Saturday) or month
      - name: zone
        in: query
        required: false
        schema:
          type: string
        description: IANA time zone for the date filters, e.g. America/Los_Angeles
    post:
      summary: Create project
      tags:
      - Projects
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                location:
                  type: string
                start_date:
                  type: string
                end_date:
                  type: string
              required:
              - name
      responses:
        '201':
          description: Created
      operationId: post_projects
      x-mcp-tools:
      - tascan_create_project
      description: 'Create a project. Every project carries calendar_url (https://app.tascan.io/.netlify/functions/calendar-feed?project=), webcal_url (the same as webcal:), map_url (https://app.tascan.io/map.html?project=) and wallet_pass_url (https://app.tascan.io/api/generate-pass?type=admin&eid=, the admin Wallet pass; it needs an admin session bearer), and report_options. Also accepts an admin portal session (the Supabase JWT of an admin_users row) as the bearer: any admin role may read; every other method needs an owner or admin session.'
  /projects/{id}:
    get:
      summary: Get project
      tags:
      - Projects
      parameters:
      - $ref: '#/components/parameters/id'
      responses:
        '200':
          description: Project
      operationId: get_project
      x-mcp-tools:
      - tascan_get_project
      description: 'Get a project. Every project carries calendar_url (https://app.tascan.io/.netlify/functions/calendar-feed?project=), webcal_url (the same as webcal:), map_url (https://app.tascan.io/map.html?project=) and wallet_pass_url (https://app.tascan.io/api/generate-pass?type=admin&eid=, the admin Wallet pass; it needs an admin session bearer), and report_options. Also accepts an admin portal session (the Supabase JWT of an admin_users row) as the bearer: any admin role may read; every other method needs an owner or admin session.'
    put:
      summary: Update project
      tags:
      - Projects
      parameters:
      - $ref: '#/components/parameters/id'
      responses:
        '200':
          description: Updated
      operationId: put_project
      x-mcp-tools:
      - tascan_update_project
      - tascan_apply_qr_style
      description: 'Update a project. report_options is merged, labor_rules validated like the CHECK. Every project carries calendar_url (https://app.tascan.io/.netlify/functions/calendar-feed?project=), webcal_url (the same as webcal:), map_url (https://app.tascan.io/map.html?project=) and wallet_pass_url (https://app.tascan.io/api/generate-pass?type=admin&eid=, the admin Wallet pass; it needs an admin session bearer), and report_options. Also accepts an admin portal session (the Supabase JWT of an admin_users row) as the bearer: any admin role may read; every other method needs an owner or admin session. SR-API3 (297): qr_style_id (a saved QR look of the org, or null) is readable and settable on a project; another org''s look is 400.'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                location:
                  type: string
                status:
                  type: string
                start_date:
                  type: string
                end_date:
                  type: string
                number:
                  type: string
                external_refs:
                  type: array
                  items:
                    type: object
                labor_rules:
                  type: object
                  description: 'null, or { ot_after_hours (> 0, <= 24), dt_after_hours (> ot_after_hours, or > 10 when unset, <= 24) }: projects_labor_rules_chk'
                report_options:
                  type: object
                  description: 'Merged into the stored object (other keys kept; a key set to null removed; null clears it): show_location, show_time, auto_publish_receipts (booleans), client_photos (off | on | ask): projects_report_options_chk'
                qr_style_id:
                  type: string
                  nullable: true
    delete:
      summary: Delete project
      tags:
      - Projects
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: confirm_name
        in: query
        required: false
        schema:
          type: string
        description: The project name, typed exactly (when there is no body)
      - name: audit
        in: query
        required: false
        schema:
          type: string
        description: A JSON object, stored verbatim in the audit event (when there is no body)
      responses:
        '200':
          description: Deleted
      operationId: delete_project
      x-mcp-tools:
      - tascan_delete_project
      description: 'Guarded delete (SR-API2). confirm_name must equal the project name exactly, else 400 confirm_name_mismatch. A project with ANY history (a task or subtask completion, an action receipt, a task issue of any status, an invoice of the project or of one of its lists, a coordination task on its lists or naming it in coord.project) is refused 409 project_has_history with counts { lists, completions, subtask_completions, receipts, issues, invoices, coordination_tasks }: archive it instead. Otherwise a receipted audit event (action_events via agent_log_event: actor from the credential, project id, name, number, counts and the body''s audit verbatim) is written BEFORE the delete; when it cannot be written nothing is deleted (503 audit_write_failed). The history check, the audit event and the delete are ONE database transaction (api2_delete_project, migration 301) that first table-locks action_receipts and tasks (the history with no foreign key into the project) and then locks the project and its lists, tasks and subtasks, so history created while it runs either makes it refuse 409 or waits for it (and then fails its foreign key, or names a project already gone); it is never deleted. When those locks cannot be had within 3 seconds it answers 503 busy (nothing deleted; retry). Only this org''s rows are counted. A call that does not complete answers 503 delete_failed (nothing deleted). confirm_name and audit may also be sent as query parameters (the MCP transports send no DELETE body). Answers { deleted, id, audit_event_id, counts }. Write tier; an owner or admin session too; never a project sandbox key.'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                confirm_name:
                  type: string
                audit:
                  type: object
    patch:
      responses:
        '200':
          description: 'Success. JSON body: { data: ... } or an error object { error, message }.'
        4XX:
          description: Client error (validation, auth, scope, rate limit).
      summary: Update project (PATCH = PUT)
      tags:
      - Projects
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      operationId: patch_project
      description: 'The same as PUT /projects/{id} (SR-API2). Also accepts an admin portal session (the Supabase JWT of an admin_users row) as the bearer: any admin role may read; every other method needs an owner or admin session. SR-API3 (297): qr_style_id (a saved QR look of the org, or null) is readable and settable on a project; another org''s look is 400.'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                location:
                  type: string
                status:
                  type: string
                start_date:
                  type: string
                end_date:
                  type: string
                number:
                  type: string
                external_refs:
                  type: array
                  items:
                    type: object
                labor_rules:
                  type: object
                  description: 'null, or { ot_after_hours (> 0, <= 24), dt_after_hours (> ot_after_hours, or > 10 when unset, <= 24) }: projects_labor_rules_chk'
                report_options:
                  type: object
                  description: 'Merged into the stored object (other keys kept; a key set to null removed; null clears it): show_location, show_time, auto_publish_receipts (booleans), client_photos (off | on | ask): projects_report_options_chk'
                qr_style_id:
                  type: string
                  nullable: true
      x-mcp-tools:
      - tascan_update_project
      - tascan_apply_qr_style
  /projects/{id}/digest:
    get:
      summary: Project Digest
      description: 'One call that gives a chat client (ChatGPT, Claude) a whole TaScan project in about 2,000 words: the project, every task list with task counts, open decisions and questions, the last 5 coordination cycles with verdicts and spend, the latest 5 receipts, and total spend — returned as Markdown (capped at 12,000 chars). Read tier. Use it before asking a human to paste anything.'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: project_id
        in: query
        required: true
        schema:
          type: string
        description: Project ID (UUID).
      responses:
        '200':
          description: 'Success. JSON body: { data: ... } or an error object { error, message }.'
        4XX:
          description: Client error (validation, auth, scope, rate limit).
      operationId: get_project_digest
      tags:
      - Projects
      x-mcp-tools:
      - tascan_project_digest
  /projects/{id}/lists:
    get:
      summary: List task lists in a project
      tags:
      - Projects
      parameters:
      - $ref: '#/components/parameters/id'
      responses:
        '200':
          description: Task lists
      operationId: get_project_lists
      x-mcp-tools:
      - tascan_list_events
      description: 'SR-API3: the list carries is_template_source, qr_style_id and template_url (https://app.tascan.io/template.html?id= when it is shared as a template, else null). SR-S2 (296): lists the caller may not read are not listed.'
    post:
      summary: Create task list
      description: 'Create a checklist inside the project. Add tasks with POST /lists/{id}/tasks. SR-S2 (296): agent_assignee may be set on create (list level only: it covers every task of the list).'
      tags:
      - Projects
      parameters:
      - $ref: '#/components/parameters/id'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                description:
                  type: string
                team_mode:
                  type: boolean
                multi_instance:
                  type: boolean
                timer_mode:
                  type: boolean
              required:
              - name
      responses:
        '201':
          description: Created — includes the worker URL and client_token
      operationId: post_project_lists
      x-mcp-tools:
      - tascan_create_event
  /projects/{id}/responses:
    get:
      summary: Query one task's responses across a project
      description: 'Chronological progression of a repeated task (e.g. the same exercise across workout lists). Query: ?task=.'
      tags:
      - Projects
      parameters:
      - $ref: '#/components/parameters/id'
      - name: task
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Response series
      operationId: get_project_responses
  /projects/{id}/clone:
    post:
      responses:
        '200':
          description: 'Success. JSON body: { data: ... } or an error object { error, message }.'
        4XX:
          description: Client error (validation, auth, scope, rate limit).
      summary: Clone Project
      tags:
      - Projects
      operationId: post_project_clone
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      x-mcp-tools:
      - tascan_clone_project
      description: 'Copy a project''s STRUCTURE (SR-API2, the portal''s Duplicate): its location, dates, labor rules and report options; its task lists (not a work order''s own lists) with their settings; their people''s tasks (tasks.coord null) with response types, photo, safety and signature settings (signature_doc by reference); subtasks; attachments by reference (the same storage_path). Never copied: completions, issues, receipts, assignments, access settings, the number (the next one is assigned). The whole copy is ONE database transaction (api2_clone_project, migration 301): a failure at any step leaves nothing behind, never a partial copy (500 clone_failed); an unknown or another org''s project answers 404. Answers 201 { data: the new project, source_project_id, copied: { lists, tasks, subtasks, attachments } }. Write tier. Also accepts an admin portal session (the Supabase JWT of an admin_users row) as the bearer: any admin role may read; every other method needs an owner or admin session.'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 1-200 characters (default "<name> (copy)")
  /projects/{id}/insights:
    get:
      responses:
        '200':
          description: 'Success. JSON body: { data: ... } or an error object { error, message }.'
        4XX:
          description: Client error (validation, auth, scope, rate limit).
      summary: Project Insights
      tags:
      - Projects
      operationId: get_project_insights
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: demo
        in: query
        required: false
        schema:
          type: string
          enum:
          - '0'
          - '1'
          - 'true'
          - 'false'
        description: 1 = count a demo / test project's open issues too
      x-mcp-tools:
      - tascan_project_insights
      description: 'The portal''s Progress and insights panel (SR-API2, metrics-lib.js computeProjectInsights; definitions in its header): { project: { id, name, status, counts }, lists: [{ id, name, done, total, open_issues }], open_issues_total, issue_days: 30, activity: [{ kind: completion | scan | issue, at, id, who, worker_id, task_id, task_title, list_id, list_name }] (newest 20), activity_max, demo, generated_at }. done / total count people''s tasks (coordination cards left out; a list of coordination cards only is not listed). Open issues: OPEN / ACKNOWLEDGED / IN_PROGRESS within 30 days, none for an archived, completed or (unless demo=1) demo project. A read that fails answers 503. Read tier. Also accepts an admin portal session (the Supabase JWT of an admin_users row) as the bearer: any admin role may read; every other method needs an owner or admin session.'
  /projects/{id}/workers/{worker_id}:
    delete:
      summary: Remove a worker from a project
      description: 'SR-API3: deletes only that worker''s worker_assignments rows on this project. Completions, issues and the worker row are never touched. A project_worker_removed ledger event (actor, project, worker, lists, before / after, reason) is written first; 503 audit_write_failed and nothing removed when it fails. reason may come as ?reason= (MCP sends no DELETE body). Write tier. Also accepts an admin portal session (the Supabase JWT of an admin_users row) as the bearer: any admin role may read; every other method needs an owner or admin session.'
      tags:
      - Projects
      operationId: delete_project_worker
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Project id
      - name: worker_id
        in: path
        required: true
        schema:
          type: string
        description: Worker id
      - name: reason
        in: query
        required: false
        schema:
          type: string
        description: At most 500 characters
      responses:
        '200':
          description: 'Success. JSON body: { data: ... } or an error object { error, message }.'
        4XX:
          description: Client error (validation, auth, scope, rate limit).
      x-mcp-tools:
      - tascan_remove_worker_from_project
components:
  parameters:
    id:
      name: id
      in: path
      required: true
      schema:
        type: string
        format: uuid
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: 'API key from the TaScan admin Team page.  Format: tsk_live_...  Send as: Authorization: Bearer tsk_live_xxx.  Rate limit 60 requests/min.'
x-generated:
  by: live-event/scripts/gen-agent-docs.js
  from:
  - api-v1-helpers.js ROUTES
  - api-v1.js handler switch
  - coord-*-lib.js matchers
  - receipt.js
  - tascan-mcp/tools.cjs
  operations: 218
  mcp_tools: 141