palbaseDocs

Palbase Machines · API

GET/machines/{name}/execs

List the commands run in a machine

The commands run in the machine with ExecInMachine, newest first: who ran which (by: a person's id, or an environment token's maker), in which copy, when, and how it ended — never what it printed (output_bytes is how much it did).

Called by your server, with the project's secret key.

Path

namestring · requiredThe machine's name: lowercase letters, digits and dashes, starting with a letter and not ending with a dash, 32 at most.

Query

limitinteger · optionalHow many items to return, 1 to 100; a value outside that range is refused.
cursorstring · optionalThe next_cursor of the previous page. Opaque; omit it for the first page.
curl
curl -X GET "https://<your-ref>.palbase.studio/machines/<name>/execs" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200A page of the machine's commands

400Validation failed or a required field is missing

401Missing or invalid API key

403Not the project's secret key

404The project has no machine of this name

429Over the project's request limit, or its machine time for this period is used up

503Temporarily unavailable; retrying is safe after Retry-After

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation ListMachineExecs of machines's contract.