Sonatype Audit Logs API

Use this REST API to access the IQ Server audit logs.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v2/auditLogs Get audit events for a date range · Get audit logs #
Ask an LLM
“Who changed what in IQ or Lifecycle over a date range?”
“Can I pull audit logs for a specific time period?”
Tell an agent
Get audit logs from {start} to {end}.
Show audit events between {start} and {end}.

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/sonatype:sonatype-audit-logs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

sonatype-audit-logs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sonatype Audit Logs API
  version: '1.0'
  description: 'Operations tagged Audit Logs across 2 of this provider''s published API definitions: sonatype-lifecycle-openapi.yml, sonatype-iq-openapi.yml. Each path carries the servers of the definition it was published in.'
security:
- BasicAuth: []
  BearerAuth: []
tags:
- description: Use this REST API to access the IQ Server audit logs.
  name: Audit Logs
paths:
  /api/v2/auditLogs:
    get:
      description: 'Use this method to retrieve the audit events for the specified time period.


        Permissions required: Access Audit Log'
      operationId: getAuditLogs
      parameters:
      - description: Enter the start UTC date in the format (yyyy-mm-dd).
        in: query
        name: startUtcDate
        schema:
          type: string
      - description: Enter the end UTC date in the format (yyyy-mm-dd).
        in: query
        name: endUtcDate
        schema:
          type: string
      responses:
        '200':
          content:
            text/plain: {}
          description: The response text contains lines of audit events in chronologically ascending order.
      tags:
      - Audit Logs
      summary: Get audit logs
      x-summary-source: derived
components:
  securitySchemes:
    BasicAuth:
      scheme: basic
      type: http
    BearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http
x-refined-from:
- sonatype-lifecycle-openapi.yml
- sonatype-iq-openapi.yml