Real-time inspection of a KMS instance. Queries KMS RPC, guest agent, associated Teepod VMMs, and on-chain contract data with cross-validation.
cURL
curl --request GET \ --url https://cloud-api.phala.com/api/v1/kms/{kms_id}/info
{ "id": "<string>", "slug": "<string>", "endpoint": "<string>", "kms_type": "<string>", "db_version": "<string>", "rpc": { "version": "<string>", "is_dev": true, "bootstrap_info": { "k256_pubkey": "<string>", "ca_pubkey": "<string>", "quote_length": 123, "eventlog_length": 123 }, "version_synced": true, "chain_id": 123, "kms_contract_address": "<string>", "gateway_app_id": "<string>" }, "rpc_error": "<string>", "guest_agent": { "device_id": "<string>", "mr_aggregated": "<string>", "os_image_hash": "<string>", "instance_id": "<string>", "app_id": "<string>", "mr_key_provider": "<string>", "compose_hash": "<string>" }, "guest_agent_error": "<string>", "teepods": [ { "id": 123, "name": "<string>", "teepod_version_db": "<string>", "teepod_version_real": "<string>", "kms_url": "<string>", "kms_urls": [ "<string>" ], "available_os_images": [ { "name": "<string>", "version": "<string>", "is_dev": true } ], "error": "<string>" } ], "on_chain": { "kms_info": { "k256_pubkey": "<string>", "ca_pubkey": "<string>", "quote_length": 123, "eventlog_length": 123 }, "gateway_app_id": "<string>", "owner": "<string>", "verification": { "k256_pubkey_match": true, "ca_pubkey_match": true, "gateway_app_id_match": true, "device_id_allowed": true, "os_image_allowed": true, "mr_aggregated_allowed": true }, "error": "<string>" } }
Successful Response
Show child attributes
Was this page helpful?