---
updatedAt: 2025-09-02T07:17:19.000Z
agentTools:
  projectIndex: https://jamaibase.readme.io/llms.txt
---

# Get a project member.

Permissions: `system` OR `organization` OR `project`.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "JamAI Base API",
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "version": "0.1.0",
    "x-logo": {
      "url": "https://www.jamaibase.com/favicon.svg"
    }
  },
  "servers": [
    {
      "url": "https://api.jamaibase.com"
    }
  ],
  "paths": {
    "/api/v2/projects/members": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Get a project member.",
        "description": "Permissions: `system` OR `organization` OR `project`.",
        "operationId": "get_project_member_api_v2_projects_members_get",
        "parameters": [
          {
            "name": "user_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "User ID.",
              "title": "User Id"
            },
            "description": "User ID."
          },
          {
            "name": "project_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "Project ID.",
              "title": "Project Id"
            },
            "description": "Project ID."
          },
          {
            "name": "Authorization",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "description": "User PAT or service key.",
              "title": "Authorization"
            },
            "description": "User PAT or service key."
          },
          {
            "name": "X-USER-ID",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "description": "User ID.",
              "default": "",
              "title": "X-User-Id"
            },
            "description": "User ID."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectMemberRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "ProjectMemberRead": {
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time",
            "title": "Created At",
            "description": "Creation datetime (UTC)."
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "title": "Updated At",
            "description": "Update datetime (UTC)."
          },
          "meta": {
            "additionalProperties": true,
            "type": "object",
            "title": "Meta",
            "description": "Metadata.",
            "default": {}
          },
          "role": {
            "$ref": "#/components/schemas/Role",
            "description": "Project role."
          },
          "user_id": {
            "type": "string",
            "title": "User Id",
            "description": "User ID."
          },
          "project_id": {
            "type": "string",
            "title": "Project Id",
            "description": "Project ID."
          },
          "user": {
            "$ref": "#/components/schemas/User_",
            "description": "User."
          },
          "project": {
            "$ref": "#/components/schemas/Project_",
            "description": "Project."
          }
        },
        "type": "object",
        "required": [
          "created_at",
          "updated_at",
          "role",
          "user_id",
          "project_id",
          "user",
          "project"
        ],
        "title": "ProjectMemberRead"
      },
      "Project_": {
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time",
            "title": "Created At",
            "description": "Creation datetime (UTC)."
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "title": "Updated At",
            "description": "Update datetime (UTC)."
          },
          "meta": {
            "additionalProperties": true,
            "type": "object",
            "title": "Meta",
            "description": "Metadata.",
            "default": {}
          },
          "name": {
            "type": "string",
            "maxLength": 255,
            "title": "Name",
            "description": "Project name."
          },
          "quotas": {
            "additionalProperties": true,
            "type": "object",
            "title": "Quotas",
            "description": "Quotas allotted to this project.",
            "default": {}
          },
          "organization_id": {
            "type": "string",
            "title": "Organization Id",
            "description": "Organization ID."
          },
          "id": {
            "type": "string",
            "title": "Id",
            "description": "Project ID."
          },
          "created_by": {
            "type": "string",
            "title": "Created By",
            "description": "ID of the user that created this project."
          },
          "owner": {
            "type": "string",
            "title": "Owner",
            "description": "ID of the user that owns this project."
          }
        },
        "type": "object",
        "required": [
          "created_at",
          "updated_at",
          "name",
          "organization_id",
          "id",
          "created_by",
          "owner"
        ],
        "title": "Project_"
      },
      "Role": {
        "type": "string",
        "enum": [
          "ADMIN",
          "MEMBER",
          "GUEST"
        ],
        "title": "Role"
      },
      "User_": {
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time",
            "title": "Created At",
            "description": "Creation datetime (UTC)."
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "title": "Updated At",
            "description": "Update datetime (UTC)."
          },
          "meta": {
            "additionalProperties": true,
            "type": "object",
            "title": "Meta",
            "description": "Metadata.",
            "default": {}
          },
          "name": {
            "type": "string",
            "maxLength": 255,
            "title": "Name",
            "description": "User's preferred name.",
            "default": ""
          },
          "email": {
            "type": "string",
            "format": "email",
            "title": "Email",
            "description": "User's email.",
            "default": ""
          },
          "picture_url": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "format": "uri"
              },
              {
                "type": "null"
              }
            ],
            "title": "Picture Url",
            "description": "User picture URL."
          },
          "google_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Google Id",
            "description": "Google user ID."
          },
          "google_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Google Name",
            "description": "Google user's preferred name."
          },
          "google_username": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Google Username",
            "description": "Google username."
          },
          "google_email": {
            "anyOf": [
              {
                "type": "string",
                "format": "email"
              },
              {
                "type": "null"
              }
            ],
            "title": "Google Email",
            "description": "Google email."
          },
          "google_picture_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Google Picture Url",
            "description": "Google user picture URL."
          },
          "google_updated_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Google Updated At",
            "description": "Google user info update datetime (UTC)."
          },
          "github_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Github Id",
            "description": "GitHub user ID."
          },
          "github_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Github Name",
            "description": "GitHub user's preferred name."
          },
          "github_username": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Github Username",
            "description": "GitHub username."
          },
          "github_email": {
            "anyOf": [
              {
                "type": "string",
                "format": "email"
              },
              {
                "type": "null"
              }
            ],
            "title": "Github Email",
            "description": "GitHub email."
          },
          "github_picture_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Github Picture Url",
            "description": "GitHub user picture URL."
          },
          "github_updated_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Github Updated At",
            "description": "GitHub user info update datetime (UTC)."
          },
          "id": {
            "type": "string",
            "title": "Id",
            "description": "User ID."
          },
          "email_verified": {
            "type": "boolean",
            "title": "Email Verified",
            "description": "Whether the email address is verified."
          },
          "password_hash": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Password Hash",
            "description": "Password hash."
          },
          "refresh_counter": {
            "type": "integer",
            "title": "Refresh Counter",
            "description": "Counter used as refresh token version for invalidation.",
            "default": 0
          },
          "preferred_name": {
            "type": "string",
            "title": "Preferred Name",
            "description": "Name for display.",
            "default": ""
          },
          "preferred_email": {
            "type": "string",
            "title": "Preferred Email",
            "description": "Email for display.",
            "default": ""
          },
          "preferred_picture_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Preferred Picture Url",
            "description": "Picture URL for display."
          },
          "preferred_username": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Preferred Username",
            "description": "Username for display."
          }
        },
        "type": "object",
        "required": [
          "created_at",
          "updated_at",
          "email_verified",
          "password_hash"
        ],
        "title": "User_"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      }
    },
    "securitySchemes": {
      "Authentication": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "security": [
    {
      "Authentication": []
    }
  ]
}
```