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
userIdstringtaskIdstringlimitintctCancellationToken