Command history and active commands
const url = 'https://api.flotera.com/api/v1/commands?limit=50&delivery_status=queued&execution_status=not_started';const options = { method: 'GET', headers: {cookie: '__Host-erm_session=<__Host-erm_session>'}};
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/commands?limit=50&delivery_status=queued&execution_status=not_started' \ --cookie __Host-erm_session=<__Host-erm_session>Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Opaque pagination cursor from a previous next_cursor.
Page size.
UUID (v7 for new entities; v4 accepted during migration).
Delivery axis of the command state.
Execution axis of the command state.
Responses
Section titled “Responses”Page of commands, newest first.
object
Command projection with independent delivery and execution axes.
object
UUID (v7 for new entities; v4 accepted during migration).
UUID (v7 for new entities; v4 accepted during migration).
UUID (v7 for new entities; v4 accepted during migration).
object
Execution precondition. Dangerous actions during an active rental default to after_rental.
Delivery axis of the command state.
Execution axis of the command state.
Why the command has not been sent yet (02 §8.1). Known values: server_offline, awaiting_retry. Null once delivery is in flight. Consumers must tolerate unknown values.
Terminal success payload.
Structured terminal error. Secrets and raw stdout are forbidden.
object
Small structured context (e.g. exit_code). Bounded, no secrets.
object
Opaque reference to the redacted bounded log (GET /commands/{id}/logs/{log_id}).
RFC 3339 UTC with microsecond precision.
RFC 3339 UTC with microsecond precision, or null.
RFC 3339 UTC with microsecond precision, or null.
RFC 3339 UTC with microsecond precision, or null.
RFC 3339 UTC with microsecond precision, or null.
RFC 3339 UTC with microsecond precision, or null.
RFC 3339 UTC with microsecond precision, or null.
RFC 3339 UTC with microsecond precision, or null.
Monotonic resource version used for ETag/If-Match.
Opaque cursor for the next page; null when there are no more rows.
Example
{ "items": [ { "requires": "none", "delivery_status": "queued", "execution_status": "not_started", "issued_by": { "type": "user" }, "created_at": "2026-07-25T10:15:30.123456Z" } ]}Missing/invalid credentials (code=unauthorized).
RFC 9457 problem document with a stable machine code.
object
Stable machine-readable error code (03 §2.4).
UUID (v7 for new entities; v4 accepted during migration).
object
JSON Pointer to the offending field.
Example
{ "type": "https://ermeon.com/problems/validation", "code": "unauthorized"}Authenticated but not permitted. code=forbidden — role/scope mismatch; code=feature_not_entitled — the plan does not include the capability; code=account_frozen — the account is frozen and this operation is declared x-ermeon-frozen: deny. The three are deliberately distinct: only the last one is fixed by a top-up (13 §5.6).
RFC 9457 problem document with a stable machine code.
object
Stable machine-readable error code (03 §2.4).
UUID (v7 for new entities; v4 accepted during migration).
object
JSON Pointer to the offending field.
Example
{ "type": "https://ermeon.com/problems/validation", "code": "unauthorized"}Request failed validation (code=validation_failed), with per-field errors.
RFC 9457 problem document with a stable machine code.
object
Stable machine-readable error code (03 §2.4).
UUID (v7 for new entities; v4 accepted during migration).
object
JSON Pointer to the offending field.
Example
{ "type": "https://ermeon.com/problems/validation", "code": "unauthorized"}