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

Evidence API

The signed, hash-chained record of every step, hourly anchors, evidence packs and verification.

11 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.

Create an evidence pack#

POST/v2/evidence/packs
Request body EvidencePackCreate
  • kindEvidencePackKindrequired
    "dispute""seller""audit""insurer"
  • scopeobjectrequired
    5 fields
    • intent_idId
    • dispute_idId
    • agent_idId
    • fromTimestamp
    • toTimestamp
  • titlestring
  • includeEvidenceSection[]
    "approvals""mandates""decisions""credentials""authorizations""settlements""receipts""messages""agent_identity""anchors"
Response EvidencePack
  • idId
  • object"evidence_pack"
  • org_idId
  • created_atTimestamp
  • updated_atTimestampoptional
  • test_modebooleanoptional

    True for test-mode objects (simulations, sandbox).

  • kindEvidencePackKind
    "dispute""seller""audit""insurer"
  • titlestring
  • scopeobject
    5 fields
    • intent_idIdoptional
    • dispute_idIdoptional
    • agent_idIdoptional
    • fromTimestampoptional
    • toTimestampoptional
  • statusstring enum
    "failed""building""ready"
  • eventsnumber
  • size_bytesnumber | null
  • formatsarray of string enum
    "pdf""json"
  • download_urlstring | null
  • guest_linkobject | null
    3 fields
    • urlstring
    • expires_atTimestamp
    • watermarkstring
  • ready_atTimestamp | null
  • requested_byRef

    Small reference used for denormalized names in lists (no N+1 lookups in tables).

    Ref: 2 fields
    • idId
    • namestring
  • includeEvidenceSection[]optional

    Sections included (all when missing).

    "approvals""mandates""decisions""credentials""authorizations""settlements""receipts""messages""agent_identity""anchors"
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/evidence/packs" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "kind": "audit",
    "scope": {
      "from": "2026-10-24T00:43:13.459Z",
      "to": "2026-11-23T00:43:13.459Z"
    }
  }'
Response 200
{
  "id": "pack_01M82XPRNKDJM8RA1C08GQ6Q6W",
  "object": "evidence_pack",
  "org_id": "org_A99F918124609C9DAAACB209D8",
  "created_at": "2026-11-23T00:43:13.459Z",
  "kind": "audit",
  "title": "Audit pack",
  "scope": {
    "from": "2026-10-24T00:43:13.459Z",
    "to": "2026-11-23T00:43:13.459Z"
  },
  "status": "building",
  "events": 3586,
  "size_bytes": null,
  "formats": [
    "pdf",
    "json"
  ],
  "download_url": null,
  "guest_link": null,
  "ready_at": null,
  "requested_by": {
    "id": "usr_01K7WYQ6MEYNYVHTQCVYZCTCDX",
    "name": "Dana Whitfield"
  }
}
Try it

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

List anchors#

GET/v2/evidence/anchors
Query parameters all optional
  • 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 Anchor

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"anchor"
  • periodstring
  • merkle_rootstring
  • tsa_tokenstring
  • transparency_log_entrystring
  • orgs_includednumber
  • created_atTimestamp
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/evidence/anchors?limit=2" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01"
Response 200
{
  "object": "list",
  "data": [
    {
      "id": "anc_01M82V7M00H9FH04SVFM08C2FD",
      "object": "anchor",
      "period": "2026-11-22T23:00:00.000Z",
      "merkle_root": "b99dd764c088b1e7a0a6ad926a9329c99e5effb0f55841db9837199e98e1c2fd",
      "tsa_token": "tsa_a1e23040b98755db40132a1e",
      "transparency_log_entry": "https://log.ndstill.example/entries/3bebdbde65fdbf6b",
      "orgs_included": 1396,
      "created_at": "2026-11-23T00:04:00.000Z"
    },
    {
      "id": "anc_01M82QSRC0R2QMVT17VV4JR1BD",
      "object": "anchor",
      "period": "2026-11-22T22:00:00.000Z",
      "merkle_root": "c0226fcc415c8b072d65e3d2cf3a7541259a0c8004a192139051d286e8a9f84d",
      "tsa_token": "tsa_b018ce088160986b3b134eae",
      "transparency_log_entry": "https://log.ndstill.example/entries/0957417e99e0c973",
      "orgs_included": 1363,
      "created_at": "2026-11-22T23:04:00.000Z"
    }
  ],
  "has_more": true,
  "next_cursor": "Mg==",
  "total": 48
}
Try it

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

