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.
Input
application/jsonbidWindowSec
integer
Optional
Seconds to wait for bids.
denoJson
string
Required
deno.json configuration for the worker bundle.
denoLock
string
Optional
Optional deno.lock for reproducible builds.
source
string
Required
TypeScript source code for the worker.
Output
application/jsonerror
string
Optional
No description available.
receiptCid
stringcid
Optional
A content identifier (CID) referencing immutable data.
receiptOk
boolean
Optional
No description available.
receiptUri
stringat-uri
Optional
An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).
workerInstanceUri
stringat-uri
Optional
An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).
Errors
InvalidRequest
AuthRequired
NoBidders
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"source",
"denoJson"
],
"properties": {
"source": {
"type": "string",
"description": "TypeScript source code for the worker."
},
"denoJson": {
"type": "string",
"description": "deno.json configuration for the worker bundle."
},
"denoLock": {
"type": "string",
"description": "Optional deno.lock for reproducible builds."
},
"bidWindowSec": {
"type": "integer",
"default": 30,
"description": "Seconds to wait for bids."
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "InvalidRequest"
},
{
"name": "AuthRequired"
},
{
"name": "NoBidders"
}
],
"output": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string"
},
"receiptOk": {
"type": "boolean"
},
"receiptCid": {
"type": "string",
"format": "cid"
},
"receiptUri": {
"type": "string",
"format": "at-uri"
},
"workerInstanceUri": {
"type": "string",
"format": "at-uri"
}
}
},
"encoding": "application/json"
},
"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."
}