get_task() method
This is useful for checking the status of previously created tasks or accessing their results.
Basic Usage
Customizing the Response
Theget_task() method accepts two optional parameters to customize the response:
Response Options
Async Usage
For async applications, remember to useawait:
Best Practices
- Store task IDs when creating tasks if you need to retrieve them later
- Use
include_chunks=Falsewhen you only need task metadata - Consider using base64 URLs (
base64_urls=True) when you need to cache or store the URLs locally