The audit as a CSV file
GET
/audit.csv
const url = 'http://127.0.0.1:7700/api/audit.csv';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 http://127.0.0.1:7700/api/audit.csv \ --header 'Authorization: Bearer <token>'Preview. The same rows and filters as GET /audit, as gurtos-audit.csv. A cell that starts like a formula gets a leading '.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”person
string
Only rows where this person asked, approved or acted. A person’s id.
seat
string
Only rows for this agent seat.
app
string
Only rows for this app.
from
string
Only rows on or after this day, YYYY-MM-DD (UTC).
to
string
Only rows on or before this day, YYYY-MM-DD (UTC).
Responses
Section titled “Responses”The CSV file.
Media typetext/csv
string
The owner’s route, called by someone who is not the box’s own screen or a device paired as the owner.
Media typeapplication/json
object
error
required
What went wrong
string
Example
{ "error": "only this computer's own screen or the owner's paired device can do this"}