TaScan Issues API

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

GitHub OpenAPI

Operations 11

GET /issues/{id} Get issue #
PUT /issues/{id} Change an issue's status #
PATCH /issues/{id} Change an issue's status #
POST /issues/{id}/analyze AI: analyze issue #
POST /issues/{id}/auto-resolve AI: full closed loop #
POST /issues/{id}/dispatch AI: dispatch remediation to workers #
POST /issues/{id}/recommend AI: recommend fix #
GET /issues Issues inbox (org-wide) #
GET /issues/{id}/messages Issue thread #
POST /issues/{id}/messages Reply on an issue #
POST /tasks/{id}/issues Raise an issue on a task #

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-issues-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-issues-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TaScan Issues 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: Issues
paths:
  /issues/{id}:
    get:
      summary: Get issue
      tags:
      - Issues
      parameters:
      - $ref: '#/components/parameters/id'
      responses:
        '200':
          description: Issue
      operationId: get_issue
      x-mcp-tools:
      - tascan_analyze_issue
      description: 'The issue with its thread, worker, project and recent issues. SR-API3: another org''s issue answers 404 (was 403). 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: Change an issue's status
      description: 'SR-API3: { status } = OPEN, ACKNOWLEDGED, IN_PROGRESS, RESOLVED or CLOSED (case-insensitive) on task_issues (updated_at; resolved_at on RESOLVED), then a "[Status changed to X]" admin message on the thread, the way admin.js does it. PATCH is the same. The issue is never deleted. 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:
      - Issues
      operationId: put_issue
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Issue id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                status:
                  type: string
                  description: OPEN | ACKNOWLEDGED | IN_PROGRESS | RESOLVED | CLOSED
              required:
              - status
      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_update_issue
    patch:
      summary: Change an issue's status
      description: 'SR-API3: { status } = OPEN, ACKNOWLEDGED, IN_PROGRESS, RESOLVED or CLOSED (case-insensitive) on task_issues (updated_at; resolved_at on RESOLVED), then a "[Status changed to X]" admin message on the thread, the way admin.js does it. PATCH is the same. The issue is never deleted. 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:
      - Issues
      operationId: patch_issue
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Issue id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                status:
                  type: string
                  description: OPEN | ACKNOWLEDGED | IN_PROGRESS | RESOLVED | CLOSED
              required:
              - status
      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_update_issue
  /issues/{id}/analyze:
    post:
      summary: 'AI: analyze issue'
      description: Classify the issue, estimate root cause with confidence.
      tags:
      - Issues
      parameters:
      - $ref: '#/components/parameters/id'
      responses:
        '200':
          description: Analysis
      operationId: post_issue_analyze
      x-mcp-tools:
      - tascan_analyze_issue
  /issues/{id}/auto-resolve:
    post:
      summary: 'AI: full closed loop'
      description: Analyze → recommend → dispatch in one call. Completion of the dispatched list triggers AI verification against the original issue (issue → verified-resolved, ~71s in production).
      tags:
      - Issues
      parameters:
      - $ref: '#/components/parameters/id'
      responses:
        '200':
          description: Loop running
      operationId: post_issue_auto_resolve
      x-mcp-tools:
      - tascan_auto_resolve
  /issues/{id}/dispatch:
    post:
      summary: 'AI: dispatch remediation to workers'
      description: Turns the recommendation into a live task list and notifies workers — the closed loop's actuator.
      tags:
      - Issues
      parameters:
      - $ref: '#/components/parameters/id'
      responses:
        '200':
          description: Dispatched
      operationId: post_issue_dispatch
      x-mcp-tools:
      - tascan_dispatch_instruction
  /issues/{id}/recommend:
    post:
      summary: 'AI: recommend fix'
      tags:
      - Issues
      parameters:
      - $ref: '#/components/parameters/id'
      responses:
        '200':
          description: Recommended remediation steps
      operationId: post_issue_recommend
      x-mcp-tools:
      - tascan_recommend_fix
  /issues:
    get:
      summary: Issues inbox (org-wide)
      description: 'SR-API3: every task issue of the org, newest first, with task_title, list_name, project_id and project_name. status: one or a comma list of OPEN, ACKNOWLEDGED, IN_PROGRESS, RESOLVED, CLOSED (case-insensitive); project_id; site_id (the lists linked to the site plus every list of a project linked to it); limit 1-200 (default 100). 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. SR-S2 r7 (list level only): rows of lists assigned to another agent are left out IN THE QUERY, before the limit / offset is applied, so a page is never short and never counts them.'
      tags:
      - Issues
      operationId: get_issues_inbox
      parameters:
      - name: status
        in: query
        required: false
        schema:
          type: string
        description: Status or comma list
      - name: project_id
        in: query
        required: false
        schema:
          type: string
        description: Project id
      - name: site_id
        in: query
        required: false
        schema:
          type: string
        description: Site id
      - name: limit
        in: query
        required: false
        schema:
          type: integer
        description: 1-200
      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_issues_inbox
  /issues/{id}/messages:
    get:
      summary: Issue thread
      description: 'SR-API3: the issue''s issue_messages, oldest first. Another org''s issue: 404. 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.'
      tags:
      - Issues
      operationId: get_issue_messages
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Issue id
      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_issues_inbox
    post:
      summary: Reply on an issue
      description: 'SR-API3: an issue_messages row, sender_type admin: a session posts as itself (admin id, display name), a key as key: (sender_id null). media_path: a task-photos storage path under issues/ (upload first; never a URL or data:). 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:
      - Issues
      operationId: post_issue_message
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Issue id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                body:
                  type: string
                  description: 1-4000 characters
                media_path:
                  type: string
                  description: issues/<list>/<issue>/<file>
              required:
              - body
      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_reply_issue
  /tasks/{id}/issues:
    post:
      summary: Raise an issue on a task
      description: 'SR-API3: admin.js''s shape: worker_id null, worker_name the admin (or key:), source admin, type field_issue, status OPEN, escalation_level 2 for CRITICAL else 1, auto_escalate_at +30 min, the description as the first admin message. category DELAY | MISSING_MATERIALS | SAFETY_CONCERN | EQUIPMENT_ISSUE | WEATHER | PERSONNEL | QUALITY | OTHER (default); severity LOW | MEDIUM (default) | HIGH | CRITICAL; photo_path a task-photos path under issues/. 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:
      - Issues
      operationId: post_task_issue
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Task id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                description:
                  type: string
                  description: 1-4000 characters
                category:
                  type: string
                  description: Default OTHER
                severity:
                  type: string
                  description: Default MEDIUM
                photo_path:
                  type: string
                  description: issues/<list>/<issue>/<file>
              required:
              - description
      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_raise_issue
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