> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sia.vision/llms.txt
> Use this file to discover all available pages before exploring further.

# Recover the original reference upload

> reference_image_upload_get: permissions and generated input/output contracts.

`reference_image_upload_get` · Gateway release **0.8.3**

Read this client’s original upload intent and authoritative saved-Media receipt after a transfer or lost response. Requires the originating active connection and current Storyworld edit permission, using the uploader’s studio:write scope. Never generates, dispatches or creates a replacement. A completed receipt is authoritative; dispatching or needs\_reconciliation means keep this operation and do not upload under a new ID.

Required scopes: `account:read`, `studio:write`. Read-only.

Availability depends on runtime configuration and the permissions granted to this connection. Use live MCP discovery as the authority.

## Input

```json theme={null}
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "storyworldId": {
      "type": "string",
      "pattern": "^[a-fA-F0-9]{24}$",
      "description": "ID of an accessible saved Storyworld returned by discovery. Keep this destination fixed for the operation."
    },
    "operationId": {
      "type": "string",
      "pattern": "^[a-zA-Z0-9-]{16,64}$",
      "description": "Persist a client-generated UUID before this mutation. Repeat identical inputs and this same ID after interruption; a new ID is a new request."
    }
  },
  "required": [
    "storyworldId",
    "operationId"
  ]
}
```

## Declared output

This is the declared success schema. Error results and binary media blocks are separate MCP protocol results.

```json theme={null}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "schemaVersion": {
      "type": "string",
      "const": "1"
    },
    "intentId": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "manifestHash": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "storyworldId": {
      "type": "string",
      "pattern": "^[a-f0-9]{24}$"
    },
    "operationId": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "awaiting_bytes",
        "retryable",
        "dispatching",
        "needs_reconciliation",
        "completed"
      ]
    },
    "manifest": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "required": [
    "schemaVersion",
    "intentId",
    "manifestHash",
    "storyworldId",
    "operationId",
    "status",
    "manifest"
  ],
  "additionalProperties": {}
}
```

[All tools](https://docs.sia.vision/mcp-reference.md) · [Permissions](https://docs.sia.vision/authentication.md) · [Media and recovery](https://docs.sia.vision/media-and-recovery.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.