Median

GET /keys

Updated Oct 1, 20261 minute read

List keys

Every Median key, masked. Full values were shown exactly once, at minting.

Part of Account.

Responses

StatusDescription
200The keys, newest first.
401The bearer token is missing, revoked, or expired.
403The token's person does not hold the role this needs.
429Too many requests. Wait the seconds in Retry-After. Limits depend on the plan. See rate limits.

200 body

FieldTypeRequiredDescription
keysobject[]No
keys[].idstringNo
keys[].namestringNo
keys[].maskedstringNo
keys[].publicMaskedstringNo
keys[].createdAtintegerNo
keys[].lastUsedAtanyNo

Example request

curl https://api.median.sh/v1/keys \
  -H "Authorization: Bearer $BEARER_AUTH"

Still need help?

    Esc