Search the docsCtrl K
Menu
Docs / Command line Updated Edit on GitHub

neodesk reports

Copy as Markdown

Reports and trends.

neodesk reports --help lists the same commands in the terminal. The flags every command takes are in the command reference.

neodesk reports csv

Make a report as CSV (use --output).

neodesk reports csv --type TYPE [flags]
Flag What it is
--type TYPE the kind (required)
--from FROM start date
--to TO end date

Needs a signed-in account; changes something: needs a token with read and write access. Calls POST /api/reports/generate/csv.

neodesk reports generate

Make a report.

neodesk reports generate --type TYPE [flags]
Flag What it is
--type TYPE the kind (see reports types) (required)
--from FROM start date, like 2026-11-01
--to TO end date

Needs a signed-in account; changes something: needs a token with read and write access. Calls POST /api/reports/generate.

neodesk reports save

Make a report and keep it.

neodesk reports save --type TYPE [flags]
Flag What it is
--type TYPE the kind (required)
--title TITLE its title
--from FROM start date
--to TO end date

Needs a signed-in account; changes something: needs a token with read and write access. Calls POST /api/reports/save.

neodesk reports saved

List kept reports.

neodesk reports saved [flags]

Needs a signed-in account; only reads. Calls GET /api/reports/saved.

neodesk reports saved-delete

Delete a kept report.

neodesk reports saved-delete <id> [flags]
Argument What it is
<id> The report ID

Needs a signed-in account; changes something: needs a token with read and write access; deletes or ends something for good, so it asks first unless --yes is given. Calls DELETE /api/reports/saved/{id}.

neodesk reports saved-get

Show a kept report.

neodesk reports saved-get <id> [flags]
Argument What it is
<id> The report ID

Needs a signed-in account; only reads. Calls GET /api/reports/saved/{id}.

Show trends over time: devices, sessions, alerts.

neodesk reports trends [flags]

Needs audit.view; only reads. Calls GET /api/reports/trends.

neodesk reports types

List the kinds of report.

neodesk reports types [flags]

Needs a signed-in account; only reads. Calls GET /api/reports/types.

Type to search pages, sections, commands and settings.