Context Management
List custom prompts
Changed onLists prompts by ID. A null locale means the prompt applies to every locale. Requires org:context:read. Omit cursor for the first page. When the response's nextCursor is a string, pass it as cursor to fetch the next page; when it is null, there are no more results.
get/v2/context-groups/{groupId}/custom-prompts
Request
- Base URL: https://api.gtx.dev
- URL: https://api.gtx.dev/v2/context-groups/{groupId}/custom-prompts
- Auth: one of:
- HTTP bearer
- HTTP bearer
Path parameters
groupIdstring required
Context group ID.
Query parameters
cursorstring
The nextCursor from the previous page. Omit for the first page.
limitinteger
Maximum number of items to return, 1–100. Defaults to 50.
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
Page of custom prompts
Changes
- info
endpoint added
- info