Contrie Evidence API

The Evidence API from Contrie — 2 operation(s) for evidence.

GitHub OpenAPI

Operations 2

1 of 2 operations are conformant: apis.io called them with no credentials and the responses matched this contract. Checked 2026-11-12. how this works · status file

GET /api/v1/evidence/keys Public keys that sign evidence packets conformant #
POST /api/v1/evidence/verify Verify a Contrie evidence packet (free, no auth) #

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/contrie-com:contrie-com-evidence-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

contrie-com-evidence-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Contrie Com Evidence API
  version: 1.0.0
  contact:
    email: hello@contrie.com
  description: 'Operations tagged Evidence across 2 of this provider''s published API definitions: contrie-com-openapi.json, contrie-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://www.contrie.com
security:
- bearerAuth: []
tags:
- name: Evidence
paths:
  /api/v1/evidence/keys:
    get:
      summary: Public keys that sign evidence packets
      tags:
      - Evidence
      security: []
      responses:
        '200':
          description: Keys
          content:
            application/json:
              schema:
                type: object
                properties:
                  keys:
                    type: array
                    items:
                      type: object
                      properties:
                        keyId:
                          type: string
                        alg:
                          type: string
                        publicKey:
                          type: string
                          description: SPKI DER, base64
                        format:
                          type: string
      operationId: evidenceKeys
    servers:
    - url: https://www.contrie.com
  /api/v1/evidence/verify:
    post:
      summary: Verify a Contrie evidence packet (free, no auth)
      tags:
      - Evidence
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - data
              - metadata
              description: 'The complete Contrie response: an extraction/legacy response with metadata.qualityScore, or a workspace v1 provided_snapshot result with a v2 seal and no invented quality score. Supported and refused workspace results are both verifiable. v2 verification fails if any signed public member was changed or omitted.'
              properties:
                success:
                  type: boolean
                data:
                  type:
                  - object
                  - array
                  - string
                  - number
                  - boolean
                  - 'null'
                markdown:
                  type: string
                error:
                  type: object
                metadata:
                  type: object
                  description: Complete response metadata and evidence seal. Extraction/legacy responses require qualityScore; the distinct workspace v1 provided_snapshot envelope does not.
                  required:
                  - url
                  - contentHash
                  - evidence
                  properties:
                    url:
                      type: string
                      format: uri
                    contentHash:
                      type: string
                      minLength: 64
                      maxLength: 64
                    evidence:
                      type: object
                      required:
                      - version
                      - alg
                      - keyId
                      - signedAt
                      - packetHash
                      - signature
                      - covers
                      properties:
                        version:
                          type: number
                        alg:
                          const: Ed25519
                        keyId:
                          type: string
                        signedAt:
                          type: string
                        packetHash:
                          type: string
                        signature:
                          type: string
                        covers:
                          type: array
                          items:
                            type: string
                  additionalProperties: true
              additionalProperties: true
              anyOf:
              - title: Extraction or legacy response
                properties:
                  metadata:
                    required:
                    - qualityScore
                    properties:
                      qualityScore:
                        type: number
              - title: Verification workspace v1 result
                required:
                - version
                - executionId
                - success
                - status
                - data
                - fields
                - metadata
                properties:
                  version:
                    const: 1
                  executionId:
                    type: string
                    format: uuid
                    pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$
                  success:
                    type: boolean
                  status:
                    enum:
                    - supported
                    - conflict
                    - uncertain
                    - insufficient_evidence
                    - unsupported
                  data:
                    type:
                    - object
                    - 'null'
                    additionalProperties:
                      type:
                      - string
                      - number
                      - boolean
                      - 'null'
                  fields:
                    type: array
                    minItems: 1
                    maxItems: 20
                    items:
                      type: object
                      required:
                      - name
                      - entity
                      - property
                      - context
                      - origin
                      - excludeDeclaredHidden
                      - status
                      - reason
                      - passages
                      - additionalPassages
                      properties:
                        name:
                          type: string
                        entity:
                          type: string
                        property:
                          type: string
                        context:
                          type: object
                          properties:
                            currency:
                              type: string
                            period:
                              type: string
                            unit:
                              type: string
                            temporal:
                              enum:
                              - current
                              - previous
                            variant:
                              type: string
                              description: Exact explicitly labeled variant; no inferred aliases.
                          additionalProperties: true
                        origin:
                          enum:
                          - any
                          - body
                          - jsonld
                          - metadata
                          - microdata
                          - form
                        excludeDeclaredHidden:
                          type: boolean
                        status:
                          enum:
                          - supported
                          - conflict
                          - uncertain
                          - insufficient_evidence
                          - unsupported
                        reason:
                          type: string
                        value:
                          type:
                          - string
                          - number
                          - boolean
                          - 'null'
                        passages:
                          type: array
                          items:
                            type: object
                            required:
                            - id
                            - entity
                            - property
                            - value
                            - origin
                            - qualifiers
                            - visibility
                            - fragments
                            properties:
                              id:
                                type: string
                              entity:
                                type: string
                              property:
                                type: string
                              value:
                                type:
                                - string
                                - number
                                - boolean
                                - 'null'
                              origin:
                                enum:
                                - body
                                - jsonld
                                - metadata
                                - microdata
                                - form
                              qualifiers:
                                type: object
                                properties:
                                  currency:
                                    type: string
                                  period:
                                    type: string
                                  unit:
                                    type: string
                                  temporal:
                                    enum:
                                    - current
                                    - previous
                                  variant:
                                    type: string
                                additionalProperties: true
                              visibility:
                                enum:
                                - not-declared-hidden
                                - declared-hidden
                                - not-applicable
                              fragments:
                                type: array
                                items:
                                  type: object
                                  required:
                                  - text
                                  - start
                                  - end
                                  - truncated
                                  properties:
                                    text:
                                      type: string
                                    start:
                                      type: integer
                                      minimum: 0
                                    end:
                                      type: integer
                                      minimum: 0
                                    truncated:
                                      type: boolean
                                  additionalProperties: true
                            additionalProperties: true
                        additionalPassages:
                          type: integer
                          minimum: 0
                      additionalProperties: true
                  metadata:
                    type: object
                    required:
                    - url
                    - contentHash
                    - mode
                    - createdAt
                    - sourceAuthenticated
                    - visibility
                    - sourceCompleteness
                    - recoveredEvidence
                    - evidence
                    properties:
                      url:
                        type: string
                        format: uri
                      mode:
                        const: provided_snapshot
                      contentHash:
                        type: string
                        pattern: ^[0-9a-f]{64}$
                      createdAt:
                        type: string
                        format: date-time
                      sourceAuthenticated:
                        const: false
                      visibility:
                        const: static-only
                      sourceCompleteness:
                        const: unmeasured
                      recoveredEvidence:
                        type: boolean
                      evidence:
                        properties:
                          version:
                            const: 2
                    additionalProperties: true
                  proposedData:
                    type: object
                    description: Optional customer-authored scalar values checked against the supplied snapshot. Signed even when the proposal is refused. Omitted on extraction-only workspace runs.
                    maxProperties: 20
                    additionalProperties:
                      type:
                      - string
                      - number
                      - boolean
                      - 'null'
                additionalProperties: true
      responses:
        '200':
          description: Verdict
          content:
            application/json:
              schema:
                type: object
                properties:
                  valid:
                    type: boolean
                  reason:
                    type: string
                  keyId:
                    type: string
                  signedAt:
                    type: string
                  source:
                    type: object
                    description: 'Present only when the signature verifies on a v2 receipt: the signed acquisition claim. provided_html and provided_snapshot mean the caller supplied the page; Contrie did not fetch it.'
                    properties:
                      mode:
                        type: string
                        enum:
                        - fetched
                        - provided_html
                        - recording
                        - provided_snapshot
                      url:
                        type: string
                      observedAt:
                        type: string
                      fetchedAt:
                        type: string
                    required:
                    - mode
                    - url
                  content:
                    type: object
                    properties:
                      matches:
                        type: boolean
                      fetchedAt:
                        type: string
                      hashNow:
                        type: string
                      error:
                        type: string
        '400':
          description: Malformed response or missing evidence seal
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Verifier rate limit exceeded
          headers:
            Retry-After:
              schema:
                type: integer
              description: Seconds until retry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Shared request admission is unavailable. No verification or source refetch was performed; retry after the indicated delay.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers:
            Retry-After:
              schema:
                type: integer
              description: Seconds until retry
      parameters:
      - name: refetch
        in: query
        required: false
        schema:
          type: boolean
          default: false
        description: Request a separate source-hash comparison after signature verification. Workspace provided_snapshot results always return content.error without fetching, because their supplied URL does not authenticate the snapshot. Current extraction packets omit the source basis and also return content.error without fetching. Older packets with supported source metadata may permit comparison; changing or rendered pages can differ.
      operationId: evidenceVerify
    servers:
    - url: https://www.contrie.com
