The project API key object

Represents an individual API key in a project.source

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

The redacted value of the API keysource

The name of the API keysource

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

The identifier, which can be referenced in API endpointssource

OBJECT The project API key object
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
    "object": "organization.project.api_key",
    "redacted_value": "sk-abc...def",
    "name": "My API Key",
    "created_at": 1711471533,
    "id": "key_abc",
    "owner": {
        "type": "user",
        "user": {
            "object": "organization.project.user",
            "id": "user_abc",
            "name": "First Last",
            "email": "user@example.com",
            "role": "owner",
            "created_at": 1711471533
        }
    }
}