> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://platform.bctrl.ai/llms.txt.
> For full documentation content, see https://platform.bctrl.ai/llms-full.txt.

# Artifacts

> Durable outputs produced by runs.

Artifacts are durable outputs produced by a run: downloads, screenshots, recordings, collected files, PDFs, reports, and other captured files.

In the SDK, start from the active run when you care about the current runtime session.

```ts
const run = await runtime.currentRun();

const { artifacts } = await run.artifacts.list({
  kind: "download",
});
```

You can also list artifacts across a space when you are building a broader file or audit view.

```ts
const artifacts = await space.artifacts.list({
  runtimeId: runtime.id,
  limit: 50,
});
```

## Artifact identity

Artifacts have both an artifact ID and a backing storage file ID.

```ts
for (const artifact of artifacts) {
  console.log(artifact.id, artifact.fileId, artifact.path);
}
```

Use the artifact APIs when you want run output semantics. Use space storage when you want durable file management.

## Related

* [Run Artifacts](/sdk/observability/run-artifacts)
* [Space Storage](/sdk/resources/storage)
* [Runs](/sdk/core-concepts/runs)