Skip to content

Read the console reply

GET
/api/v1/console
curl --request GET \
--url http://pwrman.local/api/v1/console \
--header 'Authorization: Bearer <token>'

The transcript of the last batch sent to POST /api/v1/console. Poll until the reply is 200.

The transcript; empty before the first batch.

Media typetext/plain
string

The batch is still running. The body is empty.

The token is missing or wrong, or no token is set yet.

Media typeapplication/json
object
error
required

Why the request was refused, in words.

string

Examples

{
"error": "bearer token required"
}

USB Type-C® and USB-C® are registered trademarks of USB Implementers Forum.