List evidence events#

GET/v2/evidence/events
Query parameters all optional
  • typestring enum
    "intent.created""mandate.signed""decision.made""approval.decided""credential.minted""credential.revoked""authorization.approved""capture.posted""settlement.posted""refund.posted""receipt.issued""freeze.applied""freeze.lifted""dispute.opened""dispute.closed""policy.activated"
  • intent_idId
  • agent_idId
  • 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 EvidenceEvent

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"evidence_event"
  • org_idId
  • created_atTimestamp
  • updated_atTimestampoptional
  • test_modebooleanoptional

    True for test-mode objects (simulations, sandbox).

  • seqnumber
  • typeEvidenceEventType
    "intent.created""mandate.signed""decision.made""approval.decided""credential.minted""credential.revoked""authorization.approved""capture.posted""settlement.posted""refund.posted""receipt.issued""freeze.applied""freeze.lifted""dispute.opened""dispute.closed""policy.activated"
  • subjectobject
    2 fields
    • objectstring
    • idId
  • intent_idId | null
  • agentRef | null

    Small reference used for denormalized names in lists (no N+1 lookups in tables).

    Ref: 2 fields
    • idId
    • namestring
  • payload_hashstring
  • prev_hashstring
  • event_hashstring
  • signaturestring
  • kidstring
  • verifiedVerifiedFlags

    Verification flags for anything backed by evidence (backend plan §12).

    VerifiedFlags: 8 fields
    • signatureboolean

      Event signature checks out against the published key.

    • chainboolean

      prev_hash links continuously to the previous event.

    • anchorboolean | null

      Included in an anchored Merkle root; null while the hourly anchor is pending.

    • evidence_event_idIdoptional
    • kidstringoptional
    • event_hashstringoptional
    • anchor_idId | nulloptional
    • anchored_atTimestamp | nulloptional
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/evidence/events?limit=2" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01"
Response 200
{
  "object": "list",
  "data": [
    {
      "id": "evt_01M82XPQ58BTE523KXKN32GRQ4",
      "object": "evidence_event",
      "org_id": "org_A99F918124609C9DAAACB209D8",
      "created_at": "2026-11-23T00:43:11.912Z",
      "seq": 3657,
      "type": "settlement.posted",
      "subject": {
        "object": "payment_intent",
        "id": "pi_01M7YAA0JBJ1PG2QMZZDB6T4DF"
      },
      "intent_id": "pi_01M7YAA0JBJ1PG2QMZZDB6T4DF",
      "agent": {
        "id": "agt_01KZC2R18E05XE6VWWVJ3Q8CJK",
        "name": "Model router"
      },
      "payload_hash": "sha256:8d3153a6060632ebdbe2b3e49061d2b909fb417afec1debfc2dba04803dbb4cd",
      "prev_hash": "4fc2c3e3f2d5c731ff84ae5fa99a835de8c4533ba862acc95a8b0f573703d875",
      "event_hash": "a699e9ee1aed5bdbc6a3e55c73a3236937ca91d249e8458fbdf204e07090a51d",
      "signature": "Bs4NrNIlhqmNE0CFKDHNqkQlqzBNSvWFv1GN-rFljPBGDz-Nuy2eGR4du-5uIzVN",
      "kid": "ndstill-us1-evidence-2026-10",
      "verified": {
        "signature": true,
        "chain": true,
        "anchor": null,
        "evidence_event_id": "evt_01M82XPQ58BTE523KXKN32GRQ4",
        "kid": "ndstill-us1-evidence-2026-10",
        "event_hash": "a699e9ee1aed5bdbc6a3e55c73a3236937ca91d249e8458fbdf204e07090a51d",
        "anchor_id": null,
        "anchored_at": null
      }
    },
    {
      "id": "evt_01M82XPQ580PYGP1Y5YDZ0JGTZ",
      "object": "evidence_event",
      "org_id": "org_A99F918124609C9DAAACB209D8",
      "created_at": "2026-11-23T00:43:11.912Z",
      "seq": 3656,
      "type": "settlement.posted",
      "subject": {
        "object": "payment_intent",
        "id": "pi_01M7YEAPY56KC7HEWK9TAG2TY9"
      },
      "intent_id": "pi_01M7YEAPY56KC7HEWK9TAG2TY9",
      "agent": {
        "id": "agt_01KQM4HZWEB7WBQNPK4NFJY5A0",
        "name": "Literature scout"
      },
      "payload_hash": "sha256:aba740c77dce63a1e7c1462b8c7ca73d11d4373f65dd66d95611b283ac7bb515",
      "prev_hash": "a38964ad2f47c415da5b2d7d0bb55ac5882ebb6dbdac4e15ac47e7bdd06c96c5",
      "event_hash": "4fc2c3e3f2d5c731ff84ae5fa99a835de8c4533ba862acc95a8b0f573703d875",
      "signature": "zUNE3MFNFsGsviNVBkBU1Ts9cXjcIpylzFdkQL-tTOJLnAe7bgXp5vAVKBuDypib",
      "kid": "ndstill-us1-evidence-2026-10",
      "verified": {
        "signature": true,
        "chain": true,
        "anchor": null,
        "evidence_event_id": "evt_01M82XPQ580PYGP1Y5YDZ0JGTZ",
        "kid": "ndstill-us1-evidence-2026-10",
        "event_hash": "4fc2c3e3f2d5c731ff84ae5fa99a835de8c4533ba862acc95a8b0f573703d875",
        "anchor_id": null,
        "anchored_at": null
      }
    }
  ],
  "has_more": true,
  "next_cursor": "Mg==",
  "total": 3657
}
Try it

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

