TeamGriddeveloper
TeamGrid Developer

automationRuns SDK client

3 typed @teamgrid/api-client methods for Automations, plus 1 convenience helper.

Client propertyclient.automationRuns
Mapped operations3
API groupsAutomations

Operation 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.

GET/automation-runs
Full API operation →

automationRuns.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
Declared API errors
400401403429502503
GET/automation-runs/{id}
Full API operation →

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
Declared API errors
400401403404429502503
POST/automation-runs/{id}/abort
Full API operation →

automationRuns.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 AsyncGenerator

Errors 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.

Stable documentation · Developer Platform · Reviewed 2026-08-10Edit this page ↗
Documentation feedbackWas this page useful?
Esc

Search TeamGrid Developer

Find guides, concepts and every API operation.