---
title: "Inspect unacknowledged writer state before restoring a VM workspace"
method: POST
path: "/api/v1/agent/persistent/compute/commands/pending"
tags: ["agent"]
---

# Inspect unacknowledged writer state before restoring a VM workspace

`POST /api/v1/agent/persistent/compute/commands/pending`

## Request

- Base URL: `https://composal.com` (the document declares no server; this is the origin it was published from)
- URL: `https://composal.com/api/v1/agent/persistent/compute/commands/pending`
- Auth: HTTP bearer

Trusted executor only. No provider keys or model-chosen authority. Private bodies must never enter Temporal Workflow history or heartbeat data.

## Request body

- object
  - `scope` PersistentAgentWorkerScope, required
    - `task_id` string, required
    - `segment_id` string, required
    - `generation` integer, required
    - `claim_id` string, required

## Response `200`

Private allocation-bound exchange

- object
  - `pending_writer` boolean, required

## Other responses

- `401`: Compute credential unavailable or revoked
- `403`: Current task or capability unavailable
- `404`: Task unavailable
- `409`: Reconciliation required; dispatch retries are lookup only
- `422`: Invalid request
- `503`: Canonical source unavailable

---

[API](https://skmtc.dev/composal/apis/vex-api.md) - [All operations](https://skmtc.dev/composal/apis/vex-api/llms.txt) - [OpenAPI document](https://skmtc.dev/composal/apis/vex-api/revisions/74298a24e040?raw)
