- Followed the Python SDK Setup guide for installation and initialization.
- Obtained your credentials as described in Managing API Keys.
- Successfully initialized the
agent
object as shown in the SDK Setup guide.
Uploading Video for Task Generation
Upload a video file and associate it with an end-user to start the task generation process.create_task_from_video
method requires the developer_user_id
and the file_path
to the video. It’s assumed the SDK handles reading the file content from the provided path. You can also provide an optional task_name
for the generated task. On success, it returns a dictionary containing the job_id
for this processing task and its initial status
(usually ‘queued’).
Checking Processing Job Status (Polling)
Monitor the status of the asynchronous video-to-task generation job using thejob_id
.
get_task_processing_job_status
method requires the job_id
. It returns a dictionary containing the job’s current status
. If completed, it includes the task_id
of the generated task definition. If failed, it includes an error
message. It may also contain timestamps. Returns None
on error.