GitOps Logs
Use these operations to interact with GitOps logs in Cortex.
Required permissions
Your API key must have the View GitOps logs permission.
Operations
API key must have the View GitOps logs permission.
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
File name the within repository
Repository name as defined in your Git provider
Commit SHA
Filter by error only
Filter by operation
Page number to return, 0-indexed. Default 0.
0Number of results to return per page, between 1 and 1000. Default 250.
250Unique tag for the Scorecard.
The entity tag (x-cortex-tag) that identifies the entity.
Retrieve GitOps logs based on given criteria
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
GET /api/v1/gitops-logs?page=0&pageSize=250&scorecardTag=text&tag=text HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"logs": [
{
"commit": "text",
"dateCreated": "2025-11-13T00:27:07.641Z",
"files": [
{
"entity": {
"name": "text",
"operation": "CREATED",
"tag": "text",
"type": "text"
},
"error": {
"errorType": "text",
"message": "text"
},
"fileName": "text",
"isPackageFile": true,
"scorecard": {
"name": "text",
"operation": "CREATED",
"tag": "text"
},
"workflow": {
"name": "text",
"operation": "CREATED",
"tag": "text"
}
}
],
"repository": {
"provider": "AZURE_DEVOPS",
"repositoryName": "cortexapps/catalog"
}
}
],
"page": 1,
"total": 1,
"totalPages": 1
}Last updated
Was this helpful?