# Validate OAuth Access Token

**POST** `/opik/auth-oauth`

Introspects a bearer access token and returns the identity it resolves to

Base URL: `https://www.comet.com/opik/api`

Tags: `MCP OAuth`

## Authorization

This operation requires no authorization.

## Header parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `Authorization` | `string` | No | — |

## Responses

| Status | Description | Media type |
| --- | --- | --- |
| `200` | Validated token identity | `application/json` |
| `401` | Missing, malformed, or unknown access token | — |

### Example response: 200 — Validated token identity

```json
{
  "expires_at": "2026-06-09T00:00:00Z",
  "resource": "string",
  "user_name": "string",
  "workspace_id": "string",
  "workspace_name": "string"
}
```

## Related pages

- [Activate a pairing session](./activatepairingsession.md)
- [Add blueprint to existing config](./updateagentconfig.md)
- [Add items to annotation queue](./additemstoannotationqueue.md)
- [Add span comment](./addspancomment.md)
- [Add span feedback score](./addspanfeedbackscore.md)
- [Add thread comment](./addthreadcomment.md)
- [Add trace comment](./addtracecomment.md)
- [Add trace feedback score](./addtracefeedbackscore.md)
- [Agent Configs](./tags/agent-configs.md)
- [Agent Insights](./tags/agent-insights.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
