Returns one member of the project with role, capabilities and the read-only AI budget projection. Requires project.members.read.
Arguments
projectReferenceID!requiredProject UUID, slug or domain. An inaccessible project is not_found.
userIdID!requiredUser ID of the member. A user who is not a member is not_found.
Responses
query ProjectMember($projectReference: ID!, $userId: ID!) { projectMember(projectReference: $projectReference, userId: $userId) { userId email name avatarSrc role source capabilities budget { monthlyLimitUsd monthlyLimitCredits } budgetStatus { used remaining resetsAt } }}{ "data": { "projectMember": { "userId": "string", "email": "[email protected]", "name": "string", "avatarSrc": "string", "role": "owner", "source": "project", "capabilities": [ "string" ], "budget": { "monthlyLimitUsd": 0, "monthlyLimitCredits": 0 }, "budgetStatus": { "used": 0, "remaining": 0, "resetsAt": "string" } } }}The ProjectMemberDetail! in data.projectMember.