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
- 201
- 404
- 422
Context variable type successfully created
Agent or tool not found
Validation error in request parameters