Skip to content
GitmoapAPIBeta
Integrateprovider-connections
GET/groups/{group_id}/provider-connections

List a group's provider connections

list_group_connections
  • provider_connection:read
    A token needs the provider_connection:read scope: View provider connectionsGranted by read_api, write_api.Every operation this scope unlocks
  • Single-resource

    x-gitmoap-isolation: {"kind":"single_or_self_scoped"}

  • Paginated
    Pass the next_token a page returns to get the next one.

Only the connections defined here, not those inherited from groups above. Credential values are never returned, only references to where they are kept. Paginated with limit (20 by default, at most 100) and next_token. Reporters and above, as members of the group: a public group does not make its connections readable.

Parameters

Path
  • group_idGroupId (string · uuid)Group id
Query
  • limitinteger · int32optionalPage size (1-100, default 20)
  • next_tokenstringoptionalOpaque pagination cursor

Responses

200application/json
  • itemsarray of ProviderConnectionResponse
    • The ProviderConnectionResponse schema
    • auth_modeConnectionAuthModestatic_credentialsoidc_federationHow this connection authenticates.
    • created_atstring
    • created_byActorSummary
    • idConnectionId (string · uuid)
    • nameProviderConnectionName (string)
    • provider_idProviderId (string)
    • scope_idstring
    • scope_typeScopeTypegrouprepository
    • secret_refsobjectThe names of the stored credential fields, each with a reference to where it is stored. Never the values. Empty for an oidc_federation connection.
    • config_overridesobjectoptional
    • federation_targetOidcFederationTarget or nulloptionalThe cloud role the connection assumes. Present only when auth_mode is oidc_federation.
      • The OidcFederationTarget schema
      • cloudaws
      • role_arnRoleArn (string)The IAM role the pipeline assumes.
      • audiencestring or nulloptionalThe audience of the identity token. Defaults to sts.amazonaws.com.
      • regionAwsRegion (string) or nulloptionalThe AWS region for the provider's calls.
    • last_rotated_atstring or nulloptional
  • next_tokenstring or nulloptional
200 exampleSynthesized example
{
"items": [
{
"auth_mode": "static_credentials",
"created_at": "2026-10-17T08:14:06Z",
"created_by": {
"email": "lin@acme.example",
"id": "id-84a5",
"username": "tomas"
},
"id": "7e3c24ee-39d1-4d03-a719-f2f1659bd18c",
"name": "payments-api",
"provider_id": "cafdf781-9e32-4f67-b8fa-c961d673e7ac",
"scope_id": "77b33d5d-ea9d-4725-aaf2-f71064e93e7a",
"scope_type": "group",
"secret_refs": {
"secret_refs": "secret-refs-9aa8"
}
},
{
"auth_mode": "static_credentials",
"created_at": "2026-10-10T04:22:22Z",
"created_by": {
"email": "lin@acme.example",
"id": "id-93af",
"username": "tomas"
},
"id": "4b9aa4e8-bbf4-463b-a752-fc0a15abe274",
"name": "payments-api",
"provider_id": "55d403a3-647a-498c-9167-d13301aa561d",
"scope_id": "c27e2942-3b6f-43a7-9d14-2b8472bbd3b6",
"scope_type": "group",
"secret_refs": {
"secret_refs": "secret-refs-bc9c"
}
}
],
"next_token": "next-token-b714"
}
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 reason or code.
    • fieldstring or nulloptionalOn a 400 that 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 on code otherwise.
    • required_scopestring or nulloptionalThe scope the access token was missing, on INSUFFICIENT_SCOPE.
    • violationsanyoptionalPresent on the structured-validation errors (PROVIDER_VALIDATION_FAILED per-node, PIPELINE_VALIDATION_FAILED DAG): 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-b65d",
"message": "Draw the region map from operation density"
}
}
401application/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 reason or code.
    • fieldstring or nulloptionalOn a 400 that 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 on code otherwise.
    • required_scopestring or nulloptionalThe scope the access token was missing, on INSUFFICIENT_SCOPE.
    • violationsanyoptionalPresent on the structured-validation errors (PROVIDER_VALIDATION_FAILED per-node, PIPELINE_VALIDATION_FAILED DAG): 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-aa6b",
"message": "Pin a page's payload to the build that rendered it"
}
}
403application/json
Error codes
  • FORBIDDENYou are signed in but may not do this here; reason names the permission or the rule that refused it
  • INSUFFICIENT_SCOPEThe access token lacks the scope this operation needs; required_scope names 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 reason or code.
    • fieldstring or nulloptionalOn a 400 that 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 on code otherwise.
    • required_scopestring or nulloptionalThe scope the access token was missing, on INSUFFICIENT_SCOPE.
    • violationsanyoptionalPresent on the structured-validation errors (PROVIDER_VALIDATION_FAILED per-node, PIPELINE_VALIDATION_FAILED DAG): 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-b31f",
"message": "Stream pipeline status into the run header"
}
}
404application/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 reason or code.
    • fieldstring or nulloptionalOn a 400 that 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 on code otherwise.
    • required_scopestring or nulloptionalThe scope the access token was missing, on INSUFFICIENT_SCOPE.
    • violationsanyoptionalPresent on the structured-validation errors (PROVIDER_VALIDATION_FAILED per-node, PIPELINE_VALIDATION_FAILED DAG): 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-e757",
"message": "Draw the region map from operation density"
}
}

CLI

gitmoap provider-connections list-group-connections

  • --group-ididGroup id (id or group path)
  • --limitnumberoptionalPage size (1-100, default 20)
  • --next-tokenstringoptionalOpaque pagination cursor

Used in these guides