Skip to main content
GET
/
organisations
/
{orgId}
/
api-keys
List API keys
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.prudra.dev/organisations/{orgId}/api-keys', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
[
  {
    "id": "key_abc123",
    "name": "Production key",
    "createdAt": "2023-11-07T05:31:56Z",
    "revokedAt": "2023-11-07T05:31:56Z"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.prudra.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Your Prudra API key. Get one at dashboard.prudra.com/settings/api-keys

Path Parameters

orgId
string
required

Response

200 - application/json

API keys (secrets not returned)

id
string
required
Example:

"key_abc123"

name
string
required
Example:

"Production key"

createdAt
string<date-time>
required
revokedAt
string<date-time> | null