amendment_drafts

Create a new amendment draft

Formats bill text and snapshots it as base_html. Refreshes the public HTML cache separately after the tenant save succeeds.

post/bills/{bill_id}/drafts

Request

  • Base URL: https://api.fed10.ai/api
  • URL: https://api.fed10.ai/api/bills/{bill_id}/drafts
  • Auth: API key in header Authorization

Response

Created

idstring
bill_idstring
bill_version_idinteger
titlestring
base_htmlstring

Frozen HTML snapshot

current_doc_jsonobject

TipTap editor state

amended_doc_jsonobject

AI-amended document

suggested_goalstring

Template amendment goal

editing_usersobject

Active editors list

created_bystring
last_modified_bystring
created_atstring
updated_atstring

Changes

No recorded changes to this operation across all 1 revision of this API.