Send labels
SetX-Phaseo-Metadata to a JSON object containing up to 32 unique key/value labels:
Slice spend
Use the analytics endpoint with bothlabel_key and label_value:
Contract
- Keys use letters, numbers,
_,.,:, or-and are limited to 64 characters. - Values are strings limited to 256 characters.
- A request may contain up to 32 labels and the header is limited to 8 KiB.
- Duplicate keys or malformed metadata are rejected with
400 invalid_request. - Do not put prompts, secrets, email addresses, or other personal data in labels.