Skip to main content
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.
Required Parameters: Returns: Dict with success status and updated metadata:
  • success: Boolean indicating if the operation succeeded
  • batch_id: The batch identifier
  • metadata: Complete metadata dictionary after merge
Raises:
  • 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.