Singularity Layer API

Singularity Layer API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-29); not the provider's own document.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 3

PATCH /pods/v1/pods/{id} Update a pod #
POST /pods/v1/pods/{id}/actions Queue a pod action #
GET /pods/{id} Get an Agent Pod #

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/x402layer-cc:x402layer-cc-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

x402layer-cc-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Singularity Layer API
  version: '2026-11-29'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-29: 3 operation(s) read from 34 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Singularity Layer has published no machine-readable contract
    that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 0
    documentation: 3
    pages-with-code: 0
    pages-read: 34
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-29'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://docs.x402layer.cc/api-reference/agent-pods-api/get-a-pod.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/list-pods.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/clone-a-pod.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/create-a-pod.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/update-a-pod.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/destroy-a-pod.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/get-pod-usage.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/list-webhooks.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/create-a-webhook.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/delete-a-webhook.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/update-a-webhook.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/get-the-pod-wallet.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/queue-a-pod-action.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/get-backup-settings.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/list-account-events.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/list-mcp-connectors.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/add-a-scheduled-task.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/add-an-mcp-connector.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/list-scheduled-tasks.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/get-the-update-policy.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/set-the-update-policy.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/list-pod-endpoint-keys.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/update-backup-settings.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/mint-a-pod-endpoint-key.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/remove-a-scheduled-task.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/remove-an-mcp-connector.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/mint-a-telegram-join-code.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/poll-a-telegram-join-code.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/revoke-a-pod-endpoint-key.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/enable-disable-or-run-a-task-now.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/update-the-pod-wallet-spend-policy.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/get-queued-actions-and-the-last-result.md
  - https://docs.x402layer.cc/api-reference/agent-pods-api/mint-a-chat-ticket-for-the-streaming-socket.md
  - https://docs.x402layer.cc/api-reference/pods-get.md
servers:
- url: https://compute.x402layer.cc/pods/v1
paths:
  /pods/v1/pods/{id}:
    patch:
      operationId: patch_pods_v1_pods_id
      tags:
      - Pods
      summary: Update a pod
      description: 'Base URL `https://compute.x402layer.cc/pods/v1`. Auth is `X-API-Key` only. This is the PROGRAMMATIC surface and is NOT the
        same as the dashboard pod routes (`POST /pods`, `PATCH /pods/{id}/settings`, ...), which take a wallet signature or a browser session
        and are free to change. Every response carries `x-request-id`.


        Send any subset of the editable fields. This is an allowlist: fields not listed here are not settable from the public API.


        **Not atomic.** `name` is applied before the rest, so a failure on the rest can leave the name already changed. When that happens the
        error carries `details.partially_applied: ["name"]` rather than letting you infer nothing happened.


        Wallet spend controls live on `PATCH /pods/v1/pods/{id}/wallet`, not here. Rate limit: the shared write bucket, 60 requests/minute per
        account.


        Customization fields are editable here too. Send `""` or `null` for a custom text field to clear it. Raw `AGENTS.md` replacement is not
        exposed.'
      x-source: https://docs.x402layer.cc/api-reference/agent-pods-api/update-a-pod.md
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchPodsV1PodsIdRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PatchPodsV1PodsIdResponse'
      x-evidence:
        kind: documentation
  /pods/v1/pods/{id}/actions:
    post:
      operationId: post_pods_v1_pods_id_actions
      tags:
      - Pods
      summary: Queue a pod action
      x-source: https://docs.x402layer.cc/api-reference/agent-pods-api/queue-a-pod-action.md
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostPodsV1PodsIdActionsRequest'
      responses:
        '202':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostPodsV1PodsIdActionsResponse'
      x-evidence:
        kind: documentation
  /pods/{id}:
    get:
      operationId: get_pods_id
      tags:
      - Pods
      summary: Get an Agent Pod
      x-source: https://docs.x402layer.cc/api-reference/pods-get.md
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetPodsIdResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    PatchPodsV1PodsIdRequest:
      type: object
      properties:
        name:
          type: string
        model:
          type: string
          description: Clamped to the pod's tier; an out-of-tier value is refused, not silently honoured.
        slug:
          type: string
          description: Vanity endpoint slug, globally unique. `null` clears it back to the uuid form.
        auto_renew:
          type: boolean
        agent_identity:
          type: string
          description: Owner/platform identity text layered into managed AGENTS.md and IDENTITY.md. Empty or null clears it on PATCH.
        agent_instructions:
          type: string
          description: Owner/platform operating instructions layered into managed AGENTS.md. Empty or null clears it on PATCH.
        heartbeat_prompt:
          type: string
          description: Prompt for the agent quiet self-check heartbeat. Empty or null restores the default survival/check-work prompt on PATCH.
        agent_heartbeat_minutes:
          type: integer
          description: Self-check cadence in minutes. 0 disables it; otherwise use 15-1440.
        ai:
          type: object
          description: BYOK only. Refused on a managed pod.
    PatchPodsV1PodsIdResponse:
      type: object
      properties:
        '200':
          type: string
          description: The pod, re-read after the change. `PATCH`, `GET` and create all render through the same serializer, so they cannot disagree.
        '400':
          type: string
          description: '`invalid_request` - no editable fields supplied. `details.editable` lists them.'
        '401':
          type: string
          description: '`unauthorized`.'
        '403':
          type: string
          description: '`forbidden`.'
        '404':
          type: string
          description: '`not_found`.'
        '409':
          type: string
          description: '`conflict` - e.g. the slug is taken.'
        '429':
          type: string
          description: '`rate_limited`.'
    PostPodsV1PodsIdActionsRequest:
      type: object
      properties:
        action:
          type: string
          description: 'Action to perform on the pod. Allowed values: restart, stop, redeploy, update, diagnose, logs.'
      required:
      - action
    PostPodsV1PodsIdActionsResponse:
      type: object
      properties:
        action:
          type: object
          description: Result object for the queued action.
        action.queued:
          type: string
          description: Timestamp or identifier indicating the action was queued.
        action.result_available:
          type: boolean
          description: True for `diagnose` and `logs`, which write output back. False for the rest.
        action.poll:
          type: string
          description: Endpoint to poll for results, e.g. `/pods/v1/pods/{id}/actions`.
        action.note:
          type: string
          description: Additional note about the queued action.
    GetPodsIdResponse:
      type: object
      properties:
        pod:
          type: object
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer
      x-source: https://docs.x402layer.cc/cloud/concepts/wallet-auth.md
    X-API-Key:
      type: apiKey
      in: header
      name: X-API-Key
      x-source: https://docs.x402layer.cc/cloud/concepts/wallet-auth.md
tags:
- name: Pods
security:
- Authorization: []
- X-API-Key: []