Use this endpoint to check the status of a tool operation. This is particularly useful when:
- You’ve set
async: trueand want to poll for the result - A synchronous request timed out (>30 seconds) and was automatically processed in the background
Request
Response
The endpoint responds with200 OK and returns the current status of the tool operation:
result object contains the same response body you would receive from a synchronous tool request. For example, a merge operation returns url, fileName, and urlValidUntil, while a split operation returns urls, totalParts, etc.
Parameters
string
required
The requestId returned from an async tool request or from a synchronous
request that timed out.
Response Fields
If the
status is FAILED, check the metadata.errorMessage for details
on what went wrong. Contact support if the issue persists.Usage Example
Here’s a complete example of using async mode with polling:- Node.js
- Python