v3

OpenAPI 3.1.02026-07-31350397683.8 KB
Customer Traits

Get Customer Trait

Get a specific customer trait by ID.

Args: trait_id: UUID of the customer trait request: FastAPI request object auth: Authentication credentials

Returns: CustomerTraitResponse with the trait details

get/v1/customer-trait/{trait_id}

Path parameters

trait_idstring uuid required

Headers

X-API-Keystring required

API key required to authenticate requests.

Response

Successful Response

idstring required

Unique identifier for the customer trait

agent_idinteger required

ID of the agent this trait belongs to

namestring required

Name of the trait

data_type'BOOLEAN' | 'STRING' | 'DATE' | 'NUMBER' required

Enum for trait data types.

{"stackTrail":"components:schemas:CustomerTraitResponse:properties:default_value:anyOf","oasType":"schema","type":"unknown","title":"Default Value","description":"Default value for this trait (stored as JSONB)","nullable":true}
created_atstring date-time required

When the trait was created