Skip to main content
GET
Load a stored resource by id, optionally rendering it

Authorizations

x-api-key
string
header
required

Query Parameters

resource_id
string
required

The id (path) of the stored resource to load.

Minimum string length: 1

Response

Success.

data
required

The loaded resource body of get_resource_by_id (both the GET fetch and the POST render route): the resource text, OR a media block. The fastmcp media members (Image/Audio/File) are not pydantic-v2 JSON-schema-able, so the media arm is described as its serialized JSON value (JsonValue) rather than a media model.