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

Authorizations

x-api-key
string
header
required

Body

application/json

Load a stored resource by resource_id, optionally rendering it.

When template_kwargs is omitted the loaded content is returned as-is (a template/text resource as its text, a document as extracted text, media as a MediaBlock). When provided (any object, including {}) the caller intends a render: text is rendered as a Jinja template with these variables; media cannot be rendered and is refused with a 400.

resource_id
string
required
template_kwargs
Template Kwargs · object | null

Response

Success.

data
any
required