@squidcloud/client
    Preparing search index...

    Interface AgentAuditLogEntry

    One entry of an agent's audit log. An invocation holds the prompt the agent received; a management entry describes a change to the agent, such as an update, with the kind of change in tags.action.

    interface AgentAuditLogEntry {
        createdAt: Date;
        durationMs?: number;
        id: string;
        jobId?: string;
        prompt: string;
        systemInstructions?: string;
        tags: Record<string, string>;
        type: "invocation" | "management";
        updates?: AgentAuditLogUpdateEntry[];
        updatesTruncated?: boolean;
    }
    Index
    createdAt: Date

    When the entry was recorded.

    durationMs?: number

    Milliseconds from the prompt to the agent's response; absent until the response is recorded.

    id: string

    Identifies the entry within the agent's audit log; entries recorded with the same content in the same millisecond share it.

    jobId?: string

    The job of an invocation; absent for a management entry.

    prompt: string

    The prompt the agent received, or a description of the change.

    systemInstructions?: string

    The system instructions sent with the prompt; present only when the agent logs its full context.

    tags: Record<string, string>

    Identity of the caller (userId, userName, authType, clientId, sourceIp) and other details.

    type: "invocation" | "management"

    The kind of the entry.

    The updates of the invocation's job, oldest first; present only when include.updates is set.

    updatesTruncated?: boolean

    Set when the job's updates were too large to return in full; updates holds the oldest of them.