Luxor PlatformAPI DocumentationCommanderTickets
Get ticket comments
Returns every comment on a ticket, oldest first. Not paginated. Comments posted with an API key have a system author.
Authorization
LuxorAPIKey authorization<token>
Use your API key here.
In: header
Path Parameters
ticket_id*string
Ticket id (uuid).
Format
uuidResponse Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v2/commander/tickets/497f6eca-6276-4993-bfeb-53cbbbba6f08/comments"{ "comments": [ { "id": "9d8c7b6a-5f4e-4d3c-8b2a-1f0e9d8c7b6a", "body": "Replaced the PSU, monitoring.", "author": { "id": "575370fd-ecb7-40bb-a3da-8af78e0dab6b", "type": "user", "name": "Alice Smith" }, "parent_id": null, "created_at": "2026-10-01T09:59:00.000Z", "updated_at": "2026-10-01T10:00:00.000Z" } ]}{ "statusCode": 400, "code": "FST_ERR_VALIDATION", "error": "Bad Request", "message": "body/end_date Required"}{ "statusCode": 403, "code": "7", "error": "Forbidden", "message": "[permission_denied] site_id does not belong to this workspace"}{ "statusCode": 404, "code": "5", "error": "Not Found", "message": "[not_found] agent not found"}Get ticket KPIs
Returns ticket counts and timing KPIs across the sites the API key can read tickets on.
Create ticket comment
Adds a comment (or a reply, with `parent_id`) and returns the ticket's comments. API-key comments are attributed to System and cannot be edited or deleted through the API. They do not count as human activity, so a ticket auto-created from a miner alert can still auto-close when the alert clears.