The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: Collaborators
3url: https://platform.claude.com/docs/en/api/compliance/apps/projects/collaborators
4---
5
16# Collaborators
27
38## List project collaborators
from line 36
3136
3237### Headers
3338
39- `"anthropic-version": optional string`
40
41 The version of the Claude API you want to use.
42
43 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
44
3445- `"x-api-key": optional string`
3546
3647### Returns
from line 54
4354
4455 An individual user granted a role on a project.
4556
57 - `type: "user"`
58
59 Discriminator marking this as an individual user collaborator
60
61 default: user
62
4663 - `granted_at: string`
4764
4865 When this collaborator was granted access (RFC 3339 format)
from line 78
6178
6279 - `"viewer"`
6380
64 - `type: "user"`
65
66 Discriminator marking this as an individual user collaborator
67
68 default: user
69
7081 - `user_id: string or null`
7182
7283 Identifier of the user granted access (tagged ID), or null if their account has since been deleted
from line 86
7586
7687 An RBAC group granted a role on a project.
7788
89 - `type: "group"`
90
91 Discriminator marking this as a group collaborator
92
93 default: group
94
7895 - `granted_at: string`
7996
8097 When this collaborator was granted access (RFC 3339 format)
from line 114
97114
98115 - `"viewer"`
99116
100 - `type: "group"`
117 - `ComplianceProjectOrganizationCollaborator object`
101118
102 Discriminator marking this as a group collaborator
119 An entire organization granted a role on a project.
103120
104 default: group
121 - `type: "organization"`
105122
106 - `ComplianceProjectOrganizationCollaborator object`
123 Discriminator marking this as an organization-wide grant
107124
108 An entire organization granted a role on a project.
125 default: organization
109126
110127 - `granted_at: string`
111128
from line 146
129146
130147 - `"viewer"`
131148
132 - `type: "organization"`
149 - `ComplianceProjectOrganizationRoleCollaborator object`
133150
134 Discriminator marking this as an organization-wide grant
151 All holders of an organization-level role granted a role on a project.
135152
136 default: organization
153 - `type: "organization_role"`
137154
138 - `ComplianceProjectOrganizationRoleCollaborator object`
155 Discriminator marking this as a grant to all organization members holding a specific org-level role
139156
140 All holders of an organization-level role granted a role on a project.
157 default: organization_role
141158
142159 - `granted_at: string`
143160
from line 178
161178
162179 - `"viewer"`
163180
164 - `type: "organization_role"`
165
166 Discriminator marking this as a grant to all organization members holding a specific org-level role
167
168 default: organization_role
169
170181- `has_more: boolean`
171182
172183 Whether more records exist beyond the current result set
from line 222
211222
212223 An individual user granted a role on a project.
213224
225 - `type: "user"`
226
227 Discriminator marking this as an individual user collaborator
228
229 default: user
230
214231 - `granted_at: string`
215232
216233 When this collaborator was granted access (RFC 3339 format)
from line 246
229246
230247 - `"viewer"`
231248
232 - `type: "user"`
233
234 Discriminator marking this as an individual user collaborator
235
236 default: user
237
238249 - `user_id: string or null`
239250
240251 Identifier of the user granted access (tagged ID), or null if their account has since been deleted
from line 254
243254
244255 An RBAC group granted a role on a project.
245256
257 - `type: "group"`
258
259 Discriminator marking this as a group collaborator
260
261 default: group
262
246263 - `granted_at: string`
247264
248265 When this collaborator was granted access (RFC 3339 format)
from line 282
265282
266283 - `"viewer"`
267284
268 - `type: "group"`
285 - `ComplianceProjectOrganizationCollaborator object`
269286
270 Discriminator marking this as a group collaborator
287 An entire organization granted a role on a project.
271288
272 default: group
289 - `type: "organization"`
273290
274 - `ComplianceProjectOrganizationCollaborator object`
291 Discriminator marking this as an organization-wide grant
275292
276 An entire organization granted a role on a project.
293 default: organization
277294
278295 - `granted_at: string`
279296
from line 314
297314
298315 - `"viewer"`
299316
300 - `type: "organization"`
317 - `ComplianceProjectOrganizationRoleCollaborator object`
301318
302 Discriminator marking this as an organization-wide grant
319 All holders of an organization-level role granted a role on a project.
303320
304 default: organization
321 - `type: "organization_role"`
305322
306 - `ComplianceProjectOrganizationRoleCollaborator object`
323 Discriminator marking this as a grant to all organization members holding a specific org-level role
307324
308 All holders of an organization-level role granted a role on a project.
325 default: organization_role
309326
310327 - `granted_at: string`
311328
from line 345
328345 - `"owner"`
329346
330347 - `"viewer"`
331
332 - `type: "organization_role"`
333
334 Discriminator marking this as a grant to all organization members holding a specific org-level role
335
336 default: organization_role
337348