keys

Current Key

The key this request is made with, as the listing describes it.

For finding your own key's id and name without paging the listing for it — to label a replacement the same, or to know which id not to revoke.

get/v1/keys/current

Request

  • Base URL: https://api.craterview.ai
  • URL: https://api.craterview.ai/v1/keys/current
  • Auth: HTTP bearer

Response

Successful Response

idstring required

Identifies this key, for revoking it. Not the key itself.

prefixstring required

The first few characters, which identify a key without authorizing anything. It is what a listing can show and what to match against your own records.

namestring required

The label given when it was created.

created_atstring nullable

When the key was issued. ISO-8601, UTC.

revoked_atstring nullable

When this key stopped working; absent while it still works. A revoked key is kept so a listing can explain a client that started failing.

rate_limit_per_minuteinteger required

Requests a minute this key may make before it is throttled.

currentboolean required

Whether this is the key that authenticated this request. It cannot be revoked by id while it is the one you are calling with; DELETE /v1/keys/current ends it on request, unless it is the account's only way back in.

Changes

No recorded changes to this operation across all 1 revision of this API.