Grist Octri Preview
GET/docs/{docId}/attachments/store

Get the document attachment storage setting

Retrieves the current attachment storage setting for a document. Use this endpoint to check whether the document uses external or internal storage.

1 parameter
docIdstringrequired
The UUID of the document whose attachment storage setting to retrieve.

1 status code
200Returns an object with a `type` value of `external` or `internal`.
typestringoptional
Allowed:externalinternal

Error handling

The docId path parameter must be a UUID identifying a document.