dev.cocore.inference.submit

cocore.dev

{
  "id": "dev.cocore.inference.submit",
  "defs": {
    "main": {
      "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`."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against dev.cocore.inference.submit

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:5quuhkmwe2q4k3azfsgg7kdz
CID
bafyreictkdh3mbwekigwn3ri4czj6224gtnkkct46ajcka7qi3xumprfzy
Indexed At
2026-06-21 00:58 UTC
AT-URI
at://did:plc:5quuhkmwe2q4k3azfsgg7kdz/com.atproto.lexicon.schema/dev.cocore.inference.submit

Lexicon Garden

@