List what API keys can be allowed to do
GET
/api-keys/actions
const url = 'https://api.global.stillbox.example/v1/api-keys/actions';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.global.stillbox.example/v1/api-keys/actions \ --header 'Authorization: Bearer <token>'Every operation of the API with the access level that includes it, for choosing a custom key’s actions.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The operations
Media typeapplication/json
object
actions
required
Array<object>
object
id
required
The operation ID, e.g. execSandbox
string
summary
required
string
level
required
The lowest access level that includes the operation.
string
Example
{ "actions": [ { "level": "read" } ]}The API key is missing or invalid
Media typeapplication/json
object
code
required
string
message
required
string
Example
{ "code": "not_found"}