AzuraCast icon

AzuraCast

Interact with AzuraCast Web API

Actions263

Station General → Get Logs

AI-generated

Summary

Retrieve logs for a specified AzuraCast station by providing its name or ID, optionally customizing HTTP headers and request body, and controlling response formatting.

Inputs

  • Station Name or ID (required) — Select the station to get logs for, either from a searchable list or by specifying its ID directly.
  • Send Additional Headers — Toggle to include extra custom HTTP headers in the request.
  • Additional Headers (JSON) — Provide additional HTTP headers in JSON format when enabled.
  • Body Mode Override — Override the automatic request body mode with options: auto, binary, JSON, multipart, none, or raw.
  • Manual JSON Body — Manually specify the request body as JSON when JSON body mode override is active.
  • Manual Raw Body — Manually specify the request body as raw text when raw body mode override is active.
  • Manual Input Data Field Name — Specify the input binary property name to send when using binary or multipart manual body mode.
  • Manual Multipart File Field Name — Define the multipart file field name expected by the endpoint for manual multipart body mode.
  • Manual Multipart Fields (JSON) — Add additional multipart fields as JSON for manual multipart body mode.
  • Response Format — Select how to parse the API response: auto, binary, JSON, or text.
  • Output Data Field Name — Define the binary output property name when response format is binary.
  • Return Full Response — Choose whether to return the full HTTP response including headers and status code.
  • Wrap Response Data — Opt to keep the response body in a single output item or split array responses into multiple items (ignored if returning full response).

Output shape

a single output item containing the station log data or the full HTTP response if selected

If 'Return Full Response' is enabled, output includes headers, status code, and body. If 'Wrap Response Data' is disabled and response is an array, multiple output items are produced. Response parsing respects the chosen 'Response Format'.

Examples

Example 1: Get JSON parsed logs for a station selected from the list with default settings.

Station selected from the list; no additional headers; default body handling; response parsed automatically as JSON.

Example 2: Get raw text logs for a station by ID with additional custom headers.

Station specified by ID; additional HTTP headers provided; response format set to text.

Links

Discussion