Luxor PlatformAPI DocumentationCommanderTickets

Get ticket devices

Returns the devices linked to a ticket, one page at a time, each with the parts reserved or consumed for it. Parts reserved against the ticket as a whole are listed separately in unassigned_parts, on the first page only. ip_address and is_online are live and are null when telemetry is unavailable.

GET
/v2/commander/tickets/{ticket_id}/devices

Authorization

LuxorAPIKey
authorization<token>

Use your API key here.

In: header

Path Parameters

ticket_id*string

Ticket id (uuid).

Formatuuid

Query Parameters

page_number?integer
Range1 <= value
Default1
page_size?integer
Range1 <= value <= 200
Default25

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v2/commander/tickets/497f6eca-6276-4993-bfeb-53cbbbba6f08/devices"
{  "devices": [    {      "asset_id": "3c4d5e6f-7a8b-4c9d-8e0f-1a2b3c4d5e6f",      "asset_code": "AST-0007",      "miner_id": "string",      "mac_address": "AA:BB:CC:DD:EE:01",      "model": "S21 Pro",      "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",      "site_name": "string",      "lifecycle_status": "in_repair",      "linked_at": "2026-10-01T09:31:00.000Z",      "ip_address": "string",      "is_online": true,      "parts": [        {          "id": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e",          "part_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",          "name": "S21 Pro Hashboard",          "sku": "HB-0001",          "category": "hashboard",          "site_id": "b0a5fad8-1234-5678-9abc-def012345678",          "qty": 1,          "state": "reserved",          "created_at": "2026-10-01T10:00:00.000Z"        }      ]    }  ],  "unassigned_parts": [    {      "id": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e",      "part_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",      "name": "S21 Pro Hashboard",      "sku": "HB-0001",      "category": "hashboard",      "site_id": "b0a5fad8-1234-5678-9abc-def012345678",      "qty": 1,      "state": "reserved",      "created_at": "2026-10-01T10:00:00.000Z"    }  ],  "pagination": {    "page_number": 1,    "page_size": 1,    "item_count": 0,    "previous_page_url": null,    "next_page_url": null  }}
{  "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"}