---
title: "Validate API key"
method: GET
path: "/api/runs/auth/validate"
tags: ["Auth"]
---

# Validate API key

`GET /api/runs/auth/validate`

## Request

- Base URL: `https://pluto-api.trainy.ai`
- URL: `https://pluto-api.trainy.ai/api/runs/auth/validate`
- Auth: HTTP bearer

Validates the API key and returns organization information. Used by MCP clients to verify credentials.

## Response `200`

API key is valid

- ValidateApiKeyResponse
  - `valid` boolean, required
  - `organization` object, required
    - `id` string, required
    - `slug` string, required
  - `user` object, required
    - `id` string, required

## Other responses

- `401`: Invalid API key

---

[API](https://skmtc.dev/trainy/apis/mlop-api.md) - [All operations](https://skmtc.dev/trainy/apis/mlop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trainy/apis/mlop-api/revisions/5d2c0b0baecb?raw)
