Add or update custom metadata for a batch analysis. Metadata is stored as key-value pairs and can be used to track experiments, versions, or any custom information about your batch runs.Documentation Index
Fetch the complete documentation index at: https://docs.nomadicml.com/llms.txt
Use this file to discover all available pages before exploring further.
| Parameter | Type | Description |
|---|---|---|
batch_id | str | ID of the batch to update (required) |
metadata | Dict[str, Union[str, int]] | Dictionary with string keys and string/int values (non-nested) |
success: Boolean indicating if the operation succeededbatch_id: The batch identifiermetadata: Complete metadata dictionary after merge
ValidationError: If metadata format is invalid (e.g., nested objects, non-string keys, invalid value types)NomadicMLError: If batch is not found or you don’t have permission to modify it
Only the batch owner can add or update metadata. New metadata keys will be merged with existing metadata, with new values overwriting any existing keys with the same name.Metadata values must be strings or integers only - nested objects, arrays, booleans, or null values are not supported.