---
title: "List Model Lab run artifacts"
method: GET
path: "/api/v2/model-lab-api/runs/{run_id}/artifacts"
tags: ["Model Lab API"]
---

# List Model Lab run artifacts

`GET /api/v2/model-lab-api/runs/{run_id}/artifacts`

List artifact files for a specific Model Lab run.

## Path parameters

- `run_id` integer, required

## Query parameters

- `path` string

## Response `200`

OK

- ModelLabRunArtifactsResponse — Response containing the artifact listing for a Model Lab run.
  - `data` ModelLabRunArtifactsData, required — A run artifacts JSON:API resource object.
    - `attributes` ModelLabRunArtifactsAttributes, required — Artifact listing for a Model Lab run.
      - `files` ModelLabArtifactObjectInfo[], required — The list of artifact files and directories.
        - `file_size` integer, nullable — The size of the file in bytes.
        - `is_dir` boolean, required — Whether this artifact entry is a directory.
        - `path` string, required — The path of the artifact relative to the run's artifact root.
      - `path_in_project` string, required — The path of the run's artifacts relative to the project's artifact root.
    - `id` string, required — The unique identifier of the artifacts resource.
    - `type` 'artifacts', required — The JSON:API type for a run artifacts resource.

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `429` — Too many requests
- `500` — Internal Server Error

---

[API](https://skmtc.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/versions/da68bf029e4c/schema)
