> ## Documentation Index
> Fetch the complete documentation index at: https://docs.entityml.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get API Key Last Used

> Return the last-used timestamp for a specific API key.

## Request

<Note>
  This endpoint does not require a Bearer token.
</Note>

### Path Parameters

<ParamField path="key_id" type="string" required>
  The API key ID.
</ParamField>

## Response

<ResponseField name="key_id" type="string">
  The API key ID.
</ResponseField>

<ResponseField name="last_used_at" type="string">
  ISO 8601 timestamp of the most recent successful use, or `null` if the key has not been used yet.
</ResponseField>

## Example

```bash Raw HTTP (cURL) theme={null}
curl "https://api.entityml.com/api/v1/keys/YOUR_KEY_ID/last-used"
```

### Example response

```json theme={null}
{
  "key_id": "key-uuid",
  "last_used_at": "2026-04-08T21:14:39.105882+00:00"
}
```
