client.automationRunsOperation methods
Parameter declarations below are taken from the pinned TypeScript source. Request fields and responses are summarized from the matching OpenAPI operation; follow the API link for every field, constraint, example, and error description.
/automation-runsautomationRuns.list
Use this operation to list automation runs. It returns only resources visible to the credential and applies the documented filters before producing a bounded, stable page. Required scopes, product permissions, sharing rules, workspace locks, and regional cell ownership are enforced for every request.
client.automationRuns.list(options: AutomationRunListOptions = {})- Return form
Promise- Operation ID
listAutomationRuns- Required scopes
automations:read- SDK parameters
options: AutomationRunListOptions- Query request fields
cursor?: stringlimit?: integerdefinitionId?: stringreferenceId?: stringreferenceType?: stringstate?: string- Success
200 Array<AutomationRun> envelope
/automation-runs/{id}automationRuns.get
Use this operation to get an automation run. It returns the resource only when it belongs to the authenticated workspace and is visible to the credential. Required scopes, product permissions, sharing rules, workspace locks, and regional cell ownership are enforced for every request.
client.automationRuns.get(id: string, options?: RequestOptions)- Return form
Promise- Operation ID
getAutomationRun- Required scopes
automations:read- SDK parameters
id: stringoptions: RequestOptions- Path request fields
id: string- Success
200 AutomationRun envelope
/automation-runs/{id}/abortautomationRuns.abort
Use this operation to abort a running automation. The server validates the complete payload and derives workspace ownership from the authenticated credential. Required scopes, product permissions, sharing rules, workspace locks, and regional cell ownership are enforced for every request. Send the latest strong ETag in If-Match; stale revisions fail without overwriting a concurrent change.
client.automationRuns.abort(id: string, options: AutomationRunMutationOptions)- Return form
Promise- Operation ID
abortAutomationRun- Required scopes
automations:run- SDK parameters
id: stringoptions: AutomationRunMutationOptions- Path request fields
id: string- Header request fields
If-Match: string- Success
200 AutomationRun envelope
Convenience helpers
These typed helpers compose mapped operations. They do not grant scopes or bypass API limits.
automationRuns.pages
Iterate cursor pages with a bounded PaginationOptions policy.
client.automationRuns.pages(options: AutomationRunListOptions = {}, pagination?: PaginationOptions)Returns AsyncGeneratorErrors and transport metadata
HTTP failures reject with TeamGridApiError, including the status, stable error documents, request ID, optional retry delay, and transport metadata. Local validation, routing, timeout, response-size, and pagination failures reject withTeamGridClientError and a stable client error code. Successful envelopes expose non-enumerable transport metadata.
See pagination and errors andclient configuration for handling guidance.