---
title: "Introspect credential"
method: GET
path: "/api/v2"
tags: ["Authentication"]
---

# Introspect credential

`GET /api/v2`

Returns the organization and mode your token acts as. Useful as a health check and to confirm you're pointed at the right credential.

## Response `200`

The organization and mode behind the token.

- object
  - `object` 'api_v2', required
  - `organization_id` string, required — The organization the token belongs to.
  - `test_mode` boolean, required — `true` when the token acts in test mode, `false` in production. Decided by the client the token was minted from. Prefer this over the deprecated `mode` field.
  - `mode` 'sandbox' | 'production' — Deprecated — `sandbox` is the legacy wire name for test mode; read `test_mode` instead. Kept unchanged so existing integrations never break.

## Other responses

- `401` — `unauthorized` — the platform access token is missing or expired. Exchange your client credentials for a fresh one.

---

[API](https://skmtc.dev/agentcard/apis/agentcard-api.md) · [All operations](https://skmtc.dev/agentcard/apis/agentcard-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agentcard/agentcard-api/revisions/638d12c8303f/schema)
