Apps

Get runtime or request logs

Changed on

Read the canvas_app_logs or canvas_request_logs collection.

get/v1/apps/{app_id}/logs

Request

  • Base URL: https://api.mixpeek.com
  • URL: https://api.mixpeek.com/v1/apps/{app_id}/logs
  • Auth: HTTP bearer

Path parameters

app_idstring required

Query parameters

log_type'runtime' | 'requests'

Which log stream: 'runtime' (console/app logs from canvas_app_logs) or 'requests' (HTTP request logs from canvas_request_logs). Any other value is a 422 naming these — previously 'request' (singular) silently fell through to the runtime branch and returned nothing.

hoursinteger

Lookback window in hours

levelstring nullable

Filter by log level (runtime only)

limitinteger

Max entries

Response

Successful Response

app_idstring required
log_typestring required

Changes

    • warning

      removed the optional property from the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      the endpoint scheme security BearerAuth was added to the API