Skip to main content

Get a fragment set by version

POST 

/api/v1/prompt-fragments/get-set

Returns every fragment as it existed at a given fragment-set version, ordered by fragment_id.

Fragments are versioned as a set, not individually: any fragment write bumps one project-wide set_version, which prompt-fragments/list reports. Recording that number alongside a turn lets you reconstruct the exact prompt text later.

Request

Responses

Fragments at that set version