Developer platform

API Changelog

Released changes, fixes, and deprecations for the Luthor API and MCP server, newest first.

Pagination controls and validation

Submissions, violations, and claims list endpoints now honor the requested page size. Use per_page for new integrations.

Added

  • per_page on all three list endpoints, with a default of 20 and a supported range of 1–100.
  • pagination.per_page in list responses, reporting the maximum results per page.
  • HTTP 422 with invalid_pagination for invalid values or conflicting per_page and items values.
  • HTTP 404 with page_out_of_range for pages beyond the available results.

Fixed

  • The ignored items parameter now controls the page size.
  • Pagination metadata respects the requested page size even when a submission has no current revision.
  • Ordering uses ID as a tiebreaker when creation times match. Submissions sort newest first; claims and violations sort oldest first.

Deprecated

  • The items query parameter remains supported as an alias for per_page.
  • The pagination.items response field remains present and equals pagination.per_page.
  • No removal date is scheduled for either alias.

Migration notes

Replace ?items=50 with ?per_page=50. Requests that supplied items previously returned the default 20 results; the requested size is now honored. Values above 100 or malformed values that were previously ignored now return HTTP 422. If both aliases are supplied, their numeric values must match.

Empty collections have one valid page with count: 0 and pages: 1. MCP contracts are unchanged. See the pagination guide for examples, ordering, and navigation between pages.

Changed-review tracking

Added

  • updated_at in submission list results and legacy submission details.
  • An inclusive updated_since filter on the submissions list, compatible with status filtering and pagination.
  • HTTP 422 with invalid_filter for malformed or timezone-less cutoff timestamps.

Changed

Submission and review modification timestamps now use UTC with six fractional digits so polling clients can preserve database precision. This also applies to MCP review status responses. Existing ISO 8601 parsers remain compatible. See changed-review polling guidance for inclusive boundaries, overlapping windows, and status-change handling.

Approval history and revision proof

Added

  • An approval object in REST and MCP review responses, identifying the recorded approved revision and whether it matches the current version.
  • decision_scope, revision_id, and revision_id_source in audit-packet decision history.

Fixed

  • New individual reviewer approvals use reviewer_approved instead of emitting an additional ambiguous approved event.
  • Final approval transitions are serialized under a submission lock and record revision identity, including reactivation followed by approval.
  • Automated approvals and unresolved historical or mismatched revision approvals no longer report human_approved; they report approved with explicit provenance.

Migration notes

Consumers should recognize reviewer_approved as a vote, not final approval, and handle status: approved separately from human_approved. Historical rows remain immutable; missing revision references stay explicitly unknown. See the approval-history guide.

Revision file downloads

Added

  • GET /api/v1/reviews/{review_id}/versions/{revision_id}/file with reviews:read, supporting all accessible revisions regardless of approval status.
  • Original file, viewable PDF, and ready approved PDF variants, with exact approval artifact selection.
  • Five-minute signed download URLs with byte-level SHA-256 and revision/representation headers.
  • Available file descriptors and authenticated download paths in REST/MCP review status and audit-packet revision history.
  • Required review and integration audit records commit before issuing a download URL; audit failures return HTTP 503 for retry.

Integration notes

Original is the default and preserves the stored source bytes. The existing content_hash remains a text hash; file verification uses the separate file SHA-256. Missing representations are not generated or replaced with another format. See the download guide for authorization, redirects, integrity checks, and approval selection.

Human approval webhook delivery

Added

  • Registered review.human_approved delivery for final human approvals, including the approved revision and authenticated original-file download path.
  • Timestamped HMAC-SHA256 signatures, stable delivery/event identities, and a durable outbox with recovery after queue interruptions.
  • Up to five attempts for transient failures, with access rechecked before every attempt.

Integration notes

Registration requires webhooks:manage; approval delivery also requires reviews:read. URLs require public HTTPS destinations on port 443, without credentials or fragments; redirects are not followed. Individual reviewer votes and automated approvals do not emit this event. Other registered event names remain reserved. Existing legacy completion callbacks are unchanged. See the webhook guide for verification, retry timing, and deduplication. New subscriptions do not backfill historical approvals.