public
KMS

Get KMS contract details

Changed on

Get a KMS contract by slug (API >= 2026-06-23). Older versions return a single KMS node by hashed id or slug.

get/api/v1/kms/{kms_id}

Request

Path parameters

kms_idstring required

KMS contract slug

Headers

X-Phala-Versionstring nullable

Response

Successful Response

OR

Example response

{
  "id": "kc_0123abcd"
}

Changes

    • breaking

      the response's body type changed from object to 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

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      api operation id get_kms_info_api_v1_kms__kms_id__get removed and replaced with get_kms_detail_api_v1_kms__kms_id__get

    • info

      api tag public added

    • info

      added the new optional header request parameter X-Phala-Version

    • info

      added to the response body anyOf list for the response status