OrgPerson
A person or service account with access somewhere in the organization.
Shape
- grant_countinteger · int64How many grants name them directly, anywhere in the organization.
- joined_atstring · date-timeWhen they were first given access here.
- kindOrgPersonKindmemberoutside_collaboratorHow someone belongs to an organization.
principalPrincipalSummary
- The PrincipalSummary schema
- idPrincipalId (string · uuid)
- kindPrincipalKinduserservice_accountagentA person, a service account or an AI organization's agent.
- usernamestring
- avatar_urlstring or nulloptional
teamsarray of TeamSummaryThe organization's teams they are on.
- The TeamSummary schema
- hiddenboolean
- idTeamId (string · uuid)
- member_countinteger · int64 or nulloptional
- namestring or nulloptional
- slugstring or nulloptional
- last_exercised_atstring · date-time or nulloptionalWhen any of their access here last let them do something, to the day.
root_roleRoleView or nulloptionalTheir role at the top-level group, when a grant there names them directly.
- The RoleView schema
- namestringThe role's display name: a built-in name such as
Developer, or the custom role's name. - rankAccessLevelguestreporterdevelopermaintainerownerThe built-in rank the role counts as wherever a rank is compared, such as a protected branch's minimum.
- builtinAccessLevelguestreporterdevelopermaintainerowneror nulloptionalSet when the role is built in.
- customRoleId (string · uuid) or nulloptionalSet when the role is one the organization defined.
Example
Synthesized example{
"grant_count": 1,
"joined_at": "2026-10-09T13:10:11Z",
"kind": "member",
"principal": {
"id": "4425e6fe-4c82-4df2-ac47-3e092b802c55",
"kind": "user",
"username": "tomas",
"avatar_url": "https://gitmoap.example/acme/9c5325af"
},
"teams": [
{
"hidden": false,
"id": "81ce137b-9585-42be-a06c-fc38ac6e7384"
}
],
"last_exercised_at": "2026-10-11T19:36:58Z",
"root_role": {
"name": "payments-api",
"rank": "guest",
"builtin": "guest",
"custom": "278992ac-e173-4f2e-8475-949d3501223a"
}
}
Graph
Used inside
Used by
Sent by 0 operations
No operation takes it as a request body.
Returned by 1 operation