> For the complete documentation index, see [llms.txt](https://docs.coherent.global/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coherent.global/assistant/custom-functions/xcall-legacy-functions/getoutput.md).

# GETOUTPUT

Get specific output from CALLAPI block.

{% hint style="warning" %}
This function is deprecated and replaced with [SPARK\_XCALL](/assistant/custom-functions/spark_xcall.md).

The functions [CALLAPI](/assistant/custom-functions/xcall-legacy-functions/callapi.md) and [GETOUTPUT](/assistant/custom-functions/xcall-legacy-functions/getoutput.md) functions work together.
{% endhint %}

Syntax: `CS.SPARK_GETOUTPUT(xcall_block, output_name)`

Get specific output from [CALLAPI](/assistant/custom-functions/xcall-legacy-functions/callapi.md) block. The function will return the value of the output that is selected.

| Parameter        | Description                                                                                                                                                  |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `xcall_block` \* | <p>Range address of the <code>Xcall</code> block in upstream service. You can also use a named range for convenience.<br>Example: <code>$A$1:$B$4</code></p> |
| `output_name` \* | Name of the requested output.                                                                                                                                |
