TaScan Evidence API
The evidence API from TaScan — 2 operation(s) for evidence.
The evidence API from TaScan — 2 operation(s) for evidence.
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/tascan-io:tascan-io-evidence-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: TaScan Evidence 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: Evidence
paths:
/evidence:
post:
summary: Post Evidence
description: 'Post one evidence event into the evidence ledger (protocol v0.2 V9a, POST /evidence): an actor did an action to an object at a point in time, optionally with a location and provenance. idempotency_key is required — the same (org, idempotency_key) always returns the same row, never a second insert. Optionally correlate the event to a task or task list. Write tier; a device credential (structurally different from an API key) is not reachable through this MCP connection, so device_id is never set here.'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
actor:
type: object
description: Who did it.
properties:
kind:
type: string
enum:
- worker
- agent
- device
description: worker requires an active, unmerged worker id in your organization; agent/device ids are recorded as given.
id:
type: string
description: The actor's id.
required:
- kind
- id
action:
type: string
description: What happened, e.g. inspected, scanned, calibrated.
object:
type: object
description: What it happened to.
properties:
kind:
type: string
enum:
- asset
- tag
- serial
- url
description: What kind of thing object.ref names.
ref:
type: string
description: The object reference (asset id, tag id, serial number, or URL).
required:
- kind
- ref
occurred_at:
type: string
description: ISO timestamp for when the event actually happened.
location:
type: object
description: Optional location.
properties:
zone_id:
type: string
description: Optional geofence zone UUID.
lat:
type: number
lng:
type: number
provenance:
type: object
description: Optional provenance object. provenance.kind first_party_scan is written only by the scan_events trigger and is refused from a caller; provenance.signature triggers device-signature verification.
correlation:
type: object
description: Optional correlation hint.
properties:
task_id:
type: string
description: A task UUID in your organization to correlate this evidence to.
task_list_id:
type: string
description: A task list UUID in your organization to correlate this evidence to (used when task_id is absent or does not resolve).
idempotency_key:
type: string
description: Required, 1-200 chars. The same key on the same org replays the same stored row.
required:
- actor
- action
- object
- occurred_at
- idempotency_key
responses:
'200':
description: 'Success. JSON body: { data: ... } or an error object { error, message }.'
4XX:
description: Client error (validation, auth, scope, rate limit).
operationId: post_evidence
tags:
- Evidence
x-mcp-tools:
- tascan_post_evidence
/evidence/policy/{task_id}:
get:
summary: Evidence Policy
description: 'Read or author a task''s evidence policy (protocol v0.2 V9b, GET|PUT /evidence/policy/:task_id — one route, two methods, so one tool). action=get evaluates the pinned policy against the evidence ledger so far: whether it is usable and satisfied, and its progress (read tier). action=set authors/updates a policy in your org''s namespace when definition is given (definition.require is a non-empty array of requirement objects; definition.min_count, when set, must be an integer from 1 through definition.require.length) or, when definition is omitted, pins the task to an existing active policy_id (write tier).'
parameters:
- name: task_id
in: path
required: true
schema:
type: string
- name: action
in: query
required: true
schema:
type: string
enum:
- get
- set
description: get = GET (evaluate, read tier). set = PUT (author/pin, write tier).
- name: policy_id
in: query
required: false
schema:
type: string
description: 'action=set only, required: lowercase letters/digits/underscore/dot, starting with a letter, up to 80 chars, e.g. loto_v1.'
- name: version
in: query
required: false
schema:
type: integer
description: 'action=set only: optional version for a new/updated policy definition (default 1). Ignored when only pinning an existing policy.'
- name: definition
in: query
required: false
schema:
type: object
description: 'action=set only, optional: policy definition to create or update — require (array, required), min_count, window, any_of, allow_fallback. Omit to pin the task to the existing active policy_id instead.'
responses:
'200':
description: 'Success. JSON body: { data: ... } or an error object { error, message }.'
4XX:
description: Client error (validation, auth, scope, rate limit).
operationId: get_evidence_policy
tags:
- Evidence
x-mcp-tools:
- tascan_evidence_policy
put:
summary: Evidence Policy
description: 'Read or author a task''s evidence policy (protocol v0.2 V9b, GET|PUT /evidence/policy/:task_id — one route, two methods, so one tool). action=get evaluates the pinned policy against the evidence ledger so far: whether it is usable and satisfied, and its progress (read tier). action=set authors/updates a policy in your org''s namespace when definition is given (definition.require is a non-empty array of requirement objects; definition.min_count, when set, must be an integer from 1 through definition.require.length) or, when definition is omitted, pins the task to an existing active policy_id (write tier).'
parameters:
- name: task_id
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
action:
type: string
enum:
- get
- set
description: get = GET (evaluate, read tier). set = PUT (author/pin, write tier).
policy_id:
type: string
description: 'action=set only, required: lowercase letters/digits/underscore/dot, starting with a letter, up to 80 chars, e.g. loto_v1.'
version:
type: integer
description: 'action=set only: optional version for a new/updated policy definition (default 1). Ignored when only pinning an existing policy.'
definition:
type: object
description: 'action=set only, optional: policy definition to create or update — require (array, required), min_count, window, any_of, allow_fallback. Omit to pin the task to the existing active policy_id instead.'
required:
- action
responses:
'200':
description: 'Success. JSON body: { data: ... } or an error object { error, message }.'
4XX:
description: Client error (validation, auth, scope, rate limit).
operationId: put_evidence_policy
tags:
- Evidence
x-mcp-tools:
- tascan_evidence_policy
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