List evidence packs#

GET/v2/evidence/packs
Query parameters all optional
  • kindstring enum
    "dispute""seller""audit""insurer"
  • statusstring enum
    "failed""building""ready"
  • 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 EvidencePack

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

The same EvidencePack object as Create an evidence pack.

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/evidence/packs?limit=2" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01"
Response 200
{
  "object": "list",
  "data": [
    {
      "id": "pack_01M82XP33EYZDN93T98DTFRKKR",
      "object": "evidence_pack",
      "org_id": "org_A99F918124609C9DAAACB209D8",
      "created_at": "2026-11-23T00:42:51.374Z",
      "kind": "seller",
      "title": "Seller receipt history",
      "scope": {
        "from": "2026-10-24T00:43:11.374Z",
        "to": "2026-11-23T00:43:11.374Z"
      },
      "status": "building",
      "events": 2575,
      "size_bytes": null,
      "formats": [
        "pdf",
        "json"
      ],
      "download_url": null,
      "guest_link": null,
      "ready_at": null,
      "requested_by": {
        "id": "usr_01KBNZCZMEJ4J4XDKT3YA99REX",
        "name": "Elena Petrova"
      }
    },
    {
      "id": "pack_01M7EAGYMEFHPZQW7TH01606AD",
      "object": "evidence_pack",
      "org_id": "org_A99F918124609C9DAAACB209D8",
      "created_at": "2026-11-15T00:43:11.374Z",
      "kind": "insurer",
      "title": "Insurer pack: Q3 claims review",
      "scope": {
        "from": "2026-08-25T00:43:11.374Z",
        "to": "2026-10-24T00:43:11.374Z"
      },
      "status": "ready",
      "events": 1612,
      "size_bytes": 14925156,
      "formats": [
        "pdf",
        "json"
      ],
      "download_url": "/demo/packs/insurer.zip",
      "guest_link": {
        "url": "https://share.ndstill.example/p/010f15f33c1ccea9a10a",
        "expires_at": "2026-11-28T00:43:11.374Z",
        "watermark": "Shared with Sample Insurance Co."
      },
      "ready_at": "2026-11-15T00:46:11.374Z",
      "requested_by": {
        "id": "usr_01KBNZCZMEJ4J4XDKT3YA99REX",
        "name": "Elena Petrova"
      }
    }
  ],
  "has_more": true,
  "next_cursor": "Mg==",
  "total": 4
}
Try it

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

Retrieve an anchor#

GET/v2/evidence/anchors/{id}
Path parameters
  • idIdrequired

    A prefixed ID from this org.

Response Anchor

The same Anchor object as List anchors.

