Certificates

Get certificate

Changed on

Get a certificate that has been uploaded to the organization.

You can get a certificate regardless of whether it is active or not.

get/organization/certificates/{certificate_id}

Request

  • Base URL
    https://api.openai.com/v1
  • URL
    https://api.openai.com/v1/organization/certificates/{certificate_id}
  • Auth
    HTTP bearer

Path parameters

certificate_idstring required

Unique ID of the certificate to retrieve.

Query parameters

includestring[]

A list of additional fields to include in the response. Currently the only supported value is content to fetch the PEM content of the certificate.

Response

Certificate retrieved successfully.

object'certificate' | 'organization.certificate' | 'organization.project.certificate' required

The object type.

  • If creating, updating, or getting a specific certificate, the object type is certificate.
  • If listing, activating, or deactivating certificates for the organization, the object type is organization.certificate.
  • If listing, activating, or deactivating certificates for a project, the object type is organization.project.certificate.
idstring required

The identifier, which can be referenced in API endpoints

namestring nullable required

The name of the certificate.

created_atinteger required

The Unix timestamp (in seconds) of when the certificate was uploaded.

activeboolean

Whether the certificate is currently active at the specified scope. Not returned when getting details for a specific certificate.

Changes

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status