OmniApps Agent Ephemeral Scratchpad & State Sync API

The Agent Ephemeral Scratchpad & State Sync API from OmniApps — 5 operation(s) for agent ephemeral scratchpad & state sync.

GitHub OpenAPI

Operations 5

POST /v1/scratchpad/set Set Scratchpad Entry #
GET /v1/scratchpad/get/{key} Get Scratchpad Entry #
DELETE /v1/scratchpad/key/{key} Delete Scratchpad Entry #
POST /v1/scratchpad/lock Acquire Scratchpad Lock #
POST /v1/scratchpad/unlock Release Scratchpad Lock #

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/omniapps-ca:omniapps-ca-agent-ephemeral-scratchpad-state-sync-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

omniapps-ca-agent-ephemeral-scratchpad-state-sync-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sairen Agentic Node Agent Ephemeral Scratchpad & State Sync…
  description: Zero-UI Machine-Native Autonomous Agent Services (Precision Time, High-Density Web Extractor)
  version: 1.6.0
tags:
- name: Agent Ephemeral Scratchpad & State Sync
paths:
  /v1/scratchpad/set:
    post:
      tags:
      - Agent Ephemeral Scratchpad & State Sync
      summary: Set Scratchpad Entry
      description: 'Writes or updates an ephemeral state key on the shared agent blackboard with TTL expiration.

        Gated via x402 micropayments.'
      operationId: set_scratchpad_entry_v1_scratchpad_set_post
      parameters:
      - name: X-Payment-Signature
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Payment-Signature
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ScratchpadSetRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/scratchpad/get/{key}:
    get:
      tags:
      - Agent Ephemeral Scratchpad & State Sync
      summary: Get Scratchpad Entry
      description: Retrieves an active state key from the agent blackboard (Free retrieval).
      operationId: get_scratchpad_entry_v1_scratchpad_get__key__get
      parameters:
      - name: key
        in: path
        required: true
        schema:
          type: string
          title: Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/scratchpad/key/{key}:
    delete:
      tags:
      - Agent Ephemeral Scratchpad & State Sync
      summary: Delete Scratchpad Entry
      description: Deletes an active state key from the agent blackboard.
      operationId: delete_scratchpad_entry_v1_scratchpad_key__key__delete
      parameters:
      - name: key
        in: path
        required: true
        schema:
          type: string
          title: Key
      - name: write_key
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Optional secret write-key if key is protected.
          title: Write Key
        description: Optional secret write-key if key is protected.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/scratchpad/lock:
    post:
      tags:
      - Agent Ephemeral Scratchpad & State Sync
      summary: Acquire Scratchpad Lock
      description: 'Acquires an advisory distributed lock to prevent multi-agent race conditions.

        Gated via x402 micropayments.'
      operationId: acquire_scratchpad_lock_v1_scratchpad_lock_post
      parameters:
      - name: X-Payment-Signature
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Payment-Signature
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ScratchpadLockRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/scratchpad/unlock:
    post:
      tags:
      - Agent Ephemeral Scratchpad & State Sync
      summary: Release Scratchpad Lock
      description: Releases an acquired distributed lock.
      operationId: release_scratchpad_lock_v1_scratchpad_unlock_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ScratchpadUnlockRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ScratchpadUnlockRequest:
      properties:
        lock_name:
          type: string
          title: Lock Name
          description: Unique name of resource lock.
        owner_id:
          type: string
          title: Owner Id
          description: Identifier of agent holding the lock.
      type: object
      required:
      - lock_name
      - owner_id
      title: ScratchpadUnlockRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    ScratchpadLockRequest:
      properties:
        lock_name:
          type: string
          title: Lock Name
          description: Unique name of resource lock (e.g., 'uniswap/trade/base-weth').
        owner_id:
          type: string
          title: Owner Id
          description: Identifier of agent holding the lock (e.g., 'agent-worker-1').
        ttl_seconds:
          type: integer
          title: Ttl Seconds
          description: 'Lock lease duration in seconds (default: 60s, max: 600s).'
          default: 60
      type: object
      required:
      - lock_name
      - owner_id
      title: ScratchpadLockRequest
    ScratchpadSetRequest:
      properties:
        key:
          type: string
          title: Key
          description: Unique state key or namespace path (e.g., 'swarm/task-123/result').
        value:
          title: Value
          description: Payload data (JSON object, string, array, number).
        ttl_seconds:
          type: integer
          title: Ttl Seconds
          description: 'Expiration time in seconds (default: 3600, max: 7 days).'
          default: 3600
        write_key:
          anyOf:
          - type: string
          - type: 'null'
          title: Write Key
          description: Optional secret write-key to protect updates/deletes.
      type: object
      required:
      - key
      - value
      title: ScratchpadSetRequest