---
title: "Pin a Model Lab run"
method: POST
path: "/api/v2/model-lab-api/runs/{run_id}/pin"
tags: ["Model Lab API"]
---

# Pin a Model Lab run

`POST /api/v2/model-lab-api/runs/{run_id}/pin`

## Request

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

Pin a Model Lab run for the current user.

## Path parameters

- `run_id` integer, required

## Response `204`

No Content

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `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)
