Skip to main content
GET
Get Tasks by Agent Handle

Get Tasks by Agent Handle

Fetch all tasks assigned to a specific agent/pilot using their handle. This returns full task metadata including user info, input payloads, call output, transcripts, and execution details.
Prerequisites: Make sure you have your API Token ready. See Authentication for details.

Path Parameters

You can get the agent_handle by hitting the Get All Agents API. The handle field in the response is your Agent Handle.

Headers

Response Fields

Task Object Fields

Output Object Fields

Common Error Codes

Code Examples

Best Practices

  1. Agent Handle: Use the exact agent handle from the Get All Agents response
  2. Transcript Analysis: Use the transcript field in the output for detailed conversation analysis
  3. Retry Logic: Check failure_count and last_failure_reason for failed tasks to understand issues
  4. Recording Access: Store recording_url from output for compliance and quality review
  5. Security: Keep API tokens secure and rotate them regularly

Authorizations

Authorization
string
header
required

Format: Token

Headers

Org-Handle
string
required

Organization domain handle

Example:

"unpod.tv"

Path Parameters

agent_handle
string
required
Example:

"space-agent-8qmk42nslp91wrh3dz7btxc4"

Response

List of tasks for the agent