HTTP API

Inspect existing artifact processing evidence

GET
/v1/scopes/{scope_id}/processing-status

Read bounded existing progress, safe blocks and Dream outcomes for one Scope and family without invoking models, readiness probes, processing, retries or business-state writes. Requires Scope read access. Local observations are not remote worker coverage.

Authorization

BearerAuth
AuthorizationBearer <token>

Bearer credential resolved to an opaque authenticated Principal by the Server deployment.

In: header

Path Parameters

scope_id*string
Match.*\S.*
Length1 <= length <= 256

Query Parameters

family*string
Length1 <= length <= 128

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/scopes/string/processing-status?family=string"
{  "scope_id": "string",  "family": "string",  "state": "idle",  "observed_at": "2019-08-24T14:15:22Z",  "queried_at": "2019-08-24T14:15:22Z",  "source_consumption_applicable": true,  "progress": {    "source_cursor": 0,    "source_head": 0,    "target_source_through": 0,    "pending_inputs": true  },  "invocation": {    "binding": "string",    "family": "string",    "state": "idle",    "reason": "unobserved",    "observed_at": "2019-08-24T14:15:22Z",    "scheduler_observed": true,    "requested_generation": 0,    "handled_generation": 0,    "dirty_generation": 0,    "clean_generation": 0,    "running_seconds": 0,    "next_check_seconds": 0,    "retry_failures": 0  },  "executor": {    "binding": "string",    "family": "string",    "state": "idle",    "reason": "unobserved",    "observed_at": "2019-08-24T14:15:22Z",    "scheduler_observed": true,    "running_seconds": 0,    "next_check_seconds": 0,    "retry_failures": 0,    "last_error_code": "string",    "last_error_stage": "string",    "last_error_at": "2019-08-24T14:15:22Z"  },  "executor_expires_at": "2019-08-24T14:15:22Z",  "block": {    "reason": "string",    "stage": "string",    "source_after": 0,    "source_through": 0,    "budget_source_through": 0,    "target_source_through": 0,    "attempts": 0,    "requests": 0,    "tokens": 0,    "block_id": "string",    "blocked_at": "2019-08-24T14:15:22Z",    "persisted": true  },  "dream_operations": [    {      "run_id": "string",      "operation": "string",      "status": "queued",      "outcome": "proposed",      "accepted_at": "2019-08-24T14:15:22Z",      "completed_at": "2019-08-24T14:15:22Z",      "candidate": {        "kind": "artifact",        "candidate_id": "string",        "version": 1      },      "reason": "string",      "stage": "string"    }  ],  "dream_pending": true,  "unavailable_reason": "string",  "availability": {    "property1": "available",    "property2": "available"  },  "evidence": {    "property1": {      "origin": "string",      "durability": "durable",      "scope_id": "string",      "binding": "string",      "observed_at": "2019-08-24T14:15:22Z",      "read_at": "2019-08-24T14:15:22Z",      "freshness": "fresh"    },    "property2": {      "origin": "string",      "durability": "durable",      "scope_id": "string",      "binding": "string",      "observed_at": "2019-08-24T14:15:22Z",      "read_at": "2019-08-24T14:15:22Z",      "freshness": "fresh"    }  }}