InfraNest Audit Log API
The Audit Log API from InfraNest — 2 operation(s) for audit log.
The Audit Log API from InfraNest — 2 operation(s) for audit log.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/infranest:infranest-audit-log-api"
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.
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: 3.2.0
info:
title: InfraNest Audit Log API
description: Domains, DNS, cloud servers, certificates and uptime monitoring in one API, across the registrars, DNS hosts and clouds you already use, such as Cloudflare, Route 53, Hetzner and GoDaddy. Start in a free sandbox with sample data, use scoped tokens, try DNS changes as a dry run first, and retry safely with idempotency keys.
version: 1.0.0
x-logo:
url: https://developers.infranest.io/logo.svg
altText: InfraNest
contact:
name: InfraNest
url: https://developers.infranest.io
termsOfService: https://infranest.io/terms
servers:
- url: https://api.infranest.io
security:
- default: []
tags:
- name: Audit Log
description: ''
paths:
/api/organizations/{organization_id}/audit-logs:
get:
summary: List audit log entries
operationId: getApiOrganizationsOrganization_idAuditLogs
description: Who changed what in the organization, newest first. Filter with the dates `from` and `to`, `action` (matches part of the name), `resource_type` and `token_id` for changes made through one API token; page with `per_page` (default 25, at most 100) and `page`.
parameters:
- in: path
name: organization_id
required: true
description: Your organization's ID.
schema:
type: integer
responses:
'200':
description: OK
content:
application/json:
example:
current_page: 1
data:
- id: 35
organization_id: 1
user_id: 1
action: status_page_subscribers.viewed
resource_type: StatusPage
resource_id: 1
meta:
count: 3
status_page: Northwind Cloud Status
ip_address: 127.0.0.1
user_agent: Symfony
created_at: '2026-01-15T12:00:00.000000Z'
impersonator_id: null
via_token_id: 5
via_token_name: api-samples
user:
id: 1
name: Alex Rivera
email: demo@example.com
analytics_id: null
impersonator: null
- id: 34
organization_id: 1
user_id: 1
action: data.exported
resource_type: null
resource_id: null
meta:
month: 2025-12
format: csv
filters: []
resource: uptime-report
ip_address: 127.0.0.1
user_agent: Symfony
created_at: '2026-01-15T12:00:00.000000Z'
impersonator_id: null
via_token_id: 5
via_token_name: api-samples
user:
id: 1
name: Alex Rivera
email: demo@example.com
analytics_id: null
impersonator: null
first_page_url: http://localhost/api/organizations/1/audit-logs?page=1
from: 1
last_page: 2
last_page_url: http://localhost/api/organizations/1/audit-logs?page=2
links:
- url: null
label: '« Previous'
page: null
active: false
- url: http://localhost/api/organizations/1/audit-logs?page=1
label: '1'
page: 1
active: true
next_page_url: http://localhost/api/organizations/1/audit-logs?page=2
path: http://localhost/api/organizations/1/audit-logs
per_page: 25
prev_page_url: null
to: 25
total: 34
'401':
$ref: '#/components/responses/Error401'
'403':
$ref: '#/components/responses/Error403'
'404':
$ref: '#/components/responses/Error404'
'429':
$ref: '#/components/responses/Error429'
tags:
- Audit Log
x-infranest-scope: audit-log.read
x-infranest-token-writable: false
x-infranest-module: audit-log
x-infranest-errors:
- unauthenticated
- scope_missing
- wrong_organization
- test_token_required
- test_token_sandbox_only
- permission_denied
- not_found
- rate_limited
/api/organizations/{organization_id}/audit-logs/export:
get:
summary: Export the audit log as CSV
operationId: getApiOrganizationsOrganization_idAuditLogsExport
description: Downloads every matching entry as a CSV file, with the same filters as the list and no paging. The export is itself recorded in the audit log.
parameters:
- in: path
name: organization_id
required: true
description: Your organization's ID.
schema:
type: integer
responses:
'200':
description: The matching audit log entries as CSV.
content:
text/csv:
schema:
type: string
format: binary
'401':
$ref: '#/components/responses/Error401'
'403':
$ref: '#/components/responses/Error403'
'404':
$ref: '#/components/responses/Error404'
'429':
$ref: '#/components/responses/Error429'
tags:
- Audit Log
x-infranest-scope: audit-log.read
x-infranest-token-writable: false
x-infranest-module: audit-log
x-infranest-errors:
- unauthenticated
- scope_missing
- wrong_organization
- test_token_required
- test_token_sandbox_only
- permission_denied
- not_found
- rate_limited
components:
responses:
Error401:
description: The token is missing, wrong, expired or revoked. The body is an Error; its `code` says which.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Error404:
description: Nothing exists at this address, or you cannot see it. The body is an Error; its `code` says which.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Error429:
description: 'Too many requests: wait the seconds in Retry-After. The body is an Error; its `code` says which.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Error403:
description: The token or your role may not do this here. The body is an Error; its `code` says which.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
Error:
type: object
required:
- code
- message
- hint
- retryable
properties:
code:
type: string
enum:
- unauthenticated
- scope_missing
- session_only
- not_token_writable
- write_disabled
- wrong_organization
- token_ip_not_allowed
- test_token_required
- test_token_sandbox_only
- api_token_required
- sandbox_personal
- sandbox_needs_organization
- organization_offline
- permission_denied
- forbidden
- organization_suspended
- read_only_session
- sso_required
- two_factor_setup_required
- password_reset_required
- email_verification_required
- plan_limit
- not_found
- method_not_allowed
- conflict
- validation_failed
- unprocessable
- range_too_large
- rate_limited
- idempotency_key_reused
- idempotency_in_progress
- provider_refused
- provider_rate_limited
- provider_unavailable
- maintenance
- server_error
description: 'What kind of error this is. Stable: codes are added, never renamed or removed.'
message:
type: string
description: A sentence for people. May be reworded.
hint:
type: string
description: What to do about it.
retryable:
type: boolean
description: Whether the same request can succeed later unchanged.
docs_url:
type: string
format: uri
reference:
type: string
description: The request ID; also the X-Request-Id header.
retry_after:
type: integer
description: Seconds to wait before retrying.
required:
type: string
description: The missing token scope (scope_missing).
required_permission:
type: string
description: The missing role permission (permission_denied).
errors:
type: object
additionalProperties:
type: array
items:
type: string
securitySchemes:
default:
type: http
scheme: bearer
description: Create a token in the app under My account → Developer. Tokens are managed in the app only, never through the API.
externalDocs:
description: 'InfraNest: domains, DNS, cloud servers, certificates and uptime monitoring in one place'
url: https://infranest.io