Skip to content

Returns a list of API keys in the project.

GET
/organization/projects/{project_id}/api_keys

Authorizations

Parameters

Path Parameters

project_id
required
string

The ID of the project.

Query Parameters

limit
integer
default: 20

A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.

after
string

A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.

Responses

200

Project API keys listed successfully.

object
object
required
string
Allowed values: list
data
required
Array<object>

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
first_id
required
string
last_id
required
string
has_more
required
boolean