Skip to main content
POST
/
logs
/
cleanup
Cleanup Old Logs
curl --request POST \
  --url https://api.example.com/logs/cleanup \
  --header 'Authorization: Bearer <token>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.mrassistant.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

retention_days
integer
default:90

Number of days to retain logs

Required range: 1 <= x <= 365

Response

Successful Response