Constraints
When working with metadata, these restrictions apply:- Limited entries: You can specify up to 10 entries
- Key format: Keys must match
^[A-Za-z0-9._-]{1,40}$
(1-40 characters: letters, numbers, dots, underscores, hyphens) - Value format: Values must be strings with a maximum length of 250 characters
- Flat structure: Metadata must be a flat object. Nested objects and arrays are not supported
- No indexing: Metadata is stored as-is and cannot be used for searching or filtering in queries
Implementation
Include metadata as a JSON object in your API requests:Don’t store sensitive information like personally identifiable information (PII) or secrets as metadata.