com.publicdomainrelay.temp.gateway.requestComputeWorkerEphemeral

Request an ephemeral Deno worker through the compute contract gateway. Gateway bundles source, creates workerManifest record, runs the full RFP protocol, and returns the worker instance ref for single-request execution.

Details · procedure
Kindprocedure
Authoritygateway.temp.publicdomainrelay.com
Indexed
cid bafyreihgjtkqomn3loixxf5llkr4jyai7su5qp7gncbdphqd7yxgloltm4

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Request an ephemeral Deno worker through the compute contract gateway. Gateway bundles source, creates workerManifest record, runs the full RFP protocol, and returns the worker instance ref for single-request execution.",
      "errors": [
        {
          "name": "InvalidRequest"
        },
        {
          "name": "AuthRequired"
        },
        {
          "name": "NoBidders"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "bidWindowSec": {
              "default": 30,
              "description": "Seconds to wait for bids.",
              "type": "integer"
            },
            "denoJson": {
              "description": "deno.json configuration for the worker bundle.",
              "type": "string"
            },
            "denoLock": {
              "description": "Optional deno.lock for reproducible builds.",
              "type": "string"
            },
            "source": {
              "description": "TypeScript source code for the worker.",
              "type": "string"
            }
          },
          "required": [
            "source",
            "denoJson"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "error": {
              "type": "string"
            },
            "receiptCid": {
              "format": "cid",
              "type": "string"
            },
            "receiptOk": {
              "type": "boolean"
            },
            "receiptUri": {
              "format": "at-uri",
              "type": "string"
            },
            "workerInstanceUri": {
              "format": "at-uri",
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "com.publicdomainrelay.temp.gateway.requestComputeWorkerEphemeral",
  "lexicon": 1
}