comecerodocs

List license devices

GET
/licenses/{license_id}/instances

Secret and trusted tokens require licenses read permission; limited tokens are refused. Core resolves ownership and mode from the token. Only generated/imported keys with activation state are supported, including expired and revoked keys. Setup restriction does not block issued-key maintenance. No key material, fingerprints or raw metadata are returned. Returns current-generation active and deactivated devices in instance-id order. Counts and pages are live observations. An empty page can have next_cursor; continue until null. Restart pagination to refresh. A failed Apollo read is an error, never an empty list. The device cursor cannot be used for history.

Authorization

headerAuthorizationBearer <token>

A secret, trusted or limited token. See Authentication.

Path Parameters

license_id*string

The issued license id.

Match^[A-Za-z0-9_.:-]+$
Length1 <= length <= 128

Query Parameters

limit?integer

Number of evaluated rows. Older generations can produce an empty page with a cursor.

Range1 <= value <= 100
Default50
cursor?string

One opaque cursor from this endpoint. Omit when absent. Duplicate or empty parameters are refused.

Length1 <= length <= 1024

Response Body

The confirmed current data.

application/json
  1. response
license*
instances*array<>
next_cursor*|

Opaque cursor. Pass it unchanged to the same list endpoint.

Length1 <= length <= 1024
Example Request
curl -X GET 'https://api.comecero.com/api/v1/licenses/string/instances'
Example Response
{  "license": {    "license_id": "lic_1",    "test": true,    "generation": 1,    "status": "active",    "activation_limit": 3,    "activations": 1,    "expires_at": null  },  "instances": [    {      "instance_id": "ins_0123456789abcdef0123456789abcdef",      "name": "Laptop",      "status": "active",      "activated_at": "2026-12-01T00:00:00.000Z",      "deactivated_at": null    }  ],  "next_cursor": null}