Terradue Srl Audit Logs API

Audit log entries and search

Operations 2

GET /api/audit-logs Search Logs (Admins only) #
GET /api/audit-logs/{logId} Retrieve Log Entry (Admins only) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/terradue-srl:terradue-srl-audit-logs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

terradue-srl-audit-logs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Invenio REST Audit Logs API
  description: '## **Summary**

    The following document is a reference guide for all the REST APIs that InvenioRDM exposes.

    ## **Resources**

    - 📚 Product documentation

    - 🔗 OpenAPI GitHub repository

    - 🌐 Invenio project

    - 💬 Community support'
  version: 12.0.3
  contact:
    name: InvenioRDM Documentation
    url: https://inveniordm.docs.cern.ch
  license:
    name: MIT License
    url: https://opensource.org/licenses/MIT
  x-copyright: KTH Royal Institute of Technology 2025
  x-repo: https://github.com/Samk13/invenio-api-toolkit
servers:
- url: '{baseURL}'
  description: InvenioRDM instance
  variables:
    baseURL:
      default: https://inveniordm.web.cern.ch
      description: Base URL of your InvenioRDM instance
security:
- BearerAuth: []
tags:
- name: Audit Logs
  description: Audit log entries and search
paths:
  /api/audit-logs:
    get:
      summary: Search Logs (Admins only)
      description: Search and filter audit log entries based on various parameters.
      tags:
      - Audit Logs
      operationId: searchLogs
      parameters:
      - name: q
        in: query
        required: false
        schema:
          type: string
        description: Search query used to filter audit log entries
        example: abcd-1234
      - name: size
        in: query
        required: false
        schema:
          type: string
        description: 'Specify number of items in the results page (default: 10)'
        example: '10'
      - name: page
        in: query
        required: false
        schema:
          type: string
        description: Specify the page of results
        example: '1'
      - name: sort
        in: query
        required: false
        schema:
          type: string
        description: 'Sort search results. Built-in options are "newest", "oldest" (default: "newest")'
        example: newest
      responses:
        '200':
          description: Successful response with audit log entries
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuditLogList'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security:
      - BearerAuth: []
  /api/audit-logs/{logId}:
    get:
      summary: Retrieve Log Entry (Admins only)
      description: Retrieve a specific audit log entry by its unique identifier.
      tags:
      - Audit Logs
      operationId: retrieveLogEntry
      parameters:
      - name: logId
        in: path
        required: true
        schema:
          type: string
        description: Unique identifier for the audit log entry
      responses:
        '200':
          description: Successful response with audit log entry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuditLogEntry'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security:
      - BearerAuth: []
components:
  responses:
    Forbidden:
      description: Forbidden - Insufficient permissions
    Unauthorized:
      description: Unauthorized - Authentication required
    InternalServerError:
      description: Internal server error - Unexpected server error
    BadRequest:
      description: Bad request - Invalid input parameters
    NotFound:
      description: Not found - Resource does not exist
  schemas:
    AuditLogEntry:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the log entry
          example: 9913abd2-1a7c-42cb-a73e-e48a9e1bf4f2
        created:
          type: string
          format: date-time
          description: Timestamp when the log entry was created
          example: '2025-06-20T08:05:27.730677+00:00'
        action:
          type: string
          description: Action performed
          example: record.publish
        resource:
          type: object
          description: Resource affected by the action
          properties:
            type:
              type: string
              description: Type of the resource
              example: record
            id:
              type: string
              description: ID of the resource
              example: 5anb0-85626
        metadata:
          type: object
          description: Additional metadata about the log entry
          properties:
            ip_address:
              type: string
              description: IP address from which the action was performed
            session:
              type: string
              description: Session identifier
            parent_pid:
              type: string
              description: Parent persistent identifier
              example: 1av3p-t2p41
            revision_id:
              type: integer
              description: Revision ID of the resource
              example: 110
        user:
          type: object
          description: User who performed the action
          properties:
            id:
              type: string
              description: User ID
              example: '2'
            username:
              type: string
              description: Username
              example: user
            email:
              type: string
              description: User email address
              example: user@demo.org
        links:
          type: object
          description: Links related to the log entry
          properties:
            self:
              type: string
              description: Self link to the log entry
              example: https://example.com/api/audit-logs/9913abd2-1a7c-42cb-a73e-e48a9e1bf4f2
      description: Conflict - Resource already exists or operation conflicts
    AuditLogList:
      type: object
      properties:
        hits:
          type: object
          properties:
            total:
              type: integer
              description: Total number of log entries
            hits:
              type: array
              items:
                $ref: '#/components/schemas/AuditLogEntry'
        aggregations:
          type: object
          description: Aggregation results (if any)
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Bearer token authentication