API Keys
dev-api
Get current API key
Changed onReturns the validity and scopes of the API key used to authenticate the request
get/developers/api_keys/me
Request
- Base URLhttps://gateway.prem.io
- AuthAPI key in header Authorization
Response
Successful API key self-report response
Example response
{
"data": {
"id": "api_key_0197c0ec-a197-719f-84a9-99270a79b42a",
"description": "Key for development environment",
"scopes": [
"chats.completion",
"api_keys.read"
],
"ip_allow_list": [],
"expires_at": "2026-05-30 20:23:16",
"valid": true
},
"message": null
}Changes
- info
endpoint added
- info