Cloudera Audit API

The Audit API from Cloudera — 11 operation(s) for audit.

Operations 11

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

POST /api/v1/audit/archiveAuditEvents Archive audit events for a time range now · Archive audit events #
Ask an LLM
“Can I force CDP audit events to be archived immediately instead of waiting for the schedule?”
“How do I trigger an on-demand archive of audit events between two timestamps?”
Tell an agent
Archive the audit events from {fromTimestamp} to {toTimestamp} right now.
Kick off an immediate audit archive run covering everything since {fromTimestamp} up to {toTimestamp}.
POST /api/v1/audit/batchEventsForArchiving Group audit events into batches for manual archiving · Create batches of audit events to be archived #
Ask an LLM
“How do I split audit events into batches so I can archive them to my own storage?”
“Is batching audit events for archiving asynchronous, and how do I track it?”
Tell an agent
Create archive batches for audit events between {fromTimestamp} and {toTimestamp}.
Start batching the audit log from {fromTimestamp} through {toTimestamp} so I can export it myself.
POST /api/v1/audit/configureArchiving Configure audit archiving to cloud storage · Configures the audit system for archiving audit events to external cloud storage #
Ask an LLM
“How do I set up CDP to archive audit events to an external cloud storage bucket?”
“Can I just verify an audit archiving storage location and credential without saving the configuration?”
Tell an agent
Turn on audit archiving to {storageLocation} using credential {credentialName}.
Set audit archiving enabled to {enabled} with location {storageLocation}, credential {credentialName} and region {storageRegion}.
POST /api/v1/audit/getArchivingConfig Show the current audit archiving configuration · Retrieve the current archiving configuration #
Ask an LLM
“Where are my audit events currently being archived to?”
“Is audit archiving switched on for my account right now?”
Tell an agent
Show me the current audit archiving configuration.
Tell me which storage location and credential audit archiving is set to use.
POST /api/v1/audit/getArchivingStatus Check the status of an audit archive run · Retrieve the status for an archive process #
Ask an LLM
“Did my on-demand audit archive job finish yet?”
“What status is an audit archiving task in?”
Tell an agent
Check the status of audit archive task {taskId}.
Tell me whether archive process {taskId} has completed.
POST /api/v1/audit/getBatchEventsForArchivingStatus Check progress of creating archive batches · Get the status of creating batches of audit events to be archived #
Ask an LLM
“Are my audit event batches ready to be archived yet?”
“Why is checking batch creation status disabled when automated archiving is on?”
Tell an agent
Check how the batching of audit events is going for task {taskId}.
Show the status of the latest audit event batching job.
POST /api/v1/audit/listEvents Search the audit log for a time window · List all audit events recorded in a specified time span, and optionally with a… #
Ask an LLM
“What audit events were recorded in my CDP account between two dates?”
“Can I filter audit events by actor, event source or result code?”
Tell an agent
List audit events from {fromTimestamp} to {toTimestamp}.
Show audit events by actor {actorCrn} between {fromTimestamp} and {toTimestamp}.
POST /api/v1/audit/listEventsInArchiveBatch List the events inside one archive batch · List events contained in a single archive batch #
Ask an LLM
“What audit events are contained in a particular archive batch?”
“Can I read a batch's events again before I mark it archived?”
Tell an agent
List the events in archive batch {archiveId}.
Pull every audit event from batch {archiveId} so I can upload it.
POST /api/v1/audit/listOutstandingArchiveBatches List archive batches not yet archived · List outstanding (unarchived) archive batches #
Ask an LLM
“Which audit archive batches still haven't been marked as archived?”
“What unarchived batches are waiting from last month?”
Tell an agent
List outstanding archive batches.
Show unarchived batches created between {fromTimestamp} and {toTimestamp}.
POST /api/v1/audit/listRecentArchiveRuns List recent audit archive runs · List recent archive runs #
Ask an LLM
“When did audit archiving last run for my account?”
“What were the outcomes of the most recent archive runs?”
Tell an agent
Show the recent audit archive runs.
List the last {limit} archive runs.
POST /api/v1/audit/markArchiveBatchesAsSuccessful Mark archive batches as successfully archived · Mark archive batches as successful #
Ask an LLM
“How do I tell CDP that I've finished archiving a batch of audit events?”
“What happens to a batch's events once it's marked as successfully archived?”
Tell an agent destructive · confirm first
Mark archive batches {archiveIds} as successfully archived.
Close out the batches {archiveIds} now that they're stored in my bucket.

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/cloudera:cloudera-audit-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

cloudera-audit-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 0.9.163
  title: Cloudera Service Audit API
  license:
    name: Apache 2.0
  description: Cloudera CDP Auditing is a web service for interacting with the audit subsystem.
  termsOfService: https://www.cloudera.com/legal/commercial-terms-and-conditions.html
tags:


# --- truncated at 32 KB (34 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/cloudera/refs/heads/main/openapi/cloudera-audit-api-openapi.yml