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

SPARK_CALLHISTORY

This function is only available in Coherent Assistant and not implemented into Neuron. Spark services created with this UDF will not include this functionality.

Syntax: CS.SPARK_CALLHISTORY(call_id, [index], [show_metadata], [show_inputs], [show_outputs], [show_errors], [show_warnings])

Returns information about an API call from the API Call History.

Parameter
Description

call_id *

Execute API call_id.

index

For Execute API (v4) calls, the zero-based index of the call to retrieve.

show_metadata

Boolean to include API reponse metadata. Default false.

show_inputs

Boolean to include API request inputs. Default true.

show_outputs

Boolean to include API response outputs. Default true.

show_errors

Boolean to include API response errors. Default true.

show_warnings

Boolean to include API response warnings. Default false.

Output

The function returns a dynamic spill range consisting of at least three columns:

Column
Description

1

Data type of the data object: inputs, outputs, errors, warnings, metadata.

2

Name of the data object.

3, 4, etc.

Value of the object.

Last updated