cURL
curl --request GET \ --url https://api.example.com/api/v1/api-keys \ --header 'Authorization: Bearer <token>'
{ "data": [ { "key": "<string>", "label": "<string>", "workspace_id": "<string>", "id": "<string>", "created_at": "<string>", "updated_at": "<string>", "hashed_secret": "<string>", "status": "active", "last_used_at": "2023-11-07T05:31:56Z", "expires_at": "2023-11-07T05:31:56Z", "permissions": [ "<string>" ], "ip_whitelist": [ "<string>" ], "collections": [ "<string>" ], "created_by": "<string>", "secret": "<string>" } ], "total_count": 123, "page": 123, "limit": 123, "next_page": 123, "next_cursor": "<string>", "has_more": true }
Retrieve API keys.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The workspace ID
x >= 0
1 <= x <= 1000
Successful Response
Show child attributes