Context Management

Assign a context group

Changed on

Assigns the group to the project at the lowest priority (201). If it's already assigned, nothing changes (200), and repeating it never moves a group that was reordered. Requires org:context:write.

put/v2/projects/{projectId}/context-groups/{groupId}

Request

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

Path parameters

projectIdstring required

Project ID.

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.

Response

Already assigned

committedtrue required
createdboolean required

False when the group was already assigned; nothing changed.

Changes