> ## Documentation Index
> Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get project member

> Returns one member of the project with role, capabilities and the read-only AI budget projection.

`projectMember(projectReference: ID!, userId: ID!): ProjectMemberDetail!`

Requires project.members.read.

## Arguments

| Argument | Type | Required | Description |
| - | - | - | - |
| `projectReference` | [`ID!`](https://veryfront.com/docs/cloud/graphql/types/id) | Yes | Project UUID, slug or domain. An inaccessible project is not\_found. |
| `userId` | [`ID!`](https://veryfront.com/docs/cloud/graphql/types/id) | Yes | User ID of the member. A user who is not a member is not\_found. |

## Response

Returns [`ProjectMemberDetail!`](https://veryfront.com/docs/cloud/graphql/types/projectmemberdetail). Open the type for its fields and nested types.

| Field | Type | Description |
| - | - | - |
| `userId` | [`ID!`](https://veryfront.com/docs/cloud/graphql/types/id) | |
| `email` | [`String!`](https://veryfront.com/docs/cloud/graphql/types/string) | |
| `name` | [`String`](https://veryfront.com/docs/cloud/graphql/types/string) | Display name; null when the member has none. |
| `avatarSrc` | [`String`](https://veryfront.com/docs/cloud/graphql/types/string) | Avatar URL; null when the member has none. |
| `role` | [`ProjectRole!`](https://veryfront.com/docs/cloud/graphql/types/projectrole) | |
| `capabilities` | [`[String!]!`](https://veryfront.com/docs/cloud/graphql/types/string) | Project capabilities the role grants. |
| `budget` | [`ProjectMemberBudget`](https://veryfront.com/docs/cloud/graphql/types/projectmemberbudget) | The member's monthly AI budget in this project; null when none is configured. |
| `budgetStatus` | [`ProjectMemberBudgetStatus`](https://veryfront.com/docs/cloud/graphql/types/projectmemberbudgetstatus) | Usage against the budget this month; null when the member has no budget. |

Types marked with `!` cannot be null. Lists use `[Type]` notation. The [type index](https://veryfront.com/docs/cloud/graphql/schema.md) lists all published input and response types.

## Example

```graphql title="query.graphql" theme={null}
query ProjectMember($projectReference: ID!, $userId: ID!) {
  projectMember(projectReference: $projectReference, userId: $userId) {
    name
    avatarSrc
    capabilities
    email
    role
  }
}
```

```json title="variables.json" theme={null}
{
  "projectReference": "00000000-0000-4000-8000-000000000001",
  "userId": "00000000-0000-4000-8000-000000000001"
}
```

<details>
  <summary>Try this query</summary>

  Calls use `https://api.veryfront.com/graphql`. Replace sample values with resources you can access. See [Authentication](https://veryfront.com/docs/cloud/authentication.md) for credentials and permissions.

  Bearer token or API key

  Stored in this tab's session. Clear credential

  Query

  Variables (JSON)
</details>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.