TaScan Receipts API

The receipts API from TaScan — 4 operation(s) for receipts.

GitHub OpenAPI

Operations 5

POST /receipts/verify Verify a compact JWS receipt online (signature, schema, provenance labels… #
GET /receipts/{completion_id} Get Action Receipt #
GET /receipts/{completion_id}/public Get the public profile of a published receipt #
POST /receipts/{completion_id}/publish Publish a receipt's public profile so anyone can verify it anonymously #
DELETE /receipts/{completion_id}/publish Unpublish a receipt's public profile #

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-receipts-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-receipts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TaScan Receipts 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: Receipts
paths:
  /receipts/verify:
    post:
      summary: Verify a compact JWS receipt online (signature, schema, provenance labels…
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: 'Success. JSON body: { data: ... } or an error object { error, message }.'
        4XX:
          description: Client error (validation, auth, scope, rate limit).
      operationId: post_receipts_verify
      tags:
      - Receipts
      description: Verify a compact JWS receipt online (signature, schema, provenance labels, verification coherence, key revocation, supersession). Public, 30/min per IP. Body {jws[, jwks]}. For verification without trusting TaScan, run `npx tascan-verify receipt.jws` instead.
      security: []
  /receipts/{completion_id}:
    get:
      summary: Get Action Receipt
      description: 'Fetch the signed Action Receipt (Ed25519 JWS) for one completed task by completion_id (tascan_get_task -> completions[].id). Returns a readable summary (what, who, verification, evidence hashes, outcome, ledger chain) plus receipt_id/serial/kid, the compact JWS and the public verify URL. Verify offline against the JWKS or online by POSTing a JSON body whose jws field holds the compact receipt. Read outcome and verification separately: outcome completed = the executor returned and a result was recorded; verification.result = the verdict of a named policy; all-null verification with reason no_policy_run = no policy ran. Never treat outcome=completed as success without a policy verdict you trust (protocol 8.3 C11). Verifier: 6.8. profile=public returns the separately signed public export profile (protocol 6.10): it withholds the raw org, list, project, worker, run and trace ids (each a 16-hex id_hash) and storage locators, and binds to the full receipt - the form for anyone outside the org. Read tier.'
      parameters:
      - name: completion_id
        in: path
        required: true
        schema:
          type: string
      - name: profile
        in: query
        required: false
        schema:
          type: string
          enum:
          - full
          - public
        description: 'full (default) = the org view with the unsigned private block; public = the separately signed public export profile: no raw org, list, project, worker, run or trace id (each is a 16-hex id_hash), no storage locators, plus a binding to the full receipt it was derived from - the form to hand to anyone outside the org'
      responses:
        '200':
          description: 'Success. JSON body: { data: ... } or an error object { error, message }.'
        4XX:
          description: Client error (validation, auth, scope, rate limit).
      operationId: get_receipts_completion_id
      tags:
      - Receipts
      x-mcp-tools:
      - tascan_get_receipt
  /receipts/{completion_id}/public:
    get:
      summary: Get the public profile of a published receipt
      parameters:
      - name: completion_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: 'Success. JSON body: { data: ... } or an error object { error, message }.'
        4XX:
          description: Client error (validation, auth, scope, rate limit).
      operationId: get_receipts_completion_id_public
      tags:
      - Receipts
      description: Get the public profile of a published receipt. Anonymous; credentials are ignored. 30/min per IP.
      security: []
  /receipts/{completion_id}/publish:
    post:
      summary: Publish a receipt's public profile so anyone can verify it anonymously
      parameters:
      - name: completion_id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: 'Success. JSON body: { data: ... } or an error object { error, message }.'
        4XX:
          description: Client error (validation, auth, scope, rate limit).
      operationId: post_receipts_completion_id_publish
      tags:
      - Receipts
      description: Publish a receipt's public profile so anyone can verify it anonymously. Write-tier API key or admin session.
    delete:
      summary: Unpublish a receipt's public profile
      parameters:
      - name: completion_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: 'Success. JSON body: { data: ... } or an error object { error, message }.'
        4XX:
          description: Client error (validation, auth, scope, rate limit).
      operationId: delete_receipts_completion_id_publish
      tags:
      - Receipts
      description: Unpublish a receipt's public profile.
components:
  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