Tasks are conversations between users and agents.
To get metadata for a specific task, use the get_metadata method with the conversation_id:
get_metadata
conversation_id
metadata = client.tasks.get_metadata( conversation_id="xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" ) metadata
Metadata(...)
To delete a task, use the delete_task method with the conversation_id:
delete_task
success = client.tasks.delete_task( conversation_id="xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" ) success
True