How to run async calls for long running tools
Project Id:API Key
.Authorization token
from the API page or use the
Project id
and API key
combination as shown in the snippet below:
use/app
and after project ID is the tool ID. The string
below shows the URL structure:
https://app.relevanceai.com/notebook/{region}/{project_id}/{tool_id}/use/app
tool_id
in the code below to trigger a task and check the progress: