List the comments on a record
Returns the record's comments with each author's display name and avatar. Requires the `records:read` permission on the database.
apiKeyAuthorizationBearer <snoze_sk_…>Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
workspaceId*stringdatabaseId*stringrecordId*stringSuccess
application/json- response
data*array<>curl -X GET 'https://api.snoze.dev/v1/workspaces/string/databases/string/records/string/comments'{ "data": [ { "id": "string", "workspaceId": "string", "databaseId": "string", "recordId": "string", "authorUserId": "string", "authorDisplayName": "string", "authorAvatarUrl": "string", "body": "string", "content": [], "createdAt": "string" } ]}Move a database group to trash
Archives up to 2,000 specified records and hides their group in the selected view in one transaction. A permission, validation, or missing-record failure rolls back the entire change. Requires records:write and views:write permissions; archived records remain recoverable.
Comment on a record
Adds a comment to the record, attributed to the calling user's synced profile. Requires the `records:comment` permission on the database, and rejects an empty body or one longer than 2,000 characters.