Skip to main content
New to Corsair? See API access, authentication, and error handling.

Attachments

get

attachments.get Get metadata for a specific attachment in a document Risk: read
Input Output

getTransferStatus

attachments.getTransferStatus Get current attachment transfer status for an external store Risk: read
Input Output: Record<string, any>

list

attachments.list List metadata for attachments stored in a document Risk: read
Input Output

removeUnused

attachments.removeUnused Delete unused attachments from a document Risk: destructive
Input Output: any

updateUsed

attachments.updateUsed Update attachment usage tracking in a document Risk: write
Input Output: any

verifyFiles

attachments.verifyFiles Verify attachment file integrity for a document Risk: read
Input Output: any

Columns

add

columns.add Add new columns to a table in a document Risk: write
Input
Output

delete

columns.delete Delete a column from a table Risk: destructive
Input Output: any

list

columns.list List columns and metadata for a table Risk: read
Input Output

replace

columns.replace Add or update column definitions in a table Risk: write
Input
Output: any

update

columns.update Modify column configurations or labels in a table Risk: write
Input
Output: any

Docs

copy

docs.copy Copy a document to a workspace Risk: write
Input Output: string

create

docs.create Create a new Grist document or copy from a template Risk: write
Input Output: string

createInWorkspace

docs.createInWorkspace Create an empty document inside a specific workspace Risk: write
Input Output: string

delete

docs.delete Permanently delete a document Risk: destructive
Input Output: any

fork

docs.fork Fork a document into a new unsaved document Risk: write
Input Output

get

docs.get Describe document metadata and containing workspace Risk: read
Input Output

listAccess

docs.listAccess List users with access permissions to a document Risk: read
Input Output

listSnapshots

docs.listSnapshots List historical snapshots of a document Risk: read
Input Output

modifyAccess

docs.modifyAccess Change user access permissions for a document; sharing with a new email address sends that person an invitation Risk: destructive
Input Output: any

move

docs.move Move a document to a different workspace Risk: write
Input Output: any

pin

docs.pin Pin a document for quick access Risk: write
Input Output: any

remove

docs.remove Move a document to the trash Risk: destructive
Input Output: any

removeSnapshots

docs.removeSnapshots Remove historical snapshots of a document Risk: destructive
Input Output: any

unpin

docs.unpin Unpin a document Risk: write
Input Output: any

unremove

docs.unremove Restore a document from the trash Risk: write
Input Output: any

update

docs.update Modify document metadata such as name or pin status Risk: write
Input Output: any

Orgs

delete

orgs.delete Delete an organization by ID and confirmed name Risk: destructive
Input Output: any

get

orgs.get Describe details of a specific organization Risk: read
Input Output

getUsage

orgs.getUsage Get organization resource and storage usage summary Risk: read
Input Output: Record<string, any>

list

orgs.list List organizations accessible to the authenticated user Risk: read
Input: empty object Output: object[]

listAccess

orgs.listAccess List users with access permissions to an organization Risk: read
Input Output

modifyAccess

orgs.modifyAccess Change user access roles for an organization; sharing with a new email address sends that person an invitation Risk: destructive
Input Output: any

update

orgs.update Modify organization metadata such as its name Risk: write
Input Output: any

Profile

get

profile.get Get current authenticated user profile Risk: read
Input: empty object Output

updateLocale

profile.updateLocale Update user locale preference Risk: write
Input Output: any

updateName

profile.updateName Update user display name Risk: write
Input Output: any

Records

add

records.add Add new records with field values to a table Risk: write
Input
Output

delete

records.delete Delete records by record IDs from a table Risk: destructive
Input Output: any

list

records.list Fetch records from a table with filtering and sorting Risk: read
Input Output

replace

records.replace Add or update records matching require criteria (upsert) Risk: write
Input
Output: any

update

records.update Modify existing records by record ID in a table Risk: write
Input
Output: any

Service Accounts

create

serviceAccounts.create Create a new service account with an API key Risk: write
Input Output

delete

serviceAccounts.delete Delete a service account Risk: destructive
Input Output: any

deleteApiKey

serviceAccounts.deleteApiKey Delete a service account API key Risk: destructive
Input Output: any

get

serviceAccounts.get Get service account details by ID Risk: read
Input Output

list

serviceAccounts.list List all service accounts owned by the user Risk: read
Input: empty object Output: object[]

regenerateApiKey

serviceAccounts.regenerateApiKey Generate a new API key for a service account; the previous key stops working Risk: destructive
Input Output

update

serviceAccounts.update Modify service account name or label Risk: write
Input Output: any

Session

getActive

session.getActive Get active session details and current organization Risk: read
Input: empty object Output

getAll

session.getAll Get all logged-in session accounts and organizations Risk: read
Input: empty object Output

Sql

query

sql.query Execute a read-only SQL query with parameters against a document Risk: read
Input Output

queryGet

sql.queryGet Execute a simple read-only SQL query via GET against a document Risk: read
Input Output

Tables

create

tables.create Add new tables and their column definitions to a document Risk: write
Input
Output

list

tables.list List tables within a Grist document Risk: read
Input Output

update

tables.update Modify table identifiers or on-demand loading settings Risk: write
Input
Output: any

Templates

get

templates.get Get details of a specific document template Risk: read
Input Output

list

templates.list List available document templates from the catalog Risk: read
Input: empty object Output: object[]

Users

delete

users.delete Delete a user from Grist Risk: destructive
Input Output: any

disable

users.disable Disable a user account in Grist Risk: write
Input Output: any

enable

users.enable Enable a previously disabled user account Risk: write
Input Output: any

Widgets

list

widgets.list List available custom widgets from the gallery Risk: read
Input: empty object Output: object[]

Workspaces

create

workspaces.create Create a new empty workspace in an organization Risk: write
Input Output: number

delete

workspaces.delete Permanently delete a workspace Risk: destructive
Input Output: any

get

workspaces.get Describe a workspace and its documents Risk: read
Input Output

list

workspaces.list List workspaces and their documents within an organization Risk: read
Input Output: object[]

listAccess

workspaces.listAccess List users with access permissions to a workspace Risk: read
Input Output

modifyAccess

workspaces.modifyAccess Change user access permissions for a workspace; sharing with a new email address sends that person an invitation Risk: destructive
Input Output: any

remove

workspaces.remove Move a workspace to the trash Risk: destructive
Input Output: any

unremove

workspaces.unremove Restore a workspace from the trash Risk: write
Input Output: any

update

workspaces.update Modify workspace name or settings Risk: write
Input Output: any