GET

/api/v1/audit

Audit log with filters, newest first; paginate using before_seq

Request#

POSIX shell · curl
curl --fail-with-body --request GET \
  "$ADBR_API_URL/api/v1/audit" \
  -H "Authorization: Bearer $ADBR_API_TOKEN"

Use the local address and token from API & MCP. Replace path placeholders such as {id} with actual IDs.

Authentication and permissions#

Authentication: Bearer token

Scopes: audit:read

All listed scopes are required; admin satisfies scope checks. Account permissions, request content, vault state and resource permissions can impose additional requirements.

Parameters#

ParameterLocationRequiredDescription
categoryqueryNo
fromqueryNo
toqueryNo
actionqueryNo
sourcequeryNo
actor_typequeryNo
entity_idqueryNo
entity_noqueryNo
resultqueryNo
searchqueryNo
request_idqueryNo
before_seqqueryNo
limitqueryNo
Complete parameter schemas
OpenAPI JSON
[
  {
    "schema": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "account"
          ]
        },
        {
          "type": "string",
          "enum": [
            "profile"
          ]
        },
        {
          "type": "string",
          "enum": [
            "startup"
          ]
        },
        {
          "type": "string",
          "enum": [
            "proxy"
          ]
        },
        {
          "type": "string",
          "enum": [
            "team"
          ]
        }
      ]
    },
    "in": "query",
    "name": "category",
    "required": false
  },
  {
    "schema": {
      "type": "integer",
      "minimum": 0
    },
    "in": "query",
    "name": "from",
    "required": false
  },
  {
    "schema": {
      "type": "integer",
      "minimum": 0
    },
    "in": "query",
    "name": "to",
    "required": false
  },
  {
    "schema": {
      "type": "string",
      "maxLength": 100
    },
    "in": "query",
    "name": "action",
    "required": false
  },
  {
    "schema": {
      "type": "string",
      "maxLength": 20
    },
    "in": "query",
    "name": "source",
    "required": false
  },
  {
    "schema": {
      "type": "string",
      "maxLength": 20
    },
    "in": "query",
    "name": "actor_type",
    "required": false
  },
  {
    "schema": {
      "type": "string",
      "maxLength": 64
    },
    "in": "query",
    "name": "entity_id",
    "required": false
  },
  {
    "schema": {
      "type": "integer",
      "minimum": 1
    },
    "in": "query",
    "name": "entity_no",
    "required": false
  },
  {
    "schema": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "ok"
          ]
        },
        {
          "type": "string",
          "enum": [
            "denied"
          ]
        },
        {
          "type": "string",
          "enum": [
            "error"
          ]
        }
      ]
    },
    "in": "query",
    "name": "result",
    "required": false
  },
  {
    "schema": {
      "type": "string",
      "maxLength": 200
    },
    "in": "query",
    "name": "search",
    "required": false
  },
  {
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    },
    "in": "query",
    "name": "request_id",
    "required": false
  },
  {
    "schema": {
      "type": "integer",
      "minimum": 1
    },
    "in": "query",
    "name": "before_seq",
    "required": false
  },
  {
    "schema": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000
    },
    "in": "query",
    "name": "limit",
    "required": false
  }
]

Request body#

No request body declared.

Responses#

200 · Default response
OpenAPI JSON
{
  "description": "Default Response",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "items",
          "next_before_seq"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "seq",
                "id",
                "ts",
                "actor_type",
                "actor_id",
                "actor_label",
                "source",
                "action",
                "entity_type",
                "entity_id",
                "entity_no",
                "result",
                "error_code",
                "details",
                "request_id"
              ],
              "properties": {
                "seq": {
                  "type": "integer"
                },
                "id": {
                  "type": "string"
                },
                "ts": {
                  "type": "integer"
                },
                "actor_type": {
                  "type": "string"
                },
                "actor_id": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "actor_label": {
                  "type": "string"
                },
                "source": {
                  "type": "string"
                },
                "action": {
                  "type": "string"
                },
                "entity_type": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "entity_id": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "entity_no": {
                  "type": [
                    "null",
                    "integer"
                  ]
                },
                "result": {
                  "type": "string"
                },
                "error_code": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "details": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "request_id": {
                  "type": [
                    "null",
                    "string"
                  ]
                }
              }
            }
          },
          "next_before_seq": {
            "type": [
              "null",
              "integer"
            ]
          }
        }
      }
    }
  }
}
default · HTTP error envelope. The status and error.code identify the failure.
OpenAPI JSON
{
  "description": "HTTP error envelope. The status and error.code identify the failure.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/Error"
      }
    }
  }
}

