Skip to main content
GET
/
api
/
v1
/
keys
/
{key_id}
/
last-used
Get API Key Last Used
curl --request GET \
  --url https://api.entityml.com/api/v1/keys/{key_id}/last-used
{
  "key_id": "<string>",
  "last_used_at": "<string>"
}

Request

This endpoint does not require a Bearer token.

Path Parameters

key_id
string
required
The API key ID.

Response

key_id
string
The API key ID.
last_used_at
string
ISO 8601 timestamp of the most recent successful use, or null if the key has not been used yet.

Example

Raw HTTP (cURL)
curl "https://api.entityml.com/api/v1/keys/YOUR_KEY_ID/last-used"

Example response

{
  "key_id": "key-uuid",
  "last_used_at": "2026-04-08T21:14:39.105882+00:00"
}