Nukez Sandbox Ingest API

The sandbox-ingest API from Nukez — 9 operation(s) for sandbox-ingest.

GitHub OpenAPI

Operations 9

POST /v1/lockers/{locker_id}/upload-sessions Start Upload Session #
GET /v1/upload-sessions/{session_id} Get Upload Session #
POST /v1/upload-sessions/{session_id}/files/{file_id}/parts Append Upload Session Part #
POST /v1/upload-sessions/{session_id}/finalize Finalize Upload Session #
GET /v1/upload-sessions/{session_id}/viewer Get Upload Session Viewer #
GET /v1/lockers/{locker_id}/viewer Get Locker Viewer #
POST /v1/lockers/{locker_id}/ingest/jobs Create Ingest Job #
POST /v1/ingest/jobs/{job_id}/files/{file_id}/parts Upload Ingest Part #
POST /v1/ingest/jobs/{job_id}/complete Complete Ingest Job #

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-sandbox-ingest-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-sandbox-ingest-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nukez — Permissionless Storage for Autonomous Agents…
  version: 1.0.0
tags:
- name: sandbox-ingest
paths:
  /v1/lockers/{locker_id}/upload-sessions:
    post:
      tags:
      - sandbox-ingest
      summary: Start Upload Session
      operationId: start_upload_session_v1_lockers__locker_id__upload_sessions_post
      parameters:
      - name: locker_id
        in: path
        required: true
        schema:
          type: string
          title: Locker Id
      - name: X-Nukez-Execution-Mode
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Nukez-Execution-Mode
      - name: X-Nukez-Envelope
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Nukez-Envelope
      - name: X-Nukez-Signature
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Nukez-Signature
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UploadSessionCreateRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/upload-sessions/{session_id}:
    get:
      tags:
      - sandbox-ingest
      summary: Get Upload Session
      operationId: get_upload_session_v1_upload_sessions__session_id__get
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          title: Session Id
      - name: X-Upload-Token
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Upload-Token
      - name: X-Nukez-Envelope
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Nukez-Envelope
      - name: X-Nukez-Signature
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Nukez-Signature
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/upload-sessions/{session_id}/files/{file_id}/parts:
    post:
      tags:
      - sandbox-ingest
      summary: Append Upload Session Part
      operationId: append_upload_session_part_v1_upload_sessions__session_id__files__file_id__parts_post
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          title: Session Id
      - name: file_id
        in: path
        required: true
        schema:
          type: string
          title: File Id
      - name: X-Upload-Token
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Upload-Token
      - name: X-Nukez-Envelope
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Nukez-Envelope
      - name: X-Nukez-Signature
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Nukez-Signature
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SandboxIngestPartRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/upload-sessions/{session_id}/finalize:
    post:
      tags:
      - sandbox-ingest
      summary: Finalize Upload Session
      operationId: finalize_upload_session_v1_upload_sessions__session_id__finalize_post
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          title: Session Id
      - name: X-Upload-Token
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Upload-Token
      - name: X-Nukez-Envelope
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Nukez-Envelope
      - name: X-Nukez-Signature
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Nukez-Signature
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
              - $ref: '#/components/schemas/SandboxIngestCompleteRequest'
              - type: 'null'
              title: Payload
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/upload-sessions/{session_id}/viewer:
    get:
      tags:
      - sandbox-ingest
      summary: Get Upload Session Viewer
      operationId: get_upload_session_viewer_v1_upload_sessions__session_id__viewer_get
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          title: Session Id
      - name: filename
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Filename
      - name: X-Upload-Token
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Upload-Token
      - name: X-Nukez-Envelope
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Nukez-Envelope
      - name: X-Nukez-Signature
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Nukez-Signature
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/lockers/{locker_id}/viewer:
    get:
      tags:
      - sandbox-ingest
      summary: Get Locker Viewer
      operationId: get_locker_viewer_v1_lockers__locker_id__viewer_get
      parameters:
      - name: locker_id
        in: path
        required: true
        schema:
          type: string
          title: Locker Id
      - name: receipt_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Receipt Id
      - name: filename
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Filename
      - name: X-Nukez-Envelope
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Nukez-Envelope
      - name: X-Nukez-Signature
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Nukez-Signature
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/lockers/{locker_id}/ingest/jobs:
    post:
      tags:
      - sandbox-ingest
      summary: Create Ingest Job
      operationId: create_ingest_job_v1_lockers__locker_id__ingest_jobs_post
      parameters:
      - name: locker_id
        in: path
        required: true
        schema:
          type: string
          title: Locker Id
      - name: X-Nukez-Execution-Mode
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Nukez-Execution-Mode
      - name: X-Nukez-Envelope
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Nukez-Envelope
      - name: X-Nukez-Signature
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Nukez-Signature
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SandboxIngestCreateRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/ingest/jobs/{job_id}/files/{file_id}/parts:
    post:
      tags:
      - sandbox-ingest
      summary: Upload Ingest Part
      operationId: upload_ingest_part_v1_ingest_jobs__job_id__files__file_id__parts_post
      parameters:
      - name: job_id
        in: path
        required: true
        schema:
          type: string
          title: Job Id
      - name: file_id
        in: path
        required: true
        schema:
          type: string
          title: File Id
      - name: X-Nukez-Envelope
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Nukez-Envelope
      - name: X-Nukez-Signature
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Nukez-Signature
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SandboxIngestPartRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/ingest/jobs/{job_id}/complete:
    post:
      tags:
      - sandbox-ingest
      summary: Complete Ingest Job
      operationId: complete_ingest_job_v1_ingest_jobs__job_id__complete_post
      parameters:
      - name: job_id
        in: path
        required: true
        schema:
          type: string
          title: Job Id
      - name: X-Nukez-Envelope
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Nukez-Envelope
      - name: X-Nukez-Signature
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Nukez-Signature
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
              - $ref: '#/components/schemas/SandboxIngestCompleteRequest'
              - type: 'null'
              title: Payload
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
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
    SandboxIngestCompleteRequest:
      properties:
        file_ids:
          anyOf:
          - items:
              type: string
            type: array
            maxItems: 100
          - type: 'null'
          title: File Ids
      type: object
      title: SandboxIngestCompleteRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SandboxIngestCreateRequest:
      properties:
        receipt_id:
          type: string
          minLength: 1
          title: Receipt Id
        files:
          items:
            $ref: '#/components/schemas/SandboxIngestFileSpec'
          type: array
          maxItems: 100
          minItems: 1
          title: Files
        execution_mode:
          anyOf:
          - type: string
          - type: 'null'
          title: Execution Mode
          description: Must be 'sandbox' for this endpoint
      type: object
      required:
      - receipt_id
      - files
      title: SandboxIngestCreateRequest
    SandboxIngestFileSpec:
      properties:
        filename:
          type: string
          maxLength: 255
          minLength: 1
          title: Filename
        content_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Content Type
        expected_size_bytes:
          anyOf:
          - type: integer
            exclusiveMinimum: 0.0
          - type: 'null'
          title: Expected Size Bytes
        expected_sha256:
          anyOf:
          - type: string
            maxLength: 71
            minLength: 64
          - type: 'null'
          title: Expected Sha256
      type: object
      required:
      - filename
      title: SandboxIngestFileSpec
    SandboxIngestPartRequest:
      properties:
        part_no:
          type: integer
          minimum: 0.0
          title: Part No
        payload_b64:
          type: string
          minLength: 1
          title: Payload B64
        is_last:
          type: boolean
          title: Is Last
          default: false
      type: object
      required:
      - part_no
      - payload_b64
      title: SandboxIngestPartRequest
    UploadSessionCreateRequest:
      properties:
        receipt_id:
          type: string
          minLength: 1
          title: Receipt Id
        files:
          items:
            $ref: '#/components/schemas/SandboxIngestFileSpec'
          type: array
          maxItems: 100
          minItems: 1
          title: Files
        execution_mode:
          anyOf:
          - type: string
          - type: 'null'
          title: Execution Mode
          description: Must be 'sandbox' for this endpoint
          default: sandbox
        upload_token_ttl_sec:
          anyOf:
          - type: integer
            maximum: 86400.0
            minimum: 60.0
          - type: 'null'
          title: Upload Token Ttl Sec
      type: object
      required:
      - receipt_id
      - files
      title: UploadSessionCreateRequest