---
title: "Confirm a credential"
method: GET
path: "/v1/whoami"
tags: ["Workspace"]
---

# Confirm a credential

`GET /v1/whoami`

## Request

- Base URL: `https://www.chatrail.dev`
- URL: `https://www.chatrail.dev/v1/whoami`
- Auth: HTTP bearer

Shows exactly what the presented credential can do. The first call to make.

## Response `200`

The principal, its scopes and its workspace.

---

[API](https://skmtc.dev/chatrail/apis/chatrail-api.md) · [All operations](https://skmtc.dev/chatrail/apis/chatrail-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chatrail/apis/chatrail-api/revisions/acc5b88c6f59?raw)
