See Stacksync in action with a solution architect. Book a demo ↗
GeniesConversations

Genie conversations

Get a Genie tool execution

GET
/v1/workspaces/{workspace_id}/genies/conversations/{genie_conversation_id}/tool-executions/{execution_log_id}

One tool run of a conversation (a step's execution_log_id): how the tool was called and what came back.

Authorization

Authorizationstringheaderrequired

Bearer <key>, where <key> is a workspace API key or a user API key. See Authentication.

Path Parameters

workspace_id*integer

The workspace. List the ones your key can reach with GET /v1/workspaces.

genie_conversation_id*string

The Genie conversation.

Formatuuid
execution_log_id*string

The tool execution, a step's execution_log_id in the conversation.

Query Parameters

region*Regions

Region of the genie: besg (Europe) or usnv (United States)

Value in"besg""usnv"

Response Body

OK

application/json
  1. response

One tool run of a conversation: how the tool was called and what came back

execution_log_id*Execution Log Id
execution_type?|
Defaultnull
status?|
Defaultnull
started_at?|
Defaultnull
finished_at?|
Defaultnull
duration_ms?|
Defaultnull
request?JsonValue
Defaultnull
response?JsonValue
Defaultnull
module_runs?array<>
Get a Genie tool execution
curl -X GET 'https://api.stacksync.com/v1/workspaces/0/genies/conversations/497f6eca-6276-4993-bfeb-53cbbbba6f08/tool-executions/string?region=besg'
{  "execution_log_id": "<execution_log_id>",  "execution_type": "<execution_type>",  "status": "<status>",  "started_at": "<started_at>",  "finished_at": "<finished_at>",  "duration_ms": 0,  "request": "<request>",  "response": "<response>",  "module_runs": [    {      "execution_log_id": "<execution_log_id>",      "execution_type": "<execution_type>",      "status": "<status>",      "started_at": "<started_at>",      "finished_at": "<finished_at>",      "duration_ms": 0,      "request": "<request>",      "response": "<response>"    }  ]}