Skip to main content
See Customer tags for what they do in the dashboard.

Set customer tags

Output:
Input params:
array of customer objects
required
The per-customer tag updates, described below. Up to 1,000 per call.
boolean
default:"false"
If a (customer, key) pair already exists, overwrite it instead of throwing an error.
Each object inside customers accepts:
string
required
The same identifier you stamp on your LLM calls when propagating metadata, so tags land on the same customer.
object (string values, or null)
required
A string value sets the tag; null deletes it. Only the keys you post change, existing tags not included are left untouched.

Get customer tags

Output:
Input params:
list[string]
Specify the names of the customers whose tags should be fetched. Not setting it means “all customers”.
integer
default:"100"
Numbers of customers to fetch. Max 1000.
string
The route is paginated: pass the previous page’s next_cursor to fetch the next page. PS: has_more from the output says whether another page exists.

Delete customer tags

Output:
Input params: passed in the query string.
list[string]
required
Delete every tag of these customers. The customer records themselves are kept.