GetAssetDetails
Retrieve comprehensive details for a specific asset by its SHA-1 hash, including how it was made. Answers 'which prompt, model and workflow produced this?' directly — no download needed: prompts.positive/prompts.negative hold the prompt, models[] lists every model the workflow loaded (name, type such as checkpoint/unet/lora/vae, loader node_id), workflow.workflow_json is the full ComfyUI graph (with workflow.tool_name, node_count, custom_nodes), and generation_parameters holds sampler settings (model_name, seed, steps, cfg_scale, sampler, scheduler) when they were read from a standard KSampler node, else null (the graph still has them). provenance.lineage_source says where that lineage came from: 'extracted' (read by Numonic from the stored file; prompts.source/workflow.source are then 'extracted'), 'client_asserted' (only the uploader's claim), or 'unknown' (nothing asserted or found). provenance.asserted_parameters holds the uploader's own claim about the generator, model and settings (StoreAsset prompt_metadata.parameters_used, e.g. {generator: 'fal', model: 'fal-ai/flux/schnell'}), or null; it is client-asserted and never merged into generation_parameters. Also returns title, description, tags, collections, provenance (creation prompt, parent assets), embedding info and copyright. For Model Library records of those models (base model, trigger words, usage) call GetAssetModels. Optionally generates a short download link for the original file (valid 5 minutes; fetch it with a tool such as curl or fetch rather than retyping it), and optionally returns a small inline preview image (include_image) so the asset can be seen without fetching a URL. For a URL that does not expire, approve the asset and call PublishAsset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_h | Yes | The Asset Hash (SHA-1) of the asset to retrieve | |
| tenant_id | No | Optional: UUID of the tenant. Omit it: the server uses the tenant your credential (OAuth connection or API key) is bound to. A tenant_id that differs from the credential's tenant is rejected. | |
| include_image | No | If true, also returns a small preview of the asset as an MCP image content block (JPEG/WebP ingest thumbnail, no embedded metadata, max 200 KB), for clients that cannot fetch URLs. preview_image in the result reports whether it was included. Defaults to false. | |
| include_download_url | No | If true, includes a download link for the original asset binary, valid 5 minutes. Fetch it with a tool (curl, fetch) rather than retyping it; a mistyped or expired link returns an error saying to request a new one. Defaults to false. | |
| include_raw_metadata | No | If true, also returns the raw extractor output (extracted_metadata) and the node-by-node workflow_graph. These can be tens of kilobytes; the default response already carries prompts, models and workflow.workflow_json. Defaults to false. |