components:
  schemas:
    ErrorResponse:
      type: object
      required:
      - success
      - error
      properties:
        success:
          type: boolean
          enum:
          - false
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
              enum:
              - INVALID_REQUEST
              - INVALID_URL
              - IDEMPOTENCY_CONFLICT
              - IDEMPOTENCY_EXPIRED
              - IDEMPOTENCY_OUTCOME_UNKNOWN
              - REQUEST_IN_PROGRESS
              - NOT_FOUND
              - UNAUTHORIZED
              - INSUFFICIENT_SCOPE
              - PAYMENT_REQUIRED
              - FETCH_FAILED
              - SOURCE_REFUSED
              - RENDER_REQUIRED
              - RATE_LIMITED
              - PAGE_LIMIT_REACHED
              - SERVICE_UNAVAILABLE
              - MODELS_UNAVAILABLE
              - EXTRACTION_FAILED
              - INFERENCE_BUDGET_EXCEEDED
              - INFERENCE_UNAVAILABLE
              - RESULT_NOT_ACCEPTED
            message:
              type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Contrie API key or resource-bound OAuth access JWT
      description: API key created at https://www.contrie.com/dashboard/keys (human sign-up in a browser; there is no programmatic key issuance), or an OAuth access token from the advertised Contrie sign-in flow. OAuth needs no additional API key. Configure credentials through the client or environment, never in a URL or agent chat.
x-refined-from:
- contrie-com-openapi.json
- contrie-com-openapi.yml