# Get Authorization Consent Context

**GET** `/oauth/authorize/context`

Get the client details, eligible workspaces, and a CSRF token used to render the consent screen

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

Tags: `MCP OAuth`

## Authorization

This operation requires no authorization.

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `client_id` | `string` | Yes | — |
| `redirect_uri` | `string` | Yes | — |

## Responses

| Status | Description | Media type |
| --- | --- | --- |
| `200` | Authorization consent context | `application/json` |

### Example response: 200 — Authorization consent context

```json
{
  "client_logo_uri": "string",
  "client_name": "string",
  "csrf_token": "string",
  "workspaces": [
    {
      "id": "string",
      "is_default": true,
      "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.
