Report presets
Presets store named filter and state snapshots for a specific report. They are scoped to the tenant and associated with the user who created them.List presets
Query parameters
Identifier for the report type (e.g.
obras, certificados).Response
Array of preset objects ordered by
updated_at descending.- Request
- Response
Create a preset
Request body
Report type identifier.
Display name for the preset.
Filter configuration to save. Defaults to
{}.Report UI state to save. Defaults to
{}.Response
The newly created preset.
- Request
- Response
Delete a preset
Query parameters
UUID of the preset to delete.
Response
Always
true on success.Report templates
Templates are reusable report configurations. Unlike presets (which are personal), templates belong to the tenant.List templates
Query parameters
Report type identifier.
Response
Array of template objects ordered by
updated_at descending.Create a template
Request body
Report type identifier.
Display name.
Optional description.
Template configuration. Defaults to
{}.Mark as a system template. Defaults to
false.Response
The newly created template.
Delete a template
Query parameters
UUID of the template to delete.
Response
Always
true on success.Share links
Share links let authenticated users create token-based public URLs for a specific report state. The token can be used without authentication to retrieve the report payload.Create a share link
Creates a share link for a report. Returns the share record and the relative URL path (
/r/{token}).
Request body
Report type identifier.
The report state/data to embed in the share link.
Optional UUID of an associated preset.
Optional ISO 8601 expiry timestamp. If omitted the link never expires.
Response
The full share link record from the database.
Relative URL path for the share link, e.g.
/r/abc123.- Request
- Response
Resolve a share link
Resolves a share link by token. This endpoint does not require authentication — it is intended for public consumers of shared reports.
Query parameters
The share token (from the
url returned when the link was created).Response
The full share link record, including the embedded
payload.- Request
- Response
