---
title: "Queries a ProposedCertificate by index."
method: GET
path: "/dcl/pki/proposed-certificates/{subject}/{subjectKeyId}"
tags: ["Query"]
---

# Queries a ProposedCertificate by index.

`GET /dcl/pki/proposed-certificates/{subject}/{subjectKeyId}`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `subject` string, required
- `subjectKeyId` string, required

## Response `200`

A successful response.

- object
  - `proposedCertificate` object
    - `subject` string
    - `subjectKeyId` string
    - `pemCert` string
    - `serialNumber` string
    - `owner` string
    - `approvals` object[]
      - `address` string
      - `time` string, int64
      - `info` string
      - `schemaVersion` integer
    - `subjectAsText` string
    - `rejects` object[]
      - `address` string
      - `time` string, int64
      - `info` string
      - `schemaVersion` integer
    - `vid` integer
    - `certSchemaVersion` integer
    - `schemaVersion` integer

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/zigbee-alliance/apis/distributed-compliance-ledger-rest-and-grpc-gateway-docs.md) - [All operations](https://skmtc.dev/zigbee-alliance/apis/distributed-compliance-ledger-rest-and-grpc-gateway-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/zigbee-alliance/apis/distributed-compliance-ledger-rest-and-grpc-gateway-docs/revisions/b5ba63ddd069?raw)
