v54

latestSwagger 2.0AGPL-3.0raw.githubusercontent.com2026-08-03397565628.8 KB
Audit

Generate fake audit log

post/api/v2/audit/testgenerate

Request body

action'create' | 'write' | 'delete' | 'start' | 'stop' | 'login' | 'logout' | 'register' | 'request_password_reset' | 'connect' | 'disconnect' | 'open' | 'close'
additional_fieldsinteger[]
build_reason'initiator' | 'autostart' | 'autostop' | 'dormancy' | 'dashboard' | 'cli' | 'ssh_connection' | 'vscode_connection' | 'jetbrains_connection' | 'task_auto_pause' | 'task_manual_pause' | 'task_resume'
organization_idstring uuid
request_idstring uuid
resource_idstring uuid
resource_type'template' | 'template_version' | 'user' | 'workspace' | 'workspace_build' | 'git_ssh_key' | 'api_key' | 'group' | 'license' | 'convert_login' | 'health_settings' | 'notifications_settings' | 'prebuilds_settings' | 'oauth2_provider_settings' | 'workspace_proxy' | 'organization' | 'oauth2_provider_app' | 'oauth2_provider_app_secret' | 'custom_role' | 'organization_member' | 'notification_template' | 'idp_sync_settings_organization' | 'idp_sync_settings_group' | 'idp_sync_settings_role' | 'workspace_agent' | 'workspace_app' | 'task' | 'ai_seat' | 'ai_provider' | 'ai_provider_key' | 'ai_gateway_key' | 'group_ai_budget' | 'user_ai_budget_override' | 'chat' | 'user_secret' | 'user_skill'
timestring date-time

Response

No Content