European Parliament MCP Server API - v1.0.1
    Preparing search index...

    Interface AuditLogEntry

    Represents a single audited operation and its contextual metadata.

    Designed for serialisation to append-only log sinks.

    interface AuditLogEntry {
        action: string;
        timestamp: Date;
        clientId?: string;
        duration?: number;
        ipAddress?: string;
        params?: Record<string, unknown>;
        result?: { success: boolean; count?: number; error?: string };
        userId?: string;
    }
    Index

    Properties

    action: string

    Action performed (e.g. 'get_meps', 'tool_call')

    timestamp: Date

    Timestamp of the event

    clientId?: string

    Client identifier

    duration?: number

    Wall-clock duration of the operation in milliseconds

    ipAddress?: string

    IP address (for security monitoring)

    params?: Record<string, unknown>

    Sanitised parameters used in the action

    result?: { success: boolean; count?: number; error?: string }

    Outcome metadata

    userId?: string

    User identifier (if authenticated)