The micro-VM for AI agents — light enough to embed on your laptop, elastic enough to power an agentic cloud.
AuditApi
All URIs are relative to http://localhost:3000
| Method | HTTP request | Description |
|---|---|---|
| getAllAuditLogs | GET /audit | Get all audit logs |
| getOrganizationAuditLogs | GET /audit/organizations/{organizationId} | Get audit logs for organization |
getAllAuditLogs
PaginatedAuditLogs getAllAuditLogs()
Example
import {
AuditApi,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new AuditApi(configuration);
let page: number; //Page number of the results (optional) (default to 1)
let limit: number; //Number of results per page (optional) (default to 100)
let from: Date; //From date (ISO 8601 format) (optional) (default to undefined)
let to: Date; //To date (ISO 8601 format) (optional) (default to undefined)
let nextToken: string; //Token for cursor-based pagination. When provided, takes precedence over page parameter. (optional) (default to undefined)
const { status, data } = await apiInstance.getAllAuditLogs(
page,
limit,
from,
to,
nextToken
);
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| page | [number] | Page number of the results | (optional) defaults to 1 |
| limit | [number] | Number of results per page | (optional) defaults to 100 |
| from | [Date] | From date (ISO 8601 format) | (optional) defaults to undefined |
| to | [Date] | To date (ISO 8601 format) | (optional) defaults to undefined |
| nextToken | [string] | Token for cursor-based pagination. When provided, takes precedence over page parameter. | (optional) defaults to undefined |
Return type
PaginatedAuditLogs
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Paginated list of all audit logs | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getOrganizationAuditLogs
PaginatedAuditLogs getOrganizationAuditLogs()
Example
import {
AuditApi,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new AuditApi(configuration);
let organizationId: string; //Organization ID
let page: number; //Page number of the results (optional) (default to 1)
let limit: number; //Number of results per page (optional) (default to 100)
let from: Date; //From date (ISO 8601 format) (optional) (default to undefined)
let to: Date; //To date (ISO 8601 format) (optional) (default to undefined)
let nextToken: string; //Token for cursor-based pagination. When provided, takes precedence over page parameter. (optional) (default to undefined)
const { status, data } = await apiInstance.getOrganizationAuditLogs(
organizationId,
page,
limit,
from,
to,
nextToken
);
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | [string] | Organization ID | |
| page | [number] | Page number of the results | (optional) defaults to 1 |
| limit | [number] | Number of results per page | (optional) defaults to 100 |
| from | [Date] | From date (ISO 8601 format) | (optional) defaults to undefined |
| to | [Date] | To date (ISO 8601 format) | (optional) defaults to undefined |
| nextToken | [string] | Token for cursor-based pagination. When provided, takes precedence over page parameter. | (optional) defaults to undefined |
Return type
PaginatedAuditLogs
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Paginated list of organization audit logs | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]