List certificate logs
client.radar.ct.logs.list(LogListParams { format, limit, offset } query?, RequestOptionsoptions?): LogListResponse { certificateLogs }
GET/radar/ct/logs
Retrieves a list of certificate logs.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
API Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example:
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example:
Accepted Permissions (at least one required)
List certificate logs
import Cloudflare from 'cloudflare';
const client = new Cloudflare({
apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted
});
const logs = await client.radar.ct.logs.list();
console.log(logs.certificateLogs);{
"result": {
"certificateLogs": [
{
"api": "RFC6962",
"description": "Google 'Argon2024' log",
"endExclusive": "2025-01-01T00:00:00Z",
"operator": "Google",
"slug": "argon2024",
"startInclusive": "2024-01-01T00:00:00Z",
"state": "USABLE",
"stateTimestamp": "2025-02-01T08:53:20Z",
"url": "https://ct.googleapis.com/logs/us1/argon2024/"
}
]
},
"success": true
}Returns Examples
{
"result": {
"certificateLogs": [
{
"api": "RFC6962",
"description": "Google 'Argon2024' log",
"endExclusive": "2025-01-01T00:00:00Z",
"operator": "Google",
"slug": "argon2024",
"startInclusive": "2024-01-01T00:00:00Z",
"state": "USABLE",
"stateTimestamp": "2025-02-01T08:53:20Z",
"url": "https://ct.googleapis.com/logs/us1/argon2024/"
}
]
},
"success": true
}