API Call History
Spark every API call into the API Call History.
After choosing a specific service from the Folder overview, select the
icon from the service sidebar.
Change how API calls are displayed
The API Call History page shows the list of all the API calls made to a Spark service.
By default, all service versions are shown by descending Log time for the past
24 h.Each call has a Log time for when the call was logged and a unique Call ID.
Select the Filter button to add any additional filters.
For any new filter fields, enter or select the appropriate conditions.
Additional filters can be applied to the API calls. Reference for these additional metadata fields can be found in request_meta.
Service version
Filter for a specific service version.
User
Filter for the UserName that made the API call.
Metadata fields
Filter for a particular call_id, correlation_id, or source_system.
Call purpose
Filter for by call_purpose.
Call response properties
Filter for calls that have warnings and/or calls that have errors.
Keep latest
For records that have the same call_purpose, correlation_id, and/or source_system, keep only the latest entry.
Version ID
Filter by version_id.
Download API calls
Spark enables a download of the API call entries for analysis.
Adjust the filters as necessary to meet your requirements. It is best to minimize the number of calls to download as extremely large downloads may lead to an error.
Select Download API calls.
In the modal, select the download options.
Choose download format.
CSVis recommended as it is the most compact data format.FormatDescriptionCSV
Return the API calls in a
ZIPfile containingCSVfiles. Files are chunked at25 MB.CSV expanded tables
CSV plus expanded tables will write table inputs and outputs to separate CSV files making it easy to consume API calls that include tables.
Excel
Return the API calls in a single Excel file. This can also be used as a Testing Center testbed.
Excel (expanded tables)
Excel plus expanded tables will write table inputs and outputs to separate worksheets making it easy to consume API call results that include tables. This feature will not work if the download contains: i) a large number of API calls that include input or output tables, or ii) very large input or output tables.
Excel (fast beta)
A faster version of Excel (expanded tables).
JSON
Return the API calls in a
.zipfile containing.jsonfiles. Files are chunked at25 MB.Choose the API call data to return. Excluding inputs or outputs will result in smaller file sizes and faster downloads.
Choose how you would like headings to be ordered. Data order sorts the mapped inputs and outputs in the order they appear in the workbook.
Select particular outputs to download. By default, all outputs are included. Choosing a subset of the outputs makes it easier to review the results and will result in smaller file sizes and faster downloads.
Select Download.
The download task initiates and can be monitored in Background activity.
Once the download is ready, it will automatically start to download.
If you missed the download, the download can be initiated again in Background activity.
Review an individual API call
View the detailed log of the API call
In the ellipsis menu, select Inspect detailed log. The Detailed log will display information about the API call including the Request body and Response body.
Download the Excel file with inputs
Business users may want to review the specifics of an API call in Excel to review the calculation and for record keeping. A copy of the Excel file can be downloaded in the ellipsis menu and choose Download as Excel.
Excel: Download a copy of the Excel file with the inputs injected into the file.
Coherent Assistant workbook: Download a copy of the Excel file with the inputs injected into the file. Includes additional metadata which will automatically load the Coherent Assistant when opened.
Excel (legacy): Legacy implementation of Excel download. Has known issues relating to dynamic array functions.
If you use the Excel or Coherent Assistant workbook options:
Spark input ranges such as
XinputandXCSVinputwill be populated with the fields from the API request. If a field is not provided and the default is used, the default will be populated instead of the API call input.Any files that include Solve functions (Xsolve) will have the
By changingresult injected into the file.Any files that include Call Spark services as functions (Xcall) will be recalculated when opened alongside Coherent Assistant.
Spark output ranges such as
Xoutputwill not be populated with the fields from the API response. This is because the original formulas should not be overwritten.
For Excel (legacy):
Spark input ranges such as
XinputandXCSVinputwill be populated with the fields from the API request. If a field is not provided and the default is used, the default will be populated instead of the API call input.By default, a cover page is included but can be disabled in Include cover sheet in upload service for new service uploads.
It is known to impact dynamic array formulas by introducing additional braces
{}.It does not include the
XsolveandCS.SPARK_XCALL()features noted above.
Run again in API Tester
The inputs from the particular API call will be sent to the API Tester to facilitate testing.
Last updated
