TaScan Devices API

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

GitHub OpenAPI

Operations 5

GET /devices List Devices #
POST /devices Devices #
GET /devices/{id} Get Device #
POST /devices/{id}/revoke Revoke Device #
POST /devices/{id}/rotate Device rotate #

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-devices-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-devices-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TaScan Devices 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: Devices
paths:
  /devices:
    get:
      summary: List Devices
      description: List registered devices (RFID portals, barcode guns, PLCs, cameras, robots, tools, sensors) in the organization. Filter by status (active/revoked) or kind; paginate with an opaque cursor. Never returns a credential hash.
      parameters:
      - name: status
        in: query
        required: false
        schema:
          type: string
          enum:
          - active
          - revoked
        description: Filter by device status
      - name: kind
        in: query
        required: false
        schema:
          type: string
          enum:
          - rfid_portal
          - barcode
          - nfc_reader
          - tool
          - plc
          - camera
          - robot
          - sensor
          - other
        description: Filter by device kind
      - name: limit
        in: query
        required: false
        schema:
          type: number
        description: Max rows to return (1-200, default 50)
      - name: cursor
        in: query
        required: false
        schema:
          type: string
        description: Opaque cursor from a previous response next_cursor
      responses:
        '200':
          description: 'Success. JSON body: { data: ... } or an error object { error, message }.'
        4XX:
          description: Client error (validation, auth, scope, rate limit).
      operationId: get_devices
      tags:
      - Devices
      x-mcp-tools:
      - tascan_list_devices
    post:
      summary: Devices
      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_devices
      tags:
      - Devices
  /devices/{id}:
    get:
      summary: Get Device
      description: 'Get one device by id: kind, name, status, location zone, credential rotation timestamps, revocation reason, and the last 20 evidence_events ids it produced. Never returns a credential hash.'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: device_id
        in: query
        required: true
        schema:
          type: string
        description: Device ID
      responses:
        '200':
          description: 'Success. JSON body: { data: ... } or an error object { error, message }.'
        4XX:
          description: Client error (validation, auth, scope, rate limit).
      operationId: get_device
      tags:
      - Devices
      x-mcp-tools:
      - tascan_get_device
  /devices/{id}/revoke:
    post:
      summary: Revoke Device
      description: 'Revoke a device credential immediately — the kill switch for a lost, stolen, or decommissioned device (RFID portal, barcode gun, PLC, camera, robot, tool, sensor). Its next evidence post is refused. Idempotent: revoking an already-revoked device reports already_revoked and mints no second receipt. Requires the device:admin permission (owner-only, needs full, never reachable through OAuth).'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                device_id:
                  type: string
                  description: Device ID to revoke
                reason:
                  type: string
                  description: Why this device is being revoked (up to 500 characters)
              required:
              - device_id
      responses:
        '200':
          description: 'Success. JSON body: { data: ... } or an error object { error, message }.'
        4XX:
          description: Client error (validation, auth, scope, rate limit).
      operationId: post_device_revoke
      tags:
      - Devices
      x-mcp-tools:
      - tascan_revoke_device
  /devices/{id}/rotate:
    post:
      summary: Device rotate
      parameters:
      - name: 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_device_rotate
      tags:
      - Devices
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