Get available seats

projectCollaboration(input: ProjectCollaborationInput!): ProjectCollaboration!

Requires project.read.

Arguments

ArgumentTypeRequired
inputProjectCollaborationInput!Yes

Input fields

input

ProjectCollaborationInput

FieldTypeRequiredDescription
projectReferenceString!YesProject UUID, slug, or domain.

Response

Returns ProjectCollaboration!. Open the type for its fields and nested types.

FieldTypeDescription
seatsProjectCollaborationSeats!
overCapacityBoolean!True when active plus reserved seats exceed owner seat capacity.
collaborationAllowedBoolean!Whether the project owner entitlement allows collaborators.
canInviteBoolean!Owner entitlement allows collaborators and a seat is available. Does not indicate requester invitation permission.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

graphql
query ProjectCollaboration($input: ProjectCollaborationInput!) {
  projectCollaboration(input: $input) {
    canInvite
    collaborationAllowed
    overCapacity
  }
}
json
{
  "input": {
    "projectReference": "00000000-0000-4000-8000-000000000001"
  }
}