---
search:
  tags:
    - OAuth
    - GET
seo:
  description: >-
    Read sanitized pending OAuth consent context. Reference for the GET
    /oauth/request endpoint in the agentsub Gateway API.
sidebar:
  label: Read sanitized pending OAuth consent context
  badge: GET
title: Read sanitized pending OAuth consent context
type: openapi-operation
---
`GET /oauth/request`

**Responses**

- `200` — Successful response

Response example, 200:

```json
{
  "clientName": "string",
  "resource": "string",
  "expiresAt": 0,
  "allowedIdentities": [
    "clerk"
  ],
  "requestedScope": "agentsub:agent",
  "scopes": {
    "clerk": "agentsub:owner",
    "agentid": "agentsub:agent"
  },
  "clientOrigin": "http://example.com"
}
```
