---
title: "Metadata for the presented key"
method: GET
path: "/v1/keys/self"
tags: ["Keys"]
---

# Metadata for the presented key

`GET /v1/keys/self`

## Request

- Base URL: `https://api.m2msentinel.com`
- URL: `https://api.m2msentinel.com/v1/keys/self`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Requires an API key; an x402 payment cannot access this route. The raw key is never echoed.

## Response `200`

Key metadata

- KeySelf
  - `status` string
  - `key` object
    - `keyHashPrefix` string
    - `tier` string
    - `created` string, nullable
    - `expiresAt` string, nullable
    - `userWallet` string, nullable
    - `revoked` boolean
  - `plan` Plan
    - `id` string
    - `label` string
    - `priceUsd` number, nullable
    - `monthlyCredits` integer, nullable: Hard cap per issuance-anchored 31-day access cycle. Never null for a purchasable plan.
    - `dailyCredits` integer, nullable
    - `burstPerMinute` integer, nullable
    - `sla` string, nullable
    - `purchasable` boolean
    - `description` string
    - `usdcBaseUnits` string, nullable

## Other responses

- `401`: Missing or invalid credential, or a credential was supplied in the query string
- `402`: No credential supplied for a payable route, or the issuance-anchored 31-day credit allowance is exhausted
- `429`: A plan burst limit or bounded public/intent retry limit was exceeded
- `503`: A required dependency is unavailable; the request failed closed

---

[API](https://skmtc.dev/m2msentinel/apis/m2m-sentinel-base-contract-capability-checks-before-you-sign.md) · [All operations](https://skmtc.dev/m2msentinel/apis/m2m-sentinel-base-contract-capability-checks-before-you-sign/llms.txt) · [OpenAPI document](https://skmtc.dev/m2msentinel/apis/m2m-sentinel-base-contract-capability-checks-before-you-sign/revisions/2dadd4e704fd?raw)
