Recent alerts about the organization and the sandboxes you see, newest first
GET
/alerts
const url = 'https://api.global.stillbox.example/v1/alerts';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/alerts \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Up to 100 alerts
Media typeapplication/json
object
alerts
required
Array<object>
object
id
required
string
kind
required
string
sandbox_id
string
title
required
string
body
required
string
created_at
required
string format: date-time
sent_at
string format: date-time
Example
{ "alerts": [ { "kind": "credits_low" } ]}The API key is missing or invalid
Media typeapplication/json
object
code
required
string
message
required
string
Example
{ "code": "not_found"}