diff --git a/lib/src/messages.dart b/lib/src/messages.dart index 26b56d9..87f1017 100644 --- a/lib/src/messages.dart +++ b/lib/src/messages.dart @@ -33,6 +33,7 @@ class Messages { String order = 'desc', String? after, String? before, + String? runId, }) { String url = _client.apiUrl + kThread + @@ -44,6 +45,9 @@ class Messages { if (after != null && after.isNotEmpty) { url += '&after=$after'; } + if (runId != null && runId.isNotEmpty) { + url += '&run_id=$runId'; + } return _client.get( url,