# Function Task Execution

## Integrating and Executing Truebit Function Tasks

The Function Task Execution exposes your Truebit Task as an HTTP-based web service.&#x20;

<table><thead><tr><th width="390.1484375">Description</th><th>Endpoint</th></tr></thead><tbody><tr><td>To run a Function Task</td><td><a href="/pages/EJdZb6gyvrCYqoWiZWDX">Function Task execution endpoint</a></td></tr><tr><td>To poll for outputs of asynchronous or long-running tasks</td><td><a href="/pages/eXsJfaHEIRd6fuXv9aiE#task-function-execution-status-executionid">Function Task status endpoint</a></td></tr><tr><td>To get the Execution Transcript</td><td><a href="/pages/UulBwEplOpxECIC8bLw1">Get Execution Transcript endpoint</a></td></tr><tr><td>To get the Execution invoice Transcript</td><td><a href="/pages/XpneYD7rELYS4r3vv25R">Get Execution Invoice Trans</a></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://devs.truebit.io/integrating-truebit-tasks/function-task-execution.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
