Skip to content
ndStill is in development. These docs describe the v2 API as designed; the SDKs and the hosted MCP server are previews and not generally available.
Docs

Verify API

The hosted Verify API log and test calls.

2 endpointsGenerated from the typed registry

Base URL https://api.ndstill.com/v2. Send Authorization: Bearer with a key, Ndstill-Version: 2026-11-01, and an Idempotency-Key on every POST. Conventions, scopes and errors are in the API overview and Errors and decline reasons. Examples come from the mock backend; the shapes are the TypeScript types in packages/api.

List the Verify log#

GET/v2/verify/logs
Query parameters all optional
  • resultstring enum
    "verified""failed"
  • cursorstring
  • limitnumber

    1–200, default 50.

  • qstring

    Free-text search over names, ids and descriptors.

  • sortstring

    Sort field, prefix "-" for descending ("-created_at" is the default).

  • created_gteTimestamp

    created_at >= (ISO).

  • created_lteTimestamp

    created_at <= (ISO).

Response list of VerifyLog

Returns a list envelope: object "list", data[], has_more, next_cursor (pass it back as cursor) and total when cheap to count. Items:

  • idId
  • object"verify_log"
  • atTimestamp
  • agentstring
  • passport_kidstring | null
  • resultstring enum
    "verified""failed"
  • checkstring
  • resourcestring
  • status_codeenumoptional

    HTTP status the middleware answered with.

    200401402403
  • latency_msnumberoptional
  • checksobject[]optional
    3 fields
    • keyVerifyCheckKey
      "mandate""price""signature""timestamp""nonce"
    • labelstring
    • okboolean | null
  • testbooleanoptional

    Test requests sent from the console.

Errors
  • 400invalid_request

    A query parameter is invalid.

  • 401authentication

    The key or token is missing, expired or revoked.

  • 403permission

    The key's scopes or the person's role don't allow this.

  • 429rate_limited

    Slow down; retry after the Retry-After header.

Example from the mock backend
Request
curl -X GET "https://api.ndstill.com/v2/verify/logs?limit=2" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01"
Response 200
{
  "object": "list",
  "data": [
    {
      "id": "vlog_6eede645b3d1c2950424",
      "object": "verify_log",
      "at": "2026-11-23T00:43:12.610Z",
      "agent": "Case researcher (Quill Legal AI)",
      "passport_kid": "quill-legal-ai-b3109f",
      "result": "verified",
      "check": "Signature, timestamp, nonce and mandate checked",
      "resource": "/v1/512",
      "checks": [
        {
          "key": "signature",
          "label": "Signature matches the passport key",
          "ok": true
        },
        {
          "key": "timestamp",
          "label": "Signed within the last 5 minutes",
          "ok": true
        },
        {
          "key": "nonce",
          "label": "Nonce not seen before",
          "ok": true
        }
      ],
      "status_code": 200,
      "latency_ms": 8
    },
    {
      "id": "vlog_6dede4b2f6f80bd71425",
      "object": "verify_log",
      "at": "2026-11-23T00:15:12.610Z",
      "agent": "Trip planner (Brightline Travel)",
      "passport_kid": null,
      "result": "failed",
      "check": "Timestamp outside the 5-minute window",
      "resource": "/v1/801",
      "checks": [
        {
          "key": "signature",
          "label": "Signature matches the passport key",
          "ok": true
        },
        {
          "key": "timestamp",
          "label": "Signed within the last 5 minutes",
          "ok": false
        },
        {
          "key": "nonce",
          "label": "Nonce not seen before",
          "ok": null
        }
      ],
      "status_code": 401,
      "latency_ms": 12
    }
  ],
  "has_more": true,
  "next_cursor": "Mg==",
  "total": 50
}
Try it

Runs against the in-browser mock with a test key. Nothing leaves your browser.

Send a test Verify call#

POST/v2/verify/test
Request body JSON
  • resourcestringrequired
Response VerifyLog

The same VerifyLog object as List the Verify log.

Errors
  • 400invalid_request

    A field is missing or invalid; fields names each one.

  • 401authentication

    The key or token is missing, expired or revoked.

  • 403permission

    The key's scopes or the person's role don't allow this.

  • 409conflict

    The object changed or already exists, or the Idempotency-Key was reused with a different body.

  • 429rate_limited

    Slow down; retry after the Retry-After header.

Example from the mock backend
Request
curl -X POST "https://api.ndstill.com/v2/verify/test" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "resource": "https://api.example.com/v1/search"
  }'
Response 200
{
  "id": "vlog_841374bade14b079663a",
  "object": "verify_log",
  "at": "2026-11-23T00:43:13.618Z",
  "agent": "ndStill test agent",
  "passport_kid": "ndstill-test-agent-2026",
  "result": "failed",
  "check": "No price matches this resource yet",
  "resource": "https://api.example.com/v1/search",
  "status_code": 402,
  "latency_ms": 11,
  "checks": [
    {
      "key": "signature",
      "label": "Signature matches the passport key",
      "ok": true
    },
    {
      "key": "timestamp",
      "label": "Signed within the last 5 minutes",
      "ok": true
    },
    {
      "key": "nonce",
      "label": "Nonce not seen before",
      "ok": true
    }
  ],
  "test": true
}
Try it

Runs against the in-browser mock with a test key. Nothing leaves your browser.