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.
Authorization
LuxorAPIKey Use your API key here.
In: header
Path Parameters
Ticket id (uuid).
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v2/commander/tickets/497f6eca-6276-4993-bfeb-53cbbbba6f08/comments" \ -H "Content-Type: application/json" \ -d '{ "body": "Replaced the PSU, monitoring." }'{ "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 comments
Returns every comment on a ticket, oldest first. Not paginated. Comments posted with an API key have a `system` author.
Get ticket activity
Returns the ticket's activity log, oldest first. Not paginated. `from`/`to` carry the previous and new value of an update; `part` and `device` are set for part and device actions.