Planissue-blueprints
GET/groups/{group_id}/issue-blueprints/{blueprint_id}
Get one of a group's custom types
get_group_blueprint
issue_blueprint:read
A token needs theissue_blueprint:readscope: Read a scope's custom work-item types (blueprints)Granted byread_api,read_repository,write_api,write_repository.Every operation this scope unlocks
Returns a custom type the group itself defines, with its base type, facets and version; a type inherited from a group further up is read from that group. Anyone who can see the group's work items may read it — on a public group, without signing in.
Parameters
Path
- group_idGroupId (string · uuid)Group ID
- blueprint_idBlueprintId (string)Blueprint id (slug)
Responses
200The blueprintapplication/json
- base_typeWorkItemTypeepicstorybugtaskspikechoreincidentsub_taskThe built-in type the custom type is based on, which decides where its items may live, their children and their fields. "API Feature" might be a
storywith a blueprint on top. - blueprint_idBlueprintId (string)The blueprint's slug, unique within its group or repository. It never changes.
- created_atstring
created_byActorSummaryWho created the blueprint, as they were when they created it.
- The ActorSummary schema
- emailstring
- idstring
- usernamestring
- avatar_urlstring or nulloptional
- namestringThe custom type's display name, such as "API Feature".
- scope_idstring
- scope_typeScopeTypegrouprepository
- updated_atstring
- archivedbooleanoptionalHidden from the type picker; items already filed keep their
type_profile. - descriptionstring or nulloptional
facetsarray of FacetTemplateoptionalThe blueprint's facets, in order.
- The FacetTemplate schema
- categoryFacetCategory (string)The facet's category — any value you choose. Facets with the same category are grouped together.
- keyFacetKey (string)The facet's identifier within the blueprint. It stays the same when the label changes, so a work item re-applying the blueprint updates the facet in place.
- labelstringThe facet's display name, such as "Observability".
- bindingFacetBindingTemplateoptionalHow the seeded criterion is bound. Defaults to a manual checkbox.
- hintstring or nulloptionalThe starter criterion's text. When absent the criterion is titled by the facet
label. - requiredbooleanoptionalWhether the facet's criterion must be satisfied before the work item can be closed or verified. Defaults to
true.
- versioninteger · int64optional0–∞The blueprint's revision, incremented on every change. An update must send the version it read, and is refused with a
409if the blueprint changed since.
200 exampleSynthesized example
{
"base_type": "epic",
"blueprint_id": "51824153-153f-4afb-a50f-9faa0a1523d0",
"created_at": "2026-10-12T06:40:45Z",
"created_by": {
"email": "lin@acme.example",
"id": "id-da70",
"username": "mara",
"avatar_url": "https://gitmoap.example/acme/c265f1f3"
},
"name": "payments-api",
"scope_id": "c8d18534-6a78-412a-805f-5324c093bd96",
"scope_type": "group",
"updated_at": "2026-10-12T15:59:00Z",
"archived": false,
"description": "Renders each region as density contours of its operations.",
"facets": [
{
"category": "category-fdf4",
"key": "key-dc9b",
"label": "label-968a"
},
{
"category": "category-18b2",
"key": "key-bbd1",
"label": "label-c621"
}
],
"version": 76
}
400Bad request — a path parameter is not a well-formed value of its typeapplication/json
Error codes
- BAD_REQUESTThe request is malformed: a parameter or a body field is not a well-formed value of its type
errorErrorBody
- The ErrorBody schema
- codestringThe coarse category, tied to the status:
NOT_FOUND,CONFLICT,INSUFFICIENT_SCOPE. Every error has one; the API reference's error catalogue lists them all. - messagestringWhat went wrong, for a person. Written to be read, not parsed: match on
reasonorcode. - fieldstring or nulloptionalOn a
400that refused one field's value, the field, as its JSON path:email,items[0].name. Put the message under that input. Absent on every other error. - reasonstring or nulloptionalThe specific code, when the error has one:
LAST_ORGANIZATION_OWNER,BRANCH_PROTECTED. The message starts with it too. Match on this when it is present, and oncodeotherwise. - required_scopestring or nulloptionalThe scope the access token was missing, on
INSUFFICIENT_SCOPE. - violationsanyoptionalPresent on the structured-validation errors (
PROVIDER_VALIDATION_FAILEDper-node,PIPELINE_VALIDATION_FAILEDDAG): a JSON array of the offending elements, so a caller can fix every one in a single round-trip. Absent (omitted) on every other error.
400 exampleSynthesized example
{
"error": {
"code": "code-5af7",
"message": "Pin a page's payload to the build that rendered it"
}
}
401Unauthenticated — no credential, or an invalid oneapplication/json
Error codes
- UNAUTHORIZEDNo credential was sent, or the one sent is invalid, expired or revoked
errorErrorBody
- The ErrorBody schema
- codestringThe coarse category, tied to the status:
NOT_FOUND,CONFLICT,INSUFFICIENT_SCOPE. Every error has one; the API reference's error catalogue lists them all. - messagestringWhat went wrong, for a person. Written to be read, not parsed: match on
reasonorcode. - fieldstring or nulloptionalOn a
400that refused one field's value, the field, as its JSON path:email,items[0].name. Put the message under that input. Absent on every other error. - reasonstring or nulloptionalThe specific code, when the error has one:
LAST_ORGANIZATION_OWNER,BRANCH_PROTECTED. The message starts with it too. Match on this when it is present, and oncodeotherwise. - required_scopestring or nulloptionalThe scope the access token was missing, on
INSUFFICIENT_SCOPE. - violationsanyoptionalPresent on the structured-validation errors (
PROVIDER_VALIDATION_FAILEDper-node,PIPELINE_VALIDATION_FAILEDDAG): a JSON array of the offending elements, so a caller can fix every one in a single round-trip. Absent (omitted) on every other error.
401 exampleSynthesized example
{
"error": {
"code": "code-a85c",
"message": "Draw the region map from operation density"
}
}
403Forbidden — the caller's access level or token scope is insufficientapplication/json
Error codes
- FORBIDDENYou are signed in but may not do this here;
reasonnames the permission or the rule that refused it - INSUFFICIENT_SCOPEThe access token lacks the scope this operation needs;
required_scopenames it - PERMISSION_REQUIREDYou need a permission you do not hold here; the message names it
errorErrorBody
- The ErrorBody schema
- codestringThe coarse category, tied to the status:
NOT_FOUND,CONFLICT,INSUFFICIENT_SCOPE. Every error has one; the API reference's error catalogue lists them all. - messagestringWhat went wrong, for a person. Written to be read, not parsed: match on
reasonorcode. - fieldstring or nulloptionalOn a
400that refused one field's value, the field, as its JSON path:email,items[0].name. Put the message under that input. Absent on every other error. - reasonstring or nulloptionalThe specific code, when the error has one:
LAST_ORGANIZATION_OWNER,BRANCH_PROTECTED. The message starts with it too. Match on this when it is present, and oncodeotherwise. - required_scopestring or nulloptionalThe scope the access token was missing, on
INSUFFICIENT_SCOPE. - violationsanyoptionalPresent on the structured-validation errors (
PROVIDER_VALIDATION_FAILEDper-node,PIPELINE_VALIDATION_FAILEDDAG): a JSON array of the offending elements, so a caller can fix every one in a single round-trip. Absent (omitted) on every other error.
403 exampleSynthesized example
{
"error": {
"code": "code-d51a",
"message": "Label every synthesized example"
}
}
404Blueprint not foundapplication/json
Error codes
- NOT_FOUNDThe resource does not exist — or exists and you cannot see it: a private resource you have no access to answers exactly as an absent one does
errorErrorBody
- The ErrorBody schema
- codestringThe coarse category, tied to the status:
NOT_FOUND,CONFLICT,INSUFFICIENT_SCOPE. Every error has one; the API reference's error catalogue lists them all. - messagestringWhat went wrong, for a person. Written to be read, not parsed: match on
reasonorcode. - fieldstring or nulloptionalOn a
400that refused one field's value, the field, as its JSON path:email,items[0].name. Put the message under that input. Absent on every other error. - reasonstring or nulloptionalThe specific code, when the error has one:
LAST_ORGANIZATION_OWNER,BRANCH_PROTECTED. The message starts with it too. Match on this when it is present, and oncodeotherwise. - required_scopestring or nulloptionalThe scope the access token was missing, on
INSUFFICIENT_SCOPE. - violationsanyoptionalPresent on the structured-validation errors (
PROVIDER_VALIDATION_FAILEDper-node,PIPELINE_VALIDATION_FAILEDDAG): a JSON array of the offending elements, so a caller can fix every one in a single round-trip. Absent (omitted) on every other error.
404 exampleSynthesized example
{
"error": {
"code": "code-ff9b",
"message": "Label every synthesized example"
}
}
CLI
gitmoap issue-blueprints get-group-blueprint
- --group-ididGroup ID (id or group path)
- --blueprint-ididBlueprint id (slug)