List KMS contracts
Changed onList available KMS contracts (API >= 2026-06-23). Older versions return the legacy paginated KMS node list.
Request
- Base URLhttps://cloud-api.phala.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Page number (1-indexed)
Items per page (1-100)
Filter: true=onchain only, false=offchain only, omit=all
Headers
Response
Successful Response
Example response
{
"items": [
{
"id": "kc_0123abcd"
}
]
}Changes
- breaking
the response's body type changed from
objectto no type for status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - info
api tag
publicadded - info
added the new optional
headerrequest parameterX-Phala-Version - info
added to the response body
anyOflist for the response status
- breaking