Skip to main content
GET
/
tool-executions
/
{execution_id}
Get execution result
import requests

url = "https://app.ubik-agent.com/api/v1/tool-executions/{execution_id}"

headers = {"X-API-KEY": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
{
  "id": "exec_123456789",
  "tool_id": "d1e2f3a4-b5c6-7890-1234-567890abcdef",
  "user_id": 123,
  "status": "completed",
  "inputs": {
    "stock_symbol": "ACME"
  },
  "outputs": {
    "revenue": 1000000,
    "profit": 250000
  },
  "created_at": "2025-09-28T12:00:00Z",
  "started_at": "2025-09-28T12:00:01Z",
  "completed_at": "2025-09-28T12:00:05Z"
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

execution_id
string
required

The unique identifier of the tool execution.

Response

Successful Response

id
string
required

The unique identifier for the execution instance.

tool_id
string<uuid>
required

The ID of the tool that was executed.

status
string
required

The final status of the execution.

inputs
Inputs · object
required

The original inputs provided to the tool.

created_at
string<date-time>
required

Timestamp when the execution was created.

user_id
integer | null

The ID of the user who initiated the execution.

outputs
Outputs · object

The outputs generated by the tool.

error
string | null

If the execution failed, this contains the error message.

started_at
string | null

Timestamp when the execution started processing.

completed_at
string | null

Timestamp when the execution completed or failed.