GET
/
organization
/
projects
/
{project_id}
/
service_accounts
/
{service_account_id}
curl --request GET \
  --url https://api.openai.com/v1/organization/projects/{project_id}/service_accounts/{service_account_id} \
  --header 'Authorization: Bearer <token>'
{
  "object": "organization.project.service_account",
  "id": "<string>",
  "name": "<string>",
  "role": "owner",
  "created_at": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

The ID of the project.

service_account_id
string
required

The ID of the service account.

Response

200 - application/json

Project service account retrieved successfully.

Represents an individual service account in a project.