Alert incidents
const url = 'https://api.flotera.com/api/v1/alerts?limit=50&state=open&severity=info';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.flotera.com/api/v1/alerts?limit=50&state=open&severity=info' \ --header 'Authorization: Bearer <token>'Returns open and acknowledged incidents by default.
total_open and total_critical count the complete filtered set,
not just the current page.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Pass next_cursor from the previous response unchanged.
An invalid cursor returns 422.
Page size.
Filter by open or acknowledged; without a filter, both are returned.
Closed incidents are unavailable. resolved returns 422.
UUID (v7 for new entities; v4 is accepted).
Incidents of one machine.
Responses
Section titled “Responses”One page of incidents.
object
object
UUID (v7 for new entities; v4 is accepted).
GPU index, when the incident concerns a specific card.
RFC 3339 UTC with microsecond precision.
RFC 3339 UTC with microsecond precision.
RFC 3339 UTC with microsecond precision, or null.
Cursor of the next page; null — there are no more pages.
Over the whole filtered set, not the page: the state asked for in
state, or both open and acknowledged without it.
The same set, restricted to severity = critical.
Example
{ "items": [ { "state": "open", "severity": "info", "opened_at": "2026-09-10T10:15:30.123456Z", "last_seen_at": "2026-09-10T10:15:30.123456Z" } ]}The token is missing, expired, revoked or issued for another purpose.
RFC 9457 error response with a stable machine-readable code.
object
https://flotera.com/problems/<code>.
Use this code to identify the error and decide whether to retry or correct the request.
Example
{ "code": "unauthorized"}The token is genuine, but this operation is not available to it.
RFC 9457 error response with a stable machine-readable code.
object
https://flotera.com/problems/<code>.
Use this code to identify the error and decide whether to retry or correct the request.
Example
{ "code": "unauthorized"}No such object — or it belongs to another account.
RFC 9457 error response with a stable machine-readable code.
object
https://flotera.com/problems/<code>.
Use this code to identify the error and decide whether to retry or correct the request.
Example
{ "code": "unauthorized"}This path does not support the requested HTTP method.
Check the Allow header for supported methods.
RFC 9457 error response with a stable machine-readable code.
object
https://flotera.com/problems/<code>.
Use this code to identify the error and decide whether to retry or correct the request.
Example
{ "code": "unauthorized"}Headers
Section titled “Headers”Methods this path accepts.
Request parameters failed validation.
RFC 9457 error response with a stable machine-readable code.
object
https://flotera.com/problems/<code>.
Use this code to identify the error and decide whether to retry or correct the request.
Example
{ "code": "unauthorized"}Too many requests or failed authentication attempts.
Check the token and wait for Retry-After seconds before retrying.
RFC 9457 error response with a stable machine-readable code.
object
https://flotera.com/problems/<code>.
Use this code to identify the error and decide whether to retry or correct the request.
Example
{ "code": "unauthorized"}Headers
Section titled “Headers”Seconds to wait before retrying.
The data source is temporarily unavailable.
RFC 9457 error response with a stable machine-readable code.
object
https://flotera.com/problems/<code>.
Use this code to identify the error and decide whether to retry or correct the request.
Example
{ "code": "unauthorized"}Headers
Section titled “Headers”Seconds to wait before retrying.