Get certificate log details
client.Radar.CT.Logs.Get(ctx, logSlug, query) (*CTLogGetResponse, error)
GET/radar/ct/logs/{log_slug}
Retrieves the requested certificate log information.
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)
Get certificate log details
package main
import (
"context"
"fmt"
"github.com/cloudflare/cloudflare-go"
"github.com/cloudflare/cloudflare-go/option"
"github.com/cloudflare/cloudflare-go/radar"
)
func main() {
client := cloudflare.NewClient(
option.WithAPIToken("Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY"),
)
log, err := client.Radar.CT.Logs.Get(
context.TODO(),
"argon2024",
radar.CTLogGetParams{
},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", log.CertificateLog)
}
{
"result": {
"certificateLog": {
"api": "RFC6962",
"avgThroughput": 0,
"description": "Google 'Argon2024' log",
"endExclusive": "2025-01-01T00:00:00Z",
"lastUpdate": "2025-01-01T00:00:00Z",
"operator": "Google",
"performance": {
"endpoints": [
{
"endpoint": "add-chain (new)",
"responseTime": 0,
"uptime": 0
}
],
"responseTime": 0,
"uptime": 0
},
"related": [
{
"description": "Google 'Argon2024' log",
"endExclusive": "2025-01-01T00:00:00Z",
"slug": "argon2024",
"startInclusive": "2024-01-01T00:00:00Z",
"state": "USABLE"
}
],
"slug": "argon2024",
"startInclusive": "2024-01-01T00:00:00Z",
"state": "USABLE",
"stateTimestamp": "2025-02-01T08:53:20Z",
"submittableCertCount": "10",
"submittedCertCount": "10",
"url": "https://ct.googleapis.com/logs/us1/argon2024/"
}
},
"success": true
}Returns Examples
{
"result": {
"certificateLog": {
"api": "RFC6962",
"avgThroughput": 0,
"description": "Google 'Argon2024' log",
"endExclusive": "2025-01-01T00:00:00Z",
"lastUpdate": "2025-01-01T00:00:00Z",
"operator": "Google",
"performance": {
"endpoints": [
{
"endpoint": "add-chain (new)",
"responseTime": 0,
"uptime": 0
}
],
"responseTime": 0,
"uptime": 0
},
"related": [
{
"description": "Google 'Argon2024' log",
"endExclusive": "2025-01-01T00:00:00Z",
"slug": "argon2024",
"startInclusive": "2024-01-01T00:00:00Z",
"state": "USABLE"
}
],
"slug": "argon2024",
"startInclusive": "2024-01-01T00:00:00Z",
"state": "USABLE",
"stateTimestamp": "2025-02-01T08:53:20Z",
"submittableCertCount": "10",
"submittedCertCount": "10",
"url": "https://ct.googleapis.com/logs/us1/argon2024/"
}
},
"success": true
}