Metagraphed Evidence API

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

GitHub OpenAPI

Operations 2

GET /api/v1/evidence Evidence #
GET /api/v1/subnets/{netuid}/evidence Subnet evidence #

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/metagraph-sh:metagraph-sh-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

metagraph-sh-evidence-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'Public, read-only API over canonical Metagraphed registry artifacts for Bittensor subnet interfaces. **No authentication** — every operation is an unauthenticated GET. Responses use a stable JSON envelope `{ ok, schema_version, data, meta }` (errors: `{ ok: false, error }`) and carry `ETag` + `Cache-Control` for conditional caching. Rate-limited per client. Multi-network: insert a `/{network}/` segment after `/api/v1/` (mainnet is the default — omit it) to read testnet data, e.g. `/api/v1/testnet/subnets`. Testnet exposes the subset of routes that have data; `/api/v1/lineage` tracks which testnet subnets have graduated.'
  title: Metagraphed Evidence API
  version: 2026-07-03.2
servers:
- description: Production (mainnet default; insert /testnet/ after /api/v1/ for testnet data)
  url: https://api.metagraph.sh
security: []
tags:
- name: Evidence
paths:
  /api/v1/evidence:
    get:
      description: Fetch public evidence ledger.
      operationId: evidence
      parameters:
      - description: Free-text search query, matched case-insensitively against the collection's indexed text fields. Whitespace-separated terms narrow the result (AND), and an empty or whitespace-only value is treated as no filter rather than as a search matching nothing.
        in: query
        name: q
        required: false
        schema:
          maxLength: 200
          type: string
      - description: Comma-separated allow-list projecting the response's primary row collection down to just these fields. A response carrying several collections projects only the primary one -- the others keep their full shape. An unrecognised field is a 400 `invalid_query` naming both the field and the collection it was resolved against, rather than being ignored.
        in: query
        name: fields
        required: false
        schema:
          pattern: ^[\s,]*[A-Za-z_][A-Za-z0-9_]*(\s*,[\s,]*[A-Za-z_][A-Za-z0-9_]*)*[\s,]*$
          type: string
      - description: Maximum number of rows to return in one page (at most 1000). A larger value, or a non-positive one, is rejected with 400 `invalid_query` -- so a short page means the result set is exhausted, not that the server quietly capped you (#9916). Omitted, every matching row is returned.
        in: query
        name: limit
        required: false
        schema:
          maximum: 1000
          minimum: 1
          type: integer
          x-serving-bound: true
      - description: Row offset to resume from — the numeric position of the first row to return, not an opaque token. Rows inserted since the previous page shift it, so prefer the keyset cursor where a tool offers one.
        in: query
        name: cursor
        required: false
        schema:
          minimum: 0
          type: integer
      - description: 'Opt into checked collection paging: send `start` at cursor 0, then echo the returned snapshot (REST meta.pagination.snapshot; MCP snapshot) with subsequent numeric cursors, or follow the returned Link URLs. A changed result or query returns REST 400 invalid_query with catalog_changed, or MCP catalog_restart_required; restart from cursor 0. This does not retain old rows or continue across mutations. Checked requests bypass page caches. At most 5000 matching rows, 16777216 canonical bytes and 64 nesting levels can be verified; narrow filters on catalog_budget_exceeded. Omit for legacy offset paging.'
        in: query
        name: page_snapshot
        required: false
        schema:
          pattern: ^(start|v1\.[0-9a-f]{64})$
          type: string
      - description: Field to sort by — the bare field name only (e.g. `sort=total_stake_alpha`). Pair with the separate `order` parameter to choose direction; a combined `field:desc` token is NOT supported.
        in: query
        name: sort
        required: false
        schema:
          enum:
          - claim
          - source_url
          - subject
          - verified_at
          type: string
      - description: 'Sort direction for `sort`: `asc` or `desc` (default `desc`). This is a separate parameter from `sort` — e.g. `?sort=emission_share&order=desc`.'
        in: query
        name: order
        required: false
        schema:
          enum:
          - asc
          - desc
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                EvidenceLedgerArtifactResponse:
                  $ref: '#/components/examples/EvidenceLedgerArtifactResponse'
              schema:
                allOf:
                - $ref: '#/components/schemas/SuccessEnvelope'
                - properties:
                    data:
                      $ref: '#/components/schemas/EvidenceLedgerArtifact'
                  type: object
          description: Canonical artifact wrapped in the Metagraphed API envelope.
          headers:
            cache-control:
              $ref: '#/components/headers/CacheControl'
            etag:
              $ref: '#/components/headers/ETag'
            x-metagraph-contract-version:
              $ref: '#/components/headers/ContractVersion'
        '304':
          description: ETag matched and the cached response is still valid.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Query parameters were malformed or unsupported.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Artifact or API route was not found.
        '405':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: HTTP method is not supported.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Unexpected backend error.
      tags:
      - Evidence
      x-metagraphed-mainnet-only: true
      x-metagraphed-networks:
      - mainnet
      summary: Evidence
      x-summary-source: derived
  /api/v1/subnets/{netuid}/evidence:
    get:
      description: Fetch public evidence ledger claims for one subnet.
      operationId: subnetEvidence
      parameters:
      - description: The subnet's numeric id on the Bittensor network, as used by the chain itself.
        example: 1
        in: path
        name: netuid
        required: true
        schema:
          minimum: 0
          type: integer
      - description: Free-text search query, matched case-insensitively against the collection's indexed text fields. Whitespace-separated terms narrow the result (AND), and an empty or whitespace-only value is treated as no filter rather than as a search matching nothing.
        in: query
        name: q
        required: false
        schema:
          maxLength: 200
          type: string
      - description: Comma-separated allow-list projecting the response's primary row collection down to just these fields. A response carrying several collections projects only the primary one -- the others keep their full shape. An unrecognised field is a 400 `invalid_query` naming both the field and the collection it was resolved against, rather than being ignored.
        in: query
        name: fields
        required: false
        schema:
          pattern: ^[\s,]*[A-Za-z_][A-Za-z0-9_]*(\s*,[\s,]*[A-Za-z_][A-Za-z0-9_]*)*[\s,]*$
          type: string
      - description: Maximum number of rows to return in one page (at most 1000). A larger value, or a non-positive one, is rejected with 400 `invalid_query` -- so a short page means the result set is exhausted, not that the server quietly capped you (#9916). Omitted, every matching row is returned.
        in: query
        name: limit
        required: false
        schema:
          maximum: 1000
          minimum: 1
          type: integer
          x-serving-bound: true
      - description: Row offset to resume from — the numeric position of the first row to return, not an opaque token. Rows inserted since the previous page shift it, so prefer the keyset cursor where a tool offers one.
        in: query
        name: cursor
        required: false
        schema:
          minimum: 0
          type: integer
      - description: 'Opt into checked collection paging: send `start` at cursor 0, then echo the returned snapshot (REST meta.pagination.snapshot; MCP snapshot) with subsequent numeric cursors, or follow the returned Link URLs. A changed result or query returns REST 400 invalid_query with catalog_changed, or MCP catalog_restart_required; restart from cursor 0. This does not retain old rows or continue across mutations. Checked requests bypass page caches. At most 5000 matching rows, 16777216 canonical bytes and 64 nesting levels can be verified; narrow filters on catalog_budget_exceeded. Omit for legacy offset paging.'
        in: query
        name: page_snapshot
        required: false
        schema:
          pattern: ^(start|v1\.[0-9a-f]{64})$
          type: string
      - description: Field to sort by — the bare field name only (e.g. `sort=total_stake_alpha`). Pair with the separate `order` parameter to choose direction; a combined `field:desc` token is NOT supported.
        in: query
        name: sort
        required: false
        schema:
          enum:
          - claim
          - source_url
          - subject
          - verified_at
          type: string
      - description: 'Sort direction for `sort`: `asc` or `desc` (default `desc`). This is a separate parameter from `sort` — e.g. `?sort=emission_share&order=desc`.'
        in: query
        name: order
        required: false
        schema:
          enum:
          - asc
          - desc
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                SubnetEvidenceArtifactResponse:
                  $ref: '#/components/examples/SubnetEvidenceArtifactResponse'
              schema:
                allOf:
                - $ref: '#/components/schemas/SuccessEnvelope'
                - properties:
                    data:
                      $ref: '#/components/schemas/SubnetEvidenceArtifact'
                  type: object
          description: Canonical artifact wrapped in the Metagraphed API envelope.
          headers:
            cache-control:
              $ref: '#/components/headers/CacheControl'
            etag:
              $ref: '#/components/headers/ETag'
            x-metagraph-contract-version:
              $ref: '#/components/headers/ContractVersion'
        '304':
          description: ETag matched and the cached response is still valid.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Query parameters were malformed or unsupported.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Artifact or API route was not found.
        '405':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: HTTP method is not supported.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Unexpected backend error.
      tags:
      - Evidence
      x-metagraphed-mainnet-only: true
      x-metagraphed-networks:
      - mainnet
      summary: Subnet evidence
      x-summary-source: derived
components:
  headers:
    ETag:
      schema:
        type: string
    ContractVersion:
      schema:
        type: string
    CacheControl:
      schema:
        type: string
  schemas:
    EvidenceClaim:
      additionalProperties: false
      properties:
        claim:
          type: string
        confidence:
          enum:
          - low
          - medium
          - high
          type: string
        limits:
          type: string
        source_tier:
          $ref: '#/components/schemas/SourceTier'
        source_type:
          type: string
        source_url:
          type: string
        subject:
          type: string
        support_summary:
          type: string
        verified_at:
          type:
          - string
          - 'null'
      required:
      - claim
      - subject
      - source_url
      - source_type
      - source_tier
      - confidence
      - support_summary
      - limits
      type: object
    SourceTier:
      enum:
      - native-chain
      - provider-claimed
      - third-party-index
      - community-docs
      type: string
    ResponseMeta:
      additionalProperties: {}
      properties:
        artifact_path:
          type: string
        cache:
          $ref: '#/components/schemas/CacheProfile'
        catalog_paging:
          additionalProperties: false
          properties:
            reason:
              enum:
              - catalog_changed
              - catalog_budget_exceeded
              - catalog_unavailable
              type: string
          required:
          - reason
          type: object
        contract_version:
          type: string
        generated_at:
          description: Deterministic build content marker (epoch by default); not a wall clock. Use published_at for human-facing freshness.
          type:
          - string
          - 'null'
        observed_through:
          anyOf:
          - format: date-time
            type: string
          - type: 'null'
          description: How far the tier that answered this request has observed at all. A payload reporting no activity at or before this time is a measured absence; one whose subject is newer is outside coverage, not empty. Null when the horizon is unreadable.
        pagination:
          $ref: '#/components/schemas/PaginationMeta'
        published_at:
          anyOf:
          - format: date-time
            type: string
          - type: 'null'
          description: Real publish time from the KV latest pointer, distinct from generated_at. Null before the first publish or when the control KV is unbound.
        source:
          type: string
        stale_contract:
          additionalProperties: false
          description: 'Present ONLY when the served artifact was built under an older contract than the live one (serve-time drift, #1001) — the body may predate a schema change. Mirrored on the x-metagraph-stale-contract response header for monitoring.'
          properties:
            built_under:
              description: Contract version the served artifact was built under.
              type: string
            live:
              description: Current (live) contract version the Worker is running.
              type: string
          required:
          - built_under
          - live
          type: object
      required:
      - contract_version
      type: object
    ErrorEnvelope:
      additionalProperties: false
      properties:
        data:
          type: 'null'
        error:
          additionalProperties: false
          properties:
            code:
              type: string
            message:
              type: string
          required:
          - code
          - message
          type: object
        meta:
          $ref: '#/components/schemas/ResponseMeta'
        ok:
          const: false
          type: boolean
        schema_version:
          const: 1
          type: number
      required:
      - ok
      - schema_version
      - data
      - error
      - meta
      type: object
    EvidenceLedgerArtifact:
      additionalProperties: false
      properties:
        claims:
          items:
            $ref: '#/components/schemas/EvidenceClaim'
          type: array
        contract_version:
          type: string
        generated_at:
          type: string
        notes:
          anyOf:
          - type: string
          - items:
              type: string
            type: array
          description: Public-safe notes; may be a string or a string list depending on the adapter.
        schema_version:
          const: 1
          type: number
        summary:
          additionalProperties: false
          properties:
            candidate_claim_count:
              maximum: 9007199254740991
              minimum: 0
              type: integer
            claim_count:
              maximum: 9007199254740991
              minimum: 0
              type: integer
            subnet_claim_count:
              maximum: 9007199254740991
              minimum: 0
              type: integer
            surface_claim_count:
              maximum: 9007199254740991
              minimum: 0
              type: integer
          required:
          - candidate_claim_count
          - claim_count
          - subnet_claim_count
          - surface_claim_count
          type: object
      required:
      - generated_at
      - schema_version
      - summary
      - claims
      type: object
    SuccessEnvelope:
      additionalProperties: false
      properties:
        data:
          additionalProperties: {}
          properties: {}
          type: object
        meta:
          $ref: '#/components/schemas/ResponseMeta'
        ok:
          const: true
          type: boolean
        schema_version:
          const: 1
          type: number
      required:
      - ok
      - schema_version
      - data
      - meta
      type: object
    SubnetEvidenceArtifact:
      additionalProperties: false
      properties:
        claims:
          items:
            $ref: '#/components/schemas/EvidenceClaim'
          type: array
        contract_version:
          type: string
        generated_at:
          type: string
        name:
          type: string
        netuid:
          maximum: 9007199254740991
          minimum: 0
          type: integer
        notes:
          anyOf:
          - type: string
          - items:
              type: string
            type: array
          description: Public-safe notes; may be a string or a string list depending on the adapter.
        schema_version:
          const: 1
          type: number
        slug:
          type: string
      required:
      - generated_at
      - schema_version
      - netuid
      - claims
      type: object
    PaginationMeta:
      additionalProperties: false
      properties:
        collection:
          type: string
        cursor:
          maximum: 9007199254740991
          minimum: 0
          type: integer
        limit:
          maximum: 9007199254740991
          minimum: 0
          type: integer
        next_cursor:
          anyOf:
          - maximum: 9007199254740991
            minimum: 0
            type: integer
          - type: 'null'
        order:
          enum:
          - asc
          - desc
          type: string
        returned:
          maximum: 9007199254740991
          minimum: 0
          type: integer
        snapshot:
          description: Present only for page_snapshot paging. Echo as page_snapshot on subsequent pages; a changed collection or query requires a restart.
          pattern: ^v1\.[0-9a-f]{64}$
          type: string
        sort:
          type:
          - string
          - 'null'
        total:
          maximum: 9007199254740991
          minimum: 0
          type: integer
      required:
      - collection
      - cursor
      - limit
      - next_cursor
      - returned
      - total
      type: object
    CacheProfile:
      enum:
      - short
      - standard
      - static
      type: string
  examples:
    EvidenceLedgerArtifactResponse:
      value:
        data:
          claims:
          - claim: example
            confidence: low
            limits: example
            source_tier: native-chain
            source_type: example
            source_url: https://api.metagraph.sh/example
            subject: example
            support_summary: Example description.
          contract_version: 2026-06-29.1
          generated_at: '2026-06-01T00:00:00.000Z'
          notes: Example description.
          schema_version: 1
          summary:
            candidate_claim_count: 1
            claim_count: 1
            subnet_claim_count: 1
            surface_claim_count: 1
        meta:
          artifact_path: example
          cache: short
          catalog_paging:
            reason: catalog_changed
          contract_version: 2026-06-29.1
          generated_at: '2026-06-01T00:00:00.000Z'
          observed_through: '2026-06-01T00:00:00.000Z'
          pagination:
            collection: example
            cursor: 1
            limit: 1
            next_cursor: 1
            order: asc
            returned: 1
            snapshot: v1.a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1
            sort: example
            total: 1
          published_at: '2026-06-01T00:00:00.000Z'
          source: live-cron-prober
          stale_contract:
            built_under: example
            live: example
        ok: true
        schema_version: 1
    SubnetEvidenceArtifactResponse:
      value:
        data:
          claims:
          - claim: example
            confidence: low
            limits: example
            source_tier: native-chain
            source_type: example
            source_url: https://api.metagraph.sh/example
            subject: example
            support_summary: Example description.
          contract_version: 2026-06-29.1
          generated_at: '2026-06-01T00:00:00.000Z'
          name: Example Subnet
          netuid: 7
          notes: Example description.
          schema_version: 1
          slug: example-subnet
        meta:
          artifact_path: example
          cache: short
          catalog_paging:
            reason: catalog_changed
          contract_version: 2026-06-29.1
          generated_at: '2026-06-01T00:00:00.000Z'
          observed_through: '2026-06-01T00:00:00.000Z'
          pagination:
            collection: example
            cursor: 1
            limit: 1
            next_cursor: 1
            order: asc
            returned: 1
            snapshot: v1.a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1
            sort: example
            total: 1
          published_at: '2026-06-01T00:00:00.000Z'
          source: live-cron-prober
          stale_contract:
            built_under: example
            live: example
        ok: true
        schema_version: 1
x-metagraphed:
  canonical_artifact_base_path: /metagraph
  contract_version: 2026-07-03.2
  generated_at: '1970-01-01T00:00:00.000Z'
  notes: OpenAPI describes Worker response envelopes and canonical artifact payloads. Raw /metagraph JSON remains the reviewed source contract.
  schema_version: 1