List all machines registered under an operator DID, with paginated MCR scores.
Documentation Index
Fetch the complete documentation index at: https://docs.peaq.xyz/llms.txt
Use this file to discover all available pages before exploring further.
machines DID attribute, truncates the list to the first 100 entries as a defensive bound, then paginates over that window. Operators with more than 100 registered machines surface only the first 100 here. Query the IdentityRegistry contract directly to enumerate the full set.
did:peaq:0x...) or raw EVM address (0x...)>= 0.1-20.| Field | Type | Description |
|---|---|---|
operator_did | string | The operator DID as supplied in the request path |
machines | array | List of machines registered to this operator (for the current page) |
machines[].did | string | Machine DID derived from the machine wallet address (did:peaq:<machine_wallet>) |
machines[].machine_id | integer | On-chain machine ID |
machines[].mcr_score | integer | MCR score 0-100 |
machines[].mcr | string | Letter rating: AAA, AA, A, BBB, BB, B, NR, or Provisioned |
machines[].negative_flag | boolean | true when the AdminFlags contract has a negative-flag timestamp set for this machine. Stays true regardless of whether the 180-day MCR scoring penalty is still active. |
pagination | object | Pagination metadata |
pagination.offset | integer | The offset used for this page |
pagination.limit | integer | The limit used for this page |
pagination.total | integer | Number of valid machine IDs in the operator’s machines DID attribute, after the 100-entry cap and integer validation but before registration filtering. Page slices may be smaller than limit because unregistered machines are dropped silently. |
200 with an empty machines array and pagination.total of 0.
| Status | detail | Condition |
|---|---|---|
| 400 | "Empty DID" | Path parameter resolves to an empty string |
| 400 | "Invalid Ethereum address format" | DID or address does not match the expected hex format |
| 422 | (FastAPI validation error) | offset or limit fails validation constraints |
| 503 | "Service not initialised" | Server started without contract addresses |
| 503 | "Chain unavailable" | Any chain or DID call failed |