Planissue-blueprints
GET/repositories/{repo_id}/issue-blueprints
List a repository's available custom types
list_repo_blueprints
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 unlocksSingle-resource
x-gitmoap-isolation: {"kind":"single_or_self_scoped"}
Returns the custom types the repository defines, ordered by id. With include=inherited it adds
those its parent groups define, nearest group first, and a type defined nearer the repository
hides one with the same id further up; each type says whether it is inherited. Anyone who can
see the repository's work items may list them — on a public repository, without signing in.
Parameters
Path
- repo_idRepositoryId (string · uuid)Repository ID
Query
- includestringoptionalSet to
inheritedto include ancestor-group blueprints
Responses
200The available custom types: the repository's own first, then inherited onesapplication/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
- inheritedboolean
truewhen the blueprint is defined on an ancestor group rather than on the queried scope. - 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": "3ffd404f-909a-44fb-a9f9-969b68acb282",
"created_at": "2026-10-11T00:59:37Z",
"created_by": {
"email": "mara@acme.example",
"id": "id-ed12",
"username": "lin"
},
"inherited": false,
"name": "payments-api",
"scope_id": "87e8f42a-3923-4e4d-8c97-1637032c29ee",
"scope_type": "group",
"updated_at": "2026-10-11T14:17:53Z"
},
{
"base_type": "epic",
"blueprint_id": "6e617798-405c-4df1-9148-a92923c5434d",
"created_at": "2026-10-08T13:17:55Z",
"created_by": {
"email": "lin@acme.example",
"id": "id-8271",
"username": "lin"
},
"inherited": false,
"name": "payments-api",
"scope_id": "4b23aad7-56b8-4142-afab-598affe95433",
"scope_type": "group",
"updated_at": "2026-10-14T04:53:30Z"
}
]
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-1b90",
"message": "Stream pipeline status into the run header"
}
}
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-6255",
"message": "Label every synthesized example"
}
}
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-a839",
"message": "Draw the region map from operation density"
}
}
404Repository 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-d09e",
"message": "Inline scalar newtypes but keep their brand"
}
}
CLI
gitmoap issue-blueprints list-repo-blueprints
- --repo-ididRepository ID (id or owner/repo path)
- --includestringoptionalSet to `inherited` to include ancestor-group blueprints