GET/v1/api_tokens/{id}

api_tokens.get

Retrieve metadata for an existing API token by ID — name, scope, prefix, last_used_at, created_at. The raw bearer credential is **never** returned by this endpoint; it is shown exactly once in the POST /v1/api_tokens response. Use this endpoint to confirm a token exists or audit its usage timestamps.

Parameters

NameTypeRequiredDescription
idstringrequired

Response

No parameters.

Examples

curl -sS -X GET \
  -H "Authorization: Bearer $CULPRIT_API_TOKEN" \
  https://api.theculprit.ai/v1/api_tokens/{id}

Try it

Stored locally in your browser at localStorage.docs.tryit.token. Never sent to Culprit's analytics. Use a read-only token.