What it is?

A Task represents a workflow performed by the LAM API according to what was specified in the query. This could involve extracting data, performing actions on a website, or using a combination of both.

States

A task progresses through several distinct states:

  • STARTING: The task is being initialized and prepared for execution.
  • PROCESSING: The task is actively being executed by Raccoon AI.
  • DONE: The task has completed successfully.
  • HUMAN_INTERACTION: The task requires human input (this is a less common state).
  • FAILURE: The task has encountered an error and could not be completed.

Relationship to Sessions

A task involves Session(s), as it requires direct interaction with a web browser. You will receive a livestream_url to observe the task’s progress in real-time in the streaming API response.

Was this page helpful?