Recipes

ModelParseMetadata

Changed on

Extracts the embedded JSON metadata header from a safetensors model file.

post/v2/consumer/recipes/modelParseMetadata

Request

  • The document declares no server URL.
  • Auth: none required

Query parameters

experimentalboolean
allowMatureContentboolean
whatifboolean
ephemeralboolean
tier'paid' | 'free'

How a workflow is paid for.

Request body

modelstring required

Response

OK

metadatastring nullable

The safetensors header's __metadata__ object as a JSON string; null when the model is not safetensors, the header could not be parsed, or there is no __metadata__.

Changes