GET
/
api
/
v1
/
pki
/
collections
/
{collectionId}
/
items
curl --request GET \
  --url https://us.infisical.com/api/v1/pki/collections/{collectionId}/items
{
  "collectionItems": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "pkiCollectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "type": "certificate",
      "itemId": "<string>",
      "notBefore": "2023-11-07T05:31:56Z",
      "notAfter": "2023-11-07T05:31:56Z",
      "friendlyName": "<string>"
    }
  ],
  "totalCount": 123
}

Path Parameters

collectionId
string
required

The ID of the PKI collection to list items from.

Query Parameters

type
enum<string>

The type of the PKI collection item to list.

Available options:
certificate,
ca
offset
number
default:0

The offset to start from.

Required range: 0 <= x <= 100
limit
number
default:25

The number of items to return.

Required range: 1 <= x <= 100

Response

200
application/json
Default Response
collectionItems
object[]
required
totalCount
number
required