Nukez Attest API

The Attest API from Nukez — 2 operation(s) for attest.

GitHub OpenAPI

Operations 2

POST /v1/attest/simulate Retired: oracle simulation #
POST /v1/attest/push Attest Push #

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/nukez-xyz:nukez-xyz-attest-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

nukez-xyz-attest-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nukez — Permissionless Storage for Autonomous Agents Attest…
  version: 1.0.0
tags:
- name: Attest
paths:
  /v1/attest/simulate:
    post:
      summary: 'Retired: oracle simulation'
      description: 'Retired. This endpoint asked a Switchboard oracle to simulate reading the

        gateway''s own callback; nothing calls back any more. To check a proof,

        download GET /v1/storage/evidence-bundle and verify it independently.'
      operationId: attest_simulate_v1_attest_simulate_post
      requestBody:
        content:
          application/json:
            schema:
              title: Body
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '410':
          description: Retired with the Switchboard integration. Use GET /v1/storage/evidence-bundle and verify it independently.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      deprecated: true
      tags:
      - Attest
  /v1/attest/push:
    post:
      summary: Attest Push
      description: 'Push an attestation on-chain via Switchboard PullFeed write + SPL Memo.


        AUTH: Requires a payer-signed envelope (X-Nukez-Envelope + X-Nukez-Signature)

        with the `locker:attest` operation. The envelope''s receipt_id must match the

        body''s receipt_id (belt-and-suspenders binding). This endpoint causes the

        gateway to spend server-held SOL on Switchboard PullFeed write + oracle

        quote + SPL Memo, so it must be authenticated to the receipt''s payer.


        The transaction contains:

        - PullFeed update instruction writing att_code to the Switchboard feed account

        - Signature verification precompile instruction for the oracle quote

        - SPL Memo with the full merkle_root, receipt_id, file_count, and schema


        The PullFeed account comes from SB_ATTEST_FEED when set (preferred — some

        RPC providers block the getProgramAccounts scan), otherwise it is resolved

        at runtime from ATTEST_FEED by scanning Switchboard program accounts.


        After this call, the attestation is verifiable on-chain by any party:

        - Read the PullFeed account on Solana for the oracle-verified att_code

        - Read the SPL Memo from the transaction for the full merkle_root

        - Verify the oracle quote signature from the verification precompile

        No trust in Nukez required.


        Body: { "receipt_id": "..." }


        This endpoint:

        1. Loads the attestation for the receipt

        2. Calls switchboard.mjs push — oracle resolves job, writes to feed account, appends memo

        3. Records switchboard_slot and switchboard_tx in attestation

        4. Returns push result


        If attestation doesn''t exist yet, returns 409 with hint.

        If ATTEST_FEED is missing, returns graceful skip.'
      operationId: attest_push_v1_attest_push_post
      parameters:
      - name: X-Nukez-Envelope
        in: header
        required: true
        schema:
          type: string
          title: X-Nukez-Envelope
      - name: X-Nukez-Signature
        in: header
        required: true
        schema:
          type: string
          title: X-Nukez-Signature
      requestBody:
        required: true
        content:
          application/json:
            schema:
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Attest
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError