Skip to main content
GET
/
api
/
audit
/
audit-logs
Get Audit Logs
curl --request GET \
  --url https://app.apigene.ai/api/audit/audit-logs \
  --header 'Authorization: Bearer <token>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: 'Authorization: Bearer {token}'

Query Parameters

resource_type
string | null

Filter by resource type (application, agent, mcp_server, context)

resource_id
string | null

Filter by specific resource ID

action
string | null

Filter by action (create, update, delete)

user_id
string | null

Filter by user ID

start_date
string<date-time> | null

Filter by start date (ISO format)

end_date
string<date-time> | null

Filter by end date (ISO format)

skip
integer
default:0

Number of records to skip

Required range: x >= 0
limit
integer
default:100

Maximum number of records to return

Required range: 1 <= x <= 1000

Response

Successful Response