Skip to content
Notice This app is in Beta Testing We are still testing Record Sender, so features may change.
Sign in

Data fabric — API reference

The data catalog (every dataset: whose it is, classification, purpose, legal basis, retention, what an export and an erasure do, where it comes from), lineage, and data products — counts over time from organization datasets (never a person's own data, never rows), versioned, with every read recorded. Scopes `data_fabric:read` / `data_fabric:write`; defining products needs `governance:manage`.

← All groups
GET /api/v1/data/catalog

The data catalog

Scope: data_fabric:read · data_fabric.catalog

Responses 200 · 401 · 403 · 429

200 Success

datasets * [CatalogDataset]
fields

CatalogDataset

app string
classification "public" | "internal" | "confidential" | "restricted"
domain string
export_fields [string]
keep_reason string | null
key string
legal_basis string
name string
on_erasure "delete" | "anonymise" | "keep"
owner "person" | "organization" | "platform"
purpose string
retention string
sources [string]
table string

401 Problem details (401)

403 Problem details (403)

429 Problem details (429)

GET /api/v1/data/lineage

Lineage

Scope: data_fabric:read · data_fabric.lineage

Responses 200 · 401 · 403 · 429

200 Success

edges * [object]
fields
from string
to string
product_sources * [object]

401 Problem details (401)

403 Problem details (403)

429 Problem details (429)

GET /api/v1/data/products

Data products

Drafts and retired products only for `governance:manage`.

Scope: data_fabric:read · paginated · data_fabric.index

ParameterInTypeDescription
cursorquerystringThe `next_cursor` of the previous page
limitqueryintegerPage size
Responses 200 · 401 · 403 · 429

200 Success

has_more boolean
next_cursor string | null Pass as `cursor` for the next page; null on the last
products * [DataProduct]
fields

DataProduct

dataset "audit_trail" | "dlp_incidents" | "flow_runs" | "shared_mail" | "channel_messages" | "privacy_requests"
description string | null
group_by string | null one column the dataset allows
id string (uuid)
inserted_at string (date-time)
measure "count"
name string
period "day" | "week" | "month"
status "draft" | "published" | "retired"
updated_at string (date-time)
version integer
window_days integer 1–730

401 Problem details (401)

403 Problem details (403)

429 Problem details (429)

POST /api/v1/data/products

Define a data product (a draft)

Scope: data_fabric:write · Idempotency-Key · data_fabric.create

Request body application/json
dataset * "audit_trail" | "dlp_incidents" | "flow_runs" | "shared_mail" | "channel_messages" | "privacy_requests"
description string | null
group_by string | null one column the dataset allows
name * string
period "day" | "week" | "month"
window_days integer 1–730
Responses 201 · 401 · 402 · 403 · 409 · 422 · 429

201 Success

product * DataProduct
fields

DataProduct

dataset "audit_trail" | "dlp_incidents" | "flow_runs" | "shared_mail" | "channel_messages" | "privacy_requests"
description string | null
group_by string | null one column the dataset allows
id string (uuid)
inserted_at string (date-time)
measure "count"
name string
period "day" | "week" | "month"
status "draft" | "published" | "retired"
updated_at string (date-time)
version integer
window_days integer 1–730

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

DELETE /api/v1/data/products/{id}

Delete a data product

Scope: data_fabric:write · data_fabric.delete

ParameterInTypeDescription
id *pathstring (uuid)
Responses 204 · 401 · 402 · 403 · 404 · 422 · 429

204 Done (no content)

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/data/products/{id}

One data product with its lineage and runs

Scope: data_fabric:read · data_fabric.show

ParameterInTypeDescription
id *pathstring (uuid)
Responses 200 · 401 · 403 · 404 · 429

200 Success

lineage * object
product * DataProduct
fields

DataProduct

dataset "audit_trail" | "dlp_incidents" | "flow_runs" | "shared_mail" | "channel_messages" | "privacy_requests"
description string | null
group_by string | null one column the dataset allows
id string (uuid)
inserted_at string (date-time)
measure "count"
name string
period "day" | "week" | "month"
status "draft" | "published" | "retired"
updated_at string (date-time)
version integer
window_days integer 1–730
runs * [object]

401 Problem details (401)

403 Problem details (403)

404 Problem details (404)

429 Problem details (429)

PATCH /api/v1/data/products/{id}

Change a data product

Changing a published product bumps its version.

Scope: data_fabric:write · data_fabric.update

ParameterInTypeDescription
id *pathstring (uuid)
Request body application/json
dataset "audit_trail" | "dlp_incidents" | "flow_runs" | "shared_mail" | "channel_messages" | "privacy_requests"
description string | null
group_by string | null one column the dataset allows
name string
period "day" | "week" | "month"
window_days integer 1–730
Responses 200 · 401 · 402 · 403 · 404 · 422 · 429

200 Success

product * DataProduct
fields

DataProduct

dataset "audit_trail" | "dlp_incidents" | "flow_runs" | "shared_mail" | "channel_messages" | "privacy_requests"
description string | null
group_by string | null one column the dataset allows
id string (uuid)
inserted_at string (date-time)
measure "count"
name string
period "day" | "week" | "month"
status "draft" | "published" | "retired"
updated_at string (date-time)
version integer
window_days integer 1–730

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/data/products/{id}/data

Read a published data product

Recorded as a run (consumer `api`).

Scope: data_fabric:read · data_fabric.data

ParameterInTypeDescription
id *pathstring (uuid)
formatquery"json" | "csv"
Responses 200 · 401 · 403 · 404 · 422 · 429

200 Success

product * DataProduct
fields

DataProduct

dataset "audit_trail" | "dlp_incidents" | "flow_runs" | "shared_mail" | "channel_messages" | "privacy_requests"
description string | null
group_by string | null one column the dataset allows
id string (uuid)
inserted_at string (date-time)
measure "count"
name string
period "day" | "week" | "month"
status "draft" | "published" | "retired"
updated_at string (date-time)
version integer
window_days integer 1–730
rows * [DataProductRow]
fields

DataProductRow

count integer
group string | null
period string (date)
source_rows * integer

401 Problem details (401)

403 Problem details (403)

404 Problem details (404)

422 not_published

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

PUT /api/v1/data/products/{id}/status

Publish, retire or return to draft

Scope: data_fabric:write · data_fabric.set_status

ParameterInTypeDescription
id *pathstring (uuid)
Request body application/json
status * "draft" | "published" | "retired"
Responses 200 · 401 · 402 · 403 · 404 · 422 · 429

200 Success

product * DataProduct
fields

DataProduct

dataset "audit_trail" | "dlp_incidents" | "flow_runs" | "shared_mail" | "channel_messages" | "privacy_requests"
description string | null
group_by string | null one column the dataset allows
id string (uuid)
inserted_at string (date-time)
measure "count"
name string
period "day" | "week" | "month"
status "draft" | "published" | "retired"
updated_at string (date-time)
version integer
window_days integer 1–730

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

422 Problem details (422)

429 Problem details (429)