Skip to main content
POST
Ask Heliyos acts on your workspace. Depending on the request it can create and change records and tasks, draft and send email, and spend credits. Consequential actions wait for approval in Heliyos unless your autopilot settings allow them. Calling it twice starts the work twice.
In the Heliyos MCP server: heliyos_ask.

Authorizations

Authorization
string
header
required

A workspace API key, sent as Authorization: Bearer heliyos_.... Create one in Heliyos under Settings → API keys. A key acts as a workspace admin in the one workspace it was created in.

Body

application/json
message
string
required

The question or instruction, in plain language. 1 to 20,000 characters after trimming.

Required string length: 1 - 20000
Example:

"Summarise what changed with Contoso this week and list open risks."

threadId
string

The threadId from an earlier answer, to continue that conversation. 1 to 100 characters of letters, digits and _ . : @ = + -. Leave it out to start a new conversation. An id Heliyos has not seen starts a new conversation under that id.

Required string length: 1 - 100
Pattern: ^[A-Za-z0-9_.:@=+-]+$
Example:

"3fa9c2d17b4e"

attachments
string[]

Ids of files you already uploaded, up to 20. Heliyos and its workers can read them during the run. Each must be a file of this workspace.

Maximum array length: 20

A 24-character hexadecimal id.

Pattern: ^[0-9a-fA-F]{24}$
wait
integer
default:0

Seconds to hold the request while the run works, 0 to 90. 0 (the default) answers at once. The call returns as soon as the run finishes or waits on a person or a schedule.

Required range: 0 <= x <= 90
Example:

60

Response

The run handling the message, and its reply when it finished within wait.

meta
object
required
data
object
required