HaloPSA Complete icon

HaloPSA Complete

Get data from the HaloPSA API

Actions290

Reporting → Execute SQL Query

AI-generated

Summary

Runs a read-only SELECT query against the HaloPSA reporting database and returns the matching rows. Use TOP to limit the result set; write SQL without comments or semicolons, and note that datetimes are UTC.

Inputs

  • SQL (required) — SELECT query to run against the reporting database. Defaults to SELECT TOP 50 id, summary FROM faults ORDER BY id DESC. Use TOP to limit rows; comments and semicolons are not allowed. Datetimes are UTC.

Output shape

A list of rows returned by the query.

The fields in each row depend on the SELECT statement. The default query returns up to 50 fault records with id and summary.

Links

Discussion