Skip to main content

Create Variable

POST 

/agents/:agent_id/context-variables

deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

[DEPRECATED] Creates a new context variable for tracking customer-specific or tag-specific data.

This endpoint is deprecated. Please use the tag-based context variables API instead.

Example uses:

  • Track subscription tiers to control feature access
  • Store usage patterns for personalized recommendations
  • Remember customer preferences for tailored responses

Request

Responses

Context variable type successfully created