Search + K

Command Palette

Search for a command to run...

Sign In

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}
Copy endpoint
https://api.openai.com/v1

Parameters

path Path Parameters

Name Type
cert_id required

Unique ID of the certificate to retrieve.

string

query Query Parameters

Name Type
include

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.

"content"[]

Responses

200 application/json

Certificate retrieved successfully.

interface Certificate {
object: "certificate" | "organization.certificate" | "organization.project.certificate";
id: string;
name: string;
created_at: number;
certificate_details: { valid_at?: number;expires_at?: number;content?: string; };
active?: boolean;
}