ZuploZuplo
LoginStart for Free
  • Documentation
  • API Reference
Information
Analytics
    Get recent requests for a given deployment in the last 24 hoursgetGet statistics on requests by status code for a given deploymentget
API Keys - Buckets
    Lists bucketsgetCreates a bucketpostGets a bucketgetDeletes a bucketdeleteUpdates a bucketpatch
API Keys - Consumers
    Lists consumersgetCreates a consumerpostGets a consumergetDeletes a consumerdeleteUpdates a consumerpatchRoll consumer keyspost
API Keys - Keys
    Lists keysgetCreates an API keypostCreates multiple API keyspostGets an API keygetDeletes an API keydeleteUpdates an API keypatch
API Keys - Managers
    Lists managersgetCreates a managerpostDeletes a managerdelete
Audit Logs
    Query audit logsget
Build Logs
    Get build logsget
Client mTLS CA Certificates
    List Client mTLS CA CertificatesgetCreate Client mTLS CA CertificatepostDelete Client mTLS CA CertificatedeleteUpdate Client mTLS CA Certificatepatch
Custom Domains
    Get Custom DomainsgetCreate Custom DomainpostDelete a Custom DomaindeleteUpdate a Custom Domainpatch
Deployments
    Gets a deployment statusgetLists deploymentsgetUpload deployment sourcepostGet a deploymentgetDeletes a deploymentdeleteRe-deploy a deploymentpost
Environments
    Query environmentsgetGet an environmentget
MCP Servers
    API MCP ServerpostDocs MCP Serverpost
Metering - Features
    List featuresgetCreate featurepostGet featuregetDelete featuredelete
Metering - Meters
    List metersgetCreate meterpostGet metergetUpdate meterputDelete meterdeleteList meter group by valuesgetQuery metergetQuery meterpost
Metering - Plans
    List plansgetCreate a planpostGet plangetUpdate a planputDelete plandeleteArchive plan versionpostPublish planpost
Projects
    Create projectpost
Runtime Logs
    List request logsgetGet request log detailget
Tunnel Services
    Gets a provisioning statusgetGets a service configurationgetConfigures tunnel servicesput
Tunnels
    Lists tunnelsgetCreates a tunnelpostGets a tunnelgetDeletes a tunneldeleteRotates the tokenpostGets a teardown statusget
Variables
    Creates a variablepostUpdates a variablepatch
Other endpoints
    OpenAPI SpecificationgetLists accountsgetLists projectsgetWho Am Iget
Schemas
powered by Zudoku
Zuplo Developer API
Zuplo Developer API

Audit Logs


Query audit logs

GET
https://dev.zuplo.com
/v1/accounts/{accountName}/audit-logs

Retrieves audit logs with optional filtering and pagination.

Query audit logs › path Parameters

accountName
​string · required

The name of the account. You can find this in your Zuplo Portal under Settings > Project Information.

Query audit logs › query Parameters

limit
​integer · int32 · min: 1 · max: 100

Maximum number of results to return (1-100)

Default: 20
offset
​integer · int32 · min: 0

Number of results to skip for pagination

Default: 0
action
​string

Filter by specific action (e.g., 'account.create')

startDate
​string · date-time

Filter events after this date (ISO 8601 format)

endDate
​string · date-time

Filter events before this date (ISO 8601 format)

actor
​string

Filter by actor email address or subject identifier

success
​boolean

Filter by success status (true for successful, false for failed)

Query audit logs › Responses

The request has succeeded.

Response containing a list of audit logs with pagination
Zuplo.AuditLogs.AuditLogsResponse
​Zuplo.AuditLogs.AuditLog[] · required

Array of audit log entries

​object · required

Pagination information

GET/v1/accounts/{accountName}/audit-logs
curl https://dev.zuplo.com/v1/accounts/:accountName/audit-logs
Example Responses
{ "data": [ { "action": "action", "metadata": { "key": {} }, "actor": { "sub": "sub", "email": "email", "type": "type", "connection": "connection", "actingAs": { "sub": "sub", "email": "email" }, "metadata": { "key": {} } }, "resources": [ { "type": "type", "id": "id", "metadata": { "key": {} } } ], "context": { "ipAddress": "ipAddress", "userAgent": "userAgent", "country": "country", "region": "region", "city": "city", "postalCode": "postalCode", "metroCode": "metroCode", "asOrg": "asOrg" }, "route": { "source": "source", "url": "url", "method": "method" }, "timestamp": "2024-08-25T15:00:00Z", "requestId": "requestId", "success": true, "error": "error" } ], "pagination": { "limit": 0, "offset": 0, "total": 0, "hasMore": true } }
json
application/json

API Keys - ManagersBuild Logs