logs

Retrieve logs for a company

Changed on
get/logs/company/{companyId}

Request

  • Base URL: https://api.abby.fr
  • URL: https://api.abby.fr/logs/company/{companyId}
  • Auth: HTTP bearer

Path parameters

companyIdstring required

ID of the company

Query parameters

limitnumber required

Number of logs to retrieve

offsetnumber required

Offset for pagination

status'ERROR' | 'SUCCESS' | 'INFO' | 'ALL'

Filter by status. Defaults to ERROR when omitted.

contextstring

Filter by context. Exact match, or a wildcard "prefix.*" matched as a prefix.

Response

Logs retrieved successfully

totalnumber required

Example response

{
  "logs": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "context": "billing",
      "data": "{\"key\": \"value\"}",
      "response": "Internal server error",
      "httpStatus": 400,
      "url": "https://api.urssaf.fr/tiersdecl/v1/ae/sepa/mandats",
      "method": "POST",
      "createdAt": "2024-01-09T10:00:00.000Z"
    }
  ],
  "total": 42
}

Changes

    • info

      added the new optional query request parameter context

    • info

      added the new optional query request parameter status

    • info

      added the optional property // to the response with the status

    This list may be incomplete.

    • info

      endpoint added

    This list may be incomplete.