Grist

Productivity Host and API key

Read and write Grist documents, tables and records from any Windmill script, flow or app.

Set up in 3 steps

1

Copy your API key

In Grist, open your profile settings and copy the API key.

2

Add the resource in Windmill

Open Resources, add a resource of type grist. host is docs.getgrist.com for the hosted service, or your team site or self-hosted address; apiKey is the key.

3

Run your first script

Fork any script below and read before writing anything. There are dozens here, so search by the verb you need.

Scripts

Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.

Webhooks associated with a document

Script grist Verified

Upload attachments to a doc

Script grist Verified

The schema of a table

Script grist Verified

Run an SQL query against a document, with options or parameters

Script grist Verified

Run an SQL query against a document

Script grist Verified

Retrieve user by ID

Script grist Verified

Retrieve service provider configuration

Script grist Verified

Retrieve list of users

Script grist Verified

Retrieve information about oneself

Script grist Verified

Retrieve SCIM schemas

Script grist Verified

Retrieve SCIM resource types

Script grist Verified

Remove a webhook

Script grist Verified

Reload a document

Script grist Verified

Move document to another workspace.

Script grist Verified

Modify tables of a document

Script grist Verified

Modify rows of a table

Script grist Verified

Modify records of a table

Script grist Verified

Modify document metadata (but not its contents)

Script grist Verified

Modify columns of a table

Script grist Verified

Modify an org

Script grist Verified

Modify a workspace

Script grist Verified

Modify a webhook

Script grist Verified

List workspaces and documents within an org

Script grist Verified

List users with access to workspace

Script grist Verified

List users with access to org

Script grist Verified

List users with access to document

Script grist Verified

List the orgs you have access to

Script grist Verified

List tables in a document

Script grist Verified

List metadata of all attachments in a doc

Script grist Verified

List columns in a table

Script grist Verified

Resource type

grist — the shape of the credential every script on this page expects.

View raw schema →
FieldTypeRequiredWhat it is
apiKeystringYesAPI key retrieved from the profile settings.
hoststringYesBase URL of the API - for personal workspace, use docs.getgrist.com and for team workspace, use team URL.

All resource types

Questions

What goes in host?

The host serving your documents — docs.getgrist.com, a team site like acme.getgrist.com, or your own server. Every request is built from it, so a team key does not answer on the generic host.

Is my key stored on the hub?

Never. It lives only in your own Windmill workspace, encrypted at rest.