API Keys

List The Team'S Api Keys With Their Recent Usage

Every active key of the current team, with the calls it made over the usage window and whether the member who created it still belongs to the workspace. Key (token) strings are never returned.

get/v0/api-keys/usage

Query parameters

window_daysinteger

Response

Successful Response

idstring uuid required
namestring nullable required
created_byinteger required
created_by_emailstring required
created_atstring date-time required
last_used_atstring date-time nullable

Last request made with this key, ever. Read from the key row, not from the request events, so it stays true for a key last used before event collection began.

calls_in_windowinteger required

Requests made with this key inside the usage window.

created_by_is_active_memberboolean required

False once the creator has been removed from the workspace. Such a key keeps working, and whoever left may still know its value, so the UI asks the team to replace it.

Changes