curl --request POST \
  --url https://{domain}-be.glean.com/rest/api/v1/executeactiontool \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "actionRunId": "<string>",
  "name": "<string>",
  "actionInstanceId": "<string>",
  "parameters": {}
}'
{
  "message": "<string>",
  "error": "<string>",
  "rawExternalResponse": "<string>",
  "resultURL": "<string>",
  "title": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

timezoneOffset
integer

The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC.

Body

application/json
Execute Action Tool request
name
string
required

The name of the tool.

actionRunId
string

Unique identifier for this actionRun execution event.

actionInstanceId
string

Unique identifier of an action instance.

parameters
object

The parameters to be passed to the tool for action.

Response

200
application/json
OK
message
string

A descriptive message about the execution of the action tool.

error
string

Error message, if any, when executing the action.

rawExternalResponse
string

The raw response received from the external server.

resultURL
string

The URL, if any, pointing to the output generated by the Action Tool after executing an action.

title
string

The title, if any, of the output generated by the Action Tool after executing an action.