For the complete documentation index, see llms.txt. This page is also available as Markdown.

Events APIs

Get an Excel file with the user events logged in Spark. This is equivalent to the Event viewer Download Events.

Authorization

POST log job

Returns: status response with id of the requested job.

POST /{tenant}/api/v4/events/download

Path parameters

Key
Value

tenant *

Tenant is part of your Log in to Spark URL and also available in the User menu.

Request body

Content-Type: application/json

Key
Value

page_no

Page number of the list to get.

pageSize

Number of records per page.

sort_column

String defining the sort column.

Example: -updated

sort_order

asc or desc sets the sort order for the sort_column. Example: desc

search

Array of search filter objects. Search filter objects can include: column Name of the column to filter. Columns include folderId, event_types (Array), service_name, user_name , event_start_date, event_end_date,

value Value of the column to filter.

operator Applies to numeric properties.

Example 1: {"column": "folderId", "value": "8bc193d8-5f82-49d1-8da8-d689f6ab163f"} Example 2: {

"column": "event_types",

"value": ["PublishEngine", "DownloadEngine"]"

}

Example 3: {"column": "event_end_date", "value", "2026-03-02T15:08:00.000Z"}

Sample request

Sample response

HTTP 200 OK Content-Type: application/json

GET log job status

Returns: status response and download_url to download the ZIP file.

Authorization

Follows from Authorization above.

Path parameters

Key
Value

{tenant} *

Tenant is part of your Log in to Spark URL and also available in the User menu.

{jobId} *

job_id associated from POST log job.

Sample response

HTTP 200 OK Content-Type: application/json

Last updated