API Keys
dev-api

List API key scopes

Changed on

List all available scopes for API keys

get/developers/api_keys/scopes

Request

  • Base URL
    https://gateway.prem.io
  • Auth
    none required

Response

List of available API key scopes

status200 | 201 | 202 required

Status code of the response

errorstring nullable

Error message of the response, human readable

messagestring nullable required

Message of the response, human readable

env'development' | 'production' required

API environment

support_idstring uuid nullable

Support ID linked to the response, used to identify it when talking with our team.

Example response

{
  "data": {
    "scopes": [
      "api_key.create",
      "api_key.read",
      "api_key.update",
      "api_key.delete",
      "users.read",
      "users.update",
      "users_sessions.read",
      "chats.completion",
      "tools.execute",
      "files_encrypted.create",
      "files_encrypted.read",
      "audio.transcription",
      "audio.translation"
    ]
  },
  "message": null
}

Changes

    • warning

      added the new 405.00 enum value to the / response property for the response status

    • warning

      added the new 405.00 enum value to the / response property for the response status

    • warning

      added the new 409.00 enum value to the / response property for the response status

    • warning

      added the new 409.00 enum value to the / response property for the response status

    • warning

      added the new 500.00 enum value to the / response property for the response status

    • warning

      added the new 500.00 enum value to the / response property for the response status

    • info

      endpoint added