Retrieves a user in the project.

GET /organization/projects/{project_id}/users/{user_id}

Path parameters

  • project_id string Required

    The ID of the project.

  • user_id string Required

    The ID of the user.

Responses

  • 200 application/json

    Project user retrieved successfully.

    Hide response attributes Show response attributes object
    • object string Required

      The object type, which is always organization.project.user

      Value is organization.project.user.

    • id string Required

      The identifier, which can be referenced in API endpoints

    • name string Required

      The name of the user

    • email string Required

      The email address of the user

    • role string Required

      owner or member

      Values are owner or member.

    • added_at integer Required

      The Unix timestamp (in seconds) of when the project was added.

GET /organization/projects/{project_id}/users/{user_id}
curl \
 --request GET 'https://api.openai.com/v1/organization/projects/{project_id}/users/{user_id}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "object": "organization.project.user",
  "id": "string",
  "name": "string",
  "email": "string",
  "role": "owner",
  "added_at": 42
}