REST API ReferenceEndpointsTools

Get tool execution info

Retrieve the current status and result of a tool execution. Poll this endpoint until status is succeeded, failed, or cancelled.

Authentication

AuthorizationBearer
API key from [app.videogen.io/developers](https://app.videogen.io/developers). The full key is only shown once when you create it.

Path parameters

toolExecutionIdstringRequired
The tool execution id returned when the tool was started.

Response

Current execution state
toolExecutionIdstring
Execution id matching the original request.
statusenum

pending and running are in-progress; succeeded, failed, and cancelled are terminal.

toolTypestring

Tool name (e.g. GENERATE_IMAGE, TEXT_TO_SPEECH).

progressPercentagedouble0-100

Completion progress for the current attempt (0-100). Always 100 when status is succeeded.

attemptIndexinteger>=0

Zero-based index of the current or most recent execution attempt.

resultslist of objects

One entry per generated result. Present when status is succeeded.

errorobject or null