Ad InsertionExport Ad Insertion Logs

Export Ad Insertion Logs

Custom Plan Downloads ad insertion log lines for an explicit, bounded time range as a CSV file.

curl -X GET "https://api.5centscdn.com/v2/streams/push/123/adinsertion/logs/export?source=live&from=42&to=42" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
{}
GET
/streams/push/{streamid}/adinsertion/logs/export
GET
Base URLstring

Target server for requests. Edit to use your own host.

API Key (header: X-API-Key)
X-API-Keystring
Required

API key (sent in header)

path
streamidinteger
Required

Numeric stream ID.

query
sourcestring
Required

Log source to export.

Options: live, ad-server, slate, service
query
frominteger

Start of the export range, Unix epoch milliseconds.

Format: int64
query
tointeger
Required

End of the export range, Unix epoch milliseconds.

Format: int64
Request Preview
Response

Response will appear here after sending the request

Authentication

header
X-API-Keystring
Required

API Key for authentication. Provide your API key in the header.

Path Parameters

streamidinteger
Required

Numeric stream ID.

Query Parameters

sourcestring
Required

Log source to export.

Allowed values:livead-serverslateservice
frominteger

Start of the export range, Unix epoch milliseconds.

tointeger
Required

End of the export range, Unix epoch milliseconds.

Responses

CSV file of matching log lines.