v3
OpenAPI 3.1.02026-07-31350397683.8 KBCustomer Traits
Generate Trait Values Endpoint
Generate trait values for each scenario for a single trait.
Request: - scenarios: list of scenario descriptions (intents), one per scenario - traits: exactly one trait (name + data_type)
Response: - dict mapping scenario index -> list of trait dicts - each trait dict has: { "name": <trait_name>, # same as the input trait name "data_type": <data_type>, # normalized data type string "value": <generated_value>, # value for that scenario + trait }
Frontend mapping: - for scenario index i: const traitsForScenario = res[i]; // array of trait dicts const value = traitsForScenario.find(t => t.name === traitName)?.value;
post/v1/generate-trait-values
Headers
X-API-Keystring required
API key required to authenticate requests.
Request body
Response
Successful Response
object required