Errors
  • 401authentication

    The key or token is missing, expired or revoked.

  • 403permission

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

  • 404not_found

    No object with that id in this org.

  • 429rate_limited

    Slow down; retry after the Retry-After header.

Example from the mock backend
Request
curl -X GET "https://api.ndstill.com/v2/evidence/anchors/anc_01M82V7M00H9FH04SVFM08C2FD" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01"
Response 200
{
  "id": "anc_01M82V7M00H9FH04SVFM08C2FD",
  "object": "anchor",
  "period": "2026-11-22T23:00:00.000Z",
  "merkle_root": "b99dd764c088b1e7a0a6ad926a9329c99e5effb0f55841db9837199e98e1c2fd",
  "tsa_token": "tsa_a1e23040b98755db40132a1e",
  "transparency_log_entry": "https://log.ndstill.example/entries/3bebdbde65fdbf6b",
  "orgs_included": 1396,
  "created_at": "2026-11-23T00:04:00.000Z"
}
Try it

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

Retrieve an evidence event#

GET/v2/evidence/events/{id}
Path parameters
  • idIdrequired

    A prefixed ID from this org.

Response EvidenceEvent

The same EvidenceEvent object as List evidence events.

Errors
  • 401authentication

    The key or token is missing, expired or revoked.

  • 403permission

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

  • 404not_found

    No object with that id in this org.

  • 429rate_limited

    Slow down; retry after the Retry-After header.

Example from the mock backend
Request
curl -X GET "https://api.ndstill.com/v2/evidence/events/evt_01M82XPQ58BTE523KXKN32GRQ4" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01"
Response 200
{
  "id": "evt_01M82XPQ58BTE523KXKN32GRQ4",
  "object": "evidence_event",
  "org_id": "org_A99F918124609C9DAAACB209D8",
  "created_at": "2026-11-23T00:43:11.912Z",
  "seq": 3657,
  "type": "settlement.posted",
  "subject": {
    "object": "payment_intent",
    "id": "pi_01M7YAA0JBJ1PG2QMZZDB6T4DF"
  },
  "intent_id": "pi_01M7YAA0JBJ1PG2QMZZDB6T4DF",
  "agent": {
    "id": "agt_01KZC2R18E05XE6VWWVJ3Q8CJK",
    "name": "Model router"
  },
  "payload_hash": "sha256:8d3153a6060632ebdbe2b3e49061d2b909fb417afec1debfc2dba04803dbb4cd",
  "prev_hash": "4fc2c3e3f2d5c731ff84ae5fa99a835de8c4533ba862acc95a8b0f573703d875",
  "event_hash": "a699e9ee1aed5bdbc6a3e55c73a3236937ca91d249e8458fbdf204e07090a51d",
  "signature": "Bs4NrNIlhqmNE0CFKDHNqkQlqzBNSvWFv1GN-rFljPBGDz-Nuy2eGR4du-5uIzVN",
  "kid": "ndstill-us1-evidence-2026-10",
  "verified": {
    "signature": true,
    "chain": true,
    "anchor": null,
    "evidence_event_id": "evt_01M82XPQ58BTE523KXKN32GRQ4",
    "kid": "ndstill-us1-evidence-2026-10",
    "event_hash": "a699e9ee1aed5bdbc6a3e55c73a3236937ca91d249e8458fbdf204e07090a51d",
    "anchor_id": null,
    "anchored_at": null
  }
}
Try it

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

Retrieve an evidence pack#

GET/v2/evidence/packs/{id}
Path parameters
  • idIdrequired

    A prefixed ID from this org.

Response EvidencePack

The same EvidencePack object as Create an evidence pack.

Errors
  • 401authentication

    The key or token is missing, expired or revoked.

  • 403permission

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

  • 404not_found

    No object with that id in this org.

  • 429rate_limited

    Slow down; retry after the Retry-After header.

