curl --request GET \
--url https://api.openai.com/v1/organization/certificates/{certificate_id} \
--header 'Authorization: Bearer <token>'{
"object": "certificate",
"id": "<string>",
"name": "<string>",
"created_at": 123,
"certificate_details": {
"valid_at": 123,
"expires_at": 123,
"content": "<string>"
},
"active": true
}Get a certificate that has been uploaded to the organization.
You can get a certificate regardless of whether it is active or not.
curl --request GET \
--url https://api.openai.com/v1/organization/certificates/{certificate_id} \
--header 'Authorization: Bearer <token>'{
"object": "certificate",
"id": "<string>",
"name": "<string>",
"created_at": 123,
"certificate_details": {
"valid_at": 123,
"expires_at": 123,
"content": "<string>"
},
"active": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Unique ID of the certificate to retrieve.
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 Certificate retrieved successfully.
Represents an individual certificate uploaded to the organization.
The object type.
certificate.organization.certificate.organization.project.certificate.certificate, organization.certificate, organization.project.certificate The identifier, which can be referenced in API endpoints
The name of the certificate.
The Unix timestamp (in seconds) of when the certificate was uploaded.
Show child attributes
Whether the certificate is currently active at the specified scope. Not returned when getting details for a specific certificate.
Was this page helpful?