Context Management

Upsert glossary terms

Changed on

Creates or updates 1–100 terms ({ entries: [...] }; send one term as a one-item array), matched by keyword, in one atomic batch. An absent field keeps its stored value. null clears a nullable field or removes a map entry; other fields reject null. In batches and imports, items match stored items by natural key, stored items absent from the batch are untouched, and nothing else is deleted. A blank CSV cell counts as absent. Repeating a keyword within one batch rejects the whole batch (400). Requires org:context:write.

post/v2/context-groups/{groupId}/glossary

Request

  • Base URL: https://api.gtx.dev
  • URL: https://api.gtx.dev/v2/context-groups/{groupId}/glossary
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

groupIdstring required

Context group ID.

Headers

gt-api-version'2025-01-01.v0' | '2025-11-03.v1' | '2026-02-18.v1' | '2026-03-06.v1'

API contract version. Defaults to the oldest supported version.

Request body

Response

Glossary terms written

committedtrue required

Changes