Example from the mock backend
Request
curl -X GET "https://api.ndstill.com/v2/evidence/packs/pack_01M82XP33EYZDN93T98DTFRKKR" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01"
Response 200
{
  "id": "pack_01M82XP33EYZDN93T98DTFRKKR",
  "object": "evidence_pack",
  "org_id": "org_A99F918124609C9DAAACB209D8",
  "created_at": "2026-11-23T00:42:51.374Z",
  "kind": "seller",
  "title": "Seller receipt history",
  "scope": {
    "from": "2026-10-24T00:43:11.374Z",
    "to": "2026-11-23T00:43:11.374Z"
  },
  "status": "building",
  "events": 2575,
  "size_bytes": null,
  "formats": [
    "pdf",
    "json"
  ],
  "download_url": null,
  "guest_link": null,
  "ready_at": null,
  "requested_by": {
    "id": "usr_01KBNZCZMEJ4J4XDKT3YA99REX",
    "name": "Elena Petrova"
  }
}
Try it

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

Get an evidence pack's manifest#

GET/v2/evidence/packs/{id}/manifest
Path parameters
  • idIdrequired

    A prefixed ID from this org.

Response EvidencePackManifest
  • object"evidence_pack_manifest"
  • packEvidencePack
    EvidencePack: 18 fields
    • idId
    • object"evidence_pack"
    • org_idId
    • created_atTimestamp
    • updated_atTimestampoptional
    • test_modebooleanoptional

      True for test-mode objects (simulations, sandbox).

    • kindEvidencePackKind
      "dispute""seller""audit""insurer"
    • titlestring
    • scopeobject
      5 fields
      • intent_idIdoptional
      • dispute_idIdoptional
      • agent_idIdoptional
      • fromTimestampoptional
      • toTimestampoptional
    • statusstring enum
      "failed""building""ready"
    • eventsnumber
    • size_bytesnumber | null
    • formatsarray of string enum
      "pdf""json"
    • download_urlstring | null
    • guest_linkobject | null
      3 fields
      • urlstring
      • expires_atTimestamp
      • watermarkstring
    • ready_atTimestamp | null
    • requested_byRef

      Small reference used for denormalized names in lists (no N+1 lookups in tables).

      Ref: 2 fields
      • idId
      • namestring
    • includeEvidenceSection[]optional

      Sections included (all when missing).

      "approvals""mandates""decisions""credentials""authorizations""settlements""receipts""messages""agent_identity""anchors"
  • generated_atTimestamp
  • orgobject
    2 fields
    • idId
    • namestring
  • keyobject

    The key that signed every event; verify against the published JWKS.

    3 fields
    • kidstring
    • alg"ed25519"
    • jwks_urlstring
  • anchorsAnchor[]
    Anchor: 8 fields
    • idId
    • object"anchor"
    • periodstring
    • merkle_rootstring
    • tsa_tokenstring
    • transparency_log_entrystring
    • orgs_includednumber
    • created_atTimestamp
  • eventsEvidenceEvent[]

    Up to 500 events in sequence order; `events_total` says how many the full pack holds.

    EvidenceEvent: 17 fields
    • idId
    • object"evidence_event"
    • org_idId
    • created_atTimestamp
    • updated_atTimestampoptional
    • test_modebooleanoptional

      True for test-mode objects (simulations, sandbox).

    • seqnumber
    • typeEvidenceEventType
      "intent.created""mandate.signed""decision.made""approval.decided""credential.minted""credential.revoked""authorization.approved""capture.posted""settlement.posted""refund.posted""receipt.issued""freeze.applied""freeze.lifted""dispute.opened""dispute.closed""policy.activated"
    • subjectobject
      2 fields
      • objectstring
      • idId
    • intent_idId | null
    • agentRef | null

      Small reference used for denormalized names in lists (no N+1 lookups in tables).

      Ref: 2 fields
      • idId
      • namestring
    • payload_hashstring
    • prev_hashstring
    • event_hashstring
    • signaturestring
    • kidstring
    • verifiedVerifiedFlags

      Verification flags for anything backed by evidence (backend plan §12).

      VerifiedFlags: 8 fields
      • signatureboolean

        Event signature checks out against the published key.

      • chainboolean

        prev_hash links continuously to the previous event.

      • anchorboolean | null

        Included in an anchored Merkle root; null while the hourly anchor is pending.

      • evidence_event_idIdoptional
      • kidstringoptional
      • event_hashstringoptional
      • anchor_idId | nulloptional
      • anchored_atTimestamp | nulloptional
  • events_totalnumber
  • watermarkstring | null
  • verifyobject
    2 fields
    • instructionsstring
    • commandstring
