TeamGriddeveloper
TeamGrid Developer

lists SDK client

6 typed @teamgrid/api-client methods for Task Metadata, plus 1 convenience helper.

Client propertyclient.lists
Mapped operations6
API groupsTask Metadata

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/lists
Full API operation →

lists.list

Use this operation to list workspace lists. 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.lists.list(options?: ListLookupListOptions)
Return form
Promise
Operation ID
listLists
Required scopes
lists:read
SDK parameters
options: ListLookupListOptions
Query request fields
cursor?: stringlimit?: integerarchived?: booleantype?: stringparentId?: string
Success
200 Array<List> envelope
Declared API errors
400401403429503
POST/lists
Full API operation →

lists.create

Use this operation to create a list. 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. Use a stable Idempotency-Key when retrying so a transport timeout cannot create duplicate work.

client.lists.create(data: ListCreate, options?: MutationOptions)
Return form
Promise
Operation ID
createList
Required scopes
lists:write
SDK parameters
data: ListCreateoptions: MutationOptions
Header request fields
Idempotency-Key: string
Request body
ListCreateapplication/json
Success
200 List envelope201 List envelope
Declared API errors
400401403409429502503
GET/lists/{id}
Full API operation →

lists.get

Use this operation to get a list. 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.lists.get(id: string, options?: RequestOptions)
Return form
Promise
Operation ID
getList
Required scopes
lists:read
SDK parameters
id: stringoptions: RequestOptions
Path request fields
id: string
Success
200 List envelope
Declared API errors
400401403404429503
PATCH/lists/{id}
Full API operation →

lists.update

Use this operation to update a list. Only documented mutable fields are accepted; omitted fields retain their current values unless the request schema states replacement semantics. Required scopes, product permissions, sharing rules, workspace locks, and regional cell ownership are enforced for every request.

client.lists.update(id: string, data: ListUpdate, options?: RequestOptions)
Return form
Promise
Operation ID
updateList
Required scopes
lists:write
SDK parameters
id: stringdata: ListUpdateoptions: RequestOptions
Path request fields
id: string
Request body
ListUpdateapplication/json
Success
200 List envelope
Declared API errors
400401403404409429502503
DELETE/lists/{id}
Full API operation →

lists.archive

Use this operation to archive a list. The operation preserves TeamGrid lifecycle and permission rules instead of bypassing them with a direct data deletion. Required scopes, product permissions, sharing rules, workspace locks, and regional cell ownership are enforced for every request.

client.lists.archive(id: string, options?: RequestOptions)
Return form
Promise
Operation ID
archiveList
Required scopes
lists:write
SDK parameters
id: stringoptions: RequestOptions
Path request fields
id: string
Success
204
Declared API errors
400401403404409429502503
POST/lists/{id}/restore
Full API operation →

lists.restore

Use this operation to restore an archived list. 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.

client.lists.restore(id: string, options?: RequestOptions)
Return form
Promise
Operation ID
restoreList
Required scopes
lists:write
SDK parameters
id: stringoptions: RequestOptions
Path request fields
id: string
Success
200 List envelope
Declared API errors
400401403404409429502503

Convenience helpers

These typed helpers compose mapped operations. They do not grant scopes or bypass API limits.

lists.pages

Iterate cursor pages with a bounded PaginationOptions policy.

client.lists.pages(options?: ListLookupListOptions, 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.