General authentication and transport errors may occur in addition to the documented responses.

OpenAPI definition#

Complete operation definition
OpenAPI JSON
{
  "summary": "Audit-Log mit Filtern, neueste zuerst; Weiterblättern über before_seq",
  "tags": [
    "Audit-Log"
  ],
  "parameters": [
    {
      "schema": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "account"
            ]
          },
          {
            "type": "string",
            "enum": [
              "profile"
            ]
          },
          {
            "type": "string",
            "enum": [
              "startup"
            ]
          },
          {
            "type": "string",
            "enum": [
              "proxy"
            ]
          },
          {
            "type": "string",
            "enum": [
              "team"
            ]
          }
        ]
      },
      "in": "query",
      "name": "category",
      "required": false
    },
    {
      "schema": {
        "type": "integer",
        "minimum": 0
      },
      "in": "query",
      "name": "from",
      "required": false
    },
    {
      "schema": {
        "type": "integer",
        "minimum": 0
      },
      "in": "query",
      "name": "to",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "maxLength": 100
      },
      "in": "query",
      "name": "action",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "maxLength": 20
      },
      "in": "query",
      "name": "source",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "maxLength": 20
      },
      "in": "query",
      "name": "actor_type",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "maxLength": 64
      },
      "in": "query",
      "name": "entity_id",
      "required": false
    },
    {
      "schema": {
        "type": "integer",
        "minimum": 1
      },
      "in": "query",
      "name": "entity_no",
      "required": false
    },
    {
      "schema": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "ok"
            ]
          },
          {
            "type": "string",
            "enum": [
              "denied"
            ]
          },
          {
            "type": "string",
            "enum": [
              "error"
            ]
          }
        ]
      },
      "in": "query",
      "name": "result",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "maxLength": 200
      },
      "in": "query",
      "name": "search",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 128
      },
      "in": "query",
      "name": "request_id",
      "required": false
    },
    {
      "schema": {
        "type": "integer",
        "minimum": 1
      },
      "in": "query",
      "name": "before_seq",
      "required": false
    },
    {
      "schema": {
        "type": "integer",
        "minimum": 1,
        "maximum": 1000
      },
      "in": "query",
      "name": "limit",
      "required": false
    }
  ],
  "x-required-scopes": [
    "audit:read"
  ],
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "items",
              "next_before_seq"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "seq",
                    "id",
                    "ts",
                    "actor_type",
                    "actor_id",
                    "actor_label",
                    "source",
                    "action",
                    "entity_type",
                    "entity_id",
                    "entity_no",
                    "result",
                    "error_code",
                    "details",
                    "request_id"
                  ],
                  "properties": {
                    "seq": {
                      "type": "integer"
                    },
                    "id": {
                      "type": "string"
                    },
                    "ts": {
                      "type": "integer"
                    },
                    "actor_type": {
                      "type": "string"
                    },
                    "actor_id": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "actor_label": {
                      "type": "string"
                    },
                    "source": {
                      "type": "string"
                    },
                    "action": {
                      "type": "string"
                    },
                    "entity_type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "entity_id": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "entity_no": {
                      "type": [
                        "null",
                        "integer"
                      ]
                    },
                    "result": {
                      "type": "string"
                    },
                    "error_code": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "details": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": true
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "request_id": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              },
              "next_before_seq": {
                "type": [
                  "null",
                  "integer"
                ]
              }
            }
          }
        }
      }
    },
    "default": {
      "description": "HTTP error envelope. The status and error.code identify the failure.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    }
  }
}

Search for headless, MCP, cookies or an API endpoint.

↑ ↓ NavigateEnter OpenEsc Close