---
title: "List Model Lab project artifacts"
method: GET
path: "/api/v2/model-lab-api/projects/{project_id}/artifacts"
tags: ["Model Lab API"]
---

# List Model Lab project artifacts

`GET /api/v2/model-lab-api/projects/{project_id}/artifacts`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/model-lab-api/projects/{project_id}/artifacts`
- Auth: API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`

List all artifact files for a specific Model Lab project.

## Path parameters

- `project_id` integer, required

## Response `200`

OK

- ModelLabProjectArtifactsResponse: Response containing the artifact listing for a Model Lab project.
  - `data` ModelLabProjectArtifactsData, required: A project artifacts JSON:API resource object.
    - `attributes` ModelLabProjectArtifactsAttributes, required: Artifact listing for a Model Lab project.
      - `files` ModelLabArtifactInfo[], required: The list of artifact files associated with the project.
        - `artifact_path` string, required: The full artifact path relative to the project's artifact root.
        - `created_at` string, date-time, required: The date and time the artifact was created.
        - `file_size` integer, nullable: The size of the file in bytes.
        - `filename` string, required: The filename of the artifact.
    - `id` string, required: The unique identifier of the project artifacts resource.
    - `type` 'project_files', required: The JSON:API type for a project artifacts resource.

## Other responses

- `400`: Bad Request
- `429`: Too many requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
