dev.cocore.inference.status

Poll for the outcome of a submitted job. Returns `pending` until a matching receipt is indexed, `received` once the receipt lands, and `settled` once a settlement also lands. Receipt and settlement are returned as indexed records when present.

Repository @cocore.dev did:plc:5quuhkmwe2q4k3azfsgg7kdz namespace authority
Details · query
Kindquery
Authorityinference.cocore.dev
Indexed
cid bafyreifxitiudwubb273ct2dl6bigjn636jsmgv3kgcmwodusrwv5an5mi

Checks

Valid
  • unlimited-string defs.main.output.schema.properties.statusNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Poll for the outcome of a submitted job. Returns `pending` until a matching receipt is indexed, `received` once the receipt lands, and `settled` once a settlement also lands. Receipt and settlement are returned as indexed records when present.",
      "errors": [
        {
          "description": "The caller is not authenticated.",
          "name": "AuthRequired"
        },
        {
          "description": "The `jobUri` parameter is missing.",
          "name": "InvalidRequest"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "receipt": {
              "ref": "dev.cocore.defs#indexedRecord",
              "type": "ref"
            },
            "settlement": {
              "ref": "dev.cocore.defs#indexedRecord",
              "type": "ref"
            },
            "status": {
              "enum": [
                "pending",
                "received",
                "settled"
              ],
              "type": "string"
            }
          },
          "required": [
            "status"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "jobUri": {
            "description": "The job record URI returned by `dev.cocore.inference.submit`.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "jobUri"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "dev.cocore.inference.status",
  "lexicon": 1
}