---
title: "Unblock Source Graph"
method: POST
path: "/extensions/roboledger/{graph_id}/operations/unblock-source-graph"
tags: ["RoboLedger: Report Distribution"]
---

# Unblock Source Graph

`POST /extensions/roboledger/{graph_id}/operations/unblock-source-graph`

## Request

- Base URL: `https://api.robosystems.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.robosystems.ai/extensions/roboledger/{graph_id}/operations/unblock-source-graph`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Lifts a block, allowing that graph to share reports into this one again. Reports removed by an earlier purge are not restored — unblocking reopens the channel, it does not undo. Requires the graph admin role: a block is a standing decision about who may write into this graph, so a member cannot reverse it over an admin's head. Returns 404 when the source was not blocked.

**Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.

## Path parameters

- `graph_id` string, required

## Headers

- `Idempotency-Key` string, nullable

## Request body

- UnblockSourceGraphOperation: Lift a block on a source graph.
  - `source_graph_id` string, required: Graph ID to unblock.

## Response `200`

Successful Response

- OperationEnvelopeBlockedSourceGraphResponse
  - `operation` string, required: Kebab-case operation name
  - `operationId` string, required: op_-prefixed ULID for audit and SSE correlation
  - `status` 'completed' | 'pending' | 'failed', required: Operation lifecycle state
  - `result` BlockedSourceGraphResponse: One blocked source graph.
    - `id` string, required: Block row identifier (ULID).
    - `source_graph_id` string, required: The blocked sender's graph ID.
    - `source_graph_name` string, nullable: Display name of the blocked graph (if known).
    - `blocked_by` string, required: User ID that created the block.
    - `blocked_at` string, date-time, required: When the block was created.
    - `reason` string, nullable: Recipient's own note, if given.
  - `at` string, required: ISO-8601 UTC timestamp
  - `createdBy` string, nullable: User ID that initiated the operation
  - `idempotentReplay` boolean: True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.

## Other responses

- `400`: Invalid request
- `401`: Authentication required
- `403`: Access denied
- `404`: Resource not found
- `409`: Idempotency-Key conflict — key reused with different body
- `422`: Validation error
- `429`: Rate limit exceeded
- `500`: Internal server error

---

[API](https://skmtc.dev/robosystems/apis/robosystems-api.md) · [All operations](https://skmtc.dev/robosystems/apis/robosystems-api/llms.txt) · [OpenAPI document](https://skmtc.dev/robosystems/apis/robosystems-api/revisions/e661e2d5ca6a?raw)
