SourceFinch Evidence API
Claims and the retained, hashed captures they came from
Claims and the retained, hashed captures they came from
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/sourcefinch-com:sourcefinch-com-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: SourceFinch Evidence API
version: 1.0.0
description: 'Monitor public sources as structured records, each value traceable to retained, hashed evidence. Authenticate with a project API key (`Authorization: Bearer sec_…`). Errors are RFC 9457 problem details with a stable `code`. Lists use cursor pagination (`limit`, `cursor` → `next_cursor`).'
contact:
name: SourceFinch
url: https://sourcefinch.com/docs/api
email: hello@sourcefinch.com
license:
name: Proprietary
url: https://sourcefinch.com/terms
servers:
- url: https://sourcefinch.com
description: Production
tags:
- name: Evidence
description: Claims and the retained, hashed captures they came from
paths:
/v1/runs/{run_id}/claims:
get:
operationId: listRunClaims
summary: A run's claims
description: One claim per extracted record, each linked to the evidence it came from.
tags:
- Evidence
security:
- bearer: []
x-sourcefinch-scope: read
x-sourcefinch-surfaces:
- rest
- sdk
- cli
- console
- mcp
parameters:
- name: run_id
in: path
required: true
schema:
type: string
format: uuid
- name: limit
in: query
required: false
schema:
default: 50
type: integer
minimum: 1
maximum: 100
- name: cursor
in: query
required: false
schema:
type: string
maxLength: 200
- $ref: '#/components/parameters/RequestId'
- $ref: '#/components/parameters/Project'
responses:
'200':
description: Claims in extraction order
content:
application/json:
schema:
$ref: '#/components/schemas/ClaimPage'
'400':
description: Problem details; `code` is `validation`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'401':
description: Problem details; `code` is `unauthenticated`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'403':
description: Problem details; `code` is `forbidden`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'404':
description: Problem details; `code` is `not_found`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'429':
description: Problem details; `code` is `rate_limited`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'500':
description: Problem details; `code` is `internal`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
/v1/runs/{run_id}/evidence:
get:
operationId: listRunEvidence
summary: A run's evidence
tags:
- Evidence
security:
- bearer: []
x-sourcefinch-scope: read
x-sourcefinch-surfaces:
- rest
- sdk
- cli
- console
- mcp
parameters:
- name: run_id
in: path
required: true
schema:
type: string
format: uuid
- $ref: '#/components/parameters/RequestId'
- $ref: '#/components/parameters/Project'
responses:
'200':
description: Retained captures with their SHA-256
content:
application/json:
schema:
$ref: '#/components/schemas/EvidencePage'
'401':
description: Problem details; `code` is `unauthenticated`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'403':
description: Problem details; `code` is `forbidden`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'404':
description: Problem details; `code` is `not_found`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'429':
description: Problem details; `code` is `rate_limited`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'500':
description: Problem details; `code` is `internal`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
/v1/runs/{run_id}/manifest:
get:
operationId: getRunManifest
summary: A run's signed manifest
description: 'The run''s receipt: every capture hash, claim value and locator, validation and compliance state, signed with SourceFinch''s evidence key and anchored with an RFC 3161 timestamp. Verify offline with the evidence bundle verifier.'
tags:
- Evidence
security:
- bearer: []
x-sourcefinch-scope: read
x-sourcefinch-surfaces:
- rest
- sdk
- cli
- mcp
parameters:
- name: run_id
in: path
required: true
schema:
type: string
format: uuid
- $ref: '#/components/parameters/RequestId'
- $ref: '#/components/parameters/Project'
responses:
'200':
description: Manifest, signature and anchor
content:
application/json:
schema:
$ref: '#/components/schemas/RunManifest'
'401':
description: Problem details; `code` is `unauthenticated`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'403':
description: Problem details; `code` is `forbidden`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'404':
description: Problem details; `code` is `not_found`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'429':
description: Problem details; `code` is `rate_limited`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'500':
description: Problem details; `code` is `internal`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
/v1/runs/{run_id}/bundle:
get:
operationId: getRunBundle
summary: Download the run's evidence bundle
description: A WACZ package with the retained captures, the signed manifest, the RFC 3161 timestamp and the public key, verifiable offline by a third party (pnpm verify-bundle). Requires the manifest (available a few seconds after the run finishes).
tags:
- Evidence
security:
- bearer: []
x-sourcefinch-scope: read
x-sourcefinch-surfaces:
- rest
- sdk
- cli
- console
- mcp
parameters:
- name: run_id
in: path
required: true
schema:
type: string
format: uuid
- $ref: '#/components/parameters/RequestId'
- $ref: '#/components/parameters/Project'
responses:
'200':
description: The bundle (application/wacz)
content:
application/wacz:
schema:
type: string
format: binary
'401':
description: Problem details; `code` is `unauthenticated`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'403':
description: Problem details; `code` is `forbidden`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'404':
description: Problem details; `code` is `not_found`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'429':
description: Problem details; `code` is `rate_limited`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'500':
description: Problem details; `code` is `internal`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
/v1/evidence/{evidence_id}:
get:
operationId: getEvidence
summary: Evidence metadata
tags:
- Evidence
security:
- bearer: []
x-sourcefinch-scope: read
x-sourcefinch-surfaces:
- rest
- sdk
- cli
- console
- mcp
parameters:
- name: evidence_id
in: path
required: true
schema:
type: string
format: uuid
- $ref: '#/components/parameters/RequestId'
- $ref: '#/components/parameters/Project'
responses:
'200':
description: Capture metadata and SHA-256
content:
application/json:
schema:
$ref: '#/components/schemas/Evidence'
'401':
description: Problem details; `code` is `unauthenticated`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'403':
description: Problem details; `code` is `forbidden`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'404':
description: Problem details; `code` is `not_found`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'429':
description: Problem details; `code` is `rate_limited`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'500':
description: Problem details; `code` is `internal`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
/v1/evidence/{evidence_id}/content:
get:
operationId: getEvidenceContent
summary: Download a capture
description: Redirects (302) to a signed URL valid for 60 seconds. Recompute the SHA-256 to verify it.
tags:
- Evidence
security:
- bearer: []
x-sourcefinch-scope: read
x-sourcefinch-surfaces:
- rest
- sdk
- cli
- console
- mcp
parameters:
- name: evidence_id
in: path
required: true
schema:
type: string
format: uuid
- $ref: '#/components/parameters/RequestId'
- $ref: '#/components/parameters/Project'
responses:
'302':
description: Redirect to the retained bytes
headers:
Location:
schema:
type: string
format: uri
'401':
description: Problem details; `code` is `unauthenticated`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'403':
description: Problem details; `code` is `forbidden`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'404':
description: Problem details; `code` is `not_found`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'409':
description: Problem details; `code` is `conflict`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'429':
description: Problem details; `code` is `rate_limited`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'500':
description: Problem details; `code` is `internal`
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
components:
schemas:
ErrorCode:
type: string
enum:
- validation
- unauthenticated
- forbidden
- not_found
- conflict
- policy
- plan_limit
- rate_limited
- idempotency_mismatch
- internal
Evidence:
type: object
properties:
id:
type: string
format: uuid
run_id:
type: string
format: uuid
url:
type: string
observed_at:
type: string
description: ISO-8601 timestamp (UTC)
sha256:
type: string
pattern: ^[a-f0-9]{64}$
byte_size:
type: integer
content_type:
type: string
purged_at:
description: When the payload was removed by retention; the hash is kept
type:
- string
- 'null'
metadata:
type:
- object
- 'null'
additionalProperties: {}
required:
- id
- run_id
- url
- observed_at
- sha256
- byte_size
- content_type
- purged_at
- metadata
additionalProperties: false
Problem:
type: object
properties:
type:
type: string
title:
type: string
status:
type: integer
detail:
type: string
code:
$ref: '#/components/schemas/ErrorCode'
request_id:
type: string
issues:
type: array
items:
type: object
properties:
path:
type: string
message:
type: string
required:
- path
- message
additionalProperties: false
required:
- type
- title
- status
- code
description: application/problem+json
additionalProperties: false
EvidencePage:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/Evidence'
next_cursor:
type:
- string
- 'null'
required:
- data
- next_cursor
additionalProperties: false
RunManifest:
type: object
properties:
manifest:
type: object
additionalProperties: {}
description: The sourcefinch/manifest@1 document
manifest_sha256:
type: string
pattern: ^[a-f0-9]{64}$
description: 'SHA-256 of the RFC 8785 canonical manifest: the run''s receipt'
signature:
description: Base64 Ed25519 signature over the canonical manifest bytes
type:
- string
- 'null'
key_id:
description: RFC 7638 thumbprint of the key at /.well-known/sourcefinch-evidence-keys.json
type:
- string
- 'null'
created_at:
type: string
description: ISO-8601 timestamp (UTC)
anchor:
description: Null until the next anchoring batch (about a minute)
type:
- object
- 'null'
properties:
merkle_root:
type: string
proof:
type: array
items:
type: string
tsa_url:
type: string
tsa_token:
type: string
description: Base64 DER RFC 3161 TimeStampResp over merkle_root
anchored_at:
type: string
description: ISO-8601 timestamp (UTC)
required:
- merkle_root
- proof
- tsa_url
- tsa_token
- anchored_at
additionalProperties: false
required:
- manifest
- manifest_sha256
- signature
- key_id
- created_at
- anchor
description: Signed, timestamp-anchored manifest of a finished run (Evidence v2)
additionalProperties: false
ClaimPage:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/Claim'
next_cursor:
type:
- string
- 'null'
required:
- data
- next_cursor
additionalProperties: false
Claim:
type: object
properties:
id:
type: string
format: uuid
evidence_id:
type: string
format: uuid
ordinal:
type: integer
claim_key:
type: string
value: {}
extractor:
type: string
extractor_version:
type: string
extracted_at:
type: string
description: ISO-8601 timestamp (UTC)
locators:
description: 'Where in the capture each field came from: JSON Pointer (RFC 6901) or a CSS path (+ attribute)'
type:
- object
- 'null'
properties:
item:
type: object
additionalProperties: {}
fields:
type: object
additionalProperties:
type:
- object
- 'null'
additionalProperties: {}
required:
- item
- fields
additionalProperties: false
required:
- id
- evidence_id
- ordinal
- claim_key
- extractor
- extractor_version
- extracted_at
- locators
additionalProperties: false
parameters:
RequestId:
name: X-Request-Id
in: header
required: false
description: Echoed in the response and logs; generated when absent.
schema:
type: string
pattern: ^[A-Za-z0-9._-]{8,100}$
Project:
name: SourceFinch-Project
in: header
required: false
description: Project UUID. Required for session tokens; API keys are bound to their project.
schema:
type: string
format: uuid
securitySchemes:
bearer:
type: http
scheme: bearer
description: Project API key (sec_…) or a session token