# Interface SaveArtifactRequest

The parameters for `saveArtifact`.

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

- Defined in artifacts/base_artifact_service.ts:12

## Properties

### appName

appName: string

The app name.

- Defined in artifacts/base_artifact_service.ts:14

### artifact

artifact: Part

The artifact to save.

- Defined in artifacts/base_artifact_service.ts:22

### `Optional` customMetadata

customMetadata?: Record<string, unknown>

Optional custom metadata to save with the artifact.

- Defined in artifacts/base_artifact_service.ts:26

### filename

filename: string

The filename of the artifact.

- Defined in artifacts/base_artifact_service.ts:20

### sessionId

sessionId: string

The session ID.

- Defined in artifacts/base_artifact_service.ts:18

### userId

userId: string

The user ID.

- Defined in artifacts/base_artifact_service.ts:16