Generate Trait Values Endpoint
Changed onGenerate 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;
Request
- Base URLhttps://api.getbluejay.ai
- URLhttps://api.getbluejay.ai/v1/generate-trait-values
- AuthHTTPBearer (a scheme the document does not define)
Headers
API key required to authenticate requests.
Request body
Response
Successful Response
Changes
- info
added the new optional
headerrequest parameterX-Organization-Id
- info