List API keys
Changed onList all API keys for the organization
Request
- Base URLhttps://gateway.prem.io
- AuthHTTP bearer and API key in header Authorization
Response
Successful API keys list response
Example response
{
"data": [
{
"id": "api_key_0197c0ec-a197-719f-84a9-99270a79b42a",
"secret": "sk_live_MDE5N2MwZWMt...GdwdA",
"scopes": [
"api_keys.read"
],
"ip_allow_list": [
"127.0.0.1"
],
"label": "Development API Key",
"description": "Key for development environment",
"expires_at": "2026-05-30 20:23:16",
"created_at": "2025-06-30 15:00:22",
"updated_at": null
},
{
"id": "api_key_0197c0ef-6750-7e93-be70-32cef133b06a",
"secret": "sk_live_MDE5N2MwZWYt...GdwdA",
"scopes": [
"api_keys.read"
],
"ip_allow_list": [
"127.0.0.1"
],
"label": "My API Key",
"description": "Key for reading API Keys",
"expires_at": "2026-05-30 20:23:16",
"created_at": "2025-06-30 15:03:24",
"updated_at": null
},
{
"id": "api_key_0197c0f1-71ca-7fac-bece-9723783fb48b",
"secret": "sk_live_MDE5N2MwZjEt...GdwdA",
"scopes": [
"api_keys.read"
],
"ip_allow_list": [
"127.0.0.1"
],
"label": "My API Key 2",
"description": "Key for reading API Keys",
"expires_at": "2026-05-30 20:23:16",
"created_at": "2025-06-30 15:05:38",
"updated_at": null
}
],
"message": null
}Changes
- warning
added the new
405.00enum value to the/response property for the response status - warning
added the new
405.00enum value to the/response property for the response status - warning
added the new
409.00enum value to the/response property for the response status - warning
added the new
409.00enum value to the/response property for the response status - warning
added the new
500.00enum value to the/response property for the response status - warning
added the new
500.00enum value to the/response property for the response status - info
removed the
BALANCEenum value from the//////response property for the response status - info
removed the
PLANenum value from the//////response property for the response status
- warning
- info
endpoint added
- info