curl --request GET \
--url https://app.herondata.io/api/credentials/keys \
--header 'x-api-key: <api-key>'{
"keys": [
{
"created": "2023-11-07T05:31:56Z",
"heron_id": "<string>",
"is_active": true,
"last_used": "2023-11-07T05:31:56Z",
"name": "<string>",
"token_prefix": "<string>"
}
]
}List all API keys for the authenticated user. Returns key metadata including name, token prefix, creation date, and active status. The last_used field is the most recent usage timestamp, or null if usage data is not available. Full tokens are never returned - only the first 8 characters where the first 4 are “key_”.
curl --request GET \
--url https://app.herondata.io/api/credentials/keys \
--header 'x-api-key: <api-key>'{
"keys": [
{
"created": "2023-11-07T05:31:56Z",
"heron_id": "<string>",
"is_active": true,
"last_used": "2023-11-07T05:31:56Z",
"name": "<string>",
"token_prefix": "<string>"
}
]
}Was this page helpful?