Sample - OpenAI API
GET/organization/projects/{project_id}/certificates

List project certificates

Lists certificates configured for a project. Use limit, after, and order to control the page size, cursor position, and sort direction. The response includes certificate records and cursors for retrieving additional pages.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

4 parameters
project_idstringrequired
The ID of the project whose certificates you want to list.
limitintegeroptional
The maximum number of certificates to return. Defaults to 20 when omitted.
Default:20
afterstringoptional
A cursor containing the ID of the last certificate from the previous page.
orderstringoptional
Sort order by creation time: `asc` or `desc`. Defaults to `desc` when omitted.
Allowed:ascdescDefault:desc

2 status codes
200Returns a paginated list containing certificate objects, the first and last certificate IDs, a `has_more` indicator, and the list object type.
dataarray<object>required
first_idstringrequired
last_idstringrequired
has_morebooleanrequired
objectstringrequired
Allowed:list
429Returned when the request was rejected because a rate limit was exceeded.
errorobjectrequired

Error handling

A 429 is returned when the request exceeds the rate limit. project_id must identify the project whose certificates you want to list, and order must be asc or desc when provided. limit defaults to 20 when omitted.