Submit an inference request for the authenticated requester. Builds a (paymentAuthorization, job) pair scoped to the configured exchange, publishes both to the requester's PDS, and returns the job/authorization URIs so the caller can poll for a receipt via `dev.cocore.inference.status`.
Input
application/jsonmaxTokensOut
integer
Required
No description available.
minimum: 1model
string
Required
Opaque model identifier honored by the provider.
minLength: 1 bytespriceCeiling
object
Required
Maximum the requester will pay. Integer minor units plus an ISO 4217 / XBT-style currency code.
prompt
string
Required
No description available.
minLength: 1 bytesOutput
application/jsonauthUri
stringat-uri
Required
An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).
inputCommitment
string
Required
SHA-256 (lowercase hex) over the input bytes.
jobUri
stringat-uri
Required
An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).
Errors
AuthRequired
The caller is not authenticated. InvalidRequest
The body failed validation. 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": [
"model",
"prompt",
"maxTokensOut",
"priceCeiling"
],
"properties": {
"model": {
"type": "string",
"minLength": 1,
"description": "Opaque model identifier honored by the provider."
},
"prompt": {
"type": "string",
"minLength": 1
},
"maxTokensOut": {
"type": "integer",
"minimum": 1
},
"priceCeiling": {
"type": "object",
"required": [
"amount",
"currency"
],
"properties": {
"amount": {
"type": "integer",
"minimum": 0
},
"currency": {
"type": "string",
"minLength": 1
}
},
"description": "Maximum the requester will pay. Integer minor units plus an ISO 4217 / XBT-style currency code."
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "AuthRequired",
"description": "The caller is not authenticated."
},
{
"name": "InvalidRequest",
"description": "The body failed validation."
}
],
"output": {
"schema": {
"type": "object",
"required": [
"jobUri",
"authUri",
"inputCommitment"
],
"properties": {
"jobUri": {
"type": "string",
"format": "at-uri"
},
"authUri": {
"type": "string",
"format": "at-uri"
},
"inputCommitment": {
"type": "string",
"description": "SHA-256 (lowercase hex) over the input bytes."
}
}
},
"encoding": "application/json"
},
"description": "Submit an inference request for the authenticated requester. Builds a (paymentAuthorization, job) pair scoped to the configured exchange, publishes both to the requester's PDS, and returns the job/authorization URIs so the caller can poll for a receipt via `dev.cocore.inference.status`."
}