Errors
  • 401authentication

    The key or token is missing, expired or revoked.

  • 403permission

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

  • 404not_found

    No object with that id in this org.

  • 429rate_limited

    Slow down; retry after the Retry-After header.

Example from the mock backend
Request
curl -X GET "https://api.ndstill.com/v2/evidence/packs/pack_01M82XP33EYZDN93T98DTFRKKR/manifest" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01"
Response 409
{
  "object": "error",
  "type": "conflict",
  "code": "pack_building",
  "message": "The pack is still building. Download it once it's ready.",
  "request_id": "req_4afc9b19b49c3b0d475b"
}

The mock answered this sample with an error; its message says why. Adjust the request in Try it below.

Try it

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

Verify evidence#

GET/v2/evidence/verify

Check an evidence event or pack: signature, chain continuity, inclusion proof and anchor.

Query parameters all optional
  • created_gteTimestamp
  • created_lteTimestamp
  • agent_idId
  • intent_idId
  • typestring enum
    "intent.created""mandate.signed""decision.made""approval.decided""credential.minted""credential.revoked""authorization.approved""capture.posted""settlement.posted""refund.posted""receipt.issued""freeze.applied""freeze.lifted""dispute.opened""dispute.closed""policy.activated"
Response EvidenceVerification
  • object"evidence_verification"
  • checkednumber
  • signatures_oknumber
  • chain_oknumber
  • anchorednumber
  • pending_anchornumber
  • breaksobject[]

    Events whose signature or chain link didn't check out.

    5 fields
    • seqnumber
    • event_idId
    • typeEvidenceEventType
      "intent.created""mandate.signed""decision.made""approval.decided""credential.minted""credential.revoked""authorization.approved""capture.posted""settlement.posted""refund.posted""receipt.issued""freeze.applied""freeze.lifted""dispute.opened""dispute.closed""policy.activated"
    • intent_idId | null
    • detailstring
  • first_seqnumber | null
  • last_seqnumber | null
  • head_hashstring | null

    event_hash of the newest event checked.

  • checked_atTimestamp
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/evidence/verify?event_id=evt_01M82XPQ58BTE523KXKN32GRQ4" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01"
Response 200
{
  "object": "evidence_verification",
  "checked": 3657,
  "signatures_ok": 3657,
  "chain_ok": 3657,
  "anchored": 3581,
  "pending_anchor": 76,
  "breaks": [],
  "first_seq": 1,
  "last_seq": 3657,
  "head_hash": "a699e9ee1aed5bdbc6a3e55c73a3236937ca91d249e8458fbdf204e07090a51d",
  "checked_at": "2026-11-23T00:43:13.403Z"
}
Try it

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

Share an evidence pack#

POST/v2/evidence/packs/{id}/share
Path parameters
  • idIdrequired

    A prefixed ID from this org.

Request body JSON
  • expires_in_hoursnumberrequired
Response EvidencePack

The same EvidencePack object as Create an evidence pack.

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.

  • 404not_found

    No object with that id in this org.

  • 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/evidence/packs/pack_01M82XPRNKDJM8RA1C08GQ6Q6W/share" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "expires_in_hours": 24
  }'
Response 409
{
  "object": "error",
  "type": "conflict",
  "code": "conflict",
  "message": "The pack is still building. Share it once it's ready.",
  "request_id": "req_452cd46f5d6d094d12c5"
}

The mock answered this sample with an error; its message says why. Adjust the request in Try it below.

Try it

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

Stop sharing an evidence pack#

POST/v2/evidence/packs/{id}/share/revoke
Path parameters
  • idIdrequired

    A prefixed ID from this org.

Response EvidencePack

The same EvidencePack object as Create an evidence pack.

Errors
  • 401authentication

    The key or token is missing, expired or revoked.

  • 403permission

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

  • 404not_found

    No object with that id in this org.

  • 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/evidence/packs/pack_01M82XPRT87SFK1B4CKGZ74QPD/share/revoke" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01" \
  -H "Idempotency-Key: $(uuidgen)"
Response 409
{
  "object": "error",
  "type": "conflict",
  "code": "not_shared",
  "message": "This pack isn't shared.",
  "request_id": "req_b23dea1d70c63f950c03"
}

The mock answered this sample with an error; its message says why. Adjust the request in Try it below.

Try it

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