---
title: "List the ephemeral certificates available for the current API Session"
method: GET
path: "/current-api-session/certificates"
tags: ["Current API Session"]
---

# List the ephemeral certificates available for the current API Session

`GET /current-api-session/certificates`

Retrieves a list of certificate resources for the current API session; supports filtering, sorting, and pagination

## Query parameters

- `limit` integer
- `offset` integer
- `filter` string

## Response `200`

A list of the current API Session's certificate

- ListCurrentApiSessionCertificatesEnvelope
  - `data` CurrentApiSessionCertificateDetail[], required
    - `_links` object, required — A map of named links
    - `createdAt` string, date-time, required
    - `id` string, required
    - `tags` Tags
    - `updatedAt` string, date-time, required
    - `certificate` string, required
    - `fingerprint` string, required
    - `subject` string, required
    - `validFrom` string, date-time, required
    - `validTo` string, date-time, required
  - `meta` Meta, required
    - `apiEnrollmentVersion` string
    - `apiVersion` string
    - `filterableFields` string[]
    - `pagination` Pagination
      - `limit` number, required
      - `offset` number, required
      - `totalCount` number, required

## Other responses

- `400` — The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
- `401` — The supplied session does not have the correct access rights to request this resource
- `429` — The resource requested is rate limited and the rate limit has been exceeded
- `503` — The request could not be completed due to the server being busy or in a temporarily bad state

---

[API](https://skmtc.net/openziti/apis/ziti-edge-client.md) · [All operations](https://skmtc.net/openziti/apis/ziti-edge-client/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openziti/ziti-edge-client/versions/25da9a73a095/schema)
