Method GetLatestRunsAsync
- Namespace
- Oscova.Agents.Tasks
- Assembly
- Oscova.Agents.dll
GetLatestRunsAsync(IEnumerable<string>, CancellationToken)
Returns the most recent run's status, times, result and error for each of the given task IDs, without transcripts or sessions. Tasks that have never run are absent from the returned dictionary.
public Task<IReadOnlyDictionary<string, AgentTaskRun>> GetLatestRunsAsync(IEnumerable<string> taskIds, CancellationToken ct = default)Parameters
taskIdsIEnumerable<string>ctCancellationToken