Get all automation runs for a task
GET
/v1/tasks/{taskId}/automations/runs
const url = 'https://api.varman.io/v1/tasks/tsk_abc123def456/automations/runs';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.varman.io/v1/tasks/tsk_abc123def456/automations/runs \ --header 'X-API-Key: <X-API-Key>'Get all automation runs for a task in Varman. Create, version, run, and inspect automated evidence collection workflows attached to compliance tasks.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”taskId
required
string
Example
tsk_abc123def456Task ID
Responses
Section titled “Responses”Automation runs retrieved successfully
Media typeapplication/json
Array<object>
object
id
string
status
string
trigger
string
createdAt
string format: date-time
completedAt
string format: date-time
error
object
Example
[ { "id": "ear_abc123def456", "status": "PENDING", "trigger": "MANUAL" }]