Skip to main content

Create Term

POST 

/agents/:agent_id/terms

deprecated

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

[DEPRECATED] Creates a new term in the agent's glossary.

This endpoint uses the deprecated agent_id approach instead of tags. Consider using the new tag-based endpoints instead.

This endpoint will be removed in a future release.

The term will be initialized with the provided name and description, and optional synonyms. The term will be associated with the specified agent. A unique identifier will be automatically generated.

Default behaviors:

  • synonyms defaults to an empty list if not provided

Request

Responses

Term successfully created. Returns the complete term object including generated ID