XAgent icon

XAgent

Create and run xagent tasks

Task → Archive

AI-generated

Summary

Archive a task by ID

Inputs

  • taskId (required) — The task ID to operate on
  • waitForCompletion — Whether to poll the task until it reaches a terminal status before returning
  • pollInterval — How often to check task status
  • timeout — Maximum time to wait before failing (0 = no timeout)

Output shape

ArchiveTaskResponse

Serialized as JSON via the ArchiveTaskResponseSchema

Links

Discussion