List API keys
Lists the workspace's API keys with who created each one, when it expires, and when it was last used. The secret itself is never returned. API keys cannot call this endpoint, so use a user token.
Requires the admin role on the workspace and the api_keys plan feature.
An OpenID Connect access token issued by Keycloak, acting as the signed-in user.
In: header
Path Parameters
Query Parameters
The nextCursor of the previous page. Omit it to start from the beginning. A cursor encodes a position and is not meant to be built by hand.
How many items to return, from 1 to 200.
1 <= value <= 20050Match part of the key name.
length <= 255Response Body
application/json
curl -X GET "https://example.com/v1/workspaces/string/api-keys?limit=50"{ "data": [ { "id": "string", "workspaceId": "string", "name": "CI pipeline", "prefix": "ccsp_a1", "createdBy": "string", "createdByUser": { "id": "string", "email": "string", "firstName": "string", "lastName": "string", "picture": "string" }, "allowedIps": [ "string" ], "expiresAt": "2019-08-24T14:15:22Z", "lastUsedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "pagination": { "nextCursor": "string", "hasMore": true, "total": 0 }}List alert deliveries GET
Shows what was actually sent, newest first: the rule that triggered it, what that rule was watching for, the channel, the number of attempts, and the upstream...
Create an API key POST
Creates a key for this workspace. The secret is in the key field of this response and is never shown again, so store it now.