Resource
data_clip
A saved MicroSQL reporting query that can be re-run in-app or exported publicly as JSON/CSV/NDJSON via its share token. Scoped to a single tenant.
Configuration
nameString!RequiredLabel for the new clip. Required and non-empty.
descriptionStringOptionalOptional note about what the clip reports (max 1000 characters).
queryStringString!RequiredMicroSQL query the clip runs. Required and non-empty.
Read-only values
Show values
idDataClipID!Read onlyTypeID of this data clip (e.g. "dcl_01K…").
computed by the platform
creatorIdUserID!Read onlyTypeID of the user who created the clip (e.g. "usr_01K…"). Not reassigned on update.
References service_account
computed by the platform
jsonExportPathString!Read onlyRelative path for JSON export (combine with server base URL)
computed by the platform
csvExportPathString!Read onlyRelative path for CSV export (combine with server base URL)
computed by the platform
createdAtString!Read onlyISO-8601 timestamp of when the clip was first saved.
computed by the platform
updatedAtString!Read onlyISO-8601 timestamp of the clip's last change, including a share-token roll.
computed by the platform
Lifecycle
The CLI can create this resource. The platform assigns its id.
When replacement is needed, the existing resource is removed before its replacement is created.