Latest data source for a record

View as Markdown
Returns the most recent provenance row for a tracked record.

Authentication

AuthorizationBearer

User bearer token: Supabase or Clerk session JWT, Clerk OAuth access token, or Clerk personal API key

OR
X-API-Keystring

Admin API key for system-to-system write operations

OR
X-Client-Secretstring

Client secret for read-only service-to-service access (no writes)

Query parameters

tableNameenumRequired

Tracked resource. Canonical form is the camelCase wire token (e.g. entity, newsArticle); the legacy Postgres table name (res_entity) is still accepted for backwards compatibility.

recordIdstringOptional

Record key of the tracked row (text)

Response

OK
changedAtdatetime or nullOptional
dataSourceUpdatedAtdatetime or nullOptional
detailstring or nullOptional
kindstring or nullOptional
pendingApprovalinteger or nullOptional
sourceIdstring or nullOptional
statusstring or nullOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
406
Not Acceptable Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error