---
title: "Check Oauth Tokens Exist Batch"
method: POST
path: "/v2/auth/tokens/exists/batch"
tags: ["Auth Service (v2)"]
---

# Check Oauth Tokens Exist Batch

`POST /v2/auth/tokens/exists/batch`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `X-API-Key`
  - API key in header `X-Tenant-Id`
  - HTTP bearer

Batch token-presence check: per requested provider, whether the current user has any token.

## Request body

- OAuthTokenStatusBatchRequest: Provider IDs to check token presence for, for the current user.
  - `provider_ids` string[], required

## Response `200`

Successful Response

- OAuthTokenStatusBatchResponse: Per-provider token presence for the current user (provider_id -> has_token).
  - `has_token` object, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/langchain-ai/apis/langsmith-deployment-control-plane-api.md) - [All operations](https://skmtc.dev/langchain-ai/apis/langsmith-deployment-control-plane-api/llms.txt) - [OpenAPI document](https://skmtc.dev/langchain-ai/apis/langsmith-deployment-control-plane-api/revisions/a0cd098699b4?raw)
