API Keys Requests
dev-api

Get API key request

Changed on

Get details of a specific API key request/usage log entry by ID

get/developers/api_keys/requests/{id}

Request

  • Base URL
    https://gateway.prem.io
  • Auth
    HTTP bearer and API key in header Authorization

Path parameters

idinteger required

API Key Request ID

Response

Successful API key request view response

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": {
    "id": 12345,
    "is_developer": 1,
    "organization_id": "org_0197c0ec-a197-719f-84a9-99270a79b42a",
    "user_id": null,
    "api_key_id": "api_key_0197c0ec-a197-719f-84a9-99270a79b42a",
    "session_id": null,
    "support_id": null,
    "ip": "127.0.0.1",
    "path": "/products",
    "method": "POST",
    "user_agent": "MyApp/1.0.0 (https://myapp.com)",
    "ms": 234.5678,
    "overhead_ms": 12.3456,
    "response_code": "201",
    "response_body": {
      "data": {
        "id": "prod_0197c0ec-a197-719f-84a9-99270a79b42a",
        "name": "Test Product",
        "price": 19.99,
        "currency": "USD",
        "created_at": "2025-07-01 12:34:56"
      }
    },
    "request_body": "{\"name\": \"Test Product\", \"price\": 19.99, \"currency\": \"USD\"}",
    "request_headers": "Content-Type: application/json\nAuthorization: REDACTED\nUser-Agent: MyApp/1.0.0\nContent-Length: 67",
    "memory_peak": 2048.5,
    "created_at": "2025-07-01 12:34:56"
  }
}

Changes

    • warning

      removed the optional property ///// from the response with the status

    • 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 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 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

    • 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

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      endpoint added