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;
    }

    Properties

    appName: string

    The app name.

    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 session ID.

    userId: string

    The user ID.