Table of Contents

Method GetRunsAsync

Namespace
Oscova.Agents.Tasks
Assembly
Oscova.Agents.dll

GetRunsAsync(string, string, int, CancellationToken)

Returns the most recent runs for the given task, newest first, up to limit records.

public Task<IReadOnlyList<AgentTaskRun>> GetRunsAsync(string userId, string taskId, int limit = 20, CancellationToken ct = default)

Parameters

userId string
taskId string
limit int
ct CancellationToken

Returns

Task<IReadOnlyList<AgentTaskRun>>