dev.cocore.inference.submit

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`.

Repository @cocore.dev did:plc:5quuhkmwe2q4k3azfsgg7kdz namespace authority
Details · procedure
Kindprocedure
Authorityinference.cocore.dev
Indexed

Showing version bafyreictkdh3mbwekigwn3ri4czj6224gtnkkct46ajcka7qi3xumprfzy. Show the latest

Procedure

procedure · POST

Input

application/json

maxTokensOut

requiredinteger
  • minimum: 1

model

requiredstring

Opaque model identifier honored by the provider.

  • minLength: 1

priceCeiling

requiredobject

Maximum the requester will pay. Integer minor units plus an ISO 4217 / XBT-style currency code.

prompt

requiredstring
  • minLength: 1

Output

application/json

authUri

requiredstring · at-uri

inputCommitment

requiredstring

SHA-256 (lowercase hex) over the input bytes.

jobUri

requiredstring · at-uri

Errors

AuthRequired

The caller is not authenticated.

InvalidRequest

The body failed validation.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • A request for computational work. Published by the requester in their own repo before the work runs, so the provider has something to commit a receipt against.

  • Submit an inference request and stream the result back as Server-Sent Events. Authenticates the requester, runs the dispatch core, and emits typed SSE frames. Unlike `submit` (which returns URIs to poll), `dispatch` drives the full request and streams plaintext output chunks until completion. Confidentiality: by default the AppView seals the prompt to the chosen provider on the caller's behalf (`best-effort` tier) — convenient, but the AppView is in the plaintext path. A caller that needs priva