ADK for TypeScript: API Reference
    Preparing search index...

    Interface SaveArtifactRequest

    The parameters for saveArtifact.

    interface SaveArtifactRequest {
        appName: string;
        artifact: Part;
        customMetadata?: Record<string, unknown>;
        filename: string;
        sessionId: string;
        userId: string;
    }

    Hierarchy (View Summary)

    Properties

    appName: string

    The name of the application.

    artifact: Part

    The artifact to save.

    customMetadata?: Record<string, unknown>

    Optional custom metadata to save with the artifact.

    filename: string

    The filename of the artifact.

    sessionId: string

    The ID of the session.

    userId: string

    The ID of the user.