# General Translation Context Management API

**Canonical:** https://apis.io/apis/general-translation/general-translation-context-management-api/  
**Provider:** General Translation — https://apis.io/providers/general-translation/  
**Base URL:** https://api2.gtx.dev  
**Documentation:** https://generaltranslation.com/en-US/docs/api

General Translation Context Management API is one of 5 APIs that [General Translation](https://apis.io/providers/general-translation/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Context Management. The published artifact set on APIs.io includes an OpenAPI specification.

Manage context groups, glossary terms, custom prompts, and project assignments.

## Operations (24)

| Method | Path | Summary |
|---|---|---|
| GET | `/v2/projects/{projectId}/context-groups` | List project context groups |
| GET | `/v2/projects/{projectId}/context-groups/{groupId}` | Get a project context group |
| PUT | `/v2/projects/{projectId}/context-groups/{groupId}` | Assign a context group |
| DELETE | `/v2/projects/{projectId}/context-groups/{groupId}` | Unassign a context group |
| PATCH | `/v2/projects/{projectId}/context-groups/{groupId}` | Reorder a context group |
| GET | `/v2/orgs/{orgId}/context-groups` | List context groups |
| POST | `/v2/orgs/{orgId}/context-groups` | Create a context group |
| GET | `/v2/context-groups/{groupId}` | Get a context group |
| PATCH | `/v2/context-groups/{groupId}` | Update a context group |
| DELETE | `/v2/context-groups/{groupId}` | Delete a context group |
| GET | `/v2/context-groups/{groupId}/glossary` | List glossary terms |
| POST | `/v2/context-groups/{groupId}/glossary` | Upsert glossary terms |
| GET | `/v2/context-groups/{groupId}/glossary/{entryId}` | Get a glossary term |
| PATCH | `/v2/context-groups/{groupId}/glossary/{entryId}` | Update a glossary term |
| DELETE | `/v2/context-groups/{groupId}/glossary/{entryId}` | Delete a glossary term |
| GET | `/v2/context-groups/{groupId}/glossary/{entryId}/translations` | List term translations |
| PUT | `/v2/context-groups/{groupId}/glossary/{entryId}/translations/{locale}` | Set a term translation |
| DELETE | `/v2/context-groups/{groupId}/glossary/{entryId}/translations/{locale}` | Delete a term translation |
| GET | `/v2/context-groups/{groupId}/custom-prompts` | List custom prompts |
| POST | `/v2/context-groups/{groupId}/custom-prompts` | Upsert custom prompts |
| PATCH | `/v2/context-groups/{groupId}/custom-prompts/{customPromptId}` | Update a custom prompt |
| DELETE | `/v2/context-groups/{groupId}/custom-prompts/{customPromptId}` | Delete a custom prompt |
| POST | `/v2/context-groups/{groupId}/import` | Import context content |
| GET | `/v2/context-groups/{groupId}/export` | Export context content |

## Machine-readable artifacts (1)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/general-translation/refs/heads/main/openapi/general-translation-context-management-api-openapi.yml

## Other General Translation APIs (4)

- [General Translation Context API](https://apis.io/apis/general-translation/general-translation-context-api/)
- [General Translation Files API](https://apis.io/apis/general-translation/general-translation-files-api/)
- [General Translation Project API](https://apis.io/apis/general-translation/general-translation-project-api/)
- [General Translation API](https://apis.io/apis/general-translation/general-translation-translation-api/)

## Tags

Context Management

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/general-translation/general-translation-context-management-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/general-translation/.
