List scheduled Task runs

Returns paginated terminal run summaries for one repeating or cronOneOff Task. Use the Task chatRef for live work and tool activity; an empty terminal history while work is active does not prove that no run started.

OpenAPI

````yaml get /api/v2/tasks/{taskId}/runs
openapi: 3.0.0
info:
version: 2.0.0
title: GetVoiceBot API
description: GetVoiceBot API Documentation
servers:
- url: https://api.getvoicebot.com
description: GetVoiceBot Production
variables:
baseUrl:
default: api.getvoicebot.com
description: Production API Root
security: []
tags:
- name: Agents
- name: Inbound Email
description: Control which senders may create inbound email work for an Agent.
- name: Features
description: Inspect capabilities available within an account hierarchy.
- name: Conversation Logs
description: Query conversation activity and calculate account-level metrics.
- name: Computer Agents
description: Set up, configure, inspect, and manage GetVoiceBot Computer Agents.
- name: Computer Agent Sessions
description: View and reset Computer Agent sessions.
- name: Accounts
- name: Agent Templates
description: Create, manage, and apply reusable Agent configurations.
paths:
/api/v2/tasks/{taskId}/runs:
get:
tags:
- Tasks
summary: List scheduled Task runs
description: >-
Returns paginated terminal run summaries for one repeating or cronOneOff
Task. Use the Task chatRef for live work and tool activity; an empty
terminal history while work is active does not prove that no run
started.
parameters:
- name: taskId
in: path
required: true
schema:
type: string
description: Task ID
- name: targetAccountId
description: Require the Task to belong to this agent account in the organization
in: query
schema:
type: integer
- name: limit
in: query
schema:
type: integer
minimum: 1
maximum: 200
- name: offset
in: query
schema:
type: integer
minimum: 0
responses:
'200':
description: Task run history
'400':
description: Invalid filters or pagination
'401':
description: Unauthorized
'403':
description: Target account is outside the organization
'404':
description: Task not found in the selected account scope
'409':
description: Task does not have run history
'500':
description: Internal Server Error
security:
- apiKeyAuth: []
components:
securitySchemes:
apiKeyAuth:
type: apiKey
in: query
name: token
description: GetVoiceBot API Token

````