Skip to content

Retrieves an API key in the project.

GET
/organization/projects/{project_id}/api_keys/{key_id}

Authorizations

Parameters

Path Parameters

project_id
required
string

The ID of the project.

key_id
required
string

The ID of the API key.

Responses

200

Project API key retrieved successfully.

Represents an individual API key in a project.

object
object
required

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

string
Allowed values: organization.project.api_key
redacted_value
required

The redacted value of the API key

string
name
required

The name of the API key

string
created_at
required

The Unix timestamp (in seconds) of when the API key was created

integer
id
required

The identifier, which can be referenced in API endpoints

string
owner
required
object
type

user or service_account

string
Allowed values: user service_account
user

Represents an individual user in a project.

object
object
required

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

string
Allowed values: organization.project.user
id
required

The identifier, which can be referenced in API endpoints

string
name
required

The name of the user

string
email
required

The email address of the user

string
role
required

owner or member

string
Allowed values: owner member
added_at
required

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

integer
service_account

Represents an individual service account in a project.

object
object
required

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

string
Allowed values: organization.project.service_account
id
required

The identifier, which can be referenced in API endpoints

string
name
required

The name of the service account

string
role
required

owner or member

string
Allowed values: owner member
created_at
required

The Unix timestamp (in seconds) of when the service account was created

integer