コンテンツにスキップ
Fitinty

建設中 Fitinty

あなたのソフトウェアを それを動かすビジネスに接続して Fitintyこれは、会員が何かをするときに、会員が何を書くべきかを知らせるための機能です。このリファレンスはライブサーバから生成されますので、常に最新です。

鍵を取得するには、ビジネスの管理者が設定 > 接続されたアプリ > キーを取得します。 API webhooks(W) キーは一度表示され、安全に保存され、いつでも無効にできます。

初めての電話

このアドレスは鍵が必要なく、同じ参照で返信します。 JSONキーを使って 下のヘッダを どんなコールにも追加する

curl https://api.fitinty.com/public/developers/reference

3,474 endpoints across 21 areas a key may open, and 269 open to everyone, no key needed.

キーを使う

A business's admin creates a key under Settings > Connected apps > API & webhooks. It is shown once, stored securely, and can be turned off at any time. The key acts as a member of that one business: it reads and writes what a member could, within the areas its permissions name, and nothing of any other business.

Authorization: Bearer fk_<key>
キーが持つ権限

education:read · education:write · marketplace:read · marketplace:write · publishers:read · publishers:write · workspace:read · workspace:write · services:read · services:write · ministries:read · ministries:write · media:read · media:write · cinema:read · cinema:write · games:read · games:write · marketing:read · marketing:write · tools:read · tools:write · offices:read · offices:write · bank:read · bank:write · treasury:read · treasury:write · tax:read · tax:write · compliance:read · compliance:write · investors:read · investors:write · farms:read · farms:write · manufacturing:read · manufacturing:write · logistics:read · logistics:write · governor-suite:read · governor-suite:write

Webhooks: 何かが起こったときに知らせる

A subscription names an https address and the kinds of event it wants. Each matching event is delivered once, signed; a receiver that does not answer 2xx is retried on the schedule below and the delivery is marked dead after the last try, with the reason. The payload describes the event - what happened, to which record, by whom - never the record itself; read that through the API with a key.

送付の署名方法

X-Fitinty-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 over '<t>.' + the exact body bytes, under the subscription's secret>
X-Fitinty-Event: <action>
X-Fitinty-Delivery: <delivery id>
tolerance: 300s

リトライ (試行間の秒数)

60, 300, 1800, 7200, 21600 - 6 attempts

購読可能なイベントの種類

affiliate_clickbank_config, affiliate_network_credential, affiliate_offer, agent, agents, assignment, automation, avatar_registry, bank, business, cinema, compliance, connected_apps, course, deck_factory, design_canvas, education, enrollment, farms, fitinchat, games, governance, governor, identity_pack, imperial_draw, investors, lesson, listing, listing_search_words, logistics, manufacturing, marketing, marketplace, media, ministries, multimedia_factory, office, offices, payment, platform, platform_store, presentation_factory, provider, publishers, return, risk_alert, school, song_factory, storefront_blog, supplier, tax, tenant_data, theme, tools, treasury, vendor, vendor_product, video_factory, voice, workspace

各配達の内容

id, occurred_at, family, action, resource_type, resource_id, organization_id, actor_id, decision, delivery_id, attempt

キーが到達できる範囲

Education - 291 エンドポイント - education:read, education:write

Schools, programmes and courses - the framework every tenant's school is built from.

  • DELETE /education/announcements/{announcement_id} · 必要性 education:writeDelete Announcement
  • POST /education/announcements/{announcement_id}/publish · 必要性 education:writePublish AnnouncementTHE OVERRIDE DOOR. Whatever drafted it - a hand or the digest - a person publishes. RLS admits only school staff to the UPDATE.
  • POST /education/assignments/{assignment_id}/submissions · 必要性 education:writeSubmit Assignment
  • GET /education/assignments/{assignment_id}/submissions · 必要性 education:readList Assignment Submissions
  • POST /education/assignments/{assignment_id}/writing-feedback · 必要性 education:writeWriting Feedback
  • POST /education/blocks · 必要性 education:writeCreate Block
  • PATCH /education/blocks/{block_id} · 必要性 education:writeUpdate Block
  • DELETE /education/blocks/{block_id} · 必要性 education:writeDelete Block
  • GET /education/bundles/for-course/{course_id} · 必要性 education:readBundles For CourseThe student's door: published bundles that carry this course as an item.
  • GET /education/bundles/mine · 必要性 education:readMy BundlesThe buyer's shelf: every bundle they bought, with each item's delivery status IN WORDS - a pending or failed delivery is shown, never hidden.
  • POST /education/bundles/purchases/{purchase_id}/retry-delivery · 必要性 education:writeRetry DeliveryThe retry door: the buyer or the selling school's staff re-run whatever is not yet delivered. Delivered rows are never re-attempted.
  • POST /education/bundles/schools/{school_id} · 必要性 education:writeCreate BundleThe seller's hand. Items are validated against REAL rows at creation - a key with no reader is a silent zero, so an unknown reference is refused (422), never stored. Born a draft; publishing is the go-live moment.
  • GET /education/bundles/schools/{school_id} · 必要性 education:readList School BundlesRLS splits honestly: staff see drafts, everyone else the published shop window.
  • POST /education/bundles/{bundle_id}/checkout · 必要性 education:writeStart Bundle CheckoutOne Checkout Session on the SELLER's account for the whole box. When any item is physical, Stripe collects the shipping address and the webhook carries it into the Medusa order - the buyer types their address exactly once.
  • POST /education/bundles/{bundle_id}/publish · 必要性 education:writePublish Bundle
  • GET /education/certificates/mine · 必要性 education:readList My Certificates
  • POST /education/certificates/{certificate_id}/revoke · 必要性 education:writeRevoke Certificate
  • GET /education/certificates/{certificate_id}/verify · 必要性 education:readVerify Certificate
  • DELETE /education/channel-messages/{message_id} · 必要性 education:writeRemove Channel MessageModeration (addition 18's seed): RLS admits the DELETE only for the author, school staff, or the owner - zero rows deleted is an honest 404.
  • GET /education/commerce/applications/mine · 必要性 education:readMy Applications
  • POST /education/commerce/applications/{application_id}/decide · 必要性 education:writeDecide ApplicationA decline carries its reason - the reason is the applicant's teacher.
  • POST /education/commerce/courses/{course_id}/book · 必要性 education:writeSet Course BookThe course's book dial. The book must be a PUBLISHED product somewhere on the platform - any org's: a partner bookstore counts.
  • POST /education/commerce/courses/{course_id}/checkout · 必要性 education:writeStart Course CheckoutA Checkout Session ON THE SCHOOL'S ACCOUNT. No card detail touches this platform - Stripe hosts the page; the student pays the school; Fitinty's fee is taken by Stripe's own split.
  • POST /education/commerce/courses/{course_id}/license-seats · 必要性 education:writeLicense SeatsTHE BUYER'S DOOR. Another organization's OWNER buys seats on the seller's own Stripe account - a Checkout Session, the course-purchase construction exactly. No row is granted here: the verified webhook births the seats, so an abandoned checkout leaves no free students behind.
  • POST /education/commerce/courses/{course_id}/seat-offer · 必要性 education:writeSet Seat OfferThe seller's shelf tag. Only on a PUBLISHED course - the pay-to-open gate was passed when the course went public, and seats on a draft would sell an empty room.
  • POST /education/commerce/courses/{course_id}/sponsor-checkout · 必要性 education:writeStart Sponsor CheckoutTHE GIVER'S DOOR. Any signed-in person pays the course's own price on the school's own rail. The claim code is minted NOW and shown on the sponsor's shelf the moment payment lands - handing it over is the gift.
  • POST /education/commerce/courses/{course_id}/template-license · 必要性 education:writeBuy Template LicenseTHE BUYER'S DOOR. A priced template is the seat-purchase construction exactly: pending row, Checkout Session on the seller's account, the webhook births the license. A FREE template births its license paid on the spot - there is no provider payment to wait for.
  • POST /education/commerce/courses/{course_id}/template-offer · 必要性 education:writeSet Template OfferThe seller's dial. Published courses only - a template nobody can inspect as a live course would sell a promise with no shop window. Going ON SALE is a go-live moment, so it rides the ONE pay-to-open gate like every other.
  • GET /education/commerce/courses/{course_id}/template-offer · 必要性 education:readGet Template OfferThe seller's own dial, read back - staff only, drafts and inactive included.
  • POST /education/commerce/enrollments/{enrollment_id}/certificate-checkout · 必要性 education:writeStart Certificate CheckoutThe STUDENT's door - their own enrollment, their own money, the school's own rail.
  • POST /education/commerce/programs/{program_id}/checkout · 必要性 education:writeStart Program CheckoutBuy the whole series at the tenant's one price. Published programs only - a bundle of drafts would sell an empty shelf.
  • POST /education/commerce/schools/{school_id}/application-fee · 必要性 education:writeSet Application FeeThe school's dial. None = free applications (the default, and the honest zero).
  • GET /education/commerce/schools/{school_id}/applications · 必要性 education:readSchool Applications
  • POST /education/commerce/schools/{school_id}/apply · 必要性 education:writeApply To SchoolThe applicant's door. Free -> SUBMITTED now; priced -> PENDING_PAYMENT with the school's own checkout - the verified webhook turns it submitted.
  • POST /education/commerce/schools/{school_id}/growth-advice · 必要性 education:writeGrowth AdviceProposals, never actions (Override Charter): grounded strictly in the school's own real numbers, benchmarked in spirit against the plan's competitive rider - and everything it suggests is applied by the TENANT's own hand through the existing screens or not at all.
  • GET /education/commerce/schools/{school_id}/money-in · 必要性 education:readSchool Money InThe school's money-in: PAID purchases only (the money-in rule: captured, never intended). Absence of payments is said in words by the screen, never rendered as zero-pretending-to-know.
  • GET /education/commerce/schools/{school_id}/seat-grants · 必要性 education:readList Seat Grants
  • POST /education/commerce/schools/{school_id}/seat-grants · 必要性 education:writeCreate Seat Grant
  • GET /education/commerce/seat-purchases · 必要性 education:readList Seat PurchasesBoth sides of the counter: what this org has sold and what it has bought.
  • POST /education/commerce/sponsored/claim · 必要性 education:writeClaim SponsorshipThe student's hand on the gift. One claim, forever; a code on an unpaid or already-claimed gift refuses in words. The claim opens the PRICE gate only - the student still walks enrollment's other gates on the course page.
  • GET /education/commerce/sponsored/mine · 必要性 education:readMy SponsorshipsThe sponsor's shelf: every gift they bought, its state, and the claim code to hand over once paid.
  • GET /education/commerce/template-licenses/mine · 必要性 education:readMy Template LicensesThe buyer's shelf: licenses their organization holds, adopted or waiting.
  • POST /education/commerce/template-licenses/{license_id}/adopt · 必要性 education:writeAdopt TemplateDELIVERY. The paid license turns into a DRAFT course in the buyer's school - the whole spine cloned, owned outright, free to reshape (building is free by ruling; the buyer's own publish walks the standing publish gates later). What is NOT copied is stated in words, never silently absent.
  • GET /education/commerce/template-market · 必要性 education:readTemplate MarketEvery active offer on a published course, platform-wide. Read through the PUBLIC cursor: these are shop-window facts, and a member cursor answers a silent zero on another org's rows - the standing RLS lesson. Free is stated as free, never 0.
  • POST /education/commerce/webhook · 必要性 education:writeEducation Stripe Webhook
  • PATCH /education/competencies/{competency_id} · 必要性 education:writeUpdate CompetencyCorrect a competency's wording. A competency statement is the hardest sentence in a course to get right - it is the promise the whole module is measured against - so it is exactly the sentence a teacher rewrites three times. Shipping create-only was the same capability-without-a-door fault found five times on the night this pillar was walked (Tenant Zero, 2026-08-26). THE LINKS SURVIVE THE REWOR…
  • DELETE /education/competencies/{competency_id} · 必要性 education:writeDelete CompetencyRemove a competency - unless a student has already been credited with it. A demonstration is a statement about a person's ability, granted by a named member of staff with evidence attached. Deleting the competency underneath it would erase that record sideways, which is the thing this platform refuses everywhere: a teacher's tidy-up never rewrites a student's history.
  • POST /education/competencies/{competency_id}/assessed · 必要性 education:writeMark AssessedClaim that an assessment TESTS a competency. This is the claim the coverage report checks.
  • POST /education/competencies/{competency_id}/demonstrated · 必要性 education:writeRecord DemonstrationTHE ALTERNATIVE PATH: this student can already do this, and here is how we know. In job training this is the ordinary case rather than the exception - a technician who has wired houses for ten years has mastered "identify an electrical hazard", and a school that cannot record that wastes their time and loses them. Recognition of prior learning, kept as a record with a name and evidence on it, nev…
  • POST /education/competencies/{competency_id}/taught · 必要性 education:writeMark TaughtDeclare WHERE a competency is taught. Exactly one anchor - the table's own CHECK says the same thing, so a caller that bypasses this endpoint cannot write a nonsense row either.
  • GET /education/courses/published · 必要性 education:readList Published Courses
  • GET /education/courses/{course_id} · 必要性 education:readGet Course
  • PATCH /education/courses/{course_id} · 必要性 education:writeUpdate Course
  • GET /education/courses/{course_id}/assignments · 必要性 education:readList Assignments
  • POST /education/courses/{course_id}/assignments · 必要性 education:writeCreate Assignment
  • GET /education/courses/{course_id}/attendance · 必要性 education:readList Attendance
  • POST /education/courses/{course_id}/attendance · 必要性 education:writeRecord Attendance
  • GET /education/courses/{course_id}/certificates · 必要性 education:readList Course Certificates
  • GET /education/courses/{course_id}/channel · 必要性 education:readGet Channel
  • POST /education/courses/{course_id}/channel · 必要性 education:writePost To Channel
  • GET /education/courses/{course_id}/competencies · 必要性 education:readList CompetenciesWhat a learner will be able to DO. Visible to students too, deliberately: telling somebody the target is the point of stating it.
  • POST /education/courses/{course_id}/competencies · 必要性 education:writeCreate Competency
  • GET /education/courses/{course_id}/coverage · 必要性 education:readCourse CoverageDoes the course's final lab, project and exam test everything it teaches?
  • POST /education/courses/{course_id}/enroll · 必要性 education:writeEnroll
  • GET /education/courses/{course_id}/enrollments · 必要性 education:readList Course Roster
  • GET /education/courses/{course_id}/grades · 必要性 education:readAll Grades
  • GET /education/courses/{course_id}/grades/mine · 必要性 education:readMy Grade
  • GET /education/courses/{course_id}/grading-weights · 必要性 education:readGet Grading Weights
  • PUT /education/courses/{course_id}/grading-weights · 必要性 education:writeSet Grading Weights
  • GET /education/courses/{course_id}/labs · 必要性 education:readCourse LabsOne call for the whole course player: which lessons carry a lab, and which of them THIS caller has genuinely completed. Rows exist only where a premise does - a lesson with no lab is absent, not false-flagged.
  • GET /education/courses/{course_id}/live-classes · 必要性 education:readList Live Classes
  • POST /education/courses/{course_id}/live-classes · 必要性 education:writeStart Live ClassStaff only. A REAL P01 hosted meeting through create_meeting() itself - its capacity checks, its room tokens, its /meet room - linked to the course.
  • GET /education/courses/{course_id}/modality-coverage · 必要性 education:readCourse Modality Coverage
  • GET /education/courses/{course_id}/module-progress · 必要性 education:readGet Module Progress
  • GET /education/courses/{course_id}/modules · 必要性 education:readList Modules
  • POST /education/courses/{course_id}/modules · 必要性 education:writeCreate Module
  • GET /education/courses/{course_id}/prerequisites · 必要性 education:readList Prerequisites
  • POST /education/courses/{course_id}/prerequisites · 必要性 education:writeAdd Prerequisite
  • DELETE /education/courses/{course_id}/prerequisites/{requires_course_id} · 必要性 education:writeRemove Prerequisite
  • POST /education/courses/{course_id}/publish-to-federation · 必要性 education:writePublish To Federation
  • GET /education/courses/{course_id}/quizzes · 必要性 education:readList Quizzes
  • POST /education/courses/{course_id}/quizzes · 必要性 education:writeCreate Quiz
  • GET /education/courses/{course_id}/review · 必要性 education:readReview CourseThe whole course. Kept as its own route because it is what every screen already calls.
  • GET /education/courses/{course_id}/spine · 必要性 education:readCourse SpineThe student's own gated view of a course. THE EMPEROR'S SEQUENCE, read from records rather than asserted: "student work on each section at a time until complete the lesson; each lesson at a time until they complete the Module; and each module at a time until complete the course." THIS ENDPOINT DOES NOT INVENT A POLICY. Sequencing follows the course's own `require_sequential_modules` flag — the s…
  • GET /education/courses/{course_id}/students/{student_user_id}/report · 必要性 education:readStudent Report
  • POST /education/courses/{course_id}/study-groups · 必要性 education:writeCreate Study GroupAnyone inside the walls starts a room; staff-started rooms are the school's official ones. The creator is its first member.
  • GET /education/courses/{course_id}/study-groups · 必要性 education:readList Study Groups
  • GET /education/courses/{course_id}/translation-siblings · 必要性 education:readList Translation SiblingsEvery real course in this one's translation family - lets a student/teacher navigate to any language version from any other one. Returns an empty list for a course with no translations at all - never a 404, since 'no family' is a real, valid state, not an error.
  • POST /education/courses/{course_id}/translations · 必要性 education:writeCreate Translation
  • GET /education/courses/{course_id}/translations · 必要性 education:readList Translations
  • GET /education/enrollments/mine · 必要性 education:readList My Enrollments
  • PATCH /education/enrollments/{enrollment_id} · 必要性 education:writeUpdate Enrollment Status
  • POST /education/enrollments/{enrollment_id}/certificate · 必要性 education:writeIssue Certificate
  • PATCH /education/enrollments/{enrollment_id}/term · 必要性 education:writeSet Enrollment TermAttach an enrolment to the term it belongs to - the write migration 397 never got. FOUND BY THE FIRST FULL DRY-RUN (2026-08-25): the term attaches to the ENROLMENT by design, every reader filters on `enrollment.term_id` - and nothing in the product ever wrote it. Every fixture that had a term got it from wave-time SQL, so on a fresh school the whole Registrar was unreachable: every student "unter…
  • PUT /education/factory/categories/{school_type} · 必要性 education:writeSave CategoryAdd a category, or rewrite one. Owner only, and the table says so too. The slug is taken from the URL, not the body: renaming a category's slug would cascade to every school built on it, and that is a different and much larger decision than editing its wording.
  • POST /education/factory/categories/{school_type}/restore · 必要性 education:writeRestore Category
  • POST /education/factory/categories/{school_type}/retire · 必要性 education:writeRetire CategoryWithdraw a category without deleting it. RETIRED, NEVER DELETED, and the database enforces the difference: `school.school_type` is a foreign key with ON DELETE RESTRICT, so a category any school was built on cannot be removed at all. Retiring stops anyone starting a new school of that kind while every existing one keeps a real parent and keeps working.
  • POST /education/factory/lessons/{lesson_id}/multimedia · 必要性 education:writeBridge Lesson To Factory
  • POST /education/factory/proposals · 必要性 education:writeCreate Proposal
  • GET /education/factory/proposals · 必要性 education:readList My Proposals
  • PATCH /education/factory/proposals/{proposal_id} · 必要性 education:writeEdit ProposalThe human-edit door - the Override Charter's first working implementation. The tenant sends the draft as THEY want it; it is validated for shape only, never second- guessed, and the edit marks the proposal human_touched forever.
  • POST /education/factory/proposals/{proposal_id}/apply · 必要性 education:writeApply Proposal
  • POST /education/factory/proposals/{proposal_id}/discard · 必要性 education:writeDiscard Proposal
  • POST /education/factory/proposals/{proposal_id}/revise · 必要性 education:writeRevise ProposalThe in-the-loop step: re-draft WITH the current draft and the tenant's instruction.
  • GET /education/factory/starter-packs · 必要性 education:readList Starter PacksRLS does the gating: tenants receive published packs only; the owner also sees drafts awaiting review and retired incumbents.
  • POST /education/factory/starter-packs/{pack_id}/adopt · 必要性 education:writeAdopt Starter PackThe pack becomes the TENANT'S proposal. RLS on the SELECT is the gate: a tenant can only ever read - and therefore adopt - a published pack.
  • POST /education/factory/starter-packs/{pack_id}/publish · 必要性 education:writePublish Starter Pack
  • POST /education/factory/starter-packs/{school_type}/generate · 必要性 education:writeGenerate Starter Pack
  • GET /education/factory/templates · 必要性 education:readList Category TemplatesEvery category the Factory can build, with the template each drafts from. Auth-gated but not role-gated: the cockpit shows these to any signed-in tenant choosing what kind of school to start, and nothing in a template is secret - it is the platform's own pedagogy, stated.
  • GET /education/federation/catalog · 必要性 education:readFederation CatalogPublished masters discoverable across tenants (the White-Label catalog).
  • POST /education/federation/{federation_id}/adopt · 必要性 education:writeAdopt Federation
  • GET /education/federation/{federation_id}/events · 必要性 education:readFederation Events
  • POST /education/federation/{federation_id}/global-push · 必要性 education:writeGlobal Push
  • GET /education/federation/{federation_id}/subscribers · 必要性 education:readFederation Subscribers
  • POST /education/guardians/consents · 必要性 education:writeGrant Consent
  • POST /education/guardians/consents/{consent_id}/revoke · 必要性 education:writeRevoke Consent
  • POST /education/guardians/links · 必要性 education:writeLink Guardian
  • POST /education/guardians/minor-flags · 必要性 education:writeMark Minor
  • GET /education/guardians/my-students · 必要性 education:readMy StudentsThe guardian portal seed: progress, not just consent. Every query below runs under the guardian's own RLS context - the *_guardian_read policies (387) are what admit each row.
  • GET /education/identity/assets/{asset_id}/file · 必要性 education:readAsset FileServe one identity file to an eye RLS already trusts - the SELECT below runs under the same policies as everything else, so 'not yours to see' and 'does not exist' are the same 404. Used by the cast card (N6): a face is shown only to sessions the ledger's own policy would show the row to.
  • POST /education/identity/avatar/build · 必要性 education:writeBuild AvatarQueue the Foundry (Wave N, N3): the consented photos become a rigged, walking, game-fidelity character. Runs in the background - a body takes a minute or two to build, and the ledger IS the status: the avatar_rig row appears when it is done.
  • GET /education/identity/avatar/status · 必要性 education:readAvatar Status
  • POST /education/identity/consents · 必要性 education:writeGrant ConsentAn ADULT's own-hand consent. A minor is refused here IN WORDS - and would be refused by the INSERT policy even if this check were deleted, because a child self-consenting to biometric capture must be impossible, not merely discouraged.
  • POST /education/identity/consents/{scope}/revoke · 必要性 education:writeRevoke ConsentRevocation with a receipt: the consent closes AND every asset in the scope dies with its file, in the same transaction the revocation commits in. The response says how many - a receipt, not a shrug. (A minor's revocation travels through the guardians module, which calls the same `_withdraw_assets` - one implementation, both doors.)
  • GET /education/identity/mine · 必要性 education:readMy Identity
  • POST /education/identity/photos · 必要性 education:writeUpload PhotoOne whole-body photo (the agent asks for several, from all angles - each arrives here). Requires the 'likeness' consent to already stand, whichever door granted it.
  • POST /education/identity/voice-sample · 必要性 education:writeUpload Voice SampleThe voice sample - the single most personal thing this platform stores (voice_promise's own words), so it lands in the same ledger the withdrawal walk destroys from.
  • GET /education/integrations · 必要性 education:readList IntegrationsHonest status for the LMS adapters this pillar could integrate with - all genuinely "not configured" right now. The spec (§8) explicitly warns against rushing an LMS integration ("Fitinty shall not attempt to replace all LMS engines immediately") and lays out a real pre-install checklist (license review, security review, SSO design, tenant isolation review, backup/restore, accessibility review) be…
  • POST /education/integrations/import · 必要性 education:writeImport Outline
  • POST /education/labs/transcribe · 必要性 education:writeTranscribe SpeechSpeech into the scene (Wave N, N5): the student SPEAKS their answer and the practice dock gets text. Auth-gated pass-through to the Forge STT service - the model is GPU-sized and lives where the GPU lives, exactly like the tutor's brain. A dead bridge answers in words, not a hang: the student can always fall back to typing.
  • DELETE /education/lessons/{lesson_id} · 必要性 education:writeDelete LessonSame rule one level down: a lesson nobody has practised in deletes; one with lab completions or quiz results behind it does not.
  • PATCH /education/lessons/{lesson_id} · 必要性 education:writeUpdate Lesson
  • GET /education/lessons/{lesson_id}/blocks · 必要性 education:readList Lesson Blocks
  • POST /education/lessons/{lesson_id}/compute-sage · 必要性 education:writeCompute Sage In Lesson
  • POST /education/lessons/{lesson_id}/draft-code · 必要性 education:writeDraft Code LessonReal AI-drafted Python/Sage code from a plain-English description (task #159/160), meant for insertion into a real Jupyter cell - the teacher still reviews it and must explicitly click Run before anything executes in the sandbox. Never executed here - text only.
  • POST /education/lessons/{lesson_id}/draft-diagram · 必要性 education:writeDraft Diagram LessonAI-drawn schematic for a lesson (Tenant Zero, 2026-08-26 - the Emperor: a lesson on circuits NEEDS a circuit). The model drafts an SVG figure, it is sanitized to inert shapes-and-text, and it lands in the lesson's EXISTING image slot - the student page already renders that slot, so no new surface. The teacher sees it immediately and can replace or delete it like any uploaded image.
  • POST /education/lessons/{lesson_id}/draft-latex · 必要性 education:writeDraft Latex LessonReal AI-drafted LaTeX from a plain-English description (task #159/160) - Education's real analog of Publishers' draft_latex. The teacher still edits it live in MathLive and must explicitly save the lesson - this endpoint only ever returns text.
  • POST /education/lessons/{lesson_id}/image · 必要性 education:writeUpload Lesson Image
  • GET /education/lessons/{lesson_id}/image · 必要性 education:readGet Lesson Image
  • DELETE /education/lessons/{lesson_id}/image · 必要性 education:writeDelete Lesson Image
  • POST /education/lessons/{lesson_id}/jupyter/execute · 必要性 education:writeExecute Jupyter Cell Lesson
  • POST /education/lessons/{lesson_id}/jupyter/start · 必要性 education:writeStart Jupyter Session Lesson
  • POST /education/lessons/{lesson_id}/jupyter/stop · 必要性 education:writeStop Jupyter Session Lesson
  • GET /education/lessons/{lesson_id}/lab-completion · 必要性 education:readGet Lab CompletionThe caller's own real completion record for this lesson's VR Lab Console (id 76's mandatory interactive-practice requirement) - None if they haven't finished it (or haven't started), never fabricated.
  • POST /education/lessons/{lesson_id}/lab-completion · 必要性 education:writeRecord Lab CompletionCalled once the client has confirmed every interactive object in the lesson's scene has genuinely been inspected - a real per-student record, not a client-only toy. RLS (lesson_lab_completion_write) independently re-enforces active enrollment; this endpoint doesn't duplicate that check, it relies on the database to reject an ineligible write.
  • GET /education/lessons/{lesson_id}/lab-environment · 必要性 education:readGet Lab EnvironmentServes the lab's panorama. RLS on the lesson_scenario SELECT already scopes visibility (published, or staff of the lesson's school) - a row coming back proves the caller may see this lab, and therefore its environment. Same reasoning as the lesson-image route. LOW-BANDWIDTH MODE (P02 Wave K), for the markets the payment rails actually serve. An 8K panorama is ~3.8 MB, which is a real cost on a me…
  • POST /education/lessons/{lesson_id}/move · 必要性 education:writeMove Lesson
  • POST /education/lessons/{lesson_id}/reparent · 必要性 education:writeReparent LessonMove a lesson into a different module of the SAME course.
  • GET /education/lessons/{lesson_id}/scenario · 必要性 education:readGet Scenario
  • PUT /education/lessons/{lesson_id}/scenario · 必要性 education:writeSet Scenario
  • POST /education/lessons/{lesson_id}/scenario/preview · 必要性 education:writePrepare Lab ScenePrepares BOTH halves of a real-life lab (plan v9, addition 23): the interactive scene and its photoreal 360° environment. Either half that already exists is kept; the environment failing NEVER fails the lab - a missing picture must not block mastery.
  • GET /education/lessons/{lesson_id}/sections · 必要性 education:readList SectionsA lesson's sections, in order. An empty list is the honest answer for every lesson that predates this wave - and the reason the level could be added to live data at all.
  • POST /education/lessons/{lesson_id}/sections · 必要性 education:writeCreate Section
  • DELETE /education/modules/{module_id} · 必要性 education:writeDelete ModuleRemove a module - and everything under it, which is why it refuses once a student has done anything inside it (Tenant Zero, 2026-08-26: the Emperor typed a module title into the wrong box and had no way to take it back).
  • PATCH /education/modules/{module_id} · 必要性 education:writeRename Module
  • GET /education/modules/{module_id}/coverage · 必要性 education:readModule CoverageDoes this module's lab, project and exam test everything its sections and lessons teach? The Emperor's rule, made checkable. `gaps` is the list a builder shows in words: "two competencies this module teaches are never tested."
  • GET /education/modules/{module_id}/lessons · 必要性 education:readList Lessons
  • POST /education/modules/{module_id}/lessons · 必要性 education:writeCreate Lesson
  • POST /education/modules/{module_id}/move · 必要性 education:writeMove Module
  • GET /education/modules/{module_id}/shape · 必要性 education:readModule ShapeWhat shape is this module, right now? Shown before saving, so nobody names a template after a module without first seeing what they are about to hold everything else to.
  • POST /education/modules/{module_id}/students/{student_user_id}/certificate · 必要性 education:writeIssue Module CertificateA module is a mini course, so mastering one is worth showing. REFUSED UNLESS THE MODULE IS ACTUALLY MASTERED, by the platform's own existing rule - the same `_is_module_complete` that gates everything else, so a credential can never mean less than the progress bar beside it.
  • GET /education/my/community · 必要性 education:readMy CommunityThe learner's whole community in one reading: streak and badges (awarded from real completions on this very read), the published word from every school they study at, upcoming published events, and their own rooms. A student with nothing yet gets honest zeros and a standing invitation, never a blank.
  • GET /education/my/progress/{scope}/{scope_id} · 必要性 education:readMy ProgressWhat THIS learner can now do, at whichever level they are standing.
  • GET /education/ops/schools/{school_id}/analytics · 必要性 education:readSchool AnalyticsSchool analytics, optionally scoped to one academic term (P02 Wave M). WHAT `term_id` SCOPES, AND WHAT IT DELIBERATELY DOES NOT. Enrolments and attendance become term-scoped: an enrolment stores its term (migration 397) and attendance is filtered by the term's date window - the same two grains the Registrar uses, so a school's summary can never disagree with the report cards it is a summary of. S…
  • GET /education/ops/schools/{school_id}/export/roster.csv · 必要性 education:readExport Roster CsvEvery enrollment in the school, with the grade and attendance facts beside it. EMPTY CELLS, NOT ZEROS. A student with nothing scored gets a blank score column, because a spreadsheet full of zeros is a spreadsheet that will be averaged - and an average that counts "not yet marked" as nought is a lie a school might act on.
  • GET /education/ops/schools/{school_id}/today · 必要性 education:readClasses Today
  • POST /education/overrides · 必要性 education:writeGrant OverrideA teacher lets a student past one gate, with a reason. THE HAND IS A PERSON'S. Wave F ruled that the tutor coaches and never grades; opening a gate is a grading decision in everything but name, so no model makes it. The reason is required by the column, by this endpoint and by the screen - an override with no reason is indistinguishable from a mistake, and a student's file should say who decided …
  • GET /education/program-certificates/mine · 必要性 education:readList My Program Certificates
  • POST /education/program-certificates/{certificate_id}/revoke · 必要性 education:writeRevoke Program Certificate
  • GET /education/program-certificates/{certificate_id}/verify · 必要性 education:readVerify Program Certificate
  • POST /education/programme-templates · 必要性 education:writeCreate Programme TemplateBless one programme and make its shape the standard for the others. The same three refusals the module level makes, for the same reasons. A programme with no courses describes nothing and every comparison against it would report "matches" - success it never checked.
  • GET /education/programme-templates/{template_id}/compare/{program_id} · 必要性 education:readCompare ProgrammeHow does this programme differ from the shape? Facts only; nothing is changed.
  • GET /education/programmes/{program_id}/shape · 必要性 education:readProgramme ShapeWhat shape is this programme, right now? Shown before saving, for the same reason the module one is: nobody should name a standard after a programme without seeing the numbers first.
  • GET /education/programs/{program_id} · 必要性 education:readGet Program
  • PATCH /education/programs/{program_id} · 必要性 education:writeUpdate Program
  • GET /education/programs/{program_id}/certificates · 必要性 education:readList Program Certificates
  • POST /education/programs/{program_id}/certificates/{student_user_id} · 必要性 education:writeIssue Program CertificateReal, computed program-completion eligibility - never fabricated: a program-wide certificate can only be issued once every linked course already has a real, non-revoked certificate.course row for this exact student. A program with zero linked courses can never be "complete" - rejected the same as a program still missing a real course certificate, not treated as a vacuous pass.
  • POST /education/programs/{program_id}/courses · 必要性 education:writeAttach Program Course
  • DELETE /education/programs/{program_id}/courses/{course_id} · 必要性 education:writeDetach Program Course
  • POST /education/programs/{program_id}/enroll · 必要性 education:writeEnroll In Program
  • GET /education/progress/mine · 必要性 education:readMy Progress
  • GET /education/prose/{scope}/{scope_id} · 必要性 education:readProse At ScopeThe written content under one scope, for checks that must read the prose itself. The review reads TITLES - it can say a section is empty, duplicated or untested, and nothing at all about whether what is written in it is true. A worked example on production concluded that a 32 V reading against a 36 V expectation with a +/-2 V tolerance was "within expected parameters" (2026-08-27). Every structur…
  • PUT /education/questions/{question_id} · 必要性 education:writeEdit Question
  • GET /education/quizzes/{quiz_id}/my-result · 必要性 education:readMy Quiz Result
  • POST /education/quizzes/{quiz_id}/proctoring-events · 必要性 education:writeLog Proctoring Event
  • GET /education/quizzes/{quiz_id}/proctoring-events/mine · 必要性 education:readMy Proctoring Events
  • GET /education/quizzes/{quiz_id}/proctoring-events/{student_user_id} · 必要性 education:readStudent Proctoring Events
  • GET /education/quizzes/{quiz_id}/proctoring-report · 必要性 education:readProctoring Report
  • GET /education/quizzes/{quiz_id}/questions · 必要性 education:readList Questions
  • POST /education/quizzes/{quiz_id}/questions · 必要性 education:writeAdd Question
  • GET /education/quizzes/{quiz_id}/results · 必要性 education:readQuiz Results
  • GET /education/quizzes/{quiz_id}/scenarios · 必要性 education:readList ScenariosEvery scenario in this assessment, each with its own questions already attached. Nested rather than flat because a stem without its questions is unusable and a question without its stem is unreadable - a caller that had to join them itself would eventually render one without the other.
  • POST /education/quizzes/{quiz_id}/scenarios · 必要性 education:writeCreate Scenario
  • POST /education/quizzes/{quiz_id}/submit · 必要性 education:writeSubmit Quiz
  • POST /education/results/{result_id}/amend · 必要性 education:writeAmend ResultCorrect a sealed result by issuing a NEW one that supersedes it. THE OLD ROW IS NEVER TOUCHED. It stays exactly as issued, signature intact, because the point of an academic record is that you can still see what was said before the correction. That is also the only design compatible with M2's grant, which is SELECT and INSERT only - the application cannot modify a sealed row even if it wanted to.…
  • GET /education/review/{scope}/{scope_id} · 必要性 education:readReview At ScopeTHE SAME QUESTION AT FOUR LEVELS — the Emperor's architecture (2026-08-27). "When we use them in the course page is to discover and auto fix/cover gaps from the Modules' headings... in the module page... from the Lessons' headings... in the Lessons' page... from the sections' headings... in the section page... from the section's contents to make sure all competencies will be cover…
  • DELETE /education/scenarios/{scenario_id} · 必要性 education:writeDelete ScenarioRefused once anybody has answered its questions. The same rule as a module, a lesson and a section: a teacher's tidy-up never erases a student's record. Deleting the stem would cascade to its questions, and their answers are part of somebody's result.
  • GET /education/schools · 必要性 education:readList Schools
  • POST /education/schools · 必要性 education:writeCreate School
  • GET /education/schools/mine · 必要性 education:readGet My School Endpoint
  • POST /education/schools/{school_id}/announcements · 必要性 education:writeCreate Announcement
  • GET /education/schools/{school_id}/announcements · 必要性 education:readList AnnouncementsRLS does the honest split: staff see drafts, an enrolled student sees only the published ones, a stranger sees none.
  • POST /education/schools/{school_id}/announcements/draft-digest · 必要性 education:writeDraft Weekly DigestAUTOMATION WITH ITS HANDS TIED: a deterministic reading of the school's own week - new students, discussion activity, upcoming events, live classes - assembled into a DRAFT announcement. NO MODEL writes it (the growth-advisor doctrine), and it goes nowhere until a person publishes. Every number below is a count of real rows.
  • GET /education/schools/{school_id}/courses · 必要性 education:readList Courses
  • POST /education/schools/{school_id}/courses · 必要性 education:writeCreate Course
  • GET /education/schools/{school_id}/members · 必要性 education:readList School Members
  • POST /education/schools/{school_id}/members · 必要性 education:writeAdd School Member
  • PATCH /education/schools/{school_id}/members/{member_id}/grade-level · 必要性 education:writeSet Grade Level
  • GET /education/schools/{school_id}/programs · 必要性 education:readList School Programs
  • POST /education/schools/{school_id}/programs · 必要性 education:writeCreate Program
  • GET /education/schools/{school_id}/subscriptions · 必要性 education:readSchool SubscriptionsA sub-portal school's own adopted curricula (with a behind flag).
  • GET /education/schools/{school_id}/terms · 必要性 education:readList Terms
  • POST /education/schools/{school_id}/terms · 必要性 education:writeCreate Term
  • PATCH /education/schools/{school_id}/terms/{term_id} · 必要性 education:writeUpdate Term
  • DELETE /education/schools/{school_id}/terms/{term_id} · 必要性 education:writeDelete TermDelete a term - unless it is holding academic history (Wave M, migration 398). THE REFUSAL IS CHECKED HERE AND ENFORCED BY THE DATABASE, which is deliberate belt and braces for two different failures. The count below produces a sentence a person can act on; the `ON DELETE RESTRICT` constraint behind it is what actually holds if a future caller forgets to ask, or if an enrolment is created between…
  • GET /education/schools/{slug} · 必要性 education:readGet School By Slug
  • PATCH /education/sections/{section_id} · 必要性 education:writeUpdate Section
  • DELETE /education/sections/{section_id} · 必要性 education:writeDelete SectionRefused once a student has completed it - the same rule as a module or a lesson (Tenant Zero, 2026-08-26): a teacher's tidy-up never erases a student's record.
  • GET /education/sections/{section_id}/blocks · 必要性 education:readList Section Blocks
  • POST /education/sections/{section_id}/complete · 必要性 education:writeComplete SectionA student marks their own section done. BY THEIR OWN HAND ONLY - the RLS INSERT policy refuses a row written for anybody else, the same rule Wave D drew for guardian consent.
  • POST /education/sections/{section_id}/move · 必要性 education:writeMove SectionMove a section one place, and renumber the whole lesson while we are here. WHY RENUMBER EVERY TIME. Accepting the AI's suggested headings left positions 0, 2, 4, 6, 8 in the Emperor's real course: each suggestion button carried the position the list had when it was drawn, and the list grew under it (2026-08-26). Nothing was broken - order is by position - but gaps invite a future collision, and a…
  • POST /education/sections/{section_id}/reparent · 必要性 education:writeReparent SectionMove a section under a different lesson of the SAME course. A student's completion of this section travels with it - `lesson_section_completion` points at the section, not at where it used to live - so moving a section never erases work.
  • GET /education/students/{student_user_id}/overrides · 必要性 education:readList OverridesEvery gate opened for this student, and why. Readable BY THE STUDENT as well as by staff - a person is entitled to know what was decided about them.
  • GET /education/students/{student_user_id}/report-card · 必要性 education:readReport CardA report card for one student in one term - available at ANY time, which is the point. Nothing here waits for a term to end. A parent asking in week three gets week three's answer, labelled as provisional, rather than "come back in December".
  • GET /education/students/{student_user_id}/transcript · 必要性 education:readTranscriptA student's full academic record across every school, for the people entitled to read it. NO CONSENT IS INVOLVED HERE and that is deliberate. This is the student reading their own record (or their school's staff, or a minor's guardian) through `term_result`'s own policies. Consent governs SHARING - a different act, a different audience, and the next endpoint.
  • DELETE /education/study-group-messages/{message_id} · 必要性 education:writeRemove Group Message
  • POST /education/study-groups/{group_id}/join · 必要性 education:writeJoin Study Group
  • POST /education/study-groups/{group_id}/leave · 必要性 education:writeLeave Study Group
  • GET /education/study-groups/{group_id}/messages · 必要性 education:readList Group Messages
  • POST /education/study-groups/{group_id}/messages · 必要性 education:writePost Group Message
  • GET /education/submissions/mine · 必要性 education:readList My Submissions
  • PATCH /education/submissions/{submission_id} · 必要性 education:writeGive Feedback
  • POST /education/subscriptions/{subscription_id}/sync · 必要性 education:writeSync Subscription
  • POST /education/templates · 必要性 education:writeCreate TemplateBless one module and make its shape the standard.
  • GET /education/templates · 必要性 education:readList TemplatesEvery template this reader can see: their own school's, and the PLATFORM standard for the kind of school they run. RLS decides which, and deliberately so - a tenant is held to the platform template for their category, so they must be able to read it, and they must not see another school's. Platform templates sort first because they are the standard the rest are variations on.
  • DELETE /education/templates/{template_id} · 必要性 education:writeDelete Template
  • GET /education/templates/{template_id}/compare/{module_id} · 必要性 education:readCompareHow does this module differ from the shape? Facts only; nothing is changed. Worded as comparison throughout - "has four lessons where the template has five", never "is missing a lesson". The teacher decides whether the difference is a fault, and on a genuinely smaller topic it is not.
  • POST /education/templates/{template_id}/promote · 必要性 education:writePromote TemplateMake one school's template the standard for a KIND of school. Owner only. WHY PROMOTION RATHER THAN AUTHORING. A template is DERIVED from a real module, never typed - that is what stops it becoming an aspiration nobody has met. The owner runs no school and so has no module to read a shape from, which leaves exactly one honest way to create a platform standard: take one a tenant has already met, a…
  • GET /education/terms/{term_id}/report-cards · 必要性 education:readTerm Report CardsEvery student's standing in one term, for that school's staff - the registrar's own view. SEALED AND UNSEALED TERMS BOTH ANSWER, and the difference is reported rather than hidden. An unsealed term computes live (so it moves, and `sealed` says so); a sealed term reads the frozen rows. A screen that only worked after sealing would be useless during the term it is about.
  • POST /education/terms/{term_id}/seal · 必要性 education:writeSeal TermFreeze this term's results, so a transcript stops moving when a teacher regrades. STAFF ONLY, and enforced by the INSERT policy on `term_result` rather than only by the check below - the check produces a sentence, the policy is what holds. SEALING IS ONE-WAY AND ONE-TIME. A second seal is refused rather than overwriting, because overwriting is precisely the thing this table exists to make imposs…
  • POST /education/transcript/shares · 必要性 education:writeCreate Transcript ShareMint a shareable transcript - the student's own act, and nobody else's. THE SCHOOL CANNOT DO THIS FOR THEM. The INSERT policy admits only rows whose `student_user_id` is the caller, so a school publishing a student's record is not merely discouraged, it is impossible through the application. That is the mirror of Wave D, where only a guardian could consent for a minor; here only the student can c…
  • GET /education/transcript/shares/mine · 必要性 education:readMy Transcript SharesEvery transcript link this student has ever minted, withdrawn ones included. "Who have I sent my grades to?" is a question a person is entitled to answer later, which is why 402 has no DELETE policy: revoking a share withdraws the ACCESS and keeps the RECORD. A list that quietly dropped withdrawn shares would answer a different, more comfortable question. Scoped by the caller's own RLS rather th…
  • POST /education/transcript/shares/{share_id}/revoke · 必要性 education:writeRevoke Transcript ShareWithdraw a shared transcript. Immediate, and the record that it existed stays. There is no DELETE policy on the table on purpose: "who have I sent my grades to?" is a question a student is entitled to answer later, and deleting the row would erase the answer along with the access.
  • GET /education/translations/pending-review · 必要性 education:readList Pending ReviewEvery draft_ready translation this user may act on, across ALL their schools. WHY THIS EXISTS. `mark-reviewed` has always been here, and so has the `human_reviewed` state - but the only way to FIND a pending draft was GET /courses/{course_id}/translations, one course at a time. A school with forty courses had no way to see what was waiting, so in practice nothing ever got reviewed and `human_revi…
  • DELETE /education/translations/{translation_id} · 必要性 education:writeDelete Translation
  • POST /education/translations/{translation_id}/create-course · 必要性 education:writeCreate Course From TranslationMaterializes a real, human-reviewed translation into a genuine, independent `course` row (with real modules and lessons) - a real sibling of the original, students can actually enroll in and study, not just translated text sitting in a draft table. Only reachable from status='human_reviewed' - the explicit mark_reviewed step above is mandatory first. Each translation can only be materialized once …
  • PATCH /education/translations/{translation_id}/mark-reviewed · 必要性 education:writeMark ReviewedA human explicitly confirming the MT draft has been reviewed - never automatic, matching this project's standing 'AI drafts, never authoritative' pattern. Education has no structured review_cycle system the way Publishers does (a genuine, real scoping difference, not an oversight - Education's own editorial model is simpler: draft/published/archived with no reviewer roles), so this is a plain, dir…
  • GET /education/translations/{translation_id}/modules · 必要性 education:readGet Translated ContentThe real, structured translated preview - every module with its own real translated lessons nested inside, in order - what a reviewer actually reads before deciding to materialize it into a real course.
  • GET /education/tutor/courses/{course_id}/messages · 必要性 education:readGet Tutor History
  • POST /education/tutor/courses/{course_id}/messages · 必要性 education:writeSend Tutor Message
  • GET /education/tutor/courses/{course_id}/sessions · 必要性 education:readList Course Tutor SessionsThe educator view's index: every tutor session in this course. Staff-gated at the endpoint for a clean sentence; RLS (390) is the real control on every row.
  • GET /education/tutor/sessions/{session_id}/messages · 必要性 education:readGet Session MessagesOne transcript. RLS decides who this answers for: the student themself, staff of the course's school, a minor student's guardian, or the owner - anyone else gets an honest 404 because for them the session does not exist.
  • GET /education/tutor/students/{student_user_id}/sessions · 必要性 education:readList Student Tutor SessionsThe guardian view's index: a linked MINOR student's tutor sessions, with course titles in student_name's place left to the client. RLS (390) admits rows only for the student, their school staff, a minor's guardian, or the owner - an empty list is the honest answer for everyone else.
  • POST /education/tutor/{course_id}/messages/{message_id}/speak · 必要性 education:writeSpeak Tutor MessageThe character speaks their line aloud (Wave N, N4) - the same counsel guard as the Concierge's /speak, same shape exactly: only a SERVER-OWNED line is ever voiced, here a stored assistant reply from the caller's OWN tutor session (RLS scopes the SELECT, and the role filter means a student cannot make the voice read their own words back as if the platform said them). Voice ladder identical to the C…
  • GET /staff-growth/benefit-plans · 必要性 education:readList Benefit Plans
  • POST /staff-growth/benefit-plans · 必要性 education:writeCreate Benefit PlanThe owner defines the catalog - 'all types' by construction, because a type is a row. Fitinty records elections and exports them; the CARRIER administers the benefit.
  • GET /staff-growth/cadence-alerts · 必要性 education:readCadence AlertsEVERY ALERT CARRIES A PROPOSED ACTION (the standing rule). Three kinds, computed on read from real rows: a review past its cadence, a role's required training missing or unfinished, a certification aged past recert_days. A quiet list means the checks RAN and found nothing - the response says so rather than returning a bare empty list.
  • GET /staff-growth/cadence-settings · 必要性 education:readGet Cadence
  • POST /staff-growth/cadence-settings · 必要性 education:writeSet CadenceThe owner's dial. NULL/absent = no cadence - an org that reviews ad-hoc is a choice, not a defect, so no alert fires for it.
  • GET /staff-growth/documents/{document_id}/file · 必要性 education:readRead Document
  • GET /staff-growth/employees/{employee_id}/compensation · 必要性 education:readList CompensationOwner-only BY RLS: anyone else gets an empty list, and an empty list here means 'not yours to see' as much as 'none recorded' - the endpoint cannot tell you which.
  • POST /staff-growth/employees/{employee_id}/compensation · 必要性 education:writeRecord Compensation
  • GET /staff-growth/employees/{employee_id}/documents · 必要性 education:readList Documents
  • POST /staff-growth/employees/{employee_id}/documents · 必要性 education:writeUpload DocumentCUSTODY, not generation: the paystub or W-2 the tenant's real payroll provider issued gets a home the employee and the owner can both reach - Fitinty computed none of it and never will from here.
  • POST /staff-growth/employees/{employee_id}/elections · 必要性 education:writeElect BenefitThe employee's own act (their login, or the owner recording a paper election). Electing a closed plan is refused - the window is the owner's dial.
  • GET /staff-growth/employees/{employee_id}/elections · 必要性 education:readList Elections
  • POST /staff-growth/employees/{employee_id}/enroll · 必要性 education:writeEnroll EmployeeOne click from the roster into the org's OWN school - Education's machinery does the rest (spine, competencies, coverage, credentials). Never a parallel training system.
  • GET /staff-growth/employees/{employee_id}/offboarding · 必要性 education:readOffboardingThe checklist materializes from the org's template (seeded with honest defaults on first use) the first time a terminated employee's is read.
  • POST /staff-growth/employees/{employee_id}/offboarding/done · 必要性 education:writeOffboarding Done
  • GET /staff-growth/employees/{employee_id}/orientation · 必要性 education:readOrientationEH1 - THE DAY-ONE PACKET. The checklist (offboarding's mirror, materialized on first read) plus the real facts a new person needs: who their manager is and what training their role requires - read from rows, never invented.
  • POST /staff-growth/employees/{employee_id}/orientation/done · 必要性 education:writeOrientation Done
  • GET /staff-growth/employees/{employee_id}/reviews · 必要性 education:readList Reviews
  • POST /staff-growth/employees/{employee_id}/reviews · 必要性 education:writeCreate Review
  • GET /staff-growth/employees/{employee_id}/screening · 必要性 education:readList Screening
  • POST /staff-growth/employees/{employee_id}/screening · 必要性 education:writeRecord ScreeningHis question, his own hard line: eligibility-to-work and background checks are recorded as FACTS - kind, status, date, category note. Never a number.
  • GET /staff-growth/employees/{employee_id}/training · 必要性 education:readEmployee TrainingThe roster's honest training view: the employee's enrollments in THIS org's courses, each with its status. No login yet = no training possible, said in words.
  • GET /staff-growth/employees/{employee_id}/transitions · 必要性 education:readList Transitions
  • POST /staff-growth/employees/{employee_id}/transitions · 必要性 education:writeRecord TransitionA promotion is a RECORDED transition that itself applies the change - one writer, so the history and the record can never disagree.
  • POST /staff-growth/employees/{employee_id}/verification · 必要性 education:writeCreate Verification"Worked here, X to Y" on the same signature discipline as certificates. Works for current AND former employees - the reference an ex-employee actually needs. Revoke by deleting the row; the public link then answers not-found, never a fabricated 'valid'.
  • GET /staff-growth/employees/{employee_id}/warnings · 必要性 education:readList Warnings
  • POST /staff-growth/employees/{employee_id}/warnings · 必要性 education:writeCreate Warning
  • GET /staff-growth/my-work · 必要性 education:readMy WorkONE honest view of the signed-in person's working life: their employee records, what waits for their hand (reviews to sign, warnings to acknowledge), their documents and their courses. Sections whose waves have not landed (shifts, the ID card) are simply absent - never a fake placeholder.
  • GET /staff-growth/org-courses · 必要性 education:readOrg CoursesWhat this org can train ON: its own schools' courses (any type - a store's training school is just a school whose type says so).
  • GET /staff-growth/payroll-export · 必要性 education:readPayroll ExportTHE PAYROLL-READY EXPORT - the boundary made useful. Hours from the ONE time arithmetic, the latest compensation row, and elected benefits, per employee, as CSV a real payroll provider consumes. NO tax math, NO withholdings, NO net pay - the header says so, so the file can never be mistaken for a payroll run. Owner-only.
  • POST /staff-growth/reviews/{review_id}/acknowledge-offline · 必要性 education:writeAcknowledge OfflineFor the record-only worker with no login: the owner records that the review was read together, with a note that must exist - a silent checkbox would be a secret file with extra steps.
  • POST /staff-growth/reviews/{review_id}/share · 必要性 education:writeShare ReviewDraft -> shared: from this moment the employee's own login can read it (RLS's owner-or-self policy) and only THEY can sign it.
  • POST /staff-growth/reviews/{review_id}/sign · 必要性 education:writeSign ReviewTHE EMPLOYEE signs - nobody else. The check is identity, not role: the signer's login must be the one linked to the reviewed employee.
  • GET /staff-growth/role-requirements · 必要性 education:readList Requirements
  • POST /staff-growth/role-requirements · 必要性 education:writeAdd Requirement
  • DELETE /staff-growth/role-requirements/{requirement_id} · 必要性 education:writeRemove Requirement
  • POST /staff-growth/warnings/{warning_id}/acknowledge · 必要性 education:writeAcknowledge WarningThe employee acknowledges - identity, not role, exactly like signing a review.
Marketplace - 203 エンドポイント - marketplace:read, marketplace:write

The commerce spine: listings, carts, orders and vendors, shared by every pillar that sells.

  • POST /counter/pay-requests · 必要性 marketplace:writeAsk For PaymentThe cashier asks to be paid by QR: a payment page on the seller's own Stripe account, and the code that opens it. Nothing is a sale yet - the capture makes it one (`settle_pay_request`).
  • GET /counter/pay-requests/{request_id} · 必要性 marketplace:readPay Request StatusWhat the cashier's screen asks while it waits: has this been paid yet?
  • POST /counter/pay-requests/{request_id}/cancel · 必要性 marketplace:writeCancel Pay RequestThe cashier stops waiting. The payment page is closed at the rail too (best effort): if the shopper paid in the same second, the capture still makes the sale.
  • GET /counter/products · 必要性 marketplace:readCounter ProductsWhat the counter can ring up: the org's PUBLISHED products from the same mirror the storefront serves - one catalog, two doors.
  • PUT /counter/products/{medusa_product_id}/code · 必要性 marketplace:writeSet Product CodeThe counter learns a code: scan something it does not know, tap the product it belongs to.
  • POST /counter/sales · 必要性 marketplace:writeRecord Sale
  • GET /counter/sales · 必要性 marketplace:readList Sales
  • POST /customer-issues · 必要性 marketplace:writeRaise IssueThe customer's door. Recorded, told to the book, counted on the advisor - executed by nobody.
  • GET /customer-issues/business/{organization_id} · 必要性 marketplace:readBusiness IssuesThe business's side: open first. Membership asked IN THE BODY, in words - the wall would answer with an empty list, which reads exactly like a business nobody has asked anything of.
  • GET /customer-issues/mine · 必要性 marketplace:readMy IssuesThe person's own requests, on their own cursor (the self arm); business names on the system cursor.
  • POST /customer-issues/{issue_id}/answer · 必要性 marketplace:writeAnswer IssueThe business answers in words; closing needs a reason (the row's own CHECK). The customer's words are never touched. Told to the book so the answer sits beside the request.
  • GET /disputes · 必要性 marketplace:readDispute InboxONE inbox. Opening it IS the sweep - no daemon to trust, and the note says when and what was read. Every dispute carries its proposed action.
  • POST /disputes/{dispute_id}/assemble · 必要性 marketplace:writeAssemble
  • POST /disputes/{dispute_id}/draft · 必要性 marketplace:writeDraft ResponseAI DRAFTS, GROUNDED IN THE ASSEMBLED PACK ONLY - it runs after the readers, refers to nothing outside them, and what it writes stays a draft until the owner submits.
  • PATCH /disputes/{dispute_id}/note · 必要性 marketplace:writeEdit Note
  • POST /disputes/{dispute_id}/submit · 必要性 marketplace:writeSubmit ResponseTHE OWNER'S HAND. Pushes the pack + draft + note to Stripe as the dispute's evidence, on the TENANT'S OWN account. Final: the card network reads what is sent.
  • GET /marketplace/abandoned-checkouts · 必要性 marketplace:readAbandoned CheckoutsOne business's stalled checkouts, newest first; amounts in cents as the row keeps them.
  • GET /marketplace/affiliate/categories · 必要性 marketplace:readList CategoriesThe categories the desk's dropdown offers (R5): the fixed eight and the business's own, key and label.
  • GET /marketplace/affiliate/clickbank-config · 必要性 marketplace:readGet Clickbank Config
  • POST /marketplace/affiliate/clickbank-config · 必要性 marketplace:writeSave Clickbank ConfigReal upsert - saving a config a second time keeps the SAME real webhook_token (it's the org's own permanent webhook address, already pasted into their live ClickBank account) but rotates the secret key, same "replace the stored secret" convention as the other six networks' own credential save endpoint.
  • GET /marketplace/affiliate/clickbank-transactions · 必要性 marketplace:readList Clickbank Transactions
  • GET /marketplace/affiliate/money-report · 必要性 marketplace:readRead Money ReportThe desk's report: the latest day's (stored when filed), the last full hour, and the visitor light.
  • GET /marketplace/affiliate/network-credentials · 必要性 marketplace:readList Network CredentialsReal, per-org configured network connections. Never returns a secret - only the connection/sync bookkeeping a caller needs to decide whether a network is already set up and whether its last real sync succeeded.
  • POST /marketplace/affiliate/network-credentials · 必要性 marketplace:writeSave Network CredentialReal upsert - saving a credential for a network the org has already configured replaces the stored secret rather than creating a duplicate row (the real UNIQUE(organization_id, network) constraint is what enforces this, not just application logic).
  • DELETE /marketplace/affiliate/network-credentials/{network} · 必要性 marketplace:writeDelete Network Credential
  • GET /marketplace/affiliate/network-credentials/{network}/catalog · 必要性 marketplace:readSearch Network CatalogReal, on-demand product/ad catalog search using the org's own stored credential - genuinely distinct from .../sync above (which reads a vendor's own PAST commission history). Never writes to last_synced_at/last_sync_status/last_sync_detail - a catalog search is a read-only lookup, not a sync event. For jvzoo/warriorplus/ rakuten_advertising this honestly reports that no real catalog endpoint could…
  • POST /marketplace/affiliate/network-credentials/{network}/sync · 必要性 marketplace:writeSync Network CredentialRuns the real, network-specific API call using the org's own stored credential - never a mocked or fabricated result. A real network/auth failure is persisted honestly as last_sync_status='error' with the actual error text, not silently swallowed or reported as success. Combined Roadmap row 6: a real successful sync's own total_amount/count (already computed by sync_network(), previously thrown a…
  • PUT /marketplace/affiliate/network-credentials/{network}/tracking-id · 必要性 marketplace:writeSave Tracking IdSaves (or, blank, clears) a connection's own ID - CJ's website ID or the Digistore24 ID; the connection must already exist - the ID rides on it, never on its own.
  • GET /marketplace/affiliate/offers · 必要性 marketplace:readList Published Offers
  • POST /marketplace/affiliate/offers · 必要性 marketplace:writeCreate Offer
  • POST /marketplace/affiliate/offers/clickbank · 必要性 marketplace:writeCreate Clickbank OfferHe pastes the seller's ClickBank ID; the link is built from the nickname his ClickBank setup already holds, and the offer is saved as a DRAFT - nothing publishes from here (2026-10-29).
  • GET /marketplace/affiliate/offers/mine · 必要性 marketplace:readList My Offers
  • POST /marketplace/affiliate/offers/picked · 必要性 marketplace:writeSave Picked OffersB10 (2026-11-09): THE PICKED-PRODUCTS TABLE. Digistore24, ClickBank, JVZoo, WarriorPlus and Rakuten let no software list their marketplace (Digistore24 forbids it in writing), so he picks inside each network and pastes rows here. The network is read from each link; every good row becomes a DRAFT offer the nightly run finishes (picture, short text, category, page, article) and shelves - nobody has …
  • GET /marketplace/affiliate/offers/picked · 必要性 marketplace:readList Picked OffersThe table's own list: every offer on the hand-picked networks, newest first, each with its state READ from its record by the shelf's own rule (affiliate_shelf.not_ready) - live, ready for tonight, being prepared by the agents, held (needs him) or retired.
  • PUT /marketplace/affiliate/offers/picked/{offer_id}/affiliate-page · 必要性 marketplace:writeSet Picked Affiliate PageB10b (Philippe, 2026-11-09): the one door to give or change a listed product's affiliate page. The page he gives wins - it is stamped affiliate_page_given_at and the agents never overwrite it; a blank clears it back to the agents. Either way the pictures are read again (media_checked_at = NULL) and the paid-ads reader reads the terms again (growth_ads.terms_unread). The same rule as the table's ce…
  • PUT /marketplace/affiliate/offers/picked/{offer_id}/earns · 必要性 marketplace:writeSet Picked EarnsB10d (Philippe, 2026-11-09: "it should be input by me"): the one door to his own "You earn" figure on a listed product. A blank clears it (NULL, unknown - never 0). The sales sync and the scout never write it.
  • POST /marketplace/affiliate/offers/picked/{offer_id}/keep · 必要性 marketplace:writeKeep Picked OfferKeep: it stays on the public page and is judged again only after a full test period.
  • POST /marketplace/affiliate/offers/picked/{offer_id}/retire · 必要性 marketplace:writeRetire Picked OfferRetire: off the public page, its review pages down; the 2-for-1 replacement is his (shelf_growth.hand_owed).
  • PATCH /marketplace/affiliate/offers/{offer_id} · 必要性 marketplace:writeUpdate Offer
  • POST /marketplace/affiliate/offers/{offer_id}/click · 必要性 marketplace:writeRecord Click
  • GET /marketplace/affiliate/offers/{offer_id}/clicks · 必要性 marketplace:readCount Clicks
  • GET /marketplace/affiliate/offers/{offer_id}/facts · 必要性 marketplace:readOffer FactsThe facts strip on an affiliate post (Philippe, 2026-10-28): price, commission, seller and link, read live from the network where it can say them, else what the business entered - said which (affiliate_facts.py).
  • POST /marketplace/affiliate/offers/{offer_id}/page · 必要性 marketplace:writeMake Offer PageThe desk's "Make its page" / "Redraw its page" press (Philippe, 2026-11-02): draws the offer's landing page NOW instead of waiting for the night; a published offer's defect-free page goes live at once. Answers where the page is, whether it is live, and the defects that keep it a draft.
  • POST /marketplace/affiliate/offers/{offer_id}/promo-drafts · 必要性 marketplace:writeDraft Promo ContentRow 5 - AI-drafted affiliate promo content, reusing Content Factory's real Creative Agent (draft_creative_json) and Visual Agent (generate_visual_asset) directly, imported from marketing_content_factory rather than duplicated here. The "research" grounding is the offer's own real merchant/product/disclosure fields - genuinely real connected data, not a knowledge-base search (there's no marketing_p…
  • GET /marketplace/affiliate/offers/{offer_id}/promo-drafts · 必要性 marketplace:readList Promo Drafts
  • POST /marketplace/affiliate/postback-secret · 必要性 marketplace:writeSave Postback SecretThe IPN secret, written and never read back; an empty value clears it.
  • GET /marketplace/affiliate/postback/{network}/{token} · 必要性 marketplace:readReceive PostbackThe receiver the network itself calls - no Fitinty session, so it runs under system_cursor like ClickBank's INS. The unguessable token in the address is the key; the network's own signature is checked when a secret is stored. POST with a form (Digistore24, WarriorPlus, a vendor JVZIPN) or GET with the fields in the query (JVZoo's S2S postback, WarriorPlus's webhook). Answers fast (one read, one in…
  • POST /marketplace/affiliate/postback/{network}/{token} · 必要性 marketplace:writeReceive PostbackThe receiver the network itself calls - no Fitinty session, so it runs under system_cursor like ClickBank's INS. The unguessable token in the address is the key; the network's own signature is checked when a secret is stored. POST with a form (Digistore24, WarriorPlus, a vendor JVZIPN) or GET with the fields in the query (JVZoo's S2S postback, WarriorPlus's webhook). Answers fast (one read, one in…
  • GET /marketplace/affiliate/postbacks · 必要性 marketplace:readList PostbacksThe addresses he pastes into each network's postback settings (JVZoo's and Digistore24's with their S2S query). Whether a secret is set is said; the secret itself is never selected here.
  • GET /marketplace/affiliate/promo-drafts/{asset_id}/image · 必要性 marketplace:readDownload Promo Image
  • PATCH /marketplace/affiliate/promo-drafts/{asset_id}/status · 必要性 marketplace:writeSet Promo Status
  • GET /marketplace/affiliate/quality-bar · 必要性 marketplace:readGet Quality BarThe business's bar for the shelf, or the stated default (saved False).
  • PUT /marketplace/affiliate/quality-bar · 必要性 marketplace:writeSave Quality BarSet the business's bar. The shelf judges every offer against it on its next pass - an offer that no longer meets it is taken off (back to draft, never deleted), one that now meets it goes on by itself.
  • GET /marketplace/affiliate/sales · 必要性 marketplace:readList SalesThe ledger, newest first, for the desk - the most recent 200, and it says when there are more.
  • POST /marketplace/affiliate/webhooks/clickbank/{webhook_token} · 必要性 marketplace:writeReceive Clickbank NotificationThe real, unauthenticated (no Fitinty session - ClickBank itself calls this) receiver ClickBank's own INS posts to. Runs under `db.system_cursor`'s owner-bypass RLS context, same as OnlyOffice's own server-callback endpoints - real access control here is the webhook token itself (an unguessable per-org secret path segment) PLUS the AES decryption succeeding at all, which is only possible with the …
  • GET /marketplace/categories · 必要性 marketplace:readList Categories
  • POST /marketplace/categories · 必要性 marketplace:writeCreate Category
  • DELETE /marketplace/categories/subcategories/{subcategory_id} · 必要性 marketplace:writeDelete Subcategory
  • DELETE /marketplace/categories/{category_id} · 必要性 marketplace:writeDelete Category
  • POST /marketplace/categories/{category_id}/move · 必要性 marketplace:writeMove CategorySwap places with the nearest neighbour above (up) or below (down); at the end already, it stays and says so - never an error for a button that was simply pressed once too often.
  • POST /marketplace/categories/{category_id}/subcategories · 必要性 marketplace:writeCreate Subcategory
  • GET /marketplace/departments · 必要性 marketplace:readList Departments
  • POST /marketplace/departments · 必要性 marketplace:writeAdd Department
  • GET /marketplace/departments/items · 必要性 marketplace:readDepartment LightsThe store's two lights, read now from the records.
  • PUT /marketplace/departments/{department_id} · 必要性 marketplace:writeChange Department
  • DELETE /marketplace/departments/{department_id} · 必要性 marketplace:writeRemove Department
  • POST /marketplace/digital-assets · 必要性 marketplace:writeUpload Digital Asset
  • GET /marketplace/digital-assets/by-product/{medusa_product_id} · 必要性 marketplace:readGet Asset By ProductIs this product a digital download - asked by the BUYER'S OWN ORDER SCREEN, once per line item, to decide whether to offer a Download button. READ ON THE SYSTEM CURSOR SINCE 585, and the reason is the whole design: the row is walled to the SELLING organization, because a buyer's right to a file is a Medusa receipt and no Postgres predicate can see it. Left on the caller's cursor this would answer…
  • GET /marketplace/digital-assets/mine · 必要性 marketplace:readList My Assets
  • DELETE /marketplace/digital-assets/{asset_id} · 必要性 marketplace:writeDelete Digital Asset
  • GET /marketplace/digital-assets/{asset_id}/download · 必要性 marketplace:readDownload Digital Asset
  • GET /marketplace/draft-orders · 必要性 marketplace:readDraft Orders Desk
  • POST /marketplace/draft-orders · 必要性 marketplace:writeCreate Draft Order
  • POST /marketplace/draft-orders/{invoice_id}/mark-paid · 必要性 marketplace:writeMark Paid OutsideThe customer paid another way (a bank transfer, a cheque): the invoice is paid and the order placed. No sale fee is recorded here - money-in counts CAPTURED payments only, and nothing was captured on the rail.
  • POST /marketplace/draft-orders/{invoice_id}/place-order · 必要性 marketplace:writePlace Draft OrderFix list #1: a paid invoice whose order the store did not place (it was down, or refused) - try again. The answer says what happened: an order id, or the store's own reason.
  • POST /marketplace/draft-orders/{invoice_id}/send · 必要性 marketplace:writeSend Draft OrderSent = the pay link exists for the customer. Nothing is emailed by itself: the screen hands the link to the staff, who send it.
  • POST /marketplace/draft-orders/{invoice_id}/void · 必要性 marketplace:writeVoid Draft Order
  • GET /marketplace/feeds · 必要性 marketplace:readFeeds DeskThe feed's address, what rides in it (with its stock word) and what is left out, and why.
  • PUT /marketplace/feeds/{channel}/picks · 必要性 marketplace:writePut Channel PicksThe owner's press - which products ride on one channel and at what price. In at the store's price is no row at all.
  • GET /marketplace/integrations · 必要性 marketplace:readList IntegrationsReal status for the integrations this pillar actually has - not a catalog of connectors that could theoretically exist. Extend this list only when a new integration is genuinely wired in, the same discipline already applied to Workspace's System Health page.
  • POST /marketplace/landing · 必要性 marketplace:writeUpsert LandingCreate or rewrite the page as a DRAFT - publishing is its own deliberate door.
  • GET /marketplace/landing/mine · 必要性 marketplace:readMy Landings
  • POST /marketplace/landing/{landing_id}/publish · 必要性 marketplace:writePublish Landing
  • GET /marketplace/live-view · 必要性 marketplace:readLive ViewOne business's day as it happens; cents as the rows keep them; one line per currency, never a sum across.
  • GET /marketplace/luxury/provider-status · 必要性 marketplace:readProvider Status
  • POST /marketplace/luxury/requests · 必要性 marketplace:writeCreate Request
  • GET /marketplace/luxury/requests · 必要性 marketplace:readList Requests
  • POST /marketplace/luxury/requests/{request_id}/cancel · 必要性 marketplace:writeCancel Request
  • POST /marketplace/luxury/requests/{request_id}/record-result · 必要性 marketplace:writeRecord ResultOwner-only. Records a REAL provider verdict (a genuine Entrupy certificate). This is the ONLY way a request reaches an authenticated/not_authentic/inconclusive status — never fabricated by code. Requires a real certificate id so a verdict can always be traced to a real authentication.
  • GET /marketplace/orders/mine · 必要性 marketplace:readList My OrdersA buyer's own orders, read from Medusa. WHAT WAS WRONG. This queried `marketplace_order`, a table dropped when the Marketplace moved to Medusa - `marketplace_return` carries a plain `medusa_order_id TEXT` rather than a foreign key for exactly that reason. Every call raised `relation "marketplace_order" does not exist`, so the endpoint answered 500 for every signed-in person. Nothing reported it b…
  • GET /marketplace/orders/mine/{order_id} · 必要性 marketplace:readGet My OrderOne of the shopper's own orders with its lines and where its parcel is. Another person's order - or one that does not exist - is the same 404: whether it exists is not this person's business.
  • POST /marketplace/orders/mine/{order_id}/receipt-email · 必要性 marketplace:writeEmail My Receipt AgainThe shopper's "email me this receipt again" (2026-11-14). It sends nothing and writes no second receipt: the order's ONE confirmation email goes back in the waiting line, to the address already on the order, for the hourly sender - and only while order emails are switched on (`order_notices.ask_again` says which of the four things happened). Whose order it is is decided first, by the order read it…
  • GET /marketplace/orders/whose · 必要性 marketplace:readWhose OrdersThe address My Orders matches on, told to the person it belongs to (2026-11-20). An empty list said only "you haven't ordered anything yet". The owner had ordered - with another address - and nothing on the page said which address it had looked under. The page may not read the login's copy (a snapshot; `own_identity` is the one rule), so the rule itself answers here.
  • GET /marketplace/product-fields · 必要性 marketplace:readList Product Fields
  • PUT /marketplace/product-fields · 必要性 marketplace:writeSave Product Fields
  • GET /marketplace/promotions/mine · 必要性 marketplace:readMy PromotionsThe seller's shelf, each row's state in words - a lapsed one says so.
  • GET /marketplace/promotions/prices · 必要性 marketplace:readPromo PricesThe picker - platform data, with the billing truth stated per row.
  • POST /marketplace/promotions/request · 必要性 marketplace:writeRequest PromotionThe seller's ask. Their own PUBLISHED product only; one live or pending promotion per product at a time. Born pending_payment - nothing surfaces until activation, and the response says exactly what happens next.
  • POST /marketplace/promotions/{promotion_id}/activate · 必要性 marketplace:writeActivate PromotionTHE EMPEROR'S HAND - the standing comp ruling until Dodo carries slot products. Stamped 'comp': a comped spotlight is never dressed as revenue, and NO ledger row is written (the ledger records captured payments, never favors).
  • GET /marketplace/purchase-orders · 必要性 marketplace:readList Orders
  • POST /marketplace/purchase-orders · 必要性 marketplace:writeCreate Order
  • GET /marketplace/purchase-orders/{po_id} · 必要性 marketplace:readGet Order
  • POST /marketplace/purchase-orders/{po_id}/approve · 必要性 marketplace:writeApprove Order
  • POST /marketplace/purchase-orders/{po_id}/cancel · 必要性 marketplace:writeCancel Order
  • POST /marketplace/purchase-orders/{po_id}/costs · 必要性 marketplace:writeSet Draft Costs
  • POST /marketplace/purchase-orders/{po_id}/invoices · 必要性 marketplace:writeRecord Invoice
  • POST /marketplace/purchase-orders/{po_id}/ordered · 必要性 marketplace:writeMark Order Placed
  • POST /marketplace/purchase-orders/{po_id}/receipts · 必要性 marketplace:writeReceive Order
  • GET /marketplace/purchasing · 必要性 marketplace:readPurchasing DeskThe purchase orders screen's one read beside the orders: what this business's suppliers offer (to order from), its places (to receive at), and what waits on a person.
  • POST /marketplace/rd · 必要性 marketplace:writeCreate Rd
  • GET /marketplace/rd · 必要性 marketplace:readList Rd
  • POST /marketplace/rd/{project_id}/advance · 必要性 marketplace:writeAdvance RdOne stage forward, never skipping - and NEVER without a real note, because the stages that matter (sample, test, package) are HUMAN handshakes with suppliers and manufacturers; the record tracks them, it does not fake them.
  • GET /marketplace/reorder-points · 必要性 marketplace:readList Reorder Points
  • PUT /marketplace/reorder-points/{medusa_product_id} · 必要性 marketplace:writePut Reorder Point
  • POST /marketplace/returns · 必要性 marketplace:writeRequest Return
  • GET /marketplace/returns/can-return/{medusa_order_id} · 必要性 marketplace:readCan ReturnAsked by the buyer's order page before it offers the form: {open, until, says}.
  • GET /marketplace/returns/mine · 必要性 marketplace:readList My Returns
  • GET /marketplace/returns/to-review · 必要性 marketplace:readList Returns To ReviewThis shop's pending returns, read by the return's own business (866). A DEAD SOURCE IS NOT A REAL ZERO, and this queue no longer has a source to die: it used to read every shop's pending returns and ask the store, one order at a time, which were this vendor's - the wall let any vendor member read them all, and a store hiccup shortened the queue silently. The return names its business now, so the …
  • PUT /marketplace/returns/window · 必要性 marketplace:writeSet Return WindowThe shop's own people set (or clear) its return window. It applies to requests from now on; a return already asked for is not touched.
  • GET /marketplace/returns/window/{organization_id} · 必要性 marketplace:readRead Return Window
  • PATCH /marketplace/returns/{return_id} · 必要性 marketplace:writeUpdate Return Status
  • POST /marketplace/returns/{return_id}/photos · 必要性 marketplace:writeAdd Return PhotoA plain door (the server runs it off the event loop itself), so the call that asks whose return this is - `store_return_photo`, WHERE customer_user_id is the caller - is a call anyone reading can follow.
  • POST /marketplace/returns/{return_id}/refund · 必要性 marketplace:writeRefund My Shops ReturnThe owner's press: refund an approved return on the shop's own payment account (the environment's own key: real money where the shop sells for real, first done 2026-11-20), then put what came back on the shelf. The restock is best effort and comes AFTER the refund is recorded: a store that cannot be reached never undoes money that already went back - the answer says so and the count is put back b…
  • GET /marketplace/stock · 必要性 marketplace:readStockOne business's places and its products, each with how many sit at each place, elsewhere, and in all - NULL where the product is not counted. Paged honestly, never capped.
  • PUT /marketplace/stock · 必要性 marketplace:writeCount At PlaceONE number at ONE place, through the one writer; the mirror is re-read so the storefront moves.
  • GET /marketplace/stock/waiting · 必要性 marketplace:readWaitingWho waits on what, newest first, with the product's count now and whether an email was drafted - and the Item the desk shows for it.
  • GET /marketplace/suppliers · 必要性 marketplace:readList Suppliers
  • POST /marketplace/suppliers · 必要性 marketplace:writeCreate Supplier
  • GET /marketplace/suppliers/claims · 必要性 marketplace:readList Supplier ClaimsThis business's claims against its suppliers, newest first, each with the buyer's order.
  • POST /marketplace/suppliers/claims/{claim_id}/cancel · 必要性 marketplace:writeCancel Supplier ClaimA person's press: take a claim back. A draft is dropped here and nothing goes to the supplier. A sent one is taken back by asking the supplier, after this transaction closes; one that already ended is left as it is.
  • POST /marketplace/suppliers/claims/{claim_id}/look-up · 必要性 marketplace:writeLook Up Supplier ClaimA person's press: read where one sent claim stands at the supplier, now. It only reads - filing again is a separate decision, never this door's.
  • POST /marketplace/suppliers/claims/{claim_id}/send · 必要性 marketplace:writeSend Supplier ClaimA person's press: file one drafted claim at the supplier. The draft is claimed as `unknown` BEFORE it goes out, in its own committed transaction - a server that dies mid-send leaves "it may have gone", never a draft a second press would file again. The answer is written after.
  • GET /marketplace/suppliers/intents · 必要性 marketplace:readList Order IntentsThis business's order intents, newest first - drafted, waiting, answered or handed to a person. Each carries the buyer's order id, so a screen can take its parcels to the seller's own ship door.
  • POST /marketplace/suppliers/intents/{intent_id}/accept-charge · 必要性 marketplace:writeAccept Order ChargeA person's press: accept the dearer goods bill a supplier sent for one order. It is the business's money, so it is the owner's or an admin's. Nothing goes to the supplier and no money moves: the press keeps WHAT was accepted (the goods figure billed now, its currency), who and when, so the order stops asking - and asks again if the supplier later bills more.
  • POST /marketplace/suppliers/intents/{intent_id}/accept-shipping · 必要性 marketplace:writeAccept Order ShippingA person's press: accept a supplier's shipping bill that is above what the buyer paid for shipping on one order. It is the business's money, so it is the owner's or an admin's. Nothing goes to the supplier and no money moves: the press keeps WHAT was accepted (the shipping figure billed now, its currency), who and when, so the order stops asking - and asks again if the supplier later bills more.
  • POST /marketplace/suppliers/intents/{intent_id}/cancel · 必要性 marketplace:writeCancel Order IntentA person's press: take an order intent back. A draft is dropped here and nothing goes to the supplier - a connection that takes no orders can drop its own draft. A sent one is cancelled by asking the supplier by its key, after this transaction closes. The refund is the business's own hand; the store's own order cancel is never called (it records a refund on paper only).
  • GET /marketplace/suppliers/intents/{intent_id}/claim-options · 必要性 marketplace:readRead Claim OptionsWhat may be claimed on one accepted order, asked of the supplier now: the lines it lets be claimed, its own reasons, the remedies and the most it would refund. It only reads. A supplier that could not be asked is said so - never shown as "nothing to claim".
  • POST /marketplace/suppliers/intents/{intent_id}/claims · 必要性 marketplace:writeDraft Supplier ClaimA person's press: write one claim down as a draft. Nothing goes to the supplier - sending is its own press. It asks for the business's money back, so it is the owner's or an admin's. One order holds one live claim.
  • POST /marketplace/suppliers/intents/{intent_id}/look-up · 必要性 marketplace:writeLook Up Order IntentA person's press: ask the supplier about an intent whose answer never came, by its key. It only reads - sending again is a separate decision, never this door's.
  • POST /marketplace/suppliers/intents/{intent_id}/read-shipments · 必要性 marketplace:writeRead Order Intent ShipmentsA person's press: read the supplier's parcels for one accepted intent now. The buyer's order is marked shipped only through the seller's own ship door, never here - but a parcel the supplier itself says is moving charges the buyer's held card (867).
  • POST /marketplace/suppliers/intents/{intent_id}/send · 必要性 marketplace:writeSend Order IntentA person's press: send one drafted intent. It spends the business's money, so it is the owner's or an admin's. The intent is claimed as `unknown` BEFORE it goes out, in its own committed transaction - a server that dies mid-send leaves "it may have gone", never a draft a second press would send again. The answer is written after the call comes back.
  • POST /marketplace/suppliers/intents/{intent_id}/send-again · 必要性 marketplace:writeSend Order Intent AgainA person's answer to an intent handed to them: send it again, with the SAME request key - a supplier that did get the first send keeps one order. A fresh round of lookups starts.
  • POST /marketplace/suppliers/intents/{intent_id}/take-back-charge · 必要性 marketplace:writeTake Back Order ChargeA person's press: take back "I accept this bill" on one order - a press made by mistake. The owner's or an admin's, like the acceptance. It clears the WHOLE stamp (1074 refuses half of one), so the order asks again while its bill is dearer than the list. Nothing goes to the supplier and no money moves.
  • POST /marketplace/suppliers/intents/{intent_id}/take-back-shipping · 必要性 marketplace:writeTake Back Order ShippingA person's press: take back "I accept this shipping bill" on one order - a press made by mistake. The owner's or an admin's, like the acceptance. It clears the WHOLE stamp (1075 refuses half of one), so the order asks again while its shipping bill is short. Nothing goes to the supplier and no money moves.
  • POST /marketplace/suppliers/notices/cjdropshipping · 必要性 marketplace:writeCj Notice WebhookCJdropshipping's notice. Proven by `hear_cj` (signature over these exact bytes against the stored account id) before a word of it is believed; answered first, recorded after.
  • GET /marketplace/suppliers/order-items · 必要性 marketplace:readRead Order ItemsWhat this business's supplier orders ask of a person, read from the records on every open: the orders a carrier could not deliver that nobody has claimed on or refunded yet, the orders a supplier billed above its own list that nobody has accepted yet, and the orders whose shipping bill is above what the buyer paid for shipping that nobody has accepted yet, and the orders of the last 30 days a supp…
  • POST /marketplace/suppliers/order-notices/{notice_id}/try-again · 必要性 marketplace:writeTry Order Notice AgainA buyer email that could not be sent, set to go out again by a person. The press sends nothing: the email goes back in the waiting line and the hourly sender sends it.
  • POST /marketplace/suppliers/sweep · 必要性 marketplace:writeSweep FeedsM3 - THE STANDING SWEEP, made real. Every ACTIVE url_feed and fitinty-partner supplier across the platform is asked a job (one per supplier per hour: the timer firing twice is one ask), and every job that is due - this hour's, or an earlier one past its backoff - is attempted through the ONE pipeline; each supplier's failure lands on its own row in words and never blocks the others. Owner-only: th…
  • PUT /marketplace/suppliers/{supplier_id} · 必要性 marketplace:writeUpdate Supplier
  • POST /marketplace/suppliers/{supplier_id}/find · 必要性 marketplace:writeFind NowFIND PRODUCTS NOW (Philippe, 2026-11-21). One press does for this supplier what the finder's night does, as the person who pressed: the finder is commissioned and approved through the agents' ONE door and ONE approve (its audit line, its reverse door), and picks that were added ask their catalog update under the night's own key (`picks:<act>` - the night does not ask it again), attempted at once. …
  • POST /marketplace/suppliers/{supplier_id}/forward · 必要性 marketplace:writeForward OrderSANDBOX. Records the dropship forward the real rail will someday send - practiced end to end, honest about being practice. Nothing leaves the platform; the row says simulated_sent and every screen that shows it must say so too.
  • POST /marketplace/suppliers/{supplier_id}/sync · 必要性 marketplace:writeSync NowSync one supplier now. A csv_feed takes the uploaded sheet; a url_feed fetches its URL (public hosts only, size-capped). Each press is its own job, attempted at once through the same `attempt_job` the standing sweep (POST /marketplace/suppliers/sweep, the Emperor's timer) drains - one path, so a sync that dies part-way keeps the record of what it already made. (M3 note: an earlier docstring CLAIME…
  • GET /marketplace/trade · 必要性 marketplace:readTrade DeskThe business buyers of one shop, the waiting asks first, and the desk's Item.
  • PUT /marketplace/trade/closed · 必要性 marketplace:writeSet Store ClosedThe owner's switch: close the shop to all but approved business buyers, or open it again.
  • GET /marketplace/trade/door/{slug} · 必要性 marketplace:readStore DoorMay this signed-in visitor enter the shop? A member of the business always may (its own preview); anyone else when their sign-in email has an approved trade account. Read on the platform's cursor: the visitor is no member, and the wall would answer "no row" for everyone.
  • POST /marketplace/trade/{account_id}/approve · 必要性 marketplace:writeApprove TradeA hand approves a business buyer. With a percent off, a PERSONAL code is minted on Medusa by the referral engine's own writer, pinned to this shop's published products. The Medusa call runs outside the transaction; the row is then moved only if it is still undecided-or-declined, so two hands approving at once mint no second live row. Nothing is sent - the welcome email is the trade-welcome agent's…
  • POST /marketplace/trade/{account_id}/decline · 必要性 marketplace:writeDecline TradeA hand declines. A code minted earlier stays on Medusa but is dead at checkout: the fence passes a trade code only while its row is approved.
  • POST /marketplace/vendor · 必要性 marketplace:writeCreate Vendor
  • GET /marketplace/vendor/all · 必要性 marketplace:readList All Vendors
  • POST /marketplace/vendor/discounts · 必要性 marketplace:writeCreate Discount
  • GET /marketplace/vendor/discounts · 必要性 marketplace:readList DiscountsThe shelf, with REAL redemption counts read from Medusa per code.
  • POST /marketplace/vendor/discounts/{discount_id}/deactivate · 必要性 marketplace:writeDeactivate DiscountThe off switch - flipped in Medusa AND on the mirror, in that order, so a code that Medusa still honors is never shown as off.
  • GET /marketplace/vendor/listing-options · 必要性 marketplace:readListing OptionsWhat the listing form can honestly offer: the currencies real regions price in, and the business's own Categories list (product_category, in its order) - never DISTINCT free text, which let one shelf be spelled three ways (Step 2 piece 6, 2026-10-20).
  • GET /marketplace/vendor/mine · 必要性 marketplace:readGet My Vendor Endpoint
  • PUT /marketplace/vendor/order-text · 必要性 marketplace:writeSet Order Text PhoneThe business's own people say (or clear, with an empty box) the ONE mobile number texted when an order arrives. It is only ever a number they typed themselves.
  • GET /marketplace/vendor/order-text/{organization_id} · 必要性 marketplace:readRead Order Text PhoneThe mobile number this business said to text when an order arrives, with the sentence that says it.
  • GET /marketplace/vendor/orders · 必要性 marketplace:readList Vendor Orders
  • POST /marketplace/vendor/orders/{order_id}/fulfill · 必要性 marketplace:writeFulfill OrderM2 - the seller's hand: every unfulfilled item into one fulfillment. When the order is backed by a PAID rail checkout, the Medusa-side payment is captured too, so the store's own records match the money that really moved - a practice-rail order is never dressed as captured.
  • POST /marketplace/vendor/orders/{order_id}/ship · 必要性 marketplace:writeShip OrderM2 - the tracking number goes on the fulfillment; the buyer's order page shows the shipped state the moment this lands.
  • GET /marketplace/vendor/other-shops · 必要性 marketplace:readList My Other ShopsThe shops of this person that their sell desk is NOT showing (the desk shows `get_my_vendor`'s).
  • GET /marketplace/vendor/products · 必要性 marketplace:readList Vendor Products
  • POST /marketplace/vendor/products · 必要性 marketplace:writeCreate Vendor ProductOne listing, full width (LST1): many images (first leads), a real currency, a category, a draft state and, since 7a, how many there are. `file` stays accepted so older callers keep working.
  • POST /marketplace/vendor/products/bulk-csv · 必要性 marketplace:writeBulk Csv ImportBulk listings from a CSV (LST3) - the first way a whole catalog enters this platform without typing it in one product at a time. Columns: title (required), description, price, currency, category, status (draft|published, default draft). ALL-OR-NOTHING: every row is validated FIRST and a bad file is refused with each problem named by row number - a partial import that silently skipped rows would r…
  • GET /marketplace/vendor/products/costs · 必要性 marketplace:readList Listing Costs
  • PUT /marketplace/vendor/products/{product_id} · 必要性 marketplace:writeUpdate Vendor ProductThe end of write-once (LST1): title, words, price, currency, category and draft state are all the vendor's to change. Ownership is the vendor's own scoped Medusa session - a product their store cannot see cannot be edited, and the mirror updates in the same transaction so the storefront never serves the old words.
  • DELETE /marketplace/vendor/products/{product_id} · 必要性 marketplace:writeDelete Vendor ProductDeletes the Medusa product; the mirror row is DEACTIVATED, never deleted - history survives and a re-list reactivates it (the mirror's own standing rule).
  • PUT /marketplace/vendor/products/{product_id}/cost · 必要性 marketplace:writeSet Listing CostThe tenant's PRIVATE cost (441) - margin advice needs it, only they know it, and it never touches the public mirror. Ownership refereed by their scoped session as every product write is.
  • POST /marketplace/vendor/products/{product_id}/images · 必要性 marketplace:writeAdd Vendor Product ImagesAdd photos to an existing listing - enhanced through the same pipeline as every image upload on the platform, appended after the ones already there.
  • GET /marketplace/vendor/questions · 必要性 marketplace:readList My Product QuestionsThe seller's queue - unanswered first, because each is a buyer mid-decision. Which is exactly why the cap mattered: the ordering puts the unanswered at the top, so the hundred-and-first question a seller never sees is one somebody is still waiting on.
  • POST /marketplace/vendor/questions/{question_id}/answer · 必要性 marketplace:writeAnswer Product Question
  • POST /marketplace/vendor/questions/{question_id}/hide · 必要性 marketplace:writeHide Product QuestionThe Commons' hand: hidden WITH a reason on the row, never erased - abuse happens, erasure of what was asked is how it compounds.
  • POST /marketplace/vendor/referral-program · 必要性 marketplace:writeSet ProgramThe seller's dial. Existing codes keep working when the program pauses - a code already in a friend's hands is a promise; pausing stops NEW codes only.
  • GET /marketplace/vendor/referral-program · 必要性 marketplace:readMy ProgramThe desk view: the dials, every code, every reward minted.
  • POST /marketplace/vendor/vendor/mirror-sync · 必要性 marketplace:writeSync Public Product MirrorBackfill + resync of the public-storefront product mirror (migration 233). Loops every vendor and lists their products through their OWN scoped Medusa session -- the same mechanism the vendor UI uses, and the only reliable store->products mapping (the admin store_id query param is silently ignored by the marketplace plugin; verified with a bogus-id probe before this was written). Credentials neve…
  • PATCH /marketplace/vendor/{vendor_id}/verify · 必要性 marketplace:writeSet Vendor Verified
  • POST /reviews/course/{course_id} · 必要性 marketplace:writeReview Course
  • POST /reviews/platform · 必要性 marketplace:writeReview PlatformA tenant's word about Fitinty, published where visitors read it - the hard ones too. Proof: a real org membership. One review per membership; a new org earns another voice.
  • POST /reviews/practice/{office_id} · 必要性 marketplace:writeReview PracticeA practice is reviewed by a client who PAID it at least once on the rail (any kind - consultation, deposit, invoice). The proof ref is the client's ROOM: one relationship, one voice (the unique triple). Satisfaction ratings stay private to the practice; this is the public word, verified the same way every other review on the platform is.
  • GET /reviews/reported · 必要性 marketplace:readReported ReviewsThe Emperor's queue: everything reported, nothing yet hidden.
  • POST /reviews/service/{listing_id} · 必要性 marketplace:writeReview Service
  • POST /reviews/{review_id}/hide · 必要性 marketplace:writeHide ReviewTHE EMPEROR'S HAND ALONE, with a reason on the row - including reviews of Fitinty.
  • POST /reviews/{review_id}/report · 必要性 marketplace:writeReport ReviewThe subject's org REPORTS - it cannot hide. A seller who could hide critical reviews would be fake social proof by omission.
  • GET /store-analytics/insights · 必要性 marketplace:readStore InsightsEvery store the caller's organizations run, each with its trend, top products and AOV.
  • POST /storefront-intents/{token}/claim · 必要性 marketplace:writeClaim IntentExecutes a stored intent for the now-authenticated user - the real enrollment / booking / interest write, exactly as the signed-in flows do it. Single-use; expired or unknown tokens 404 (no oracle for guessing tokens).
  • GET /supply/carry · 必要性 marketplace:readWhat I CarryTHE STORE'S OWN READING: every consignment offered to or carried by this business, each line naming its supplier (on the system cursor - 591) and the organ it rides; what is owed per supplier and currency (lines minus the payouts recorded by hand); the payouts recorded; the business's own currency for the screen to print in. A member of another store reads 403 in words.
  • POST /supply/consignments · 必要性 marketplace:writeOfferThe supplier's offer, with the consent words RECORDED; born 'offered'.
  • GET /supply/consignments · 必要性 marketplace:readConsignmentsBoth sides on one door for one of the caller's organizations: what it consigned (and is owed), what it was offered and carries (and owes).
  • POST /supply/consignments/{consignment_id}/accept · 必要性 marketplace:writeAcceptTHE SELLER's word: its retail price, and the thing on ITS store. Only the seller's people accept.
  • POST /supply/consignments/{consignment_id}/decline · 必要性 marketplace:writeDecline
  • POST /supply/consignments/{consignment_id}/stop · 必要性 marketplace:writeStop CarryingTHE STORE'S hand: it stops carrying an accepted consignment WITH A REASON the supplier reads. The product comes down on the store's OWN cursor (it owns the vendor row); what sold stays owed; 'closed' is the CHECK's own word for it, and the supplier's withdraw stays the supplier's.
  • POST /supply/consignments/{consignment_id}/withdraw · 必要性 marketplace:writeWithdrawTHE SUPPLIER's hand, at will: what is unsold comes back and the seller's product comes down.
  • GET /supply/sellers · 必要性 marketplace:readSellersEvery tenant with a real store, so a supplier can offer to one. Names and slugs only.
  • POST /supply/{seller_organization_id}/payouts · 必要性 marketplace:writeRecord PayoutRule 3: the seller RECORDS what it paid a supplier by its own hand; no transfer is made here.
Publishers - 240 エンドポイント - publishers:read, publishers:write

Manuscripts to finished books, and the hand-off that turns a book into a course.

  • PATCH /publishers/audiobook-chapters/{ab_chapter_id} · 必要性 publishers:writeUpdate Ab Chapter
  • POST /publishers/audiobook-chapters/{ab_chapter_id}/generate-narration · 必要性 publishers:writeGenerate NarrationReal AI narration for one audiobook chapter, cloned from a real consented voice sample - the actual mechanical gate that has been missing since this pillar's voice-consent capture was built: an ACTIVE consent record belonging to the SAME house, and a real captured sample of that same consented voice, checked here before any generation is ever triggered.
  • POST /publishers/audiobook-chapters/{ab_chapter_id}/recording · 必要性 publishers:writeUpload Recording
  • GET /publishers/audiobook-chapters/{ab_chapter_id}/recording · 必要性 publishers:readDownload Recording
  • PATCH /publishers/audiobook-projects/{project_id} · 必要性 publishers:writeUpdate Audiobook Project
  • POST /publishers/audiobook-projects/{project_id}/assemble-m4b · 必要性 publishers:writeAssemble M4BReal, complete-book M4B assembly - every chapter's own real recording (human-uploaded or AI-generated, mixed formats/codecs are fine, ffmpeg decodes and re-encodes each one) concatenated in real position order into one genuine M4B with real embedded, correctly-titled chapter markers (ffmpeg's own FFMETADATA1 mechanism, timestamps computed from each real chapter's own measured duration, never estim…
  • GET /publishers/audiobook-projects/{project_id}/assembled-m4b · 必要性 publishers:readDownload Assembled M4B
  • GET /publishers/audiobook-projects/{project_id}/chapters · 必要性 publishers:readList Ab Chapters
  • POST /publishers/audiobook-projects/{project_id}/chapters · 必要性 publishers:writeAdd Ab Chapter
  • PATCH /publishers/authors/{author_id} · 必要性 publishers:writeUpdate Author
  • DELETE /publishers/authors/{author_id} · 必要性 publishers:writeDelete Author
  • PATCH /publishers/authors/{author_id}/archive · 必要性 publishers:writeArchive Author
  • GET /publishers/authors/{author_id}/can-delete · 必要性 publishers:readCan Delete Author
  • POST /publishers/authors/{author_id}/photo · 必要性 publishers:writeUpload Author PhotoAccepts an uploaded photo OR a direct camera capture (the frontend's file input uses the `capture` attribute so phones/tablets open their camera app directly, matching the Emperor's "upload, link to phone, tablet, or camera" request - both paths arrive here as a normal multipart file). Every photo is run through enhance_image() before storage - the Emperor's explicit instruction that all images in…
  • GET /publishers/authors/{author_id}/photo · 必要性 publishers:readGet Author Photo
  • POST /publishers/authors/{author_id}/polish-bio · 必要性 publishers:writePolish Author BioAI copy-edit assistance for the author bio (the Emperor's explicit ask - everything else in the pipeline gets AI drafting/polish by default, but the bio and back-cover blurb, both human-typed text fields, had none). Same "AI drafts, never authoritative" shape as writing_voice_profile's own draft endpoint: takes whatever the caller currently has in the field (saved or not), never touches the stored…
  • PATCH /publishers/authors/{author_id}/restore · 必要性 publishers:writeRestore Author
  • GET /publishers/books/{book_id} · 必要性 publishers:readGet Book
  • PATCH /publishers/books/{book_id} · 必要性 publishers:writeUpdate Book
  • DELETE /publishers/books/{book_id} · 必要性 publishers:writeDelete Book
  • PATCH /publishers/books/{book_id}/archive · 必要性 publishers:writeArchive Book
  • GET /publishers/books/{book_id}/audiobook-project · 必要性 publishers:readGet Audiobook Project
  • POST /publishers/books/{book_id}/audiobook-project · 必要性 publishers:writeCreate Audiobook Project
  • GET /publishers/books/{book_id}/can-delete · 必要性 publishers:readCan Delete Book
  • GET /publishers/books/{book_id}/cross-links · 必要性 publishers:readGet Book Cross LinksRow 11 Phase 4's real "concrete cross-promotion hooks" - the exact same real, live-computed resolution already proven and used inside the composed back-cover image (publishers_barcode.py's own three resolve_*_cta_url functions), now also exposed as a plain JSON endpoint so the book detail page can render real, visible, clickable links - not just a QR code baked into a downloadable PNG. Deliberatel…
  • GET /publishers/books/{book_id}/editions · 必要性 publishers:readList Editions
  • POST /publishers/books/{book_id}/editions · 必要性 publishers:writeCreate EditionUNIQUE(book_id, format, language, interior_color_mode) is a real DB constraint enforcing "one format + one language + one interior color = one edition identity" - extended from the spec's original (format, language)-only rule so a house can create BOTH a black-and-white and a color paperback/hardcover/large_print of the same book as two real, separate editions, each able to carry its own real ISBN…
  • POST /publishers/books/{book_id}/lccn-request · 必要性 publishers:writeCreate Lccn Request
  • GET /publishers/books/{book_id}/lccn-worksheet · 必要性 publishers:readGet Lccn Worksheet
  • GET /publishers/books/{book_id}/plan · 必要性 publishers:readBook Plan
  • POST /publishers/books/{book_id}/plan/declare · 必要性 publishers:writeDeclare Book PlanThe author's declaration, at will. Re-declaring ADDS missing cells and never doubles or deletes what stands - removal is its own deliberate door.
  • PATCH /publishers/books/{book_id}/restore · 必要性 publishers:writeRestore Book
  • POST /publishers/books/{book_id}/royalty-splits · 必要性 publishers:writeAdd Split
  • GET /publishers/books/{book_id}/royalty-splits · 必要性 publishers:readList Splits
  • DELETE /publishers/chapter-images/{image_id} · 必要性 publishers:writeDelete Chapter Image
  • GET /publishers/chapter-images/{image_id}/file · 必要性 publishers:readGet Chapter Image File
  • POST /publishers/chapter-versions/{version_id}/restore · 必要性 publishers:writeRestore Chapter VersionReal restore-to-a-prior-chapter-version - mirrors restore_manuscript_ version's own "always auto-snapshot the CURRENT state first" discipline (so the restore is itself reversible), then applies the target version's own stored title/content back onto the real chapter row.
  • PATCH /publishers/chapters/{chapter_id} · 必要性 publishers:writeUpdate Chapter
  • DELETE /publishers/chapters/{chapter_id} · 必要性 publishers:writeDelete Chapter
  • POST /publishers/chapters/{chapter_id}/compute-sage · 必要性 publishers:writeCompute Sage In ChapterReal Sage compute-and-freeze (task #156). Scans `body.content` - the CHAPTER EDITOR'S CURRENT, possibly-unsaved content, not necessarily what's stored in the DB yet, matching the AI polish endpoints' own "operate on whatever the author is currently editing" contract - for every [[sage:expr]] marker, runs each one through a real, genuinely sandboxed Sage container (sage_sandbox.run_sage_code, see t…
  • POST /publishers/chapters/{chapter_id}/draft-code · 必要性 publishers:writeDraft CodeReal AI-drafted Python/Sage code from a plain-English description (task #159/160), meant for insertion into a real Jupyter cell - the author still reviews it and must explicitly click Run before anything executes in the sandbox, matching task #157's own "AI drafts, human triggers execution" boundary exactly. Never executed here - this endpoint only ever returns text.
  • POST /publishers/chapters/{chapter_id}/draft-latex · 必要性 publishers:writeDraft LatexReal AI-drafted LaTeX from a plain-English description (task #159/160) - closes the one real gap flagged once MathLive/SageMath/ Jupyter shipped with zero AI layer. The author still edits it live in MathLive and must explicitly insert/save it - this endpoint only ever returns text, it never touches the database. Gated on real house membership for this specific chapter, same as every other chapter-…
  • GET /publishers/chapters/{chapter_id}/images · 必要性 publishers:readList Chapter Images
  • POST /publishers/chapters/{chapter_id}/images · 必要性 publishers:writeUpload Chapter ImageA real uploaded illustration a chapter can reference inline via [[image:ID]] (see publishers_content_blocks.py) - rendered as a real embedded image in both EPUB and print PDF, not just stored. Run through enhance_image() before storage, same as every other image upload in this pillar.
  • POST /publishers/chapters/{chapter_id}/jupyter/execute · 必要性 publishers:writeExecute Jupyter CellRuns one real cell against an already-started session's live kernel - a later cell genuinely sees state an earlier cell in the SAME session defined, the whole point of task #157 over #156's one-shot primitive. Real ownership is enforced inside jupyter_sandbox.execute_in_session itself (a session belongs to the user who started it), independent of this chapter-level check.
  • POST /publishers/chapters/{chapter_id}/jupyter/start · 必要性 publishers:writeStart Jupyter SessionStarts one real, isolated, long-lived Jupyter kernel container (task #157 - see jupyter_sandbox.py's own module docstring for the full real isolation posture and the real Kernel Gateway investigation behind this design). Opportunistically sweeps any of THIS user's other sessions that have gone idle past the real timeout, so starting a fresh session is also the natural moment stale ones get reaped.
  • POST /publishers/chapters/{chapter_id}/jupyter/stop · 必要性 publishers:writeStop Jupyter SessionExplicitly, immediately tears down the real container - the honest, author-triggered counterpart to the idle-timeout sweep, so a session an author is done with doesn't sit consuming real memory/CPU until the timeout eventually catches it.
  • POST /publishers/chapters/{chapter_id}/polish · 必要性 publishers:writeRun PolishAnalyzes the chapter and REPLACES its still-pending suggestions with the fresh run's results (applied/dismissed history is never touched). Suggestions whose excerpt is not verbatim-findable in the plain text are dropped at creation - the model quoting loosely is a model problem, never the author's.
  • GET /publishers/chapters/{chapter_id}/polish-suggestions · 必要性 publishers:readList Suggestions
  • GET /publishers/chapters/{chapter_id}/versions · 必要性 publishers:readList Chapter Versions
  • POST /publishers/chapters/{chapter_id}/versions · 必要性 publishers:writeSave Chapter VersionReal per-chapter version snapshot (row 9) - the same real, reviewable revision-history discipline as save_manuscript_version below, scoped to just this one chapter so restoring a single scene never touches any other chapter's own, separately-made edits since.
  • PATCH /publishers/comments/{comment_id} · 必要性 publishers:writeUpdate Comment
  • PATCH /publishers/competencies/{competency_id} · 必要性 publishers:writeReview Competency
  • PATCH /publishers/copyright-deposit-alerts/{alert_id}/acknowledge · 必要性 publishers:writeAcknowledge Copyright Deposit Alert
  • PATCH /publishers/course-conversion/{item_id} · 必要性 publishers:writeReview Course Conversion
  • DELETE /publishers/course-conversion/{item_id} · 必要性 publishers:writeDiscard Course ConversionReal discard support - a 'proposed'/'reviewed'/'rejected' item that never became real Education content can be permanently removed. A 'pushed' item has real downstream course/module/lesson rows and real audit history behind it, so it must never be deleted - the 'rejected' status (a lighter 'mark bad, keep visible' alternative, matching manuscript_competency's own canon_state pattern) is the right …
  • POST /publishers/course-conversion/{item_id}/push · 必要性 publishers:writePush Course ConversionBook-to-Course bridge, step 2: creates REAL Education course/module/ lesson rows (migration 024's tables) from an approved mapping. This deliberately reuses Education's own RLS INSERT policies as the real authorization check instead of reimplementing school-staff logic here - a publisher with no admin/teacher role at the target school gets a genuine RLS rejection, not a fake permission check. One-…
  • PATCH /publishers/distribution-records/{record_id} · 必要性 publishers:writeUpdate Distribution Record
  • PATCH /publishers/editions/{edition_id} · 必要性 publishers:writeUpdate Edition
  • DELETE /publishers/editions/{edition_id} · 必要性 publishers:writeDelete Edition
  • PATCH /publishers/editions/{edition_id}/archive · 必要性 publishers:writeArchive Edition
  • GET /publishers/editions/{edition_id}/auto-back-cover · 必要性 publishers:readGenerate Auto Back CoverBack-cover analog of generate_auto_cover above - same real caching fix, same manual-upload-always-wins precedence via the persisted metadata_record.back_cover_image_storage_path.
  • GET /publishers/editions/{edition_id}/auto-cover · 必要性 publishers:readGenerate Auto CoverReal front-cover art, now genuinely CACHED (Phase C of the audit-fix pass, closing the "regenerated randomly on every GET" finding) - the first successful generation for this edition is persisted to metadata_record exactly like a manual upload, so a repeated GET returns the same real image every time instead of a fresh random one. Use POST .../regenerate-cover to deliberately force a genuinely new…
  • POST /publishers/editions/{edition_id}/back-cover · 必要性 publishers:writeUpload Back CoverManual back-cover override - always takes priority over the auto-composed one, same rule as the front cover. Enhanced before storage like every other image upload in this pillar.
  • GET /publishers/editions/{edition_id}/back-cover · 必要性 publishers:readGet Back Cover
  • GET /publishers/editions/{edition_id}/can-delete · 必要性 publishers:readCan Delete Edition
  • POST /publishers/editions/{edition_id}/cover · 必要性 publishers:writeUpload Cover
  • GET /publishers/editions/{edition_id}/cover · 必要性 publishers:readGet Cover
  • GET /publishers/editions/{edition_id}/distribution-records · 必要性 publishers:readList Distribution Records
  • POST /publishers/editions/{edition_id}/distribution-records · 必要性 publishers:writeCreate Distribution RecordA record tracks manual submission status per platform - it never calls a real KDP/Ingram API. Real auto-publishing to external marketplaces means real seller credentials and putting content up for real public sale, which this platform's spec keeps locked until explicit sign-off and legal review, per this project's standing rule.
  • GET /publishers/editions/{edition_id}/epub · 必要性 publishers:readGenerate Epub
  • GET /publishers/editions/{edition_id}/isbn-assignment · 必要性 publishers:readGet Isbn Assignment
  • POST /publishers/editions/{edition_id}/isbn-assignment · 必要性 publishers:writeAssign Isbn
  • GET /publishers/editions/{edition_id}/marketplace-listing · 必要性 publishers:readGet Marketplace Listing
  • POST /publishers/editions/{edition_id}/marketplace-listing · 必要性 publishers:writeList Edition On MarketplaceOne real action: lists a finished Publishers edition as a real Marketplace product with the actual real EPUB/M4B as its digital- delivery file. Auto-provisions a real Medusa vendor identity for the publisher house's own organization on first use (get_or_provision_vendor) - a house never has to separately sign up as a Marketplace vendor first. Re-listing an already-listed edition UPDATES the same r…
  • GET /publishers/editions/{edition_id}/metadata · 必要性 publishers:readGet Metadata
  • PUT /publishers/editions/{edition_id}/metadata · 必要性 publishers:writeUpsert Metadata
  • GET /publishers/editions/{edition_id}/pod-asset · 必要性 publishers:readGet Pod Asset
  • POST /publishers/editions/{edition_id}/pod-asset · 必要性 publishers:writeCreate Pod Asset
  • GET /publishers/editions/{edition_id}/pod-print-jobs · 必要性 publishers:readList Pod Print Jobs
  • POST /publishers/editions/{edition_id}/pod-print-jobs · 必要性 publishers:writeCreate Pod Print Job
  • POST /publishers/editions/{edition_id}/polish-blurb · 必要性 publishers:writePolish BlurbAI copy-edit assistance for the back-cover sales blurb (the same real gap the bio-polish endpoint closes above) - covers/illustrations already get AI drafting by default in this pillar, but the human-typed blurb text had none. Same "AI drafts, never authoritative" shape: the caller sends whatever's currently in the description field (saved or not), the stored metadata_record.description is never t…
  • GET /publishers/editions/{edition_id}/print-pdf · 必要性 publishers:readGenerate Print Pdf
  • GET /publishers/editions/{edition_id}/print-sales · 必要性 publishers:readGet Print Sales
  • POST /publishers/editions/{edition_id}/regenerate-back-cover · 必要性 publishers:writeRegenerate Auto Back CoverForces a genuinely fresh auto-composed back cover, same deliberate- override contract as regenerate_auto_cover above.
  • POST /publishers/editions/{edition_id}/regenerate-cover · 必要性 publishers:writeRegenerate Auto CoverForces a genuinely fresh AI-generated cover, deliberately overwriting whatever is currently cached (or even a prior manual upload - an explicit Regenerate click is a real, intentional override, matching how upload_cover already overwrites a prior generated one). Old cached file deleted first via the same helper's own cleanup, same discipline as every other image-replacement endpoint in this pillar…
  • PATCH /publishers/editions/{edition_id}/restore · 必要性 publishers:writeRestore Edition
  • GET /publishers/editions/{edition_id}/submission-package · 必要性 publishers:readGenerate Submission PackageBundles the EPUB, print PDF, cover (manual if uploaded, else the real auto-generated one), and a metadata JSON into one zip - ready for a human to manually upload to Amazon KDP/IngramSpark/etc. Deliberately NOT an API auto-publish integration - see the Distribution Center's own docstring for why real auto-publishing stays out of Core.
  • GET /publishers/editions/{edition_id}/wraparound-cover · 必要性 publishers:readGenerate Wraparound CoverA real, single continuous print-ready wraparound cover (back cover | spine | front cover) at this edition's own real per-format trim size (matching the actual print-interior PDF's own real trim for its format - paperback 5.5x8.5in, hardcover/large_print 6x9in) + bleed + 300 DPI. Requires the print-interior PDF to have been generated at least once already, since the spine width is computed from the…
  • POST /publishers/figure-briefs/{brief_id}/status · 必要性 publishers:writeSet Figure Status
  • POST /publishers/houses · 必要性 publishers:writeCreate House
  • GET /publishers/houses/mine · 必要性 publishers:readGet My House Endpoint
  • PATCH /publishers/houses/{house_id} · 必要性 publishers:writeUpdate HouseReal, minimal house settings update - currently just country_code, which real ISBN registration agencies key off of (a publisher must apply to the agency that operates where they're based, not any agency they choose - see the ISBN system's own real administration rule).
  • GET /publishers/houses/{house_id}/allocations · 必要性 publishers:readList Allocations
  • PUT /publishers/houses/{house_id}/allocations · 必要性 publishers:writeSet AllocationAny real house member can set another member's allocation cap - matches this pillar's own established collapsed-role convention (any member can act; owner-role override only where the spec actually names a distinct authority). The platform OWNER role's own spending is never subject to any cap regardless of what's recorded here for them.
  • PATCH /publishers/houses/{house_id}/archive · 必要性 publishers:writeArchive HouseNo DELETE endpoint exists for a house at all - see this module's own docstring for why (every real table in this pillar cascades from publisher_house_id, so a hard delete could never be meaningfully blocked - archive is the only safe path).
  • GET /publishers/houses/{house_id}/authors · 必要性 publishers:readList Authors
  • POST /publishers/houses/{house_id}/authors · 必要性 publishers:writeCreate AuthorAuthor registry with synthetic data (spec section 4 item 3): an author profile is real data owned by a real logged-in Fitinty user, but nothing requires legal-identity verification. link_my_account attaches the caller's own user_id (the common "I am the author" case); leaving it false creates a placeholder co-author/pen-name entry with no linked account, which the spec's own "synthetic data" frami…
  • GET /publishers/houses/{house_id}/books · 必要性 publishers:readList Books
  • POST /publishers/houses/{house_id}/books · 必要性 publishers:writeCreate BookA book can only be created from a manuscript already at status='approved' (spec section 17's pipeline starts at "approved manuscript") - checked here, not just implied by UI ordering.
  • POST /publishers/houses/{house_id}/cart/total · 必要性 publishers:writeCompute Cart Total
  • POST /publishers/houses/{house_id}/checkout · 必要性 publishers:writeCheckout CartSpends the house's real fuel pool for a real cart. Enforces (a) sufficient house balance, (b) the caller's own real per-user allocation cap, if one has been set for them. The platform OWNER role is always exempt from any allocation cap (the roadmap's own 'Owner exemption') - everyone else's cap, if they have one, is enforced honestly against their own recorded real spend.
  • GET /publishers/houses/{house_id}/copyright-deposit-alerts · 必要性 publishers:readList Copyright Deposit Alerts
  • GET /publishers/houses/{house_id}/fuel-account · 必要性 publishers:readGet Fuel AccountGet-or-create the house's real fuel pool. A house starts at 0 credits until it subscribes to a tier - there is no free grant here, unlike a person's own Pioneer grant in Tools, since a house choosing not to subscribe is a real, valid state.
  • GET /publishers/houses/{house_id}/fuel-ledger · 必要性 publishers:readGet Fuel Ledger
  • GET /publishers/houses/{house_id}/imprints · 必要性 publishers:readList Imprints
  • POST /publishers/houses/{house_id}/imprints · 必要性 publishers:writeCreate Imprint
  • GET /publishers/houses/{house_id}/isbn-alert-rules · 必要性 publishers:readList Isbn Alert Rules
  • POST /publishers/houses/{house_id}/isbn-alert-rules · 必要性 publishers:writeCreate Isbn Alert Rule
  • GET /publishers/houses/{house_id}/isbn-alerts · 必要性 publishers:readList Isbn Alerts
  • GET /publishers/houses/{house_id}/isbn-inventory · 必要性 publishers:readList Isbn Inventory
  • POST /publishers/houses/{house_id}/isbn-inventory · 必要性 publishers:writeCreate Isbn Inventory
  • POST /publishers/houses/{house_id}/isbn-inventory/import-real · 必要性 publishers:writeImport Real IsbnsImports real ISBN values the author already bought directly from a real agency (never fabricated, never resold by Fitinty - see migration 177's own comment for why). Every value is validated for real ISBN-13 shape/check-digit correctness and deduped against every ISBN already assigned or pooled anywhere on the platform before landing in a fresh real_import batch.
  • GET /publishers/houses/{house_id}/lccn-requests · 必要性 publishers:readList Lccn Requests
  • POST /publishers/houses/{house_id}/logo · 必要性 publishers:writeUpload House LogoReal publisher/imprint logo upload - previously zero logo/branding anywhere in the book pipeline. Same enhance_image() + local-disk pattern as upload_author_photo above, scoped to house-membership rather than author-house lookup.
  • GET /publishers/houses/{house_id}/logo · 必要性 publishers:readGet House Logo
  • GET /publishers/houses/{house_id}/manuscripts · 必要性 publishers:readList Manuscripts
  • POST /publishers/houses/{house_id}/manuscripts · 必要性 publishers:writeCreate Manuscript
  • POST /publishers/houses/{house_id}/manuscripts/generate · 必要性 publishers:writeGenerate ManuscriptProduce a manuscript from ideas via AI (spec section 1). The AI drafts a title/synopsis/chapter outline from the author's own notes - it never invents unrelated plot beyond what the notes support - and the result lands at status='idea', the earliest lifecycle stage, so nothing is treated as final until a human edits it through the same review-gated workflow every manuscript goes through.
  • POST /publishers/houses/{house_id}/manuscripts/import · 必要性 publishers:writeImport ManuscriptManuscript import (spec section 1: "Manuscript creation and import"). Parses .txt/.md/.docx/.epub into real chapters, never just stores the raw file - the author lands straight in a usable editor. genre/series_bible_id (Phase F of the audit-fix pass) match what the blank-create path (create_manuscript's own ManuscriptIn) already accepts - previously an import required an immediate follow-up PATCH…
  • GET /publishers/houses/{house_id}/members · 必要性 publishers:readList House Members
  • GET /publishers/houses/{house_id}/print-sales · 必要性 publishers:readGet House Print Sales
  • GET /publishers/houses/{house_id}/provenance · 必要性 publishers:readList Provenance
  • POST /publishers/houses/{house_id}/provenance · 必要性 publishers:writeCreate Provenance
  • PATCH /publishers/houses/{house_id}/restore · 必要性 publishers:writeRestore House
  • GET /publishers/houses/{house_id}/rights-records · 必要性 publishers:readList Rights Records
  • POST /publishers/houses/{house_id}/rights-records · 必要性 publishers:writeCreate Rights Record
  • POST /publishers/houses/{house_id}/royalty-statements · 必要性 publishers:writeGenerate StatementDraft = regenerated wholesale on every run. Final = refused (history).
  • GET /publishers/houses/{house_id}/royalty-statements · 必要性 publishers:readList Statements`line_count` is the fact void_statement decides on: a final statement voids only with no lines - so the screen asks that, never whether the amounts happen to add up to zero.
  • GET /publishers/houses/{house_id}/search · 必要性 publishers:readSearchReal Postgres full-text search (tsvector/GIN), ranked, across manuscripts, chapters, Series/World Bibles, books, authors, and citations - not a placeholder LIKE query. Permission is applied before ranking: RLS already scopes every table to house members, and this additionally filters by house_id explicitly. book/author_profile/reference_entry (Phase F of the audit-fix pass, migration 189) close t…
  • GET /publishers/houses/{house_id}/series-bibles · 必要性 publishers:readList Series Bibles
  • POST /publishers/houses/{house_id}/series-bibles · 必要性 publishers:writeCreate Series Bible
  • POST /publishers/houses/{house_id}/subscribe · 必要性 publishers:writeSubscribeSubscribes the house to a real tier and grants its bundled credits immediately - a real, honest SANDBOX grant regardless of bank_payments.is_live_enabled()'s state. Never charges the house's real payment method (none is even wired here).
  • GET /publishers/houses/{house_id}/voice-consent-records · 必要性 publishers:readList Consent Records
  • POST /publishers/houses/{house_id}/voice-consent-records · 必要性 publishers:writeCreate Consent RecordReal consent capture (spec section 18) - typed full legal name + the exact statement agreed to, timestamped, plus an optional uploaded signed document for genuine written authorization. This is the gate itself, built ahead of any actual voice-synthesis engine: nothing in this platform reads this table to authorize synthesis yet, because that engine doesn't exist - this makes the consent mechanism …
  • GET /publishers/houses/{house_id}/writing-voice-profiles · 必要性 publishers:readList Voice Profiles
  • POST /publishers/houses/{house_id}/writing-voice-profiles · 必要性 publishers:writeCreate Voice Profile
  • DELETE /publishers/imprints/{imprint_id} · 必要性 publishers:writeDelete Imprint
  • PATCH /publishers/imprints/{imprint_id}/archive · 必要性 publishers:writeArchive Imprint
  • GET /publishers/imprints/{imprint_id}/can-delete · 必要性 publishers:readCan Delete Imprint
  • PATCH /publishers/imprints/{imprint_id}/restore · 必要性 publishers:writeRestore Imprint
  • GET /publishers/integrations · 必要性 publishers:readList IntegrationsHonest status per spec section 7's candidate list - reports what's genuinely wired into this codebase vs. what's a named candidate still needing its own license/security/sandbox review, same discipline as every other pillar's integration registry (Games, Marketplace, Education).
  • GET /publishers/isbn-agencies · 必要性 publishers:readList Isbn Agencies
  • POST /publishers/isbn-agencies · 必要性 publishers:writeCreate Isbn Agency
  • PATCH /publishers/isbn-agencies/{agency_id} · 必要性 publishers:writeUpdate Isbn Agency
  • POST /publishers/isbn-agencies/{agency_id}/tiers · 必要性 publishers:writeCreate Isbn Agency Tier
  • PATCH /publishers/isbn-agency-tiers/{tier_id} · 必要性 publishers:writeUpdate Isbn Agency Tier
  • PATCH /publishers/isbn-alert-rules/{rule_id} · 必要性 publishers:writeUpdate Isbn Alert RuleReal edit-after-creation for an alert rule - previously only ever creatable, never editable (a house wanting a different threshold, or to pause/resume the rule without deleting its history, had no way to do either).
  • POST /publishers/isbn-alerts/{alert_id}/acknowledge · 必要性 publishers:writeAcknowledge Isbn Alert
  • PATCH /publishers/lccn-requests/{request_id} · 必要性 publishers:writeUpdate Lccn Request
  • GET /publishers/length-standards · 必要性 publishers:readLength Standards
  • POST /publishers/manuscript-versions/{version_id}/restore · 必要性 publishers:writeRestore Manuscript VersionReal restore-to-a-prior-version. First snapshots the CURRENT chapter state as a brand new version (so the restore is itself reversible - see _snapshot_manuscript_version above), then applies the target version's own stored per-chapter title/content/position back onto the real `chapter` rows, matched by each chapter's own real id. Deliberately conservative, not a destructive full rollback: a chapt…
  • GET /publishers/manuscripts/{manuscript_id} · 必要性 publishers:readGet Manuscript
  • PATCH /publishers/manuscripts/{manuscript_id} · 必要性 publishers:writeUpdate Manuscript
  • DELETE /publishers/manuscripts/{manuscript_id} · 必要性 publishers:writeDelete Manuscript
  • PATCH /publishers/manuscripts/{manuscript_id}/archive · 必要性 publishers:writeArchive Manuscript
  • POST /publishers/manuscripts/{manuscript_id}/book-type · 必要性 publishers:writeSet Book Type
  • POST /publishers/manuscripts/{manuscript_id}/build · 必要性 publishers:writeStart BuildQueue the long-form build. Refuses without a book type (no band, no honest target) and refuses to double-run.
  • GET /publishers/manuscripts/{manuscript_id}/build-jobs · 必要性 publishers:readBuild Jobs
  • GET /publishers/manuscripts/{manuscript_id}/can-delete · 必要性 publishers:readCan Delete Manuscript
  • GET /publishers/manuscripts/{manuscript_id}/chapters · 必要性 publishers:readList Chapters
  • POST /publishers/manuscripts/{manuscript_id}/chapters · 必要性 publishers:writeCreate Chapter
  • POST /publishers/manuscripts/{manuscript_id}/chapters/reorder · 必要性 publishers:writeReorder ChaptersReal chapter reordering (row 9) - the corkboard view's own drag-drop action. body.chapter_ids must be EXACTLY the manuscript's current real chapter id set (same count, same ids, any order) before anything is applied - a partial or stale list (e.g. a chapter deleted by someone else mid-drag) is rejected outright rather than silently reordering only some chapters and leaving the rest at ambiguous po…
  • GET /publishers/manuscripts/{manuscript_id}/comments · 必要性 publishers:readList Comments
  • POST /publishers/manuscripts/{manuscript_id}/comments · 必要性 publishers:writeCreate Comment
  • GET /publishers/manuscripts/{manuscript_id}/competencies · 必要性 publishers:readList CompetenciesRLS alone scopes this to houses the caller is actually a member of - the same reliance list_references already places on RLS for this exact class of manuscript-scoped child resource.
  • POST /publishers/manuscripts/{manuscript_id}/completeness-check · 必要性 publishers:writeRun Completeness CheckReal AI completeness pass (row 9, item 5) - reads the manuscript against its OWN stated scope (title/genre/synopsis) and flags real gaps a human should look at. A draft suggestion for the author to act on, never an automatic edit - this never writes to chapter/manuscript content itself, only returns findings.
  • POST /publishers/manuscripts/{manuscript_id}/course-conversion · 必要性 publishers:writePropose Course ConversionBook-to-Course bridge, step 1 (spec section 19): AI proposes a chapter -> module -> lesson -> learning-objective mapping. Nothing is written to Education yet - this only creates a reviewable course_conversion_item, matching "Global Push must create a reviewable change set, not overwrite approved courses automatically".
  • GET /publishers/manuscripts/{manuscript_id}/course-conversion · 必要性 publishers:readList Course Conversions
  • POST /publishers/manuscripts/{manuscript_id}/edit-pass · 必要性 publishers:writeStart Edit PassOne stage of the rail as a queued pass. Suggestions ride the SAME polish table and doors a person's own polish run uses - never a parallel pile; the pass files a real review_cycle row so the manuscript's approval gate sees the work.
  • POST /publishers/manuscripts/{manuscript_id}/extract-competencies · 必要性 publishers:writeExtract CompetenciesReal AI-assisted extraction (task #162) - grounded strictly in the manuscript's own real chapter text, never invented, mirroring Games' already-proven extracted_entity pattern. Every extracted item lands at canon_state='proposed' - nothing is ever treated as real/actionable until a human explicitly approves it via the review endpoint below. This is the extraction/foundation half of the standing "d…
  • GET /publishers/manuscripts/{manuscript_id}/figure-briefs · 必要性 publishers:readFigure Briefs
  • GET /publishers/manuscripts/{manuscript_id}/references · 必要性 publishers:readList ReferencesTask #124's real reference library - an author's bibliography entries for this manuscript, orderable by whichever ones are actually cited via [[cite:key]] (see collect_citation_order in publishers_content_blocks.py). No explicit access check here, same as list_chapters - reference_entry's own RLS policy already scopes this to real house members.
  • POST /publishers/manuscripts/{manuscript_id}/references · 必要性 publishers:writeCreate Reference
  • PATCH /publishers/manuscripts/{manuscript_id}/restore · 必要性 publishers:writeRestore Manuscript
  • GET /publishers/manuscripts/{manuscript_id}/review-cycles · 必要性 publishers:readList Review Cycles
  • POST /publishers/manuscripts/{manuscript_id}/review-cycles · 必要性 publishers:writeCreate Review Cycle
  • GET /publishers/manuscripts/{manuscript_id}/thoroughness · 必要性 publishers:readThoroughnessModel-free: real words against the type's band, the verdict in WORDS. A manuscript with no type gets its counts and a sentence, never a made-up target.
  • GET /publishers/manuscripts/{manuscript_id}/translation-siblings · 必要性 publishers:readList Translation SiblingsEvery real manuscript in this one's translation family - the original plus every other real materialized translated sibling - so a reader/editor can navigate to any language version from any other one. Resolves through the real original regardless of which family member manuscript_id points at (a sibling's own translated_from_manuscript_id, or its own id if it IS the original). Returns an empty li…
  • POST /publishers/manuscripts/{manuscript_id}/translations · 必要性 publishers:writeCreate Translation
  • GET /publishers/manuscripts/{manuscript_id}/translations · 必要性 publishers:readList Translations
  • POST /publishers/manuscripts/{manuscript_id}/translations/bulk · 必要性 publishers:writeCreate Translations BulkMulti-locale translation in one request - an author picks several target languages from Fitinty's own LANGUAGES registry instead of requesting one locale at a time. Reuses create_translation's own real per-locale insert/dedup logic (the same ON CONFLICT DO NOTHING check, so a locale that already has a translation is reported, never silently duplicated or re-queued) rather than a separate mechanism…
  • GET /publishers/manuscripts/{manuscript_id}/versions · 必要性 publishers:readList Manuscript Versions
  • POST /publishers/manuscripts/{manuscript_id}/versions · 必要性 publishers:writeSave Manuscript VersionSnapshots every current chapter's title/content/position into one manuscript_version row - real, reviewable revision history without a per-chapter version table.
  • GET /publishers/narrator-voice-options · 必要性 publishers:readList Narrator Voice Options
  • DELETE /publishers/plan-items/{item_id} · 必要性 publishers:writeRemove ItemOnly a still-'planned' promise may be withdrawn - in-progress and kept ones are history.
  • POST /publishers/plan-items/{item_id}/link · 必要性 publishers:writeLink ItemA kept promise names its proof - the human hand links what reconciliation cannot prove from tables (movies, games, trailers, campaigns).
  • POST /publishers/plan-items/{item_id}/status · 必要性 publishers:writeSet Item Status
  • PATCH /publishers/pod-assets/{pod_id} · 必要性 publishers:writeUpdate Pod Asset
  • POST /publishers/pod-print-jobs/{job_id}/refresh · 必要性 publishers:writeRefresh Pod Print JobRe-polls the provider for the job's current real status - stored verbatim, never normalized into locally-invented states.
  • GET /publishers/pod-print/artifacts/{edition_id}/{kind} · 必要性 publishers:readServe Signed ArtifactPublic (no-session) artifact route for the POD providers' own file fetchers. Access is not anonymous in the RLS sense: the HMAC-signed URL embeds the submitting user's id, and the artifact is assembled under that exact user's normal RLS context - the URL grants precisely the access its creator already had, time-limited, for these two artifacts only.
  • GET /publishers/pod-print/providers · 必要性 publishers:readProvider Status
  • POST /publishers/polish-suggestions/{suggestion_id}/apply · 必要性 publishers:writeApply Suggestion
  • POST /publishers/polish-suggestions/{suggestion_id}/dismiss · 必要性 publishers:writeDismiss Suggestion
  • PATCH /publishers/references/{reference_id} · 必要性 publishers:writeUpdate Reference
  • DELETE /publishers/references/{reference_id} · 必要性 publishers:writeDelete Reference
  • PATCH /publishers/review-cycles/{review_id} · 必要性 publishers:writeUpdate Review Cycle
  • PATCH /publishers/rights-records/{record_id} · 必要性 publishers:writeUpdate Rights Record
  • PATCH /publishers/rights-records/{record_id}/copyright-details · 必要性 publishers:writeUpdate Copyright DetailsA real, human-entered record of the author's own progress through the Copyright Office's eCO portal - registration_number/registration_filed_at once they receive their real certificate back, first_published_at as the real legal anchor for the mandatory-deposit deadline, deposit_method/ deposit_completed_at once they've actually deposited a copy. Never fabricates, files, or submits anything on the …
  • GET /publishers/rights-records/{record_id}/document · 必要性 publishers:readDownload Rights Document
  • POST /publishers/royalty-lines/{line_id}/record-payment · 必要性 publishers:writeRecord Line PaymentThe handshake record: the house paid the author by its own hand (bank, cash, cheque) and writes down how. Nothing here moves money - Rule 3 is the wall.
  • DELETE /publishers/royalty-splits/{split_id} · 必要性 publishers:writeRemove Split
  • GET /publishers/royalty-statements/{statement_id} · 必要性 publishers:readStatement Detail
  • DELETE /publishers/royalty-statements/{statement_id} · 必要性 publishers:writeVoid StatementThe escape from a trapped period: a DRAFT voids freely (it was a reading), and a FINAL statement voids ONLY when it holds nothing - no lines, so nothing was ever owed on it. A final statement with lines is history and never deletes.
  • POST /publishers/royalty-statements/{statement_id}/finalize · 必要性 publishers:writeFinalize Statement
  • POST /publishers/series-bible-versions/{version_id}/restore · 必要性 publishers:writeRestore Series Bible VersionReal restore-to-a-prior-version - the actual point of keeping version history at all, not just a read-only log. Restoring itself FIRST snapshots the current (about-to-be-overwritten) state as a brand new version, so a restore is itself reversible - the same "always snapshot before mutating" discipline update_series_bible already uses, applied one level up. The target snapshot's own immutable/manag…
  • GET /publishers/series-bibles/{bible_id} · 必要性 publishers:readGet Series Bible
  • PATCH /publishers/series-bibles/{bible_id} · 必要性 publishers:writeUpdate Series BibleEvery save snapshots the full prior state into series_bible_version before applying the update - real "version control" (spec section 10) without a per-field diff/merge engine. Snapshots the state BEFORE the change so version N always reads as "what it looked like going into change N+1".
  • DELETE /publishers/series-bibles/{bible_id} · 必要性 publishers:writeDelete Series Bible
  • PATCH /publishers/series-bibles/{bible_id}/archive · 必要性 publishers:writeArchive Series Bible
  • GET /publishers/series-bibles/{bible_id}/books · 必要性 publishers:readList Series Books
  • GET /publishers/series-bibles/{bible_id}/can-delete · 必要性 publishers:readCan Delete Series Bible
  • POST /publishers/series-bibles/{bible_id}/plan/declare · 必要性 publishers:writeDeclare Series PlanDeclared once at the series, MATERIALIZED onto every book in it - each volume carries and fulfills its own copy; a book that joins the series later gets the plan by running this again (adds only what's missing, per book).
  • POST /publishers/series-bibles/{bible_id}/program-conversion · 必要性 publishers:writePropose Series ProgramSeries -> Education Program bridge, step 1. Real per-book chapter/ module/lesson mapping stays entirely on the existing, unmodified propose_course_conversion/review_course_conversion/push_course_conversion flow - this only creates the program-level shell (title/description drafted from the series bible's own real fields, grounded, never invented) and, for every not-yet-linked book in the series, a…
  • GET /publishers/series-bibles/{bible_id}/program-conversions · 必要性 publishers:readList Series Program Conversions
  • PATCH /publishers/series-bibles/{bible_id}/restore · 必要性 publishers:writeRestore Series Bible
  • GET /publishers/series-bibles/{bible_id}/versions · 必要性 publishers:readList Series Bible Versions
  • PATCH /publishers/series-program-conversions/{item_id} · 必要性 publishers:writeReview Series Program
  • DELETE /publishers/series-program-conversions/{item_id} · 必要性 publishers:writeDiscard Series ProgramSame real discard rule as course_conversion_item above - a 'pushed' series program has a real education_program with real linked courses behind it, so it can never be deleted here.
  • POST /publishers/series-program-conversions/{item_id}/push · 必要性 publishers:writePush Series ProgramSeries -> Education Program bridge, step 2: creates the REAL education_program shell (now that a target school is known) and links every book's course_conversion_item to it via program_id. Each course itself still goes through the existing, unmodified per-book review_course_conversion/push_course_conversion flow - THAT is what actually creates the real course/module/lesson rows and, thanks to the …
  • GET /publishers/service-catalog · 必要性 publishers:readList Service Catalog
  • POST /publishers/service-catalog · 必要性 publishers:writeCreate Service Catalog Item
  • GET /publishers/subscription-tiers · 必要性 publishers:readList Subscription Tiers
  • POST /publishers/subscription-tiers · 必要性 publishers:writeCreate Subscription Tier
  • DELETE /publishers/translations/{translation_id} · 必要性 publishers:writeDelete Translation
  • GET /publishers/translations/{translation_id}/chapters · 必要性 publishers:readList Translated Chapters
  • POST /publishers/translations/{translation_id}/create-manuscript · 必要性 publishers:writeCreate Manuscript From TranslationMaterializes a real, human-reviewed translation into a genuine, independent `manuscript` row - a real sibling of the original, not just translated text sitting in manuscript_translation - so it flows through the exact same real editorial-review pipeline, book/edition creation, and EPUB/print-PDF generation every other manuscript already uses (see the translation-notice wiring in publishers_product…
  • PATCH /publishers/translations/{translation_id}/mark-reviewed · 必要性 publishers:writeMark ReviewedA human explicitly confirming the MT draft has been reviewed - never automatic, matching this project's standing 'AI drafts, never authoritative' pattern. Now requires a real, completed review_cycle approval first (task #123) - the same "real gate, not a cosmetic button" discipline already used for the manuscript's own production-status gate (publishers_manuscripts.py's GATED_STATUS check) - a tra…
  • GET /publishers/translations/{translation_id}/review-cycles · 必要性 publishers:readList Translation Review Cycles
  • POST /publishers/translations/{translation_id}/review-cycles · 必要性 publishers:writeCreate Translation Review CycleRequests a real, structured editorial review against a translation DRAFT - the same review_cycle machinery a manuscript uses, reused rather than duplicated (see migration 173). Only valid once the real MT draft actually exists (status='draft_ready' or later - requesting a review against a still-generating or failed translation makes no sense, since there's nothing real yet to review).
  • GET /publishers/voice-calibration-scripts · 必要性 publishers:readList Calibration Scripts
  • GET /publishers/voice-consent-records/{record_id}/document · 必要性 publishers:readDownload Consent Document
  • PATCH /publishers/voice-consent-records/{record_id}/revoke · 必要性 publishers:writeRevoke Consent Record
  • GET /publishers/voice-consent-records/{record_id}/samples · 必要性 publishers:readList Voice Samples
  • POST /publishers/voice-consent-records/{record_id}/samples · 必要性 publishers:writeUpload Voice SampleA real microphone recording of the person reading a calibration passage - captured with the browser's own mic permission prompt, never silently. Can ONLY be attached to a consent record that is still ACTIVE (checked here, not just assumed from the UI) - the actual mechanical enforcement of "no voice clone without consent," since nothing downstream can ever have a sample without a live consent reco…
  • POST /publishers/voice-consent-records/{record_id}/train-voice-lora · 必要性 publishers:writeTrain Voice LoraReal per-voice LoRA training (VoxCPM2) against every real captured sample for this consent record - the exact same mechanism already proven end-to-end for Cinema, now available to Publishers' own real, previously- unused consent samples. Blocks synchronously while training runs (real GPU time, can take several minutes) - matching cinema_identity.py's own train_voice_lora precedent for this exact e…
  • DELETE /publishers/voice-samples/{sample_id} · 必要性 publishers:writeDelete Voice Sample
  • GET /publishers/voice-samples/{sample_id}/file · 必要性 publishers:readGet Voice Sample File
  • PATCH /publishers/writing-voice-profiles/{profile_id} · 必要性 publishers:writeUpdate Voice Profile
  • POST /publishers/writing-voice-profiles/{profile_id}/draft · 必要性 publishers:writeDraft With VoiceAI drafting assistance (spec section 11): labeled suggestion, never saved automatically, never overwrites existing text - the caller pastes the returned draft into the manuscript editor themselves.
Workspace - 467 エンドポイント - workspace:read, workspace:write

The tools every tenant works in - documents, mail, calendar, forms - and the ones sold direct to customers.

  • GET /bi/dashboards · 必要性 workspace:readList Dashboards
  • POST /bi/dashboards · 必要性 workspace:writeCreate Dashboard
  • POST /bi/dashboards/from-template · 必要性 workspace:writeCreate From TemplateA ready-made report, made as an ordinary dashboard through the engine's own two writers. Its name comes with the request: the web says it in the reader's language.
  • GET /bi/dashboards/{dashboard_id} · 必要性 workspace:readGet Dashboard
  • PATCH /bi/dashboards/{dashboard_id} · 必要性 workspace:writeUpdate Dashboard
  • DELETE /bi/dashboards/{dashboard_id} · 必要性 workspace:writeDelete Dashboard
  • GET /bi/dashboards/{dashboard_id}/values · 必要性 workspace:readGet Dashboard Values
  • POST /bi/dashboards/{dashboard_id}/widgets · 必要性 workspace:writeCreate Widget
  • GET /bi/dashboards/{dashboard_id}/widgets · 必要性 workspace:readList Widgets
  • GET /bi/metrics · 必要性 workspace:readList Metrics
  • GET /bi/my-organizations · 必要性 workspace:readMy Organizations
  • GET /bi/templates · 必要性 workspace:readList TemplatesThe reports library (Step 2): each ready-made report's key, its category and the catalog metrics it opens with - in the library's own order (visitors, customers, money, work). Signed in, like the metric catalog beside it: only the reports screen reads it, so it is no open door.
  • PATCH /bi/widgets/{widget_id} · 必要性 workspace:writeUpdate Widget
  • DELETE /bi/widgets/{widget_id} · 必要性 workspace:writeDelete Widget
  • GET /bookkeeping/bills · 必要性 workspace:readList Bills
  • POST /bookkeeping/bills · 必要性 workspace:writeCreate Bill
  • DELETE /bookkeeping/bills/{bill_id} · 必要性 workspace:writeDelete Bill
  • POST /bookkeeping/bills/{bill_id}/status · 必要性 workspace:writeUpdate Bill Status
  • GET /bookkeeping/invoices · 必要性 workspace:readList Invoices
  • POST /bookkeeping/invoices · 必要性 workspace:writeCreate Invoice
  • DELETE /bookkeeping/invoices/{invoice_id} · 必要性 workspace:writeDelete Invoice
  • POST /bookkeeping/invoices/{invoice_id}/status · 必要性 workspace:writeUpdate Invoice Status
  • GET /bookkeeping/my-organizations · 必要性 workspace:readMy Organizations
  • GET /bookkeeping/summary/{organization_id} · 必要性 workspace:readSummary
  • GET /brief/{organization_id}/latest · 必要性 workspace:readLatest BriefThe latest brief - the owner's page - with "From your Slack" beside it (see below).
  • POST /brief/{organization_id}/write · 必要性 workspace:writeWrite Brief
  • POST /community/announcements · 必要性 workspace:writeCreate Announcement
  • GET /community/announcements · 必要性 workspace:readMy Announcements
  • POST /community/announcements/{announcement_id}/publish · 必要性 workspace:writePublish Announcement
  • POST /community/clubs · 必要性 workspace:writeCreate Club
  • POST /community/clubs/{club_id}/join · 必要性 workspace:writeJoin ClubAny signed-in person may join - the open-room design. The RLS WITH CHECK (you join AS YOURSELF) raises, so the polite sentences come first. FM10 (618): a share_room opens only to a holder of its plan, a growers_exchange only to someone on a farm's own membership - both asked on the caller's cursor, both refused in words.
  • DELETE /community/clubs/{club_id}/join · 必要性 workspace:writeLeave Club
  • POST /community/clubs/{club_id}/posts · 必要性 workspace:writePost To ClubMembers write as themselves. The membership sentence comes BEFORE the insert - the RLS WITH CHECK raises, never empty-returns (the EC1 lesson).
  • POST /community/posts/{post_id}/hide · 必要性 workspace:writeHide PostThe moderator's hand: hides with a REASON, never erases.
  • GET /content-calendar/entries · 必要性 workspace:readList Entries
  • POST /content-calendar/entries · 必要性 workspace:writeCreate Entry
  • PATCH /content-calendar/entries/{entry_id} · 必要性 workspace:writeUpdate Entry
  • DELETE /content-calendar/entries/{entry_id} · 必要性 workspace:writeDelete Entry
  • POST /content-calendar/entries/{entry_id}/draft · 必要性 workspace:writeDraft Entry
  • POST /content-calendar/entries/{entry_id}/mark-posted · 必要性 workspace:writeMark PostedThe tenant records that THEY posted this manually. The platform never posts for them - that is the standing real-communications gate, and it holds here.
  • POST /content-calendar/entries/{entry_id}/status · 必要性 workspace:writeSet StatusMoves an entry between planning states. 'posted' is deliberately NOT accepted here - it only exists via /mark-posted, which records the tenant's own manual action.
  • POST /content-calendar/plan-month · 必要性 workspace:writePlan MonthFills a month with idea entries from a plain brief. Ideas land as 'idea' status - the tenant curates; nothing is drafted, let alone posted, on its own.
  • GET /content-calendar/shipped · 必要性 workspace:readShippedReal dated output from the org's other pillars - published blog posts, simulated newsletter sends, published podcast episodes - so the plan sits next to reality.
  • POST /content-translations · 必要性 workspace:writeDraft TranslationA machine draft into one locale. It waits for a person before any visitor can see it.
  • GET /content-translations/pending-review · 必要性 workspace:readPending ReviewEvery machine draft this person may approve, the SOURCE beside each - a reviewer checks a translation against something, and it has to be on the same screen.
  • GET /content-translations/subjects · 必要性 workspace:readMy SubjectsEverything the person's businesses show on their storefronts, with the translations each already has - the list a tenant translates FROM.
  • PUT /content-translations/{kind}/{subject_id}/{locale} · 必要性 workspace:writeWrite TranslationA person's own translation: written = approved. Writes over a machine draft if one stands.
  • DELETE /content-translations/{translation_id} · 必要性 workspace:writeDelete Translation
  • PATCH /content-translations/{translation_id}/mark-reviewed · 必要性 workspace:writeMark ReviewedA person approving ONE machine draft - the only way a draft ever reaches a visitor.
  • POST /document-assist/compare · 必要性 workspace:writeCreate Compare
  • GET /document-assist/documents · 必要性 workspace:readList Documents
  • POST /document-assist/documents · 必要性 workspace:writeUpload Document
  • DELETE /document-assist/documents/{document_id} · 必要性 workspace:writeDelete Document
  • POST /document-assist/draft · 必要性 workspace:writeCreate Draft
  • POST /document-assist/extract · 必要性 workspace:writeCreate Extract
  • GET /document-assist/jobs · 必要性 workspace:readList Jobs
  • GET /document-assist/jobs/{job_id}/download · 必要性 workspace:readDownload Job
  • POST /document-assist/minutes · 必要性 workspace:writeCreate Minutes
  • POST /document-assist/proofread · 必要性 workspace:writeCreate Proofread
  • GET /document-assist/qa · 必要性 workspace:readQa History
  • POST /document-assist/qa · 必要性 workspace:writeAsk
  • GET /domain-monitor · 必要性 workspace:readList Watched Domains
  • POST /domain-monitor · 必要性 workspace:writeAdd Watched Domain
  • GET /domain-monitor/my-organizations · 必要性 workspace:readMy Organizations
  • DELETE /domain-monitor/{watch_id} · 必要性 workspace:writeRemove Watched Domain
  • POST /domain-monitor/{watch_id}/check · 必要性 workspace:writeCheck Watched Domain
  • DELETE /field-inspection/items/{item_id} · 必要性 workspace:writeDelete Template Item
  • GET /field-inspection/my-organizations · 必要性 workspace:readMy Organizations
  • GET /field-inspection/runs · 必要性 workspace:readList Runs
  • POST /field-inspection/runs · 必要性 workspace:writeCreate Run
  • GET /field-inspection/runs/{run_id} · 必要性 workspace:readGet Run
  • DELETE /field-inspection/runs/{run_id} · 必要性 workspace:writeDelete Run
  • POST /field-inspection/runs/{run_id}/complete · 必要性 workspace:writeComplete Run
  • GET /field-inspection/runs/{run_id}/responses · 必要性 workspace:readList Responses
  • POST /field-inspection/runs/{run_id}/responses · 必要性 workspace:writeRecord Response
  • GET /field-inspection/runs/{run_id}/summary · 必要性 workspace:readRun Summary
  • GET /field-inspection/templates · 必要性 workspace:readList Templates
  • POST /field-inspection/templates · 必要性 workspace:writeCreate Template
  • GET /field-inspection/templates/{template_id} · 必要性 workspace:readGet Template
  • DELETE /field-inspection/templates/{template_id} · 必要性 workspace:writeDelete Template
  • POST /field-inspection/templates/{template_id}/items · 必要性 workspace:writeAdd Template Item
  • GET /fitinchat/analytics · 必要性 workspace:readAnalyticsComputed from real rows, nothing sampled or estimated: AI-resolved = closed without a human ever claiming it; escalated = an escalation reason was recorded.
  • GET /fitinchat/channels · 必要性 workspace:readList Channels
  • POST /fitinchat/channels · 必要性 workspace:writeCreate Channel
  • PATCH /fitinchat/channels/{channel_id} · 必要性 workspace:writeUpdate Channel
  • GET /fitinchat/conversations · 必要性 workspace:readList Conversations
  • POST /fitinchat/conversations/{conversation_id}/claim · 必要性 workspace:writeClaim Conversation
  • POST /fitinchat/conversations/{conversation_id}/close · 必要性 workspace:writeClose Conversation
  • GET /fitinchat/conversations/{conversation_id}/messages · 必要性 workspace:readList Conversation Messages
  • POST /fitinchat/conversations/{conversation_id}/reply · 必要性 workspace:writeStaff Reply
  • POST /fitinchat/kb-reindex · 必要性 workspace:writeKb Reindex
  • GET /fitinchat/my-organizations · 必要性 workspace:readMy Organizations
  • GET /fitinchat/site/{slug}/channel · 必要性 workspace:readStorefront ChannelThe storefront's way in: the org's 'Storefront' channel, created lazily the first time a live storefront asks. Live-theme gated like every public window. Landing here means every visitor chat is a REAL fitinchat conversation the tenant's team sees, counts in 'unanswered messages', and can take over - the AI is the first responder, never a separate machine.
  • GET /fitinchat/widget/conversations/{visitor_token} · 必要性 workspace:readWidget Conversation Status
  • GET /fitinchat/widget/conversations/{visitor_token}/messages · 必要性 workspace:readWidget List Messages
  • POST /fitinchat/widget/conversations/{visitor_token}/messages · 必要性 workspace:writeWidget Send Message
  • POST /fitinchat/widget/conversations/{visitor_token}/order-lookup · 必要性 workspace:writeWidget Order LookupThe widget's explicit "Look up my order" form. Same trust model as the AI action (fitinchat_intelligence.lookup_order): order number + email must both match the REAL Medusa order and the order must contain this shop's products; the visible result is a public-safe summary posted into the conversation as an assistant message (so staff who later claim the chat see exactly what the visitor saw). Not-f…
  • POST /fitinchat/widget/conversations/{visitor_token}/rate · 必要性 workspace:writeWidget RatePost-conversation satisfaction, 1-5, only once and only after close - the widget shows the prompt when the conversation ends.
  • POST /fitinchat/widget/conversations/{visitor_token}/request-human · 必要性 workspace:writeWidget Request Human
  • GET /fitinchat/widget/{channel_id} · 必要性 workspace:readWidget Channel View
  • POST /fitinchat/widget/{channel_id}/start · 必要性 workspace:writeStart Conversation
  • GET /fitincrm/book/{organization_id} · 必要性 workspace:readRead BookThe one book. Segments are READERS over recorded touches, never stored lists - the same person appears in 'regular' and 'consented' at once because segments are views, not silos.
  • GET /fitincrm/book/{organization_id}/advice · 必要性 workspace:readSecond Sale AdviceCALL THESE FIVE TODAY. Deterministic rules over the recorded book - every line carries its evidence in words and a proposed_action, and NO MODEL writes any of it (the same contract as analytics_advice: advice is a reader, drafting is the only place AI touches).
  • GET /fitincrm/book/{organization_id}/contacts/{contact_id} · 必要性 workspace:readRead Contact Page
  • POST /fitincrm/book/{organization_id}/contacts/{contact_id}/consent · 必要性 workspace:writeRecord ConsentAppends to the consent ledger. The ORIGIN is required in words - 'she checked the box', 'he asked at the counter today' - because a yes nobody can place is a yes nobody can defend.
  • POST /fitincrm/book/{organization_id}/contacts/{contact_id}/draft-winback · 必要性 workspace:writeDraft WinbackAI DRAFTS, NEVER SENDS. The draft is grounded in this contact's real recorded moments and the org's identity-pack voice, and it is returned to the human to send by their own hand - nothing here transmits, so the mail rail's gate is not even in the path. CONSENT BY CONSTRUCTION: a marketing message to someone with no recorded 'granted' row is refused before any model runs - the machine cannot draf…
  • POST /fitincrm/book/{organization_id}/contacts/{contact_id}/text · 必要性 workspace:writeWrite Text To ContactWrite one text to one person of this business. Saved and waiting, or not sent and why (a KEY). Nothing is sent here: the hourly tick sends, and only once texts are switched on.
  • GET /fitincrm/book/{organization_id}/groups · 必要性 workspace:readList GroupsEvery saved group with its member count, read live from the book.
  • POST /fitincrm/book/{organization_id}/groups · 必要性 workspace:writeCreate Group
  • PUT /fitincrm/book/{organization_id}/groups/{group_id} · 必要性 workspace:writeUpdate Group
  • DELETE /fitincrm/book/{organization_id}/groups/{group_id} · 必要性 workspace:writeDelete Group
  • GET /fitincrm/book/{organization_id}/groups/{group_id}/members · 必要性 workspace:readGroup MembersThe people in one group, read live from the book (404 when the group is not this organization's).
  • POST /fitincrm/book/{organization_id}/groups/{group_id}/text · 必要性 workspace:writeText GroupWrite ONE offer to the people of one group who said yes to offers by text themselves. The members are read live, at the press. Nothing is sent here - the one sender does that, in its own time and only when texts are switched on. 422 with the reason for bad words or a bad link.
  • GET /fitincrm/book/{organization_id}/groups/{group_id}/text-audience · 必要性 workspace:readGroup Text AudienceWho of one group would get an offer by text today, and why the others would not - plus what the screen says beside it: whether texts are switched on, the length limit, the weekly limit.
  • GET /fitincrm/book/{organization_id}/texts · 必要性 workspace:readRead TextsThis business's text messages, newest first, each with a reason KEY; whether texts are switched on; and the business's own time zone for the screen's clock.
  • PUT /fitincrm/book/{organization_id}/texts/limits · 必要性 workspace:writeSet Text LimitsThe business's own people set (or clear) its text limits: the most offers one person gets in 7 days and the hours a text may go out on its own clock. It applies to texts sent from now on.
  • GET /fitincrm/contacts · 必要性 workspace:readList Contacts
  • POST /fitincrm/contacts · 必要性 workspace:writeCreate Contact
  • DELETE /fitincrm/contacts/{contact_id} · 必要性 workspace:writeDelete Contact
  • GET /fitincrm/deals · 必要性 workspace:readList Deals
  • POST /fitincrm/deals · 必要性 workspace:writeCreate Deal
  • PATCH /fitincrm/deals/{deal_id} · 必要性 workspace:writeUpdate Deal
  • GET /fitincrm/deals/{deal_id}/activities · 必要性 workspace:readList Activities
  • POST /fitincrm/deals/{deal_id}/activities · 必要性 workspace:writeCreate Activity
  • POST /fitincrm/deals/{deal_id}/stage · 必要性 workspace:writeMove Deal Stage
  • GET /fitincrm/my-organizations · 必要性 workspace:readMy Organizations
  • GET /fitincrm/pipeline-summary/{organization_id} · 必要性 workspace:readPipeline Summary
  • GET /fitinevents/events · 必要性 workspace:readList Events
  • POST /fitinevents/events · 必要性 workspace:writeCreate Event
  • GET /fitinevents/events/{event_id} · 必要性 workspace:readGet Event
  • PATCH /fitinevents/events/{event_id} · 必要性 workspace:writeUpdate Event
  • DELETE /fitinevents/events/{event_id} · 必要性 workspace:writeDelete Event
  • POST /fitinevents/events/{event_id}/cancel · 必要性 workspace:writeCancel Event
  • POST /fitinevents/events/{event_id}/open-to-public · 必要性 workspace:writeOpen Event To PublicMints the event's public slug. Publishing already made it real; this makes it REACHABLE - the door strangers register and pay through.
  • POST /fitinevents/events/{event_id}/publish · 必要性 workspace:writePublish Event
  • GET /fitinevents/events/{event_id}/registrations · 必要性 workspace:readList Registrations
  • POST /fitinevents/events/{event_id}/registrations · 必要性 workspace:writeRegister Attendee
  • GET /fitinevents/my-organizations · 必要性 workspace:readMy Organizations
  • GET /fitinevents/registrations/mine · 必要性 workspace:readMy SeatsTHE PERSON'S OWN SEATS (2026-09-11, the customer Space's "Elsewhere"): every event they hold a seat at, across every business, with the ticket code that IS their confirmation. A seat names its person only by the attendee's email - `registered_by` is the staff hand or 'public-registration', never the attendee - so ownership is the standing rule (own_identity): read on the system cursor, decided her…
  • POST /fitinevents/registrations/{registration_id}/cancel · 必要性 workspace:writeCancel Registration
  • POST /fitinevents/registrations/{ticket_code}/check-in · 必要性 workspace:writeCheck In
  • GET /fitingive/donations · 必要性 workspace:readList Donations
  • POST /fitingive/donations · 必要性 workspace:writeCreate Donation
  • GET /fitingive/donations/mine · 必要性 workspace:readMy Gifts
  • GET /fitingive/donations/mine/{donation_id}/receipt · 必要性 workspace:readMy Gift ReceiptThe giver's own copy of the church's receipt - the SAME renderer, so the two cannot differ. A gift not theirs is 404 (existence is not theirs to learn); a gift with no receipt says why.
  • DELETE /fitingive/donations/{donation_id} · 必要性 workspace:writeDelete Donation
  • GET /fitingive/donations/{donation_id}/receipt · 必要性 workspace:readDonation ReceiptThe printable receipt. Facts from the ledger row alone - amount, date, fund, the church's own name - plus the sentence US-style acknowledgment letters carry. Rendered for the CHURCH to print or save and hand over; nothing is emailed here (the mail rail is closed by ruling until launch).
  • POST /fitingive/donations/{donation_id}/receipt-sent · 必要性 workspace:writeMark Receipt Sent
  • GET /fitingive/donors · 必要性 workspace:readList Donors
  • POST /fitingive/donors · 必要性 workspace:writeCreate Donor
  • DELETE /fitingive/donors/{donor_id} · 必要性 workspace:writeDelete Donor
  • GET /fitingive/funds · 必要性 workspace:readList Funds
  • POST /fitingive/funds · 必要性 workspace:writeCreate Fund
  • PATCH /fitingive/funds/{fund_id} · 必要性 workspace:writeUpdate Fund
  • GET /fitingive/grants · 必要性 workspace:readList Grants
  • POST /fitingive/grants · 必要性 workspace:writeCreate Grant
  • DELETE /fitingive/grants/{grant_id} · 必要性 workspace:writeDelete Grant
  • POST /fitingive/grants/{grant_id}/status · 必要性 workspace:writeMove Grant Status
  • GET /fitingive/my-organizations · 必要性 workspace:readMy Organizations
  • GET /fitingive/summary/{organization_id} · 必要性 workspace:readSummary
  • GET /fitinkb/articles · 必要性 workspace:readList Articles
  • POST /fitinkb/articles · 必要性 workspace:writeCreate Article
  • GET /fitinkb/articles/{article_id} · 必要性 workspace:readGet Article
  • PATCH /fitinkb/articles/{article_id} · 必要性 workspace:writeUpdate Article
  • DELETE /fitinkb/articles/{article_id} · 必要性 workspace:writeDelete Article
  • POST /fitinkb/articles/{article_id}/publish · 必要性 workspace:writePublish Article
  • POST /fitinkb/articles/{article_id}/unpublish · 必要性 workspace:writeUnpublish Article
  • GET /fitinkb/categories · 必要性 workspace:readList Categories
  • POST /fitinkb/categories · 必要性 workspace:writeCreate Category
  • PATCH /fitinkb/categories/{category_id} · 必要性 workspace:writeUpdate Category
  • DELETE /fitinkb/categories/{category_id} · 必要性 workspace:writeDelete Category
  • GET /fitinkb/my-organizations · 必要性 workspace:readMy Organizations
  • GET /fitinkb/search · 必要性 workspace:readSearch Articles
  • GET /fitinsign · 必要性 workspace:readList Documents
  • POST /fitinsign · 必要性 workspace:writeCreate Document
  • GET /fitinsign/my-organizations · 必要性 workspace:readMy Organizations
  • GET /fitinsign/sign/{token} · 必要性 workspace:readView Signing Link
  • POST /fitinsign/sign/{token} · 必要性 workspace:writeSign Document
  • POST /fitinsign/sign/{token}/decline · 必要性 workspace:writeDecline Document
  • GET /fitinsign/{document_id}/download · 必要性 workspace:readDownload Document File
  • GET /fitinsign/{document_id}/events · 必要性 workspace:readList Events
  • POST /fitinsign/{document_id}/send · 必要性 workspace:writeSend Document
  • POST /fitinsign/{document_id}/upload · 必要性 workspace:writeUpload Document File
  • POST /fitinsign/{document_id}/void · 必要性 workspace:writeVoid Document
  • GET /hiring/applications · 必要性 workspace:readList Applications
  • POST /hiring/applications/{application_id}/fit-summary · 必要性 workspace:writeFit SummaryWORDS WITH EVIDENCE, never a score, never a decision - automated employment decisions are regulated territory (NYC LL144 and kin) and 'no model writes a decision' is this platform's own law. The summary quotes what the applicant SAID against what the post ASKS, names what is unknown, and the staff member decides. Runs on the staff member's own click (the /open precedent for a synchronous model cal…
  • POST /hiring/applications/{application_id}/hire · 必要性 workspace:writeHire ApplicantThe rail's destination: one move mints ST1's employee record and the sign-in invite. The application keeps the whole story - who applied, when, and what they became.
  • POST /hiring/applications/{application_id}/interview · 必要性 workspace:writeSchedule Interview
  • POST /hiring/applications/{application_id}/offer · 必要性 workspace:writeMake OfferThe offer LETTER is a deterministic draft from the owner's own data - no model writes a decision. Delivery is the owner's (the mail rail is gated); the screen says so.
  • POST /hiring/applications/{application_id}/reject · 必要性 workspace:writeReject Application
  • GET /hiring/applications/{application_id}/resume · 必要性 workspace:readRead Resume
  • GET /hiring/internal-openings · 必要性 workspace:readInternal OpeningsST7: published internal-first posts, visible to the signed-in team only - the promotion path a cashier can actually see.
  • GET /hiring/posts · 必要性 workspace:readList Posts
  • POST /hiring/posts · 必要性 workspace:writeCreate Post
  • PATCH /hiring/posts/{post_id} · 必要性 workspace:writeUpdate Post
  • POST /hiring/posts/{post_id}/interview-questions · 必要性 workspace:writeDraft Interview QuestionsQuestion DRAFTS from the post's own requirements, for the human interviewer - stored on the post so the whole team asks from one sheet.
  • GET /hris/employees · 必要性 workspace:readList Employees
  • POST /hris/employees · 必要性 workspace:writeCreate Employee
  • GET /hris/employees/{employee_id} · 必要性 workspace:readGet Employee
  • PATCH /hris/employees/{employee_id} · 必要性 workspace:writeUpdate Employee
  • DELETE /hris/employees/{employee_id} · 必要性 workspace:writeDelete Employee
  • GET /hris/employees/{employee_id}/direct-reports · 必要性 workspace:readList Direct Reports
  • POST /hris/employees/{employee_id}/invite · 必要性 workspace:writeInvite Employee
  • POST /hris/employees/{employee_id}/on-leave · 必要性 workspace:writeMark On Leave
  • POST /hris/employees/{employee_id}/rehire · 必要性 workspace:writeRehire EmployeeEH1 - THE WAY BACK. The SAME employee row returns, so reviews, warnings, documents and transitions stay one unbroken record; the old ending folds into the transition history instead of being erased. Sign-in access does NOT return by itself - it died with the termination, and a fresh invite is the honest way in.
  • POST /hris/employees/{employee_id}/reinstate · 必要性 workspace:writeReinstate Employee
  • POST /hris/employees/{employee_id}/terminate · 必要性 workspace:writeTerminate Employee
  • GET /hris/locations · 必要性 workspace:readList Locations
  • POST /hris/locations · 必要性 workspace:writeCreate Location
  • PATCH /hris/locations/{location_id} · 必要性 workspace:writeUpdate Location
  • GET /hris/my-organizations · 必要性 workspace:readMy Organizations
  • GET /hris/public/staff-invite/{code} · 必要性 workspace:readRead Staff InviteThe join page's data - org and employee NAME only, never the roster. No auth: the code is unguessable and this reveals exactly what the invitee already knows.
  • POST /hris/staff-invite/{code}/claim · 必要性 workspace:writeClaim Staff InviteSigned in (fresh from signup or not), the code becomes a key: the login links to the employee record and org membership is minted. System cursor - the claimant is by definition not yet a member, so RLS correctly cannot see the rows.
  • POST /id-cards/employees/{employee_id}/card · 必要性 workspace:writeMake CardCompose (or re-compose) the card. Reuses the employee's standing employment verification or mints one - the QR is that verification's public link, so ONE revocation story covers the card and the reference letter alike.
  • GET /id-cards/employees/{employee_id}/card.png · 必要性 workspace:readRead Card
  • POST /id-cards/employees/{employee_id}/photo · 必要性 workspace:writeSet Photo
  • GET /network/directory · 必要性 workspace:readDirectoryEvery org with a LIVE storefront that has not stepped out of the directory. Served through the public-read context because every fact here is already on a public page - being signed in is required only because the directory is a tenant-space tool.
  • POST /network/partnerships · 必要性 workspace:writePropose Partnership
  • GET /network/partnerships · 必要性 workspace:readList PartnershipsBoth directions, with the counterpart named and the referral evidence counted from the click ledger - a real count of recorded rows, never an estimate.
  • POST /network/partnerships/{partnership_id}/connect-supplier · 必要性 workspace:writeConnect SupplierTurns an ACCEPTED supplier partnership into a supplier row the buying org syncs from. New items always land as DRAFTS here (auto_publish=false) - the tenant's existing supplier dial flips that, behind the same publish gate every go-live passes through.
  • POST /network/partnerships/{partnership_id}/decide · 必要性 workspace:writeDecide PartnershipTHE SECOND HAND. Only the RECEIVING org's owner decides - the proposer holding both pens would make the two-hand a fiction.
  • POST /network/partnerships/{partnership_id}/end · 必要性 workspace:writeEnd PartnershipEither side's owner may end an accepted partnership. History stays - the row becomes 'ended', it does not vanish, and a fresh proposal is possible afterwards.
  • POST /network/partnerships/{partnership_id}/storefront · 必要性 workspace:writeToggle StorefrontEach side dials its OWN storefront only - the partner's page is the partner's design.
  • PUT /network/profile/{organization_id} · 必要性 workspace:writeSet Profile
  • POST /staff-time/clock · 必要性 workspace:writeClockThe employee's own login toggles their own clock - in if out, out if in.
  • POST /staff-time/employees/{employee_id}/kiosk-pin · 必要性 workspace:writeSet Kiosk PinThe OWNER or a manager sets it and hands it over - never self-set, never readable back (a hash is stored). A duplicate PIN in the same org is refused: the PIN is the identity at the kiosk.
  • POST /staff-time/kiosk-clock · 必要性 workspace:writeKiosk ClockThe store tablet (signed in as any team member) clocks whoever scans their card or, with no card to hand, enters their PIN. The card or the PIN identifies the EMPLOYEE; the signed-in session only proves the device belongs to the org - a stranger's tablet cannot fish for PINs or replay cards. ONE door, ONE writer: both paths resolve an employee and hand it to `_toggle_clock`, the same arithmetic th…
  • GET /staff-time/pto · 必要性 workspace:readList Pto
  • POST /staff-time/pto · 必要性 workspace:writeRequest Pto
  • POST /staff-time/pto/{request_id}/decide · 必要性 workspace:writeDecide Pto
  • GET /staff-time/shifts · 必要性 workspace:readList Shifts
  • POST /staff-time/shifts · 必要性 workspace:writeCreate Shift
  • DELETE /staff-time/shifts/{shift_id} · 必要性 workspace:writeDelete Shift
  • GET /staff-time/timesheet · 必要性 workspace:readTimesheet
  • GET /storefront-blog/audience · 必要性 workspace:readAudience
  • GET /storefront-blog/issues · 必要性 workspace:readList Issues
  • POST /storefront-blog/issues/from-post/{post_id} · 必要性 workspace:writeIssue From PostDrafts an issue from a published post: the post's title as subject, its HTML as the body, plus the mandatory unsubscribe footer every real newsletter carries.
  • POST /storefront-blog/issues/{issue_id}/simulate-send · 必要性 workspace:writeSimulate SendThe gated 'send': records the real active-subscriber count and marks the issue sent_simulated. NO EMAIL LEAVES THE PLATFORM - real dispatch waits for the standing real-communications sign-off, and will slot in behind this same issue model.
  • GET /storefront-blog/posts · 必要性 workspace:readList Posts
  • POST /storefront-blog/posts · 必要性 workspace:writeCreate Post
  • PATCH /storefront-blog/posts/{post_id} · 必要性 workspace:writeUpdate Post
  • DELETE /storefront-blog/posts/{post_id} · 必要性 workspace:writeDelete Post
  • POST /storefront-blog/posts/{post_id}/publish · 必要性 workspace:writeToggle Publish
  • POST /storefront-campaigns/compose · 必要性 workspace:writeCompose CampaignAI-drafts a campaign from a plain brief - subject + simple HTML paragraphs - and saves it as an editable DRAFT issue. The composer never sends anything.
  • PATCH /storefront-campaigns/issues/{issue_id} · 必要性 workspace:writeEdit Issue
  • GET /storefront-campaigns/subscribers · 必要性 workspace:readList Subscribers
  • POST /storefront-campaigns/subscribers/bulk-add · 必要性 workspace:writeBulk AddAdds emails the tenant already has a relationship with. Honest accounting: invalid addresses and existing subscribers are counted, never silently swallowed.
  • POST /storefront-campaigns/subscribers/{subscriber_id}/remove · 必要性 workspace:writeMember RemoveMember-initiated removal marks unsubscribed rather than deleting - the audit-friendly shape, and the person never silently reappears via a later bulk-add.
  • POST /storefront-campaigns/subscribers/{subscriber_id}/tags · 必要性 workspace:writeSet Tags
  • GET /storefront-links/links · 必要性 workspace:readList Links
  • POST /storefront-links/links · 必要性 workspace:writeCreate Link
  • PATCH /storefront-links/links/{link_id} · 必要性 workspace:writeUpdate Link
  • DELETE /storefront-links/links/{link_id} · 必要性 workspace:writeDelete Link
  • GET /storefront-links/short · 必要性 workspace:readList Short Links
  • POST /storefront-links/short · 必要性 workspace:writeCreate Short Link
  • PATCH /storefront-links/short/{code} · 必要性 workspace:writeToggle Short Link
  • GET /tenant-data/export/{organization_id}/contacts.csv · 必要性 workspace:readExport Contacts
  • GET /tenant-data/export/{organization_id}/manifest · 必要性 workspace:readExport ManifestWhat the org owns, counted from the real tables. Always available - no meeting, no retention call, no waiting period. The counts name what the CSVs carry out.
  • GET /tenant-data/export/{organization_id}/products.csv · 必要性 workspace:readExport Products
  • POST /tenant-data/import · 必要性 workspace:writeStart Import
  • POST /tenant-data/import/{job_id}/apply · 必要性 workspace:writeApply ImportTHE SECOND HAND. Writes through the writers that already exist, drafts always, and returns an honest tally - a row that could not land is reported by line, not dropped.
  • POST /tenant-data/import/{job_id}/discard · 必要性 workspace:writeDiscard Import
  • PATCH /tenant-data/import/{job_id}/mapping · 必要性 workspace:writeEdit MappingThe human hand on the mapping. Every column it touches is re-labelled 'hand' - an AI guess survives only where the owner left it standing.
  • GET /tenant-data/imports · 必要性 workspace:readList Imports
  • GET /theme · 必要性 workspace:readGet Theme
  • GET /theme/analytics-tag · 必要性 workspace:readRead Tag
  • PUT /theme/analytics-tag · 必要性 workspace:writeSet Tag
  • GET /theme/domains · 必要性 workspace:readList Domains
  • POST /theme/domains/claim · 必要性 workspace:writeClaim DomainStart (or restart) ownership verification for a domain. Re-claiming an existing PENDING row keeps its token, so a tenant who already published the TXT record and comes back later does not have to edit their DNS again. A VERIFIED row is returned untouched - re-issuing a token there would spuriously un-verify a working domain.
  • POST /theme/domains/use · 必要性 workspace:writeUse DomainPut a proven address on the site's draft - the owner's act; it is live once the owner publishes.
  • POST /theme/domains/verify · 必要性 workspace:writeVerify DomainPerform the REAL DNS lookup and record the outcome.
  • DELETE /theme/domains/{domain} · 必要性 workspace:writeRemove DomainWithdraw a claim. Routing stops immediately, because both the routing lookup and the certificate gate require a verified row to exist.
  • PATCH /theme/draft · 必要性 workspace:writeUpdate Theme Draft
  • GET /theme/live · 必要性 workspace:readGet Live ThemeDashboard-only auth for now. The response contract is shaped so a future genuinely-public variant only swaps the auth dependency (JWT -> domain-resolved org) -- the body never changes. Returns empty defaults rather than 404 when nothing has been published yet, so a future public renderer degrades gracefully.
  • POST /theme/logo · 必要性 workspace:writeUpload Theme Logo
  • GET /theme/logo · 必要性 workspace:readGet Theme Logo
  • GET /theme/my-organizations · 必要性 workspace:readMy Organizations
  • GET /theme/pages · 必要性 workspace:readGet PagesEverything the page editor shows, read here and only here: each page's draft, what is live, and the default a store starts from; the kinds; the images the gallery may pick; this business's block translations; and the contrast reading of the draft's block colours.
  • POST /theme/pages/images · 必要性 workspace:writeUpload Page ImageOne of the store's own images for a gallery block. The words a screen reader says are REQUIRED: an image with no alt text is a picture a blind visitor cannot see.
  • GET /theme/pages/images/{image_id} · 必要性 workspace:readGet Page ImageThe editor's own view of an uploaded image - a member's, through the wall.
  • POST /theme/pages/own · 必要性 workspace:writeAdd Own PageThe owner adds a page of their own: its word is made from the title, and it lands on the DRAFT with one hero saying that title. Nothing a visitor sees changes until the theme is published - like the about page, an own page does not exist until then.
  • PUT /theme/pages/{page} · 必要性 workspace:writeSave Page DraftThe page's draft block list, saved whole (the order IS the list). Nothing a visitor sees changes until the theme is published - the ONE publish write carries the pages.
  • DELETE /theme/pages/{page} · 必要性 workspace:writeReset Page DraftBack to the default: the page's key leaves the draft, so the next publish serves the computed default again (for the home) or no page at all (for the about page).
  • PUT /theme/pages/{page}/blocks/{block_id}/translations/{locale} · 必要性 workspace:writeWrite Block TranslationA person's own translation of a block's words, FIELD BY FIELD, into 572's one store: a person who writes a translation has approved it by writing it (`human_reviewed`, named). A field left out keeps what it had; a field sent empty is removed, so the source shows again.
  • GET /theme/pixels · 必要性 workspace:readRead Pixels DoorThe desk: each kind on the draft and on the live theme, the hosts the draft would reach, the dial.
  • PUT /theme/pixels · 必要性 workspace:writeSet PixelsSave the four ids on the DRAFT theme - every kind through the one gate before any write.
  • GET /theme/preview · 必要性 workspace:readPreview Theme`page` accepted and currently unused (no public pages exist yet) -- always returns the draft snapshot. Swapping in real page-specific rendering later changes only the response body, not the URL contract callers already use.
  • POST /theme/publish · 必要性 workspace:writePublish Theme
  • GET /theme/site-analytics · 必要性 workspace:readSite AnalyticsLast-30-days storefront traffic for the org's own members. Aggregated daily counters only -- there is no per-visitor data to show, by design. Human and crawler traffic are reported SEPARATELY (migration 262). `unclassified` is traffic recorded before bot separation existed; it is a genuine mixture, so it is neither hidden nor folded into the human figure, and it ages out of the 30-day window by i…
  • GET /theme/site-funnel · 必要性 workspace:readSite FunnelLast-30-days conversion funnel for this org's storefront. Three real stages, from data that already exists (no new table): page views (human only) -> intent started -> intent claimed HONEST ABOUT WHAT STAGE 1 IS. site_visit_daily counts PAGE VIEWS, not unique visitors - there is deliberately no per-visitor record to count. One person browsing four pages is four views. So the view->inten…
  • GET /theme/site-preview · 必要性 workspace:readSite PreviewThe Theme Editor's real-storefront preview: same payload shape as the public GET /public/site/{slug}, but themed with the org's DRAFT instead of its live version. Authenticated + membership-checked -- drafts never leak to anonymous visitors; the public content blocks are collected through the same public-read cursor the real storefront uses, so preview can't show anything the live site wouldn't.
  • GET /theme/site-preview-detail · 必要性 workspace:readSite Preview DetailPer-PAGE draft preview (STOREFRONT_GAPS "Per-PAGE preview targets"): the storefront's course / service / event / product detail pages, rendered by the editor's iframe with the DRAFT theme even before the site is published. Same membership gate as /site-preview; the detail rows come from the very loaders the public endpoints use, through the same public-read cursor - so a preview can never reveal a…
  • GET /theme/site-speed · 必要性 workspace:readSite SpeedTime the live store now. A member's door; nothing is stored.
  • GET /theme/site-state · 必要性 workspace:readGet Site StateThe Site front card's one reader: per business of the caller's (or the one named), its state, its address word and when it went live. A business with no theme row yet is a draft.
  • GET /theme/versions · 必要性 workspace:readList Theme Versions
  • POST /theme/versions/duplicate · 必要性 workspace:writeDuplicate Theme VersionSaves a named, unpublished copy of an existing version into the library -- does not touch the current draft or the live pointer (rollback covers restores).
  • POST /theme/versions/rollback · 必要性 workspace:writeRollback Theme VersionCopy-forward rollback: creates a NEW version row that becomes live, and resets the draft to match, so the editor never shows a stale draft silently diverging from the just-restored live state. History is never rewritten.
  • GET /translate/audio · 必要性 workspace:readList Jobs
  • POST /translate/audio · 必要性 workspace:writeUpload Audio
  • GET /translate/audio/{job_id}/download · 必要性 workspace:readDownload
  • POST /translate/audio/{job_id}/dub · 必要性 workspace:writeCreate Dub
  • POST /translate/audio/{job_id}/dub-consent · 必要性 workspace:writeFile Dub Consent
  • GET /translate/documents · 必要性 workspace:readList Jobs
  • POST /translate/documents · 必要性 workspace:writeCreate Job
  • GET /translate/documents/{job_id}/download · 必要性 workspace:readDownload Result
  • GET /translate/images · 必要性 workspace:readList Jobs
  • POST /translate/images · 必要性 workspace:writeUpload Image
  • GET /translate/images/{job_id}/download · 必要性 workspace:readDownload
  • GET /wallet-passes/issuances/{issuance_id} · 必要性 workspace:readGet Issuance
  • GET /wallet-passes/issuances/{issuance_id}/pass-payload · 必要性 workspace:readGet Pass PayloadReal, correctly-structured pass content, honestly labeled unsigned unless a real credential is genuinely configured (checked live, never assumed).
  • POST /wallet-passes/issuances/{issuance_id}/revoke · 必要性 workspace:writeRevoke Issuance
  • GET /wallet-passes/my-organizations · 必要性 workspace:readMy Organizations
  • GET /wallet-passes/signing-status · 必要性 workspace:readSigning StatusReal, live-checked readiness — never a cached/assumed value.
  • GET /wallet-passes/templates · 必要性 workspace:readList Templates
  • POST /wallet-passes/templates · 必要性 workspace:writeCreate Template
  • GET /wallet-passes/templates/{template_id} · 必要性 workspace:readGet Template
  • PATCH /wallet-passes/templates/{template_id} · 必要性 workspace:writeUpdate Template
  • DELETE /wallet-passes/templates/{template_id} · 必要性 workspace:writeDelete Template
  • GET /wallet-passes/templates/{template_id}/issuances · 必要性 workspace:readList Issuances
  • POST /wallet-passes/templates/{template_id}/issuances · 必要性 workspace:writeCreate Issuance
  • POST /watch · 必要性 workspace:writeCreate Watch
  • GET /watch · 必要性 workspace:readWatch BoardThe board. Opening it takes at most ONE lawful look per watch per interval; inside the interval the last snapshot is re-read instead of the rival's server. Changes are the diff of the two latest OK snapshots, with the readings as evidence.
  • POST /watch/field-intel · 必要性 workspace:writeAdd Field Intel
  • PATCH /watch/field-intel/{intel_id} · 必要性 workspace:writeCorrect Field IntelThe tenant's hand corrects the AI's reading - and the origin says so.
  • PATCH /watch/{watch_id} · 必要性 workspace:writeUpdate Watch
  • POST /workspace-documents/approvals/{approval_id}:decide · 必要性 workspace:writeDecide Approval
  • PATCH /workspace-documents/collaborators/{collaborator_id} · 必要性 workspace:writePatch Collaborator
  • DELETE /workspace-documents/collaborators/{collaborator_id} · 必要性 workspace:writeRevoke Collaborator
  • POST /workspace-documents/collaborators/{collaborator_id}:respond · 必要性 workspace:writeRespond Invite
  • DELETE /workspace-documents/comments/{comment_id} · 必要性 workspace:writeDelete Comment
  • POST /workspace-documents/comments/{comment_id}:reopen · 必要性 workspace:writeReopen Comment
  • POST /workspace-documents/comments/{comment_id}:resolve · 必要性 workspace:writeResolve Comment
  • POST /workspace-documents/projects/{project_id}/approvals · 必要性 workspace:writeRequest Approval
  • POST /workspace-documents/projects/{project_id}/collaborators · 必要性 workspace:writeAdd Collaborator
  • GET /workspace-documents/projects/{project_id}/comments · 必要性 workspace:readList Comments
  • POST /workspace-documents/projects/{project_id}/comments · 必要性 workspace:writeAdd Comment
  • POST /workspace-documents/projects/{project_id}/share-links · 必要性 workspace:writeCreate Share Link
  • GET /workspace-documents/projects/{project_id}/sharing · 必要性 workspace:readGet Sharing
  • PATCH /workspace-documents/projects/{project_id}/sharing · 必要性 workspace:writePatch Sharing
  • POST /workspace-documents/projects/{project_id}:restore · 必要性 workspace:writeRestore Project
  • POST /workspace-documents/projects/{project_id}:takedown · 必要性 workspace:writeTakedown Project
  • POST /workspace-documents/reports · 必要性 workspace:writeFile Report
  • GET /workspace-documents/reports · 必要性 workspace:readList Reports
  • PATCH /workspace-documents/reports/{report_id} · 必要性 workspace:writePatch Report
  • DELETE /workspace-documents/share-links/{link_id} · 必要性 workspace:writeRevoke Share Link
  • GET /workspace-documents/shared-with-me · 必要性 workspace:readShared With Me
  • GET /workspace/audit · 必要性 workspace:readList Audit EventsRelies entirely on audit_events' own RLS policy (migration 009) to scope results to orgs the caller is a member of, or everything for the platform owner role - no additional filtering needed here.
  • GET /workspace/automations · 必要性 workspace:readList Automations
  • POST /workspace/automations · 必要性 workspace:writeCreate Automation
  • GET /workspace/automations/catalog · 必要性 workspace:readCatalogWhat can be built. Named on the screen so a tenant is choosing from what exists rather than imagining what might.
  • DELETE /workspace/automations/{automation_id} · 必要性 workspace:writeDelete Automation
  • PATCH /workspace/automations/{automation_id}/active · 必要性 workspace:writeSet Active
  • POST /workspace/automations/{automation_id}/test · 必要性 workspace:writeTest AutomationWould this rule have matched? Evaluates the conditions and performs NOTHING. A rule people cannot try before trusting is a rule they will not trust - and the only safe way to offer that is a path that cannot create anything at all.
  • GET /workspace/booking/bookings · 必要性 workspace:readList BookingsThe status filter belongs HERE, not on the screen. The screen showed only confirmed bookings and filtered the list after fetching it. That is harmless while the list is whole and wrong the moment it is a page: the pager would count every booking including cancelled ones and announce "showing 1-25 of 40" above a list of six. A pager that miscounts is worse than no pager - it is a number people tru…
  • POST /workspace/booking/bookings/{booking_id}/cancel · 必要性 workspace:writeCancel Booking
  • GET /workspace/booking/types · 必要性 workspace:readList Types
  • POST /workspace/booking/types · 必要性 workspace:writeCreate Type
  • PATCH /workspace/booking/types/{type_id} · 必要性 workspace:writeUpdate Type
  • DELETE /workspace/booking/types/{type_id} · 必要性 workspace:writeDelete Type
  • PUT /workspace/booking/types/{type_id}/availability · 必要性 workspace:writeSet Availability
  • GET /workspace/brand-kits · 必要性 workspace:readList Brand KitsReal Brand Kit Manager (Workspace tools manifest id 79) - a personal registry of brand guidelines (palette, voice, logo) other AI-drafting tools across the platform can eventually reference, closing a real, previously-nonexistent gap. Never exposes logo_storage_path (a raw filesystem path), matching AuthorProfileOut's own established precedent.
  • POST /workspace/brand-kits · 必要性 workspace:writeCreate Brand Kit
  • PATCH /workspace/brand-kits/{kit_id} · 必要性 workspace:writeUpdate Brand Kit
  • DELETE /workspace/brand-kits/{kit_id} · 必要性 workspace:writeDelete Brand Kit
  • POST /workspace/brand-kits/{kit_id}/logo · 必要性 workspace:writeUpload Brand Kit LogoReal logo upload, same enhance_image() + local-disk pattern already proven for Publishers' house logo (publishers_foundation.py).
  • GET /workspace/brand-kits/{kit_id}/logo · 必要性 workspace:readGet Brand Kit Logo
  • GET /workspace/business-bubble · 必要性 workspace:readBusiness Bubble
  • POST /workspace/business-bubble/ack · 必要性 workspace:writeBusiness Bubble Ack
  • GET /workspace/calendar/calendars · 必要性 workspace:readList Calendars
  • POST /workspace/calendar/calendars · 必要性 workspace:writeCreate Calendar
  • POST /workspace/calendar/check-conflicts · 必要性 workspace:writeCheck ConflictsWhat would this new event collide with? Advisory - it never refuses the booking. Double-booking is sometimes deliberate, and a calendar that forbids it is one people work around by not using it.
  • GET /workspace/calendar/events · 必要性 workspace:readList Events
  • POST /workspace/calendar/events · 必要性 workspace:writeCreate Event
  • PATCH /workspace/calendar/events/{event_id} · 必要性 workspace:writeUpdate Event
  • DELETE /workspace/calendar/events/{event_id} · 必要性 workspace:writeDelete Event
  • POST /workspace/calendar/events/{event_id}/respond · 必要性 workspace:writeRespondYour answer, and only yours. The policy allows nobody else to write this row.
  • GET /workspace/calendar/free-busy · 必要性 workspace:readFree BusyWhen am I actually busy? Declined invitations and cancelled events are not busy. A conflict check that counts them tells people they are unavailable when they are free, and the first time somebody is told they are busy during an hour they know is empty, they stop believing the calendar.
  • GET /workspace/compliance-audit · 必要性 workspace:readList Compliance Audit EventsSame real audit_events table and the same RLS-only access control as list_audit_events above - the compliance lens is purely a WHERE filter on `action`'s real dotted-domain prefix, no new schema or migration.
  • GET /workspace/contacts · 必要性 workspace:readList ContactsReal personal contacts registry (Workspace tools manifest id 26, FitinContacts) - same personal-by-default scoping as Notes/Task Registry, mirrored field-for-field from workspace_note.
  • POST /workspace/contacts · 必要性 workspace:writeCreate Contact
  • PATCH /workspace/contacts/{contact_id} · 必要性 workspace:writeUpdate Contact
  • DELETE /workspace/contacts/{contact_id} · 必要性 workspace:writeDelete Contact
  • GET /workspace/docker-status · 必要性 workspace:readDocker StatusReal host-level Docker introspection (Workspace tools manifest id 112) - shells out to the real `docker ps` CLI (a fixed, hardcoded command with no interpolated input, matching tools.py's own nvidia-smi subprocess pattern), never fabricated. Local-dev-only infrastructure - this reports on whatever's genuinely running on THIS machine, not a remote fleet.
  • GET /workspace/emperor-bubble · 必要性 workspace:readEmperor Bubble
  • POST /workspace/emperor-bubble/ack · 必要性 workspace:writeEmperor Bubble Ack
  • GET /workspace/emperor-day · 必要性 workspace:readEmperor DayThe owner's day, in `EMPEROR_LINES` order.
  • GET /workspace/files · 必要性 workspace:readList Files
  • POST /workspace/files · 必要性 workspace:writeUpload File
  • POST /workspace/files/ai-draft · 必要性 workspace:writeCreate Ai Drafted Document
  • POST /workspace/files/blank · 必要性 workspace:writeCreate Blank Document
  • DELETE /workspace/files/{file_id} · 必要性 workspace:writeDelete File
  • POST /workspace/files/{file_id}/analyze-spreadsheet · 必要性 workspace:writeAnalyze Spreadsheet
  • GET /workspace/files/{file_id}/download · 必要性 workspace:readDownload File
  • POST /workspace/files/{file_id}/draft-suggestion · 必要性 workspace:writeSuggest
  • POST /workspace/files/{file_id}/draft-suggestion/{suggestion_id}/accept · 必要性 workspace:writeAccept
  • POST /workspace/files/{file_id}/office-callback · 必要性 workspace:writeOffice CallbackCalled directly by the OnlyOffice Document Server, not by a Fitinty session. Must respond {"error": 0} regardless of outcome, per OnlyOffice's own callback contract.
  • GET /workspace/files/{file_id}/office-config · 必要性 workspace:readGet Office Config
  • GET /workspace/files/{file_id}/office-content · 必要性 workspace:readGet Office ContentFetched directly by the OnlyOffice Document Server container - no Fitinty session available, so access is gated by a short-lived HMAC-signed token instead.
  • GET /workspace/files/{file_id}/text · 必要性 workspace:readFile Text
  • GET /workspace/forms · 必要性 workspace:readList Forms
  • POST /workspace/forms · 必要性 workspace:writeCreate Form
  • POST /workspace/forms/purge-expired · 必要性 workspace:writePurge ExpiredEnforces the retention promise. Retention that is only ever displayed is not retention. This is callable by the form owner and is safe to run repeatedly; RLS confines it to that owner's own forms, so it can never reach across tenants even if it is called by the wrong person.
  • GET /workspace/forms/templates/catalog · 必要性 workspace:readTemplate CatalogThe starter shelf - key, title, why, and the question count, never the full definitions (the builder shows those after the mint, where they are editable).
  • POST /workspace/forms/templates/{key} · 必要性 workspace:writeCreate From TemplateMint a DRAFT form from a template. An unknown key is refused - the catalog is the picker, never free text (the silent-zero lesson).
  • GET /workspace/forms/{form_id} · 必要性 workspace:readGet Form
  • PATCH /workspace/forms/{form_id} · 必要性 workspace:writeUpdate Form
  • DELETE /workspace/forms/{form_id} · 必要性 workspace:writeDelete Form
  • POST /workspace/forms/{form_id}/analyze · 必要性 workspace:writeAnalyze Responses
  • GET /workspace/forms/{form_id}/export.csv · 必要性 workspace:readExport Csv
  • PUT /workspace/forms/{form_id}/fields · 必要性 workspace:writeReplace FieldsThe builder saves the whole question list at once. Ids are preserved where the client sends one, because a field id is what an already-submitted answer is filed under. Regenerating them on every save would orphan every response the form has already collected.
  • GET /workspace/forms/{form_id}/responses · 必要性 workspace:readList Responses
  • DELETE /workspace/forms/{form_id}/responses/{response_id} · 必要性 workspace:writeDelete Response
  • GET /workspace/forms/{form_id}/summary · 必要性 workspace:readForm Summary
  • GET /workspace/health · 必要性 workspace:readFull HealthEverything, with the addresses and the topology. Owner only — this describes the Forge.
  • GET /workspace/health/service/{key} · 必要性 workspace:readService HealthDeliberately tenant-readable, and deliberately narrow. A tenant is entitled to know why the thing they just clicked is not working — that is the entire point of this wave. What they are NOT given is the address, the host, or anything else about Fitinty's infrastructure: `status`, `label` and `breaks` are the whole payload a screen needs, and the screens ask for exactly the one service they are ab…
  • GET /workspace/home-charts · 必要性 workspace:readHome Charts
  • GET /workspace/home-trends · 必要性 workspace:readHome TrendsThe tenant home's org-level series (AN3) - storefront visitors, subscribers, link clicks, event registrations - from the series spine, beside the pulse rather than inside it so the heartbeat stays fast. A read failure is a sentence, not a missing section.
  • GET /workspace/local-ports · 必要性 workspace:readLocal PortsReal host-level listening-port introspection (Workspace tools manifest id 117) - reuses the exact `psutil` dependency Tools' own hardware telemetry already proved works on this machine, in the same lazy-import-with-graceful-fallback style. Local-dev-only infrastructure, matching Docker Status (id 112) - reports on whatever's genuinely listening on THIS machine right now, not a remote fleet. Proces…
  • GET /workspace/meetings · 必要性 workspace:readList Meetings
  • POST /workspace/meetings · 必要性 workspace:writeCreate Meeting
  • GET /workspace/meetings/capacity · 必要性 workspace:readCapacityWhat standing up Fitinty-hosted rooms would actually require. Owner only - these are infrastructure decisions, not tenant settings.
  • GET /workspace/meetings/hosted-status · 必要性 workspace:readRead Hosted StatusReadable by any tenant: somebody who cannot create a Fitinty room deserves to know why, and that it is a platform state rather than something wrong with their account.
  • PATCH /workspace/meetings/{meeting_id} · 必要性 workspace:writeUpdate Meeting
  • DELETE /workspace/meetings/{meeting_id} · 必要性 workspace:writeDelete Meeting
  • GET /workspace/my-businesses · 必要性 workspace:readMy BusinessesYOUR BUSINESSES (Step 3 piece 5a): every business this person has a seat in, oldest first, with the seat - the one answer (people.businesses_of) every pillar's own `/my-organizations` door now gives.
  • GET /workspace/my-pillars · 必要性 workspace:readMy PillarsWhat the sidebar folds by (his ruling, 2026-10-07: a business's own tools first, the rest under "More tools"): the pillars a business can be MEASURED in, and the ones its businesses are PRESENT in. An unread presence is None - and None folds nothing.
  • GET /workspace/my-tenants · 必要性 workspace:readList My TenantsReal cross-pillar aggregator (Workspace tools manifest id 55, "Tenant Dashboard") - queries each pillar's own real tenant/membership tables directly (see _TENANT_QUERIES) and merges the results. No new schema, no fabricated data - a genuinely empty pillar section here means the caller really has no tenant there.
  • GET /workspace/notes · 必要性 workspace:readList Notes
  • POST /workspace/notes · 必要性 workspace:writeCreate Note
  • PATCH /workspace/notes/{note_id} · 必要性 workspace:writeUpdate Note
  • DELETE /workspace/notes/{note_id} · 必要性 workspace:writeDelete Note
  • GET /workspace/pages · 必要性 workspace:readList PagesThe pages this person may see - the wall decides; the list says when it stops (pagination.capped).
  • GET /workspace/pages/{page_id}/frame-url · 必要性 workspace:readFrame UrlA signed, short-lived address for the frame - the vault's own signature; another business's page is a 404.
  • GET /workspace/payments · 必要性 workspace:readList PaymentsFitintyPay Control Center (manifest item 89) - a real, owner-only, read-only view of real Stripe TEST-mode transactions, sourced live from Medusa's own admin API (the same integration Marketplace checkout already uses). Deliberately read-only - no payout/refund/capture action exists here. Real money movement stays hard-blocked regardless of the 2026-08-01 "ignore all locks" instruction - that inst…
  • POST /workspace/perfection-reviews · 必要性 workspace:writeCreate Review
  • GET /workspace/perfection-reviews · 必要性 workspace:readList Reviews
  • GET /workspace/perfection-reviews/{review_id} · 必要性 workspace:readGet Review
  • POST /workspace/perfection-reviews/{review_id}/advance · 必要性 workspace:writeAdvance ReviewRun the current Council stage's review (draft/audit/verify) and advance.
  • POST /workspace/perfection-reviews/{review_id}/reject · 必要性 workspace:writeReject Review
  • POST /workspace/perfection-reviews/{review_id}/seal · 必要性 workspace:writeSeal ReviewThe Emperor applies the Imperial Seal - final approval after peer review.
  • GET /workspace/pillar-health · 必要性 workspace:readPillar HealthReal, platform-wide Pillar Health Board (Workspace tools manifest id 126) - distinct from both the Pillar Registry Viewer (build status, no live data) and /my-tenants (personal, per-user). Owner-bypass RLS gives a genuine, unfiltered COUNT(*) per pillar's own real tenant table - the same f"SELECT count(*)..." pattern already proven in kpi.py's own TENANT_TABLES, reused here as a health/activity si…
  • GET /workspace/pulse · 必要性 workspace:readTenant Pulse
  • GET /workspace/risk-alerts · 必要性 workspace:readList Risk AlertsReal Risk Alerts (Workspace tools manifest id 10) - distinct from the already-built, static High-Risk Task Viewer (id 52). Joins the AI Agency's own real high-risk build_task ledger against this platform's own per-user acknowledgment table, so a genuinely NEW risk (never acknowledged by this owner session) is visibly distinguishable from one already reviewed - the real proactive-alerting mechanism…
  • POST /workspace/risk-alerts/{task_id}/acknowledge · 必要性 workspace:writeAcknowledge Risk Alert
  • GET /workspace/search · 必要性 workspace:readSearch
  • GET /workspace/search/sources · 必要性 workspace:readList SourcesWhat search covers. Named on the screen so a tenant knows what a result set does and does not include, rather than inferring it from what happened to come back.
  • GET /workspace/setup-progress · 必要性 workspace:readSetup ProgressThe menu's pinned setup card: each of the caller's businesses with setup steps left. A business with nothing left is not listed, so the card goes away on its own once the last step is done.
  • POST /workspace/songs · 必要性 workspace:writeCreate Song
  • GET /workspace/songs · 必要性 workspace:readList Songs
  • DELETE /workspace/songs/{song_id} · 必要性 workspace:writeDelete Song
  • GET /workspace/songs/{song_id}/audio · 必要性 workspace:readDownload Song Audio
  • GET /workspace/system-health · 必要性 workspace:readSystem HealthReal reachability checks only - no fabricated "Council"/agent status. There's no governed agent registry yet (see Part 02's agent control plane gap in CLAUDE.md), so reporting on AI "council members" here would just be invented data. This checks the services that actually exist: Postgres, Redis, and Medusa.
  • GET /workspace/tasks · 必要性 workspace:readList Tasks
  • POST /workspace/tasks · 必要性 workspace:writeCreate Task
  • GET /workspace/tasks/all · 必要性 workspace:readList All TasksMaster Task Registry Viewer (manifest item 45) - a genuinely distinct view from the personal Task Registry: every task across every user, owner-only. RLS still scopes the underlying SELECT (a non-owner caller would just see their own tasks), the 403 here is the intended access boundary for this specific cross-user view.
  • PATCH /workspace/tasks/{task_id} · 必要性 workspace:writeUpdate Task
  • DELETE /workspace/tasks/{task_id} · 必要性 workspace:writeDelete Task
  • GET /workspace/tenant-brand-voice · 必要性 workspace:readTenant Brand VoiceReal, personal, cross-pillar aggregator (Workspace tools manifest id 65, "Tenant Brand Voice Settings") - the caller's own real voice-profile COUNT(*) across every games/publishers tenant they belong to, no new schema. A tenant genuinely having zero profiles renders as an honest zero, not hidden - the actual add/edit UI stays on each pillar's own real page (href), never duplicated here.
  • GET /workspace/tenant-region-settings · 必要性 workspace:readTenant Region SettingsReal, personal, cross-pillar aggregator (Workspace tools manifest id 66, "Tenant Language / Region Settings") - the caller's own real region/languages/time_zone fields across every farms/manufacturing/ logistics tenant they belong to, no new schema. Editing happens through the pillar's own already-existing PATCH endpoint (patch_href), never a duplicate write path - this endpoint is read-only.
  • POST /workspace/tickets · 必要性 workspace:writeCreate Ticket
  • GET /workspace/tickets/all · 必要性 workspace:readList All TicketsOwner-only support inbox - RLS still applies, so a non-owner caller would just get back their own tickets rather than everyone's, but the endpoint itself is intended for owner use.
  • GET /workspace/tickets/mine · 必要性 workspace:readList My Tickets
  • PATCH /workspace/tickets/{ticket_id} · 必要性 workspace:writeUpdate Ticket Status
  • GET /workspace/tickets/{ticket_id}/replies · 必要性 workspace:readList Replies
  • POST /workspace/tickets/{ticket_id}/replies · 必要性 workspace:writeCreate Reply
  • GET /workspace/your-business · 必要性 workspace:readYour BusinessWhat Business Settings shows for each business: its currency and its clock, each asked of the ONE answer (668, 669) - the setup checklist's first two steps, settable from one place - and whether it is kept off the Fitinty Market (814, Terms s.11), read where the card offers the toggle.
  • GET /workspace/your-day · 必要性 workspace:readYour DayEvery business of the caller, each with its day.
Services - 59 エンドポイント - services:read, services:write

Bookable work: listings, requests and the calendar behind them.

  • GET /services/availability · 必要性 services:readList Rules
  • POST /services/availability · 必要性 services:writeAdd Rule
  • DELETE /services/availability/{rule_id} · 必要性 services:writeDelete Rule
  • POST /services/booking-series/{series_id}/stop · 必要性 services:writeStop Series
  • POST /services/bookings · 必要性 services:writeCreate Booking
  • GET /services/bookings/mine · 必要性 services:readList My Bookings
  • GET /services/bookings/providing · 必要性 services:readList Bookings To Fulfill
  • PATCH /services/bookings/{booking_id} · 必要性 services:writeUpdate Booking Status
  • PUT /services/bookings/{booking_id}/assigned · 必要性 services:writeAssign Booking DoorName the person in the business who does this job, or take the name off. The person pressing needs a seat in the business that holds the job (or is the platform owner) - the person who booked it names nobody.
  • GET /services/bookings/{booking_id}/deliverables · 必要性 services:readList Deliverables
  • POST /services/bookings/{booking_id}/deliverables · 必要性 services:writeUpload Deliverable
  • POST /services/bookings/{booking_id}/make-recurring · 必要性 services:writeMake RecurringSL3 - the customer turns one booking into a standing order. Completion of each visit mints the NEXT pending booking (event-driven - no daemon; nothing a tenant waits on runs on a timer). Either side can stop the series any time.
  • POST /services/bookings/{booking_id}/pay · 必要性 services:writeStart Booking CheckoutThe customer's pay door on their own booking. Stripe hosts the page; the customer pays the PROVIDER; Fitinty's cut rides Stripe's own split. One purchase per booking - a cancelled checkout leaves a pending row this door REUSES rather than doubles.
  • GET /services/bookings/{booking_id}/payment · 必要性 services:readBooking Payment StatusThree honest answers, kept apart: paid (with the captured moment), pending (a checkout was started and no money moved), or no payment record at all.
  • POST /services/bookings/{booking_id}/satisfaction · 必要性 services:writeSubmit Satisfaction
  • GET /services/bookings/{booking_id}/satisfaction · 必要性 services:readGet Satisfaction
  • GET /services/bookings/{booking_id}/value-report · 必要性 services:readGet Value Report
  • POST /services/bookings/{booking_id}/value-report · 必要性 services:writeSave Value Report
  • POST /services/clients · 必要性 services:writeCreate Client
  • GET /services/clients/mine · 必要性 services:readList My Clients
  • PATCH /services/clients/{client_id} · 必要性 services:writeUpdate Client
  • DELETE /services/clients/{client_id} · 必要性 services:writeDelete Client
  • GET /services/corrections/mine · 必要性 services:readList My Corrections
  • PATCH /services/corrections/{correction_id} · 必要性 services:writeResolve Correction
  • GET /services/deliverables/{deliverable_id}/download · 必要性 services:readDownload Deliverable
  • GET /services/leads · 必要性 services:readList LeadsThe desk: every lead with its DERIVED band and reasons, plus the conversion truth - how many leads became captured money. The numbers competitors cannot have, beside the promise they cannot make.
  • POST /services/leads · 必要性 services:writeAdd Manual LeadThe tenant's own hand - a phone call, a walk-in, a referral heard at church.
  • POST /services/leads/from-form-response · 必要性 services:writeFile Form Response As LeadThe tenant's door from Fitinty Forms: an answer that reads like an enquiry gets FILED to the desk by a human hand - deliberate, never auto-classified. The email is found deterministically (the response's answer to an email-kind question).
  • GET /services/leads/offers · 必要性 services:readList Offers
  • POST /services/leads/offers/{offer_id}/withdraw · 必要性 services:writeWithdraw Offer
  • PATCH /services/leads/{lead_id} · 必要性 services:writeSet Lead Status
  • GET /services/listing-kits/mine · 必要性 services:readMy Listing KitThe kit for the provider's own vertical - or an honest 'none for yours yet'.
  • POST /services/listing-kits/mine/mint · 必要性 services:writeMint Listing KitMints the vertical's kit as INACTIVE drafts - building is free, and switching each one live walks through pay-to-open like any hand-built listing. Skips any title the provider already has, so minting twice doubles nothing.
  • GET /services/listings · 必要性 services:readList Active Listings
  • POST /services/listings · 必要性 services:writeCreate Listing
  • GET /services/listings/mine · 必要性 services:readList My Listings
  • PATCH /services/listings/{listing_id} · 必要性 services:writeUpdate Listing
  • POST /services/listings/{listing_id}/feature · 必要性 services:writeFeature ListingSL3 - featured placement in the public market, Fitinty's own future stream. Until Dodo takes live payments this is the EMPEROR'S COMP HAND (the promoted- listings pattern): owner-only, days counted, and the market shows the label - a featured listing is marked, never smuggled.
  • POST /services/listings/{listing_id}/image · 必要性 services:writeSet Listing ImageA service listing's FACE (LST cross-pillar pass, 2026-08-30): the pillar had no images at all - migration 436 added the column and this gives it a writer. Enhanced through the same pipeline as every platform image; stored on the API's own disk (deliverables' pattern) and served publicly through the storefront's own gated route.
  • GET /services/listings/{listing_id}/packages · 必要性 services:readList Packages
  • POST /services/listings/{listing_id}/packages · 必要性 services:writeCreate Package
  • GET /services/packages/mine · 必要性 services:readList My Packages
  • PATCH /services/packages/{package_id} · 必要性 services:writeUpdate Package
  • POST /services/providers · 必要性 services:writeCreate Provider
  • GET /services/providers/mine · 必要性 services:readGet My Provider Endpoint
  • PATCH /services/providers/{provider_id} · 必要性 services:writeUpdate Provider
  • GET /services/providers/{slug}/listings · 必要性 services:readGet Provider Listings
  • POST /services/quotes · 必要性 services:writeCreate QuoteThe provider's estimate, born a DRAFT. It must answer something real - a request or a lead of this organization - so a quote can never be conjured at a stranger.
  • GET /services/quotes · 必要性 services:readList Quotes
  • POST /services/quotes/accept/{token} · 必要性 services:writeAccept QuoteSIGNED-IN acceptance (the claim posture). The job is born on the standing booking object with NO TIME YET - trades schedule after acceptance, and 'not scheduled yet' is stated, never invented.
  • POST /services/quotes/{quote_id}/send · 必要性 services:writeSend QuoteMarks the quote SENT and hands back the accept link. Sending the link stays the provider's hand - chat, a reply, on paper; mail drafts wait for the rail.
  • POST /services/quotes/{quote_id}/withdraw · 必要性 services:writeWithdraw Quote
  • POST /services/requests · 必要性 services:writeCreate Request
  • GET /services/requests/incoming · 必要性 services:readList Incoming Requests
  • GET /services/requests/mine · 必要性 services:readList My Requests
  • PATCH /services/requests/{request_id} · 必要性 services:writeUpdate Request Status
  • GET /services/team · 必要性 services:readList TeamThe people in the businesses the caller has a seat in - who a booked job can be given to.
  • GET /services/verticals · 必要性 services:readList VerticalsReal, curated vertical + field-template catalog - Vertical Business Operations v1 (Connected Apps cost-elimination audit, 2026-08-12). The frontend already mirrors this in lib/vertical-fields.ts for zero-latency rendering; this endpoint exists so any other real client (a future mobile app, a script) has one authoritative source, and so the backend's own validation logic below is provably reading t…
  • POST /services/webhook · 必要性 services:writeServices Stripe WebhookThe pillar's own verified door, education's shape exactly: signature or refusal, captured events only, idempotent by the pending->paid guard + the fee ledger's unique payment id.
Ministries - 46 エンドポイント - ministries:read, ministries:write

Congregations: members, giving, live events and the people who run them.

  • PUT /give-payments/page · 必要性 ministries:writeUpsert PageCreate or update this organization's giving page. Defaults to INACTIVE. A giving link that goes live the moment a row exists is a link that goes live before anybody has read the wording on it - the same rule booking pages already follow.
  • GET /ministries/archive/search · 必要性 ministries:readSearch Archive
  • GET /ministries/churches · 必要性 ministries:readList Churches
  • POST /ministries/churches · 必要性 ministries:writeCreate Church
  • GET /ministries/churches/mine · 必要性 ministries:readGet My Church Endpoint
  • GET /ministries/churches/{church_id}/live-events · 必要性 ministries:readList Events
  • GET /ministries/churches/{church_id}/members · 必要性 ministries:readList Church Members
  • POST /ministries/churches/{church_id}/members · 必要性 ministries:writeAdd Church Member
  • GET /ministries/cohorts · 必要性 ministries:readList Cohorts
  • POST /ministries/cohorts · 必要性 ministries:writeCreate Cohort
  • GET /ministries/congregation/care-requests · 必要性 ministries:readList Care RequestsA congregation's pastors, leaders and admins see every request that came to THEIR congregation; anyone else sees only what the requester let the congregation see. The leaders_only wall is enforced HERE by real role, not by the screen.
  • PATCH /ministries/congregation/care-requests/{request_id} · 必要性 ministries:writeSet Care StatusTending a request is pastoral work: only those who tend care for the congregation it came to may move it, and a refusal returns nothing of the request - not its words, not its asker.
  • POST /ministries/congregation/funds/{fund_id}/share · 必要性 ministries:writeMake Fund ShareableMints the fund's public campaign slug - the link travels beyond the congregation; every gift through it still lands on the church's own account at 0%, designated to this fund.
  • GET /ministries/congregation/groups · 必要性 ministries:readList GroupsEvery group the person can see, or one congregation's when the desk names it - a person in two congregations must not see one church's choir on the other's desk.
  • POST /ministries/congregation/groups · 必要性 ministries:writeCreate Group
  • GET /ministries/congregation/groups/{group_id}/members · 必要性 ministries:readList Group MembersWho is in the group, leaders first - the roster a leader serves.
  • POST /ministries/congregation/groups/{group_id}/members · 必要性 ministries:writeAdd Group MemberAdding someone already in the group changes their role - the one door for both.
  • DELETE /ministries/congregation/groups/{group_id}/members/{membership_id} · 必要性 ministries:writeRemove Group MemberLeaving a group removes the person from THAT group only - they stay in the congregation.
  • GET /ministries/congregation/mine · 必要性 ministries:readMy Congregations
  • GET /ministries/congregation/newcomers · 必要性 ministries:readList NewcomersThe shepherd's desk: everyone who reached toward the church, with the honest measure beside it - who returned, who connected, who became a member. Exclusive to this congregation; never resold, never pooled.
  • POST /ministries/congregation/newcomers · 必要性 ministries:writeAdd Newcomer
  • PATCH /ministries/congregation/newcomers/{newcomer_id} · 必要性 ministries:writeUpdate Newcomer
  • GET /ministries/events · 必要性 ministries:readList Events
  • POST /ministries/events · 必要性 ministries:writeCreate Event
  • GET /ministries/guardrails · 必要性 ministries:readList Guardrails
  • POST /ministries/guardrails · 必要性 ministries:writePropose GuardrailAI may propose content but cannot publish doctrinal material automatically (spec section 7.3) - every guardrail lands as 'draft' regardless of who creates it; a separate approve call moves it forward.
  • POST /ministries/guardrails/{guardrail_id}/approve · 必要性 ministries:writeApprove Guardrail
  • GET /ministries/integrations · 必要性 ministries:readList Integrations
  • POST /ministries/live-events · 必要性 ministries:writeSchedule Event
  • GET /ministries/live-events/{event_id} · 必要性 ministries:readGet Event
  • GET /ministries/live-events/{event_id}/attendance · 必要性 ministries:readEvent AttendanceAttendance audit metrics (church staff). The 'engagement heatmap' is the per-attendee join_count + presence window.
  • POST /ministries/live-events/{event_id}/end · 必要性 ministries:writeEnd Event
  • POST /ministries/live-events/{event_id}/join · 必要性 ministries:writeJoin EventRecord attendance and return the room. Any church member may join.
  • POST /ministries/live-events/{event_id}/leave · 必要性 ministries:writeLeave Event
  • POST /ministries/live-events/{event_id}/start · 必要性 ministries:writeStart Event
  • GET /ministries/pastor-workspace · 必要性 ministries:readPastor Workspace
  • GET /ministries/sermons · 必要性 ministries:readList Sermons
  • POST /ministries/sermons · 必要性 ministries:writeCreate Sermon
  • GET /ministries/sermons/{sermon_id} · 必要性 ministries:readGet Sermon
  • GET /ministries/sermons/{sermon_id}/download · 必要性 ministries:readDownload Sermon
  • POST /ministries/sermons/{sermon_id}/multiplier · 必要性 ministries:writeSermon MultiplierAI-assisted "sermon multiplier" (spec section 9) - drafts a summary, discussion questions, and a Bible-study outline from the sermon's own transcript only, never invented content. Labeled draft, never auto-published (section 9: "No automatic public publishing"; section 7.4: "Fitinty shall not claim theological authority").
  • PATCH /ministries/sermons/{sermon_id}/status · 必要性 ministries:writeSet Sermon Status
  • PATCH /ministries/sermons/{sermon_id}/transcript · 必要性 ministries:writeSet TranscriptReal transcription (Faster-Whisper per spec section 22) is a bigger infrastructure decision not made yet - this is the manual-entry shell the spec's own build sequence (N08) calls "Transcription shell" before a real engine is wired in, matching this project's honest-scoping pattern for AI/media infra it hasn't built yet (e.g. Publishers' audiobook narration).
  • GET /ministries/studies · 必要性 ministries:readList Studies
  • POST /ministries/studies · 必要性 ministries:writeCreate Study
  • PATCH /ministries/studies/{lesson_id}/status · 必要性 ministries:writeSet Study Status
Media - 558 エンドポイント - media:read, media:write

Productions and published media, and the rights that travel with them.

  • GET /design-canvas/assets · 必要性 media:readList Assets
  • POST /design-canvas/assets/generate · 必要性 media:writeGenerate AssetReal FLUX.1-dev generation on the local GPU via ComfyUI - reuses the shared flux_image_engine. Slow by nature (a real diffusion render); the frontend calls this with a long timeout.
  • POST /design-canvas/assets/upload · 必要性 media:writeUpload Asset
  • GET /design-canvas/assets/{asset_id}/file · 必要性 media:readAsset File
  • GET /design-canvas/designs · 必要性 media:readList Designs
  • POST /design-canvas/designs · 必要性 media:writeCreate Design
  • GET /design-canvas/designs/{design_id} · 必要性 media:readGet Design
  • PATCH /design-canvas/designs/{design_id} · 必要性 media:writeSave Design
  • DELETE /design-canvas/designs/{design_id} · 必要性 media:writeDelete Design
  • POST /design-canvas/designs/{design_id}/duplicate · 必要性 media:writeDuplicate Design
  • GET /design-canvas/quick-starts · 必要性 media:readList Quick StartsThe Create box's starts, each with whether it is open now - the platform's fact, not a business's.
  • GET /design-canvas/templates · 必要性 media:readList TemplatesThe shelf - key, name and size only; the layout ships when one is minted.
  • POST /design-canvas/templates/{key} · 必要性 media:writeMint From TemplateMints an ordinary DRAFT design from the shelf - from here on it is any other design: the editor owns it, nothing auto-publishes anywhere.
  • GET /identity/organizations/{org}/pack · 必要性 media:readGet Pack
  • PUT /identity/organizations/{org}/pack · 必要性 media:writePut Pack
  • PUT /identity/organizations/{org}/voice · 必要性 media:writePut VoiceHOW YOUR BUSINESS WRITES (Settings, One admin Step 3 piece 2): the voice alone. A field the form did not send stays as it was (the tagline, the house words), and the Multimedia Factory's motion rules and Sonic Identity are never touched - the same row, never a second store.
  • POST /identity/song/{project_id}:apply · 必要性 media:writeApply To Song
  • POST /identity/song/{project_id}:check · 必要性 media:writeCheck Song
  • POST /identity/video/{project_id}:apply · 必要性 media:writeApply To VideoA new brief version (source 'identity_pack') with the shot grammar and voice merged in. Nothing renders; existing shots are not rewritten - the check names them instead.
  • POST /identity/video/{project_id}:check · 必要性 media:writeCheck Video
  • POST /media-payments/licenses · 必要性 media:writeCreate LicenseThe tenant sells usage rights to an episode's audio: the TERMS live in words on the row, the pay link travels like a sponsorship, and the file is delivered only on captured money. The offer IS the pending purchase - one table, one rail.
  • GET /media-payments/licenses · 必要性 media:readList Licenses
  • GET /media-payments/purchases/mine · 必要性 media:readMy MediaTHE LISTENER'S OWN PURCHASES (2026-09-11, the customer Space's "Elsewhere"): premium episodes, show memberships, licences, sponsorships and tips a person paid for, across every show. A purchase names its person by `buyer_user_id` when they were signed in, and otherwise by the email they paid with - the standing ownership rule (own_identity), decided here per row on the system cursor. PAID only: a …
  • POST /media-payments/sponsorships · 必要性 media:writeCreate SponsorshipThe offer IS the pending purchase row - one table, no parallel invoice system. The tenant sends the returned link; nothing is emailed for them (no mail rail).
  • GET /media-payments/sponsorships · 必要性 media:readList SponsorshipsThe tenant's sponsorship desk: every offer with its state and its link.
  • POST /media-payments/sponsorships/{purchase_id}/void · 必要性 media:writeVoid SponsorshipWithdrawing an offer nobody paid. A PAID sponsorship is history, never voidable - money that moved stays on the books.
  • POST /media-payments/webhook · 必要性 media:writeMedia Stripe WebhookThe pillar's own verified door, education's shape exactly: signature or refusal, captured events only.
  • GET /media/assets · 必要性 media:readList Assets
  • POST /media/assets · 必要性 media:writeUpload Asset
  • GET /media/assets/{asset_id}/download · 必要性 media:readDownload Asset
  • GET /media/audience-insights · 必要性 media:readList Audience Insights
  • POST /media/audience-insights/generate · 必要性 media:writeGenerate Audience InsightExplicitly synthetic (spec section 16: 'Safe Core supports synthetic audience segments') - real external audience data collection is locked regardless of instruction, same as every other real-external-data boundary in this pillar.
  • GET /media/briefs · 必要性 media:readList Briefs
  • POST /media/briefs · 必要性 media:writeCreate Brief
  • POST /media/briefs/{brief_id}/approve · 必要性 media:writeApprove Brief
  • GET /media/calendar · 必要性 media:readList Calendar
  • POST /media/calendar · 必要性 media:writeCreate Calendar Item
  • GET /media/campaigns · 必要性 media:readList Campaigns
  • POST /media/campaigns · 必要性 media:writeCreate Campaign
  • PATCH /media/campaigns/{campaign_id}/status · 必要性 media:writeTransition Campaign
  • GET /media/distribution · 必要性 media:readList Distribution Jobs
  • POST /media/distribution · 必要性 media:writeCreate Distribution Job
  • PATCH /media/distribution/{job_id}/status · 必要性 media:writeTransition Distribution JobReal external posting states are never enabled here (spec section 15) - `simulated` is the terminal success state, there is no `posted`/`published` status in the allow-list at all.
  • GET /media/experiments · 必要性 media:readList Experiments
  • POST /media/experiments · 必要性 media:writeCreate Experiment
  • PATCH /media/experiments/variants/{variant_id}/results · 必要性 media:writeRecord Variant Results
  • PATCH /media/experiments/variants/{variant_id}/short-link · 必要性 media:writeBind Variant Short LinkMD6 - binds the variant to ONE of the tenant's own short links. From then on its reading is the link's real clicks; the synthetic numbers stop mattering for this variant and the banner comes off honestly.
  • POST /media/experiments/{experiment_id}/complete · 必要性 media:writeComplete ExperimentDeclares a winner by real conversion-rate comparison across recorded synthetic variants - refuses to declare a winner from insufficient data (spec section 12: 'must avoid declaring winners from insufficient data'), using a minimum-sample-size floor rather than just picking whichever variant has the highest raw rate.
  • GET /media/hooks · 必要性 media:readList Hooks
  • POST /media/hooks · 必要性 media:writeCreate Hook
  • GET /media/integrations · 必要性 media:readList Integrations
  • GET /media/live-recaps · 必要性 media:readList Recaps
  • POST /media/live-recaps · 必要性 media:writeCreate Recap
  • POST /media/live-recaps/{recap_id}/draft-summary · 必要性 media:writeDraft Recap Summary
  • GET /media/provenance · 必要性 media:readList Provenance
  • POST /media/provenance · 必要性 media:writeCreate ProvenanceSigning status stays 'unsigned' by default - production C2PA signing is a separately-gated real infrastructure decision (spec section 26/37), not something recorded here just because a row was created.
  • GET /media/reputation · 必要性 media:readList Reputation Signals
  • POST /media/reputation/generate · 必要性 media:writeGenerate Reputation Signal
  • POST /media/workspaces · 必要性 media:writeCreate Workspace
  • GET /media/workspaces/mine · 必要性 media:readGet My Workspace Endpoint
  • DELETE /multimedia-factory/items/{iid} · 必要性 media:writeUnlink ItemUnlinks; the project itself stays in its factory.
  • GET /multimedia-factory/productions · 必要性 media:readList Productions
  • POST /multimedia-factory/productions · 必要性 media:writeCreate Production
  • GET /multimedia-factory/productions/{pid} · 必要性 media:readGet Production
  • DELETE /multimedia-factory/productions/{pid} · 必要性 media:writeDelete ProductionRemoves the production and its links. The song / video / deck projects stay in their factories - they are the person's work, not the production's.
  • GET /multimedia-factory/productions/{pid}/brief.md · 必要性 media:readProduction Brief MdThe one-page production brief a human collaborator (a musician, an editor, a designer) can work from - the same spine the factories got.
  • POST /multimedia-factory/productions/{pid}/certificate · 必要性 media:writeIssue Certificate
  • GET /multimedia-factory/productions/{pid}/certificate · 必要性 media:readGet Certificate
  • PUT /multimedia-factory/productions/{pid}/intake · 必要性 media:writePut Intake
  • POST /multimedia-factory/productions/{pid}/items · 必要性 media:writeLink ItemLink an existing project (made before the production, or by hand) so it is rolled up too.
  • PUT /multimedia-factory/productions/{pid}/message · 必要性 media:writePut Message
  • POST /multimedia-factory/productions/{pid}/plan · 必要性 media:writePlan ProductionThe Producer: message spine + which outputs / roles / order / why + facts + open questions. Falls back to the deterministic rules (and says so) when the model is busy or unavailable.
  • PUT /multimedia-factory/productions/{pid}/plan · 必要性 media:writePatch PlanThe person's edits: outputs on/off, roles, titles, briefs, order - kept as 'user' authored.
  • POST /multimedia-factory/productions/{pid}/produce · 必要性 media:writeProduceCreates the chosen outputs as real projects in their factories, briefs prefilled from the spine, sources copied into the deck's ledger, facts handed to the song and the video. Kinds already linked are skipped (no duplicates); nothing renders here.
  • POST /multimedia-factory/productions/{pid}/sources · 必要性 media:writeAdd Source
  • DELETE /multimedia-factory/sources/{sid} · 必要性 media:writeDelete Source
  • PATCH /podcasts/episodes/{episode_id} · 必要性 media:writeUpdate Episode
  • DELETE /podcasts/episodes/{episode_id} · 必要性 media:writeDelete Episode
  • POST /podcasts/episodes/{episode_id}/audio · 必要性 media:writeUpload Episode Audio
  • POST /podcasts/episodes/{episode_id}/publish · 必要性 media:writeToggle Episode Publish
  • GET /podcasts/shows · 必要性 media:readList Shows
  • POST /podcasts/shows · 必要性 media:writeCreate Show
  • PATCH /podcasts/shows/{show_id} · 必要性 media:writeUpdate Show
  • POST /podcasts/shows/{show_id}/artwork · 必要性 media:writeUpload Artwork
  • GET /podcasts/shows/{show_id}/episodes · 必要性 media:readList Episodes
  • POST /podcasts/shows/{show_id}/episodes · 必要性 media:writeCreate Episode
  • POST /podcasts/shows/{show_id}/publish · 必要性 media:writeToggle Show Publish
  • GET /presentation-factory/accessibility-reports/{rid} · 必要性 media:readGet Report
  • GET /presentation-factory/accessibility-reports/{rid}/markdown · 必要性 media:readReport MarkdownThe handable version. Plain Markdown, because the person who asked for this may well need to paste it into an e-mail or a tender response.
  • POST /presentation-factory/approvals/{approval_id}:decide · 必要性 media:writeDecide Approval
  • POST /presentation-factory/certificates/{cid}:verify · 必要性 media:writeVerify Certificate
  • PATCH /presentation-factory/claims/{cid} · 必要性 media:writePatch Claim
  • DELETE /presentation-factory/claims/{cid} · 必要性 media:writeDelete Claim
  • PATCH /presentation-factory/collaborators/{collaborator_id} · 必要性 media:writePatch Collaborator
  • DELETE /presentation-factory/collaborators/{collaborator_id} · 必要性 media:writeRevoke Collaborator
  • POST /presentation-factory/collaborators/{collaborator_id}:respond · 必要性 media:writeRespond Invite
  • DELETE /presentation-factory/comments/{comment_id} · 必要性 media:writeDelete Comment
  • POST /presentation-factory/comments/{comment_id}:reopen · 必要性 media:writeReopen Comment
  • POST /presentation-factory/comments/{comment_id}:resolve · 必要性 media:writeResolve Comment
  • GET /presentation-factory/datasets/{did} · 必要性 media:readGet Dataset
  • DELETE /presentation-factory/datasets/{did} · 必要性 media:writeDelete Dataset
  • PUT /presentation-factory/datasets/{did}/columns · 必要性 media:writePatch Dataset ColumnsEdit types/units (the honest metadata) - names and data are the snapshot's, immutable.
  • POST /presentation-factory/datasets/{did}:refresh · 必要性 media:writeRefresh DatasetA NEW snapshot from the current file / a fresh paste, with the drift named. Charts keep showing their reviewed snapshot until someone updates them - never silently.
  • DELETE /presentation-factory/domains/{did} · 必要性 media:writeDelete Domain
  • POST /presentation-factory/domains/{did}:verify · 必要性 media:writeVerify DomainLook for the token at the .well-known path. Nothing about this is taken on trust: the fetch goes through the same guard as any other, and a near-miss is reported as a failure.
  • GET /presentation-factory/exports/{eid}/certificate · 必要性 media:readGet Certificate
  • GET /presentation-factory/exports/{eid}/file · 必要性 media:readExport File
  • POST /presentation-factory/followups/{fid}:answer · 必要性 media:writeAnswer FollowupSaves the presenter's answer. Evidence ids are checked against this deck's ledger - an id from somewhere else is dropped, not trusted - and an answer with none is stored `unsourced`.
  • POST /presentation-factory/followups/{fid}:decline · 必要性 media:writeDecline FollowupNot every question can be answered, and pretending otherwise is worse than saying so. A declined follow-up keeps the question and the reason; it just stops being open work.
  • POST /presentation-factory/followups/{fid}:draft · 必要性 media:writeDraft AnswerDrafts, but never saves - the presenter is the one who answers the room. The draft comes back with its evidence and with any invented number named out loud.
  • POST /presentation-factory/followups/{fid}:publish · 必要性 media:writePublish Followup
  • POST /presentation-factory/layout:preview · 必要性 media:writeLayout Preview
  • DELETE /presentation-factory/locks/{lid} · 必要性 media:writeUnlock Route
  • GET /presentation-factory/media/available · 必要性 media:readAvailable MediaWhat this person can attach: their ready Song Factory renders and Video Factory exports, each with the certificate it already carries.
  • PATCH /presentation-factory/media/{mid} · 必要性 media:writePatch Media
  • DELETE /presentation-factory/media/{mid} · 必要性 media:writeDelete Media
  • GET /presentation-factory/media/{mid}/captions · 必要性 media:readMedia Captions
  • GET /presentation-factory/media/{mid}/file · 必要性 media:readMedia File
  • GET /presentation-factory/narrations/{nid} · 必要性 media:readGet Narration
  • DELETE /presentation-factory/narrations/{nid} · 必要性 media:writeDelete Narration
  • GET /presentation-factory/narrations/{nid}/audio · 必要性 media:readNarration Audio
  • GET /presentation-factory/narrations/{nid}/captions · 必要性 media:readNarration Captions
  • POST /presentation-factory/narrations/{nid}/share · 必要性 media:writeShare Talk
  • POST /presentation-factory/narrations/{nid}/share:revoke · 必要性 media:writeRevoke Talk
  • GET /presentation-factory/narrations/{nid}/transcript · 必要性 media:readNarration TranscriptThe whole talk as text - the thing a person can read instead of listening, or search.
  • GET /presentation-factory/narrations/{nid}/what-would-be-published · 必要性 media:readWhat Would Be PublishedShown BEFORE the share button does anything: the exact words that would become public, in order, so the decision gets made looking at the thing rather than at a checkbox.
  • POST /presentation-factory/organizations/{org_id}/claims · 必要性 media:writeCreate Claim
  • GET /presentation-factory/organizations/{org_id}/claims · 必要性 media:readList Claims
  • PATCH /presentation-factory/organizations/{org_id}/claims/{cid} · 必要性 media:writeUpdate ClaimEditing the library NEVER touches a deck. The response says how many decks now differ, so the consequence of the edit is visible at the moment it is made rather than discovered later.
  • GET /presentation-factory/organizations/{org_id}/claims/{cid}/usage · 必要性 media:readClaim Usage
  • POST /presentation-factory/organizations/{org_id}/claims/{cid}:retire · 必要性 media:writeRetire ClaimRetiring names the decks it affects. You cannot retire evidence into the void.
  • POST /presentation-factory/organizations/{org_id}/claims/{cid}:verify · 必要性 media:writeVerify ClaimA person went and looked. That is the only thing that resets the clock - there is no automatic re-verification here, because nothing about a stored row can tell you the world still agrees.
  • GET /presentation-factory/organizations/{org_id}/claims:drift · 必要性 media:readDriftEverywhere the library and a deck no longer agree, plus the claims nobody has checked. This is the report that answers "which eleven decks still say 1,240?".
  • POST /presentation-factory/organizations/{org_id}/domains · 必要性 media:writeAdd DomainRegisters a domain as the organisation's own. It starts DECLARED - which means somebody typed it. Verification is a separate, provable step.
  • GET /presentation-factory/organizations/{org_id}/domains · 必要性 media:readList Domains
  • GET /presentation-factory/organizations/{org_id}/insights · 必要性 media:readOrg InsightsThe same honesty, one level up: across an organisation's decks. RLS decides which decks are visible - this adds no visibility of its own.
  • PUT /presentation-factory/organizations/{organization_id}/brand-profile · 必要性 media:writePut Brand Profile
  • DELETE /presentation-factory/polls/{poll_id} · 必要性 media:writeDelete Poll
  • GET /presentation-factory/projects · 必要性 media:readList Projects
  • POST /presentation-factory/projects · 必要性 media:writeCreate Project
  • GET /presentation-factory/projects/{pid} · 必要性 media:readGet Project
  • DELETE /presentation-factory/projects/{pid} · 必要性 media:writeDelete Project
  • GET /presentation-factory/projects/{pid}/accessibility · 必要性 media:readCheck AccessibilityThe live view. Recomputed every time, so it is never stale - and never a certificate.
  • GET /presentation-factory/projects/{pid}/accessibility/reports · 必要性 media:readList Reports
  • POST /presentation-factory/projects/{pid}/accessibility:issue · 必要性 media:writeIssue ReportFreezes the report against this version, hashes it, and stores it. Failures do not block - a report that only exists when everything passes is a marketing document, and the whole value of this one is that it can say what is wrong. But issuing over failures is recorded.
  • GET /presentation-factory/projects/{pid}/brand · 必要性 media:readGet Brand
  • POST /presentation-factory/projects/{pid}/brand:apply · 必要性 media:writeApply BrandApply the organisation's Theme Editor tokens to the deck: colours, fonts, the logo (as a data URI at render time so exports stay self-contained), the required footer line.
  • POST /presentation-factory/projects/{pid}/brief · 必要性 media:writeSave Brief
  • POST /presentation-factory/projects/{pid}/brief:strategist · 必要性 media:writeStrategist
  • POST /presentation-factory/projects/{pid}/check:notes · 必要性 media:writeCheck NotesDo the notes and the slide agree? Rules catch the numbers; the model catches the ones written in words. When the model is unavailable the rules still run, and the answer says which ran.
  • GET /presentation-factory/projects/{pid}/checks · 必要性 media:readChecks
  • POST /presentation-factory/projects/{pid}/claims · 必要性 media:writeAdd Claim
  • POST /presentation-factory/projects/{pid}/claims:adopt · 必要性 media:writeAdopt ClaimsCopies library claims into this deck. A retired claim is refused rather than quietly adopted.
  • POST /presentation-factory/projects/{pid}/datasets · 必要性 media:writeCreate Dataset
  • POST /presentation-factory/projects/{pid}/deck · 必要性 media:writeSave Deck
  • POST /presentation-factory/projects/{pid}/deck:architect · 必要性 media:writeArchitect
  • GET /presentation-factory/projects/{pid}/delivery · 必要性 media:readDelivery ReportAcross every ended session of this deck: what the plan said, what actually happened, and the slides that keep costing you time. Nothing here is modelled - it is your own stopwatch.
  • GET /presentation-factory/projects/{pid}/diff · 必要性 media:readDiffCompare two versions. `base` defaults to the previous version, `against` to the current one.
  • POST /presentation-factory/projects/{pid}/evidence:map · 必要性 media:writeEvidence Map
  • POST /presentation-factory/projects/{pid}/exports · 必要性 media:writeExport Deck
  • POST /presentation-factory/projects/{pid}/followups · 必要性 media:writeAdd FollowupA question asked out loud that never made it to a phone still deserves an answer.
  • GET /presentation-factory/projects/{pid}/followups · 必要性 media:readList Followups
  • PATCH /presentation-factory/projects/{pid}/freshness · 必要性 media:writeSet HorizonHow long this deck's evidence stays fresh. A safety briefing and a conference keynote do not age at the same rate, and the platform should not pretend to know which one this is.
  • POST /presentation-factory/projects/{pid}/import:pptx · 必要性 media:writeImport Pptx DeckA .pptx comes in as a DRAFT deck version - text and speaker notes - with a report of what did not come across. Nothing is overwritten; it is a new version to edit or discard.
  • GET /presentation-factory/projects/{pid}/insights · 必要性 media:readDeck InsightsWhat this deck's rooms are telling you. Read-only; nothing here is stored.
  • POST /presentation-factory/projects/{pid}/locks · 必要性 media:writeLock Route
  • GET /presentation-factory/projects/{pid}/logo · 必要性 media:readProject Logo
  • POST /presentation-factory/projects/{pid}/media · 必要性 media:writeAttach MediaAttach a Song Factory render or a Video Factory export, snapshotting its provenance and pulling its accessibility material (captions / lyrics) in.
  • GET /presentation-factory/projects/{pid}/media · 必要性 media:readList Media
  • GET /presentation-factory/projects/{pid}/media/{sid} · 必要性 media:readSource MediaA Song Factory render / Video export attached as a source, for the slide's <audio>/<video>.
  • POST /presentation-factory/projects/{pid}/narration · 必要性 media:writeStart NarrationSpeaks the deck's own speaker notes. Refuses if there are no notes at all rather than inventing a talk - a narration built from headlines would be a script the presenter never wrote.
  • GET /presentation-factory/projects/{pid}/narrations · 必要性 media:readList Narrations
  • GET /presentation-factory/projects/{pid}/parts · 必要性 media:readParts Route
  • POST /presentation-factory/projects/{pid}/polls · 必要性 media:writeCreate Poll
  • GET /presentation-factory/projects/{pid}/polls · 必要性 media:readList Polls
  • GET /presentation-factory/projects/{pid}/preflight · 必要性 media:readPreflightWhat to read in the two minutes before you start a session. Same assessment, ordered worst first and stripped to what a person can actually act on while walking to the front.
  • POST /presentation-factory/projects/{pid}/presence · 必要性 media:writePresence Route
  • GET /presentation-factory/projects/{pid}/present · 必要性 media:readPresentThe in-app accessible web deck for the CURRENT version (same renderer as the export).
  • GET /presentation-factory/projects/{pid}/readiness · 必要性 media:readReadiness
  • POST /presentation-factory/projects/{pid}/rehearsal · 必要性 media:writeStart RehearsalThe skeptical panel + the toughest questions, from the brief's own audience and objections. `use_rules` (or a busy GPU) gives the deterministic panel and says so.
  • POST /presentation-factory/projects/{pid}/sessions · 必要性 media:writeStart SessionStarts a live session on the deck's CURRENT version and pins it. Unlike an export, this does NOT block on the quality checker: someone is standing in front of a room and the deck is what it is. The unresolved count comes back with the code so it is said out loud, not buried.
  • GET /presentation-factory/projects/{pid}/sessions · 必要性 media:readList Sessions
  • GET /presentation-factory/projects/{pid}/since-approval · 必要性 media:readSince ApprovalWhat has moved since somebody put their name to this. If nothing was ever approved it says so rather than quietly comparing against something else and calling it the same question.
  • POST /presentation-factory/projects/{pid}/slides/{part_id}:ai-edit · 必要性 media:writeAi Edit Route
  • POST /presentation-factory/projects/{pid}/sources · 必要性 media:writeAdd Source
  • POST /presentation-factory/projects/{pid}/sources:staleness · 必要性 media:writeStalenessRun the evidence refresh now (same handler the automation loop runs): re-verify every claim's verbatim excerpt, mark vanished ones 'stale', report workspace-file drift.
  • POST /presentation-factory/projects/{pid}/sources:web · 必要性 media:writeAdd Web SourceFetch a page and keep it as a snapshot. The permission field defaults to 'unknown' and stays the person's declaration - Fitinty does not decide that a page is reusable because it loaded.
  • POST /presentation-factory/projects/{pid}/suggestions · 必要性 media:writeSuggest Route
  • POST /presentation-factory/projects/{pid}/templates/{tid}:apply · 必要性 media:writeApply Template
  • POST /presentation-factory/projects/{pid}/theme · 必要性 media:writeSet Theme
  • POST /presentation-factory/projects/{pid}/variants · 必要性 media:writeCreate VariantA LOCALE VARIANT: a full linked deck in the target language - brief, sources and claims copied (evidence stays the single source of truth), slides machine-translated (marked, flagged 'native review needed' until a person marks it reviewed) and judged at the target language's text length. The parent deck is never touched.
  • POST /presentation-factory/projects/{pid}:mark-reviewed · 必要性 media:writeMark ReviewedA person who read the variant in its language signs it off; recorded, not assumed.
  • POST /presentation-factory/projects/{project_id}/approvals · 必要性 media:writeRequest Approval
  • POST /presentation-factory/projects/{project_id}/collaborators · 必要性 media:writeAdd Collaborator
  • GET /presentation-factory/projects/{project_id}/comments · 必要性 media:readList Comments
  • POST /presentation-factory/projects/{project_id}/comments · 必要性 media:writeAdd Comment
  • POST /presentation-factory/projects/{project_id}/share-links · 必要性 media:writeCreate Share Link
  • GET /presentation-factory/projects/{project_id}/sharing · 必要性 media:readGet Sharing
  • PATCH /presentation-factory/projects/{project_id}/sharing · 必要性 media:writePatch Sharing
  • POST /presentation-factory/projects/{project_id}:restore · 必要性 media:writeRestore Project
  • POST /presentation-factory/projects/{project_id}:takedown · 必要性 media:writeTakedown Project
  • GET /presentation-factory/rehearsals/{rid} · 必要性 media:readGet Rehearsal
  • POST /presentation-factory/rehearsals/{rid}:answer · 必要性 media:writeAnswer RehearsalGrade one typed answer against the claim ledger. An invented number is a failed answer.
  • POST /presentation-factory/rehearsals/{rid}:finish · 必要性 media:writeFinish RehearsalThe readiness report: what held, what failed, which objections still have no home, timing.
  • POST /presentation-factory/rehearsals/{rid}:timing · 必要性 media:writeTiming RehearsalThe timing drill: actual seconds per slide (measured by the client) vs the budgets. Pure.
  • POST /presentation-factory/reports · 必要性 media:writeFile Report
  • GET /presentation-factory/reports · 必要性 media:readList Reports
  • PATCH /presentation-factory/reports/{report_id} · 必要性 media:writePatch Report
  • GET /presentation-factory/sessions/{sid} · 必要性 media:readGet SessionThe presenter's own view: every question INCLUDING the hidden ones (with the reason recorded against them), live poll counts, and the running timeline.
  • DELETE /presentation-factory/sessions/{sid} · 必要性 media:writeDelete Session
  • POST /presentation-factory/sessions/{sid}/followup-page:publish · 必要性 media:writePublish PageMints (once) an unguessable link the presenter can hand back to the room. This publishes the answers they marked as publishable - nothing else, and nobody is e-mailed or texted.
  • POST /presentation-factory/sessions/{sid}/followup-page:revoke · 必要性 media:writeRevoke Page
  • POST /presentation-factory/sessions/{sid}/followups:collect · 必要性 media:writeCollect FollowupsTurns every question the room asked that was never answered into a follow-up item. Hidden questions are NOT collected - they were taken off the screen for a reason - but the count of them comes back, so the presenter is told what was left behind rather than left to assume.
  • POST /presentation-factory/sessions/{sid}/polls/{poll_id}:open · 必要性 media:writeOpen PollOne poll open at a time - a room cannot answer two questions at once, and the DB index says so.
  • POST /presentation-factory/sessions/{sid}/polls:close · 必要性 media:writeClose Poll
  • POST /presentation-factory/sessions/{sid}/questions/{qid}:answered · 必要性 media:writeMark Answered
  • POST /presentation-factory/sessions/{sid}/questions/{qid}:hide · 必要性 media:writeHide QuestionTakes a question off the room's screen. It is NOT deleted: the words stay, with who hid them and why, and the session summary counts them. Moderation you can audit is the only honest kind.
  • POST /presentation-factory/sessions/{sid}/questions/{qid}:restore · 必要性 media:writeRestore Question
  • POST /presentation-factory/sessions/{sid}/runs/{run_id}:to-dataset · 必要性 media:writePoll Run To DatasetPull a closed poll's numbers into the deck as a dataset - carrying the provenance sentence with them, permanently. The room's answer can be shown; it cannot be laundered into a statistic, because the sentence that says what it really is travels in the same row.
  • POST /presentation-factory/sessions/{sid}/slide · 必要性 media:writeGo To SlideMoving on closes the previous slide's stopwatch. That is the whole source of the honest 'planned 4 minutes, took 11' report at the end - nothing is estimated after the fact.
  • POST /presentation-factory/sessions/{sid}:end · 必要性 media:writeEnd SessionEnds the room and writes the record once. The part that matters most is the list of questions that were NEVER answered - the thing a presenter forgets by the time they reach the car park.
  • DELETE /presentation-factory/share-links/{link_id} · 必要性 media:writeRevoke Share Link
  • GET /presentation-factory/shared-with-me · 必要性 media:readShared With Me
  • PATCH /presentation-factory/sources/{sid} · 必要性 media:writePatch Source
  • DELETE /presentation-factory/sources/{sid} · 必要性 media:writeDelete Source
  • GET /presentation-factory/sources/{sid}/snapshots · 必要性 media:readList Snapshots
  • GET /presentation-factory/sources/{sid}/text · 必要性 media:readSource Text
  • POST /presentation-factory/sources/{sid}:recheck · 必要性 media:writeRecheck Web SourceFetch the page again and say plainly whether it still says what was cited. Drift is reported, never silently applied: the old snapshot stays, and the claims keep pointing at what was read.
  • POST /presentation-factory/suggestions/{sid}:accept · 必要性 media:writeAccept Route
  • POST /presentation-factory/suggestions/{sid}:reject · 必要性 media:writeReject Route
  • GET /presentation-factory/templates · 必要性 media:readList Templates
  • POST /presentation-factory/templates · 必要性 media:writeSave Template
  • DELETE /presentation-factory/templates/{tid} · 必要性 media:writeDelete Template
  • POST /presentation-factory/templates/{tid}:approve · 必要性 media:writeApprove Template
  • GET /presentation-factory/versions/{vid} · 必要性 media:readGet Version
  • POST /presentation-factory/versions/{vid}:restore · 必要性 media:writeRestore Version
  • POST /song-factory/approvals/{approval_id}:decide · 必要性 media:writeDecide Approval
  • GET /song-factory/bridges/cinema/projects · 必要性 media:readList Cinema ProjectsCinema projects the caller can add a music track to (RLS-scoped) - the "Send to Cinema" picker.
  • GET /song-factory/bridges/cinema/renders · 必要性 media:readList Scoreable RendersCompleted Cinema renders the caller can see (RLS on render_attempt / render_job / cinema_project does the scoping), newest first - the picker for "Score a Cinema render".
  • POST /song-factory/bridges/cinema/score-render · 必要性 media:writeScore Cinema Render
  • POST /song-factory/bridges/cinema/send/{gen_id} · 必要性 media:writeSend Generation To CinemaA ready/exported generation -> Cinema music asset + audio_track + provenance record, with the Rights Certificate issued first and summarised on the asset.
  • GET /song-factory/bridges/games/assets · 必要性 media:readList Scoreable Game Assets
  • POST /song-factory/bridges/games/import · 必要性 media:writeImport Game Asset
  • GET /song-factory/bridges/games/projects · 必要性 media:readList Game Projects
  • POST /song-factory/bridges/games/send/{gen_id} · 必要性 media:writeSend Generation To Game-> game_asset audio, source fitinty_song_factory, certificate summary in `license`, file_hash = audio sha, review_state proposed (the game's own review gate still decides).
  • POST /song-factory/bridges/import · 必要性 media:writeImport Source
  • GET /song-factory/bridges/marketing/assets · 必要性 media:readList Scoreable Marketing Assets
  • GET /song-factory/bridges/marketing/campaigns · 必要性 media:readList Marketing CampaignsSend targets: a profile (music for the brand) or a specific campaign under it.
  • POST /song-factory/bridges/marketing/import · 必要性 media:writeImport Marketing Asset
  • POST /song-factory/bridges/marketing/send/{gen_id} · 必要性 media:writeSend Generation To Marketing-> marketing_content_asset with audio (migration 272) + marketing_provenance_record + marketing_cross_pillar_link (destination song_factory, accepted).
  • GET /song-factory/bridges/media/assets · 必要性 media:readList Scoreable Media AssetsImages and videos in Media workspaces the caller can see (is_media_staff via RLS).
  • POST /song-factory/bridges/media/import · 必要性 media:writeImport Media AssetA Media image -> Visual Score reference; a Media video -> measured video cue. Same rows, same declarations as a direct upload, with the provenance of where it came from.
  • POST /song-factory/bridges/media/send/{gen_id} · 必要性 media:writeSend Generation To MediaA ready/exported generation -> Media audio asset (ai_generated, consent_confirmed, the certificate summarised in rights_metadata) + media_provenance_record.
  • GET /song-factory/bridges/media/workspaces · 必要性 media:readList Media Workspaces
  • GET /song-factory/bridges/publishers/covers · 必要性 media:readList Scoreable Covers
  • POST /song-factory/bridges/publishers/import · 必要性 media:writeImport Cover
  • POST /song-factory/bridges/send/{gen_id} · 必要性 media:writeSend Generation
  • GET /song-factory/bridges/sources · 必要性 media:readList SourcesOne list for the UI: [{pillar, kind: image|video, ref_id, label}] across pillars, each RLS-scoped by its own query. Empty pillars simply contribute nothing.
  • GET /song-factory/bridges/targets · 必要性 media:readList TargetsEverywhere a finished render can be sent: [{pillar, ref_id, label}]. Workspace is always available (it is the person's own files).
  • GET /song-factory/bridges/workspace/files · 必要性 media:readList Scoreable Workspace Files
  • POST /song-factory/bridges/workspace/import · 必要性 media:writeImport Workspace File
  • POST /song-factory/bridges/workspace/send/{gen_id} · 必要性 media:writeSend Generation To Workspace-> two workspace_file rows: the FLAC and "<name>.certificate.json" beside it. workspace_file has no metadata column; a delivered song never travels without its certificate, so the certificate becomes a file of its own.
  • GET /song-factory/certificates/{cert_id}/verify · 必要性 media:readVerify Certificate
  • PATCH /song-factory/clips/{clip_id} · 必要性 media:writePatch Clip
  • DELETE /song-factory/clips/{clip_id} · 必要性 media:writeDelete Clip
  • POST /song-factory/clips/{clip_id}:split · 必要性 media:writeSplit ClipNon-destructive split: the clip ends at `at`, a new clip starts there with the matching source offset. Fades stay where they were (in on the left part, out on the right).
  • PATCH /song-factory/collaborators/{collaborator_id} · 必要性 media:writePatch Collaborator
  • DELETE /song-factory/collaborators/{collaborator_id} · 必要性 media:writeRevoke Collaborator
  • POST /song-factory/collaborators/{collaborator_id}:respond · 必要性 media:writeRespond Invite
  • DELETE /song-factory/comments/{comment_id} · 必要性 media:writeDelete Comment
  • POST /song-factory/comments/{comment_id}:reopen · 必要性 media:writeReopen Comment
  • POST /song-factory/comments/{comment_id}:resolve · 必要性 media:writeResolve Comment
  • GET /song-factory/generations/{gen_id} · 必要性 media:readGet Generation
  • GET /song-factory/generations/{gen_id}/audio · 必要性 media:readGeneration Audio
  • GET /song-factory/generations/{gen_id}/certificate · 必要性 media:readGet Certificate
  • GET /song-factory/generations/{gen_id}/consistency · 必要性 media:readGeneration ConsistencyScore a generation against its project's identity using what was ACTUALLY sent.
  • GET /song-factory/generations/{gen_id}/export · 必要性 media:readExport GenerationDownload + certificate in one act (plan 12.1 - the package is bigger later; today it is the master and the certificate). Marks the generation EXPORTED.
  • GET /song-factory/generations/{gen_id}/export-package · 必要性 media:readExport PackagePlan 12.1 - the delivery package as one ZIP: the FLAC master, the WAV with the C2PA manifest (sandbox-signed when the SDK is present, else unsigned + the manifest JSON beside it), certificate.json, manifest.json, the .c2pa store when signed, and a README that says which is which and what is NOT warranted. Marks the generation exported.
  • GET /song-factory/generations/{gen_id}/provenance · 必要性 media:readGet Provenance
  • GET /song-factory/generations/{gen_id}/provenance/asset · 必要性 media:readProvenance Asset
  • POST /song-factory/generations/{gen_id}/provenance:issue · 必要性 media:writeIssue Provenance
  • POST /song-factory/generations/{gen_id}/qc · 必要性 media:writeQc GenerationThe audio quality gate (measured, with fixes): EBU R128 loudness, true peak, lead/trail silence, duration vs the brief. Report, never a block - the person decides.
  • POST /song-factory/generations/{gen_id}:cancel · 必要性 media:writeCancel Generation
  • POST /song-factory/generations/{gen_id}:confirm · 必要性 media:writeConfirm Generation
  • POST /song-factory/generations/{gen_id}:reroute · 必要性 media:writeReroute GenerationAsk for a fallback estimate by hand - for a failed render that did not get one (no other model was loaded at the time), or to retry routing later. Same rules as the automatic offer.
  • DELETE /song-factory/locks/{lid} · 必要性 media:writeUnlock Route
  • DELETE /song-factory/markers/{marker_id} · 必要性 media:writeDelete Marker
  • GET /song-factory/models · 必要性 media:readList Models
  • DELETE /song-factory/notes/{note_id} · 必要性 media:writeDelete Note
  • GET /song-factory/projects · 必要性 media:readList Projects
  • POST /song-factory/projects · 必要性 media:writeCreate Project
  • POST /song-factory/projects/{pid}/locks · 必要性 media:writeLock Route
  • GET /song-factory/projects/{pid}/parts · 必要性 media:readParts Route
  • POST /song-factory/projects/{pid}/parts/{part_id}:ai-edit · 必要性 media:writeAi Edit Route
  • POST /song-factory/projects/{pid}/presence · 必要性 media:writePresence Route
  • POST /song-factory/projects/{pid}/suggestions · 必要性 media:writeSuggest Route
  • GET /song-factory/projects/{project_id} · 必要性 media:readGet Project
  • DELETE /song-factory/projects/{project_id} · 必要性 media:writeDelete Project
  • POST /song-factory/projects/{project_id}/approvals · 必要性 media:writeRequest Approval
  • POST /song-factory/projects/{project_id}/brief · 必要性 media:writeSave Brief
  • POST /song-factory/projects/{project_id}/collaborators · 必要性 media:writeAdd Collaborator
  • GET /song-factory/projects/{project_id}/comments · 必要性 media:readList Comments
  • POST /song-factory/projects/{project_id}/comments · 必要性 media:writeAdd Comment
  • GET /song-factory/projects/{project_id}/consistency · 必要性 media:readProject ConsistencyScore the project's CURRENT brief against its bound identity (no render needed).
  • POST /song-factory/projects/{project_id}/generations:estimate · 必要性 media:writeEstimate Generation
  • POST /song-factory/projects/{project_id}/lyrics · 必要性 media:writeSave Lyrics
  • POST /song-factory/projects/{project_id}/lyrics:generate · 必要性 media:writeGenerate Lyrics
  • POST /song-factory/projects/{project_id}/moment:compile · 必要性 media:writeCompile Moment
  • POST /song-factory/projects/{project_id}/references · 必要性 media:writeUpload ReferenceUpload a reference recording. Three declarations are required and stored verbatim with a timestamp; there is no identity detection and none is claimed (plan 7.5: the certificate's no-warranty line exists precisely because of what this cannot check).
  • GET /song-factory/projects/{project_id}/references · 必要性 media:readList References
  • POST /song-factory/projects/{project_id}/share-links · 必要性 media:writeCreate Share Link
  • GET /song-factory/projects/{project_id}/sharing · 必要性 media:readGet Sharing
  • PATCH /song-factory/projects/{project_id}/sharing · 必要性 media:writePatch Sharing
  • POST /song-factory/projects/{project_id}/sonic-identity:apply · 必要性 media:writeApply IdentityOnly an APPROVED version is applied (brand/legal gate). Writes a brief version with the identity's rules enforced and binds the project to identity + version.
  • POST /song-factory/projects/{project_id}/sonic-identity:unbind · 必要性 media:writeUnbind Identity
  • GET /song-factory/projects/{project_id}/timeline · 必要性 media:readGet TimelineGet-or-create the project's timeline. A fresh timeline gets one empty track and tempo from the brief (bpm / time signature) when the brief has them.
  • POST /song-factory/projects/{project_id}/variations:estimate · 必要性 media:writeEstimate VariationsPlan 5.2: one brief, N seeds, one estimate. Every row is a full generation (own certificate, own export); the group is how they are confirmed, rendered and shown together.
  • POST /song-factory/projects/{project_id}/videos · 必要性 media:writeUpload Video
  • GET /song-factory/projects/{project_id}/videos · 必要性 media:readList Videos
  • POST /song-factory/projects/{project_id}/visuals · 必要性 media:writeUpload Visual
  • GET /song-factory/projects/{project_id}/visuals · 必要性 media:readList Visuals
  • POST /song-factory/projects/{project_id}/visuals:analyze · 必要性 media:writeAnalyze VisualsPer-image analysis (cached on the row) + a synthesized VisualMusicBrief. Returns both; applies nothing - the person edits and applies (plan 5.6 steps 5-7).
  • POST /song-factory/projects/{project_id}/visuals:apply · 必要性 media:writeApply Visual Brief
  • POST /song-factory/projects/{project_id}:remix · 必要性 media:writeRemix Project
  • POST /song-factory/projects/{project_id}:restore · 必要性 media:writeRestore Project
  • POST /song-factory/projects/{project_id}:takedown · 必要性 media:writeTakedown Project
  • GET /song-factory/provenance/sdk · 必要性 media:readProvenance Sdk
  • DELETE /song-factory/references/{ref_id} · 必要性 media:writeDelete Reference
  • GET /song-factory/references/{ref_id}/audio · 必要性 media:readReference Audio
  • GET /song-factory/renders/{render_id}/audio · 必要性 media:readRender Audio
  • POST /song-factory/reports · 必要性 media:writeFile Report
  • GET /song-factory/reports · 必要性 media:readList Reports
  • PATCH /song-factory/reports/{report_id} · 必要性 media:writePatch Report
  • DELETE /song-factory/share-links/{link_id} · 必要性 media:writeRevoke Share Link
  • GET /song-factory/shared-with-me · 必要性 media:readShared With Me
  • GET /song-factory/sonic-identities · 必要性 media:readList Identities
  • POST /song-factory/sonic-identities · 必要性 media:writeCreate Identity
  • GET /song-factory/sonic-identities/organizations · 必要性 media:readList Identity OrgsThe organizations this person can hold a Sonic Identity for (member or owner).
  • GET /song-factory/sonic-identities/{identity_id} · 必要性 media:readGet Identity
  • GET /song-factory/sonic-identities/{identity_id}/series · 必要性 media:readSeries ConsistencyEvery render across projects bound to this identity, scored - the 'episode consistency' view for a series or campaign (plan 5.7 / SF-031).
  • POST /song-factory/sonic-identities/{identity_id}/versions · 必要性 media:writeAdd VersionEditing = a new version. Approval does not carry over: the new version is unapproved until an owner approves it (the identity's status drops back to draft if it was approved).
  • POST /song-factory/sonic-identities/{identity_id}:approve · 必要性 media:writeApprove IdentityBrand / legal review (plan 5.7): an org OWNER approves the CURRENT version. Members can draft; only owners approve - the same line themes draw for publishing.
  • POST /song-factory/sonic-identities/{identity_id}:archive · 必要性 media:writeArchive Identity
  • GET /song-factory/studio/peaks · 必要性 media:readPeaks
  • POST /song-factory/suggestions/{sid}:accept · 必要性 media:writeAccept Route
  • POST /song-factory/suggestions/{sid}:reject · 必要性 media:writeReject Route
  • PATCH /song-factory/timelines/{timeline_id} · 必要性 media:writePatch Timeline
  • POST /song-factory/timelines/{timeline_id}/clips · 必要性 media:writeAdd Clip
  • POST /song-factory/timelines/{timeline_id}/clips:place · 必要性 media:writePlace Clip
  • GET /song-factory/timelines/{timeline_id}/daw-package · 必要性 media:readDaw PackagePlan 12.1 'aligned DAW export': mix.wav, stems/<track>.wav each rendered alone and padded to the full length (so they line up on import), markers.csv, edl.json, tempo.txt, lyrics.txt, certificates/<generation>.json for every render used, README.
  • POST /song-factory/timelines/{timeline_id}/markers · 必要性 media:writeAdd Marker
  • POST /song-factory/timelines/{timeline_id}/notes · 必要性 media:writeAdd Note
  • POST /song-factory/timelines/{timeline_id}/regenerate-region · 必要性 media:writeRegenerate RegionA region -> a new render at the region's EXACT length. Writes a new brief version (the duration, and instrumental when no excerpt) and, with an excerpt, a new lyrics version - both append-only, so the regeneration is provenance, not a side channel. Returns the estimate; the person confirms it in Generate; when ready, `clips:place` drops it into the region.
  • POST /song-factory/timelines/{timeline_id}/renders · 必要性 media:writeRender TimelineSynchronous delivery render of the mix (seconds for a few minutes of audio).
  • POST /song-factory/timelines/{timeline_id}/tracks · 必要性 media:writeAdd Track
  • PATCH /song-factory/tracks/{track_id} · 必要性 media:writePatch Track
  • DELETE /song-factory/tracks/{track_id} · 必要性 media:writeDelete Track
  • POST /song-factory/variation-groups/{group_id}:cancel · 必要性 media:writeCancel VariationsCancels every row of the grid that has not started rendering; ones already on the GPU finish (the runner skips canceled rows before it starts each one).
  • POST /song-factory/variation-groups/{group_id}:confirm · 必要性 media:writeConfirm VariationsOne set of declarations for the whole grid; the same checks as a single confirm, applied to every row; one background runner for the group.
  • DELETE /song-factory/videos/{video_id} · 必要性 media:writeDelete Video
  • GET /song-factory/videos/{video_id}/media · 必要性 media:readVideo Media
  • POST /song-factory/videos/{video_id}:apply · 必要性 media:writeApply Video BriefThe edited direction becomes a brief version with the clip's EXACT duration, the energy arc, the hit points, and video_reference_id for provenance.
  • POST /song-factory/videos/{video_id}:measure · 必要性 media:writeMeasure VideoMeasure (cached), describe a few frames with the vision model, synthesize a direction. Returns measurement + direction; applies nothing.
  • DELETE /song-factory/visuals/{visual_id} · 必要性 media:writeDelete Visual
  • GET /song-factory/visuals/{visual_id}/image · 必要性 media:readVisual Image
  • GET /video-factory/animatics/{aid} · 必要性 media:readGet Animatic
  • GET /video-factory/animatics/{aid}/file · 必要性 media:readAnimatic File
  • POST /video-factory/approvals/{approval_id}:decide · 必要性 media:writeDecide Approval
  • GET /video-factory/audio-masters/{mid} · 必要性 media:readGet Master
  • GET /video-factory/audio-masters/{mid}/file · 必要性 media:readMaster File
  • GET /video-factory/board-frames/{fid}/image · 必要性 media:readBoard Image
  • POST /video-factory/certificates/{cert_id}:verify · 必要性 media:writeVerify Certificate
  • PATCH /video-factory/collaborators/{collaborator_id} · 必要性 media:writePatch Collaborator
  • DELETE /video-factory/collaborators/{collaborator_id} · 必要性 media:writeRevoke Collaborator
  • POST /video-factory/collaborators/{collaborator_id}:respond · 必要性 media:writeRespond Invite
  • DELETE /video-factory/comments/{comment_id} · 必要性 media:writeDelete Comment
  • POST /video-factory/comments/{comment_id}:reopen · 必要性 media:writeReopen Comment
  • POST /video-factory/comments/{comment_id}:resolve · 必要性 media:writeResolve Comment
  • GET /video-factory/conforms/{cid} · 必要性 media:readGet Conform
  • POST /video-factory/conforms/{cid}:apply · 必要性 media:writeApply ConformTurn a read timeline into a new cut version - only when every clip in it is media this project already holds. The new cut carries `conformed_from` for the rest of its life, so any certificate issued from it says the edit was made outside Fitinty.
  • GET /video-factory/consent/{record_id}/trace · 必要性 media:readTraceWhere has this person's voice ended up? Asked without changing anything.
  • POST /video-factory/consent/{record_id}/withdraw · 必要性 media:writeWithdrawTake back what can be taken back, and say plainly what cannot.
  • GET /video-factory/continuity-reviews/{rid} · 必要性 media:readGet Review
  • POST /video-factory/continuity-reviews/{rid}/decide · 必要性 media:writeDecideA person telling the machine whether it was right. `disagreed` is a first-class outcome, not an override to be argued with - the model is wrong often enough that a review with no way to say so would just be a machine's opinion with extra steps.
  • GET /video-factory/cost/mine · 必要性 media:readMy FootprintEverything you have asked this machine to do, across all your films. The number an operator would otherwise have to ask for, answerable by the person themselves - which is the point. Somebody who can see their own footprint can manage it; somebody who can only be told about it by an administrator finds out when it is already a conversation.
  • GET /video-factory/credits/{cid} · 必要性 media:readGet Credits
  • GET /video-factory/credits/{cid}/video · 必要性 media:readCredits Video
  • POST /video-factory/cuts/{cut_id}/handoff · 必要性 media:writeCreate HandoffWrite the cut as a timeline an editor can open, and say plainly what did not come with it.
  • GET /video-factory/cuts/{cut_id}/handoffs · 必要性 media:readList Handoffs
  • POST /video-factory/cuts/{cut_id}:render · 必要性 media:writeRender CutSynchronous ffmpeg render of the EDL -> MP4 review export (+ WebVTT sidecar). Typically seconds for a few shots; the caller shows 'rendering'.
  • GET /video-factory/delivery-reports/{rid} · 必要性 media:readGet Report
  • POST /video-factory/delivery-reports/{rid}/answer · 必要性 media:writeAnswer`intended` is a real answer, not an override to be argued with. Most of what this report raises will turn out to be somebody's deliberate edit, and a report that treats every one of those as an outstanding failure is a report people stop opening.
  • PATCH /video-factory/entities/{eid} · 必要性 media:writePatch Entity
  • DELETE /video-factory/entities/{eid} · 必要性 media:writeDelete Entity
  • GET /video-factory/exports/{export_id}/accessibility · 必要性 media:readCheck
  • POST /video-factory/exports/{export_id}/accessibility:issue · 必要性 media:writeIssue
  • GET /video-factory/exports/{export_id}/captions · 必要性 media:readExport Captions
  • GET /video-factory/exports/{export_id}/certificate · 必要性 media:readGet Certificate
  • POST /video-factory/exports/{export_id}/credits · 必要性 media:writeCreate
  • GET /video-factory/exports/{export_id}/credits · 必要性 media:readList Credits
  • GET /video-factory/exports/{export_id}/credits:preview · 必要性 media:readPreviewWhat the credits would say, before anything is rendered.
  • GET /video-factory/exports/{export_id}/deliverable · 必要性 media:readWhat Would GoWhat a package for this export would contain, without building one. Worth its own route: the answer is a decision aid - "is this film ready to send?" - and asking it should not cost a zip of a film that is not ready to go anywhere yet.
  • GET /video-factory/exports/{export_id}/described-audio · 必要性 media:readDescribed TrackThe descriptions as a WebVTT `descriptions` track - the standard way to ship audio description as text a screen reader can speak, without re-rendering the video.
  • GET /video-factory/exports/{export_id}/descriptions · 必要性 media:readList DescriptionsEvery shot, with whatever description exists - and, for generated shots with none, what the shot was ASKED to be, offered as a starting point and labelled as such.
  • PUT /video-factory/exports/{export_id}/descriptions · 必要性 media:writeSave DescriptionSaving a description marks it `human`: somebody has looked and written it. There is no path that promotes a suggestion to a description without a person passing it through here.
  • POST /video-factory/exports/{export_id}/loudness · 必要性 media:writeNormaliseMake a rendition at a named delivery loudness. A NEW file - never a replacement.
  • POST /video-factory/exports/{export_id}/package · 必要性 media:writeCreatePut everything that belongs with this film in one place, and say what does not.
  • GET /video-factory/exports/{export_id}/packages · 必要性 media:readList Packages
  • GET /video-factory/exports/{export_id}/provenance/asset · 必要性 media:readProvenance Asset
  • POST /video-factory/exports/{export_id}/provenance:issue · 必要性 media:writeIssue Provenance
  • POST /video-factory/exports/{export_id}/qc · 必要性 media:writeQc ExportThe video quality gate (measured, with fixes). Report, never a block.
  • GET /video-factory/exports/{export_id}/sound · 必要性 media:readSound ReportEverything about this file's sound: how loud it is, where the speech is, where the silence is, and whether the audio description written for it can actually be heard.
  • POST /video-factory/exports/{export_id}/subtitles · 必要性 media:writeCreateTranslate this film's captions into another language, and measure whether they can be read.
  • GET /video-factory/exports/{export_id}/subtitles · 必要性 media:readList Tracks
  • POST /video-factory/exports/{export_id}/variants · 必要性 media:writeExport VariantsCut the master into per-channel aspects (9:16 social, 1:1 feed, 4:5 portrait feed). Each variant is a real export row: its own QC, its own certificate (same EDL provenance).
  • GET /video-factory/exports/{export_id}/video · 必要性 media:readExport Video
  • GET /video-factory/exports/{export_id}/withdrawn · 必要性 media:readExport WithdrawnWhether this film contains material somebody has taken back, and what is waiting on a person.
  • POST /video-factory/exports/{export_id}/withdrawn-decision · 必要性 media:writeDecideA person decides what happens to a finished film that holds withdrawn material. `destroy` really destroys the film file. `keep` does not un-flag anything - it records that a named person looked at this and chose to keep it, which is a different and more useful fact than the flag quietly disappearing.
  • GET /video-factory/exports/{to_export_id}/notes-from/{from_export_id} · 必要性 media:readPreviewWhat the notes on the older cut point at now. Nothing is stored or moved.
  • POST /video-factory/exports/{to_export_id}/notes-from/{from_export_id} · 必要性 media:writeIssueKeep the reading, so decisions about individual notes can be recorded against it.
  • PATCH /video-factory/footage/{fid} · 必要性 media:writeUpdate Footage
  • DELETE /video-factory/footage/{fid} · 必要性 media:writeDelete Footage
  • POST /video-factory/footage/{fid}/lipsync · 必要性 media:writeRefuse Footage LipsyncA route that exists in order to refuse, and to say why in full. Returning 404 here would be cheaper and would teach nobody anything. Somebody who tries this is asking a reasonable-sounding question - "can I sync my own footage?" - and deserves the real answer rather than a dead end.
  • POST /video-factory/footage/{fid}/transcript · 必要性 media:writeStart Transcript
  • GET /video-factory/footage/{fid}/transcript · 必要性 media:readGet Transcript
  • PUT /video-factory/footage/{fid}/transcript · 必要性 media:writeSave TranscriptCorrecting a line is what turns a guess into a record. `mark_checked` is the person saying they have actually read it - it is not set for them by editing one segment.
  • GET /video-factory/formats · 必要性 media:readFormatsWhich format to pick, and the honest reason for each.
  • GET /video-factory/generations/{gen_id} · 必要性 media:readGet Generation
  • GET /video-factory/generations/{gen_id}/thumbnail · 必要性 media:readGeneration Thumbnail
  • GET /video-factory/generations/{gen_id}/video · 必要性 media:readGeneration Video
  • POST /video-factory/generations/{gen_id}:cancel · 必要性 media:writeCancel
  • POST /video-factory/generations/{gen_id}:confirm · 必要性 media:writeConfirm
  • POST /video-factory/generations/{gen_id}:retry · 必要性 media:writeRetryPlan MVF3 retry/recovery: a retryable or provider-unavailable take goes back to the queue with the SAME declaration (the person already made it) once the engine is reachable.
  • POST /video-factory/generations/{gid}/grade · 必要性 media:writeStart GradeBring one shot closer to the rest of the film. Writes a new file; never touches the take.
  • POST /video-factory/generations/{gid}/lipsync · 必要性 media:writeStart LipsyncRe-animate the mouth in this take to the lines spoken for its shot.
  • GET /video-factory/generations/{gid}/readings · 必要性 media:readShot Readings
  • GET /video-factory/grades/{gid}/video · 必要性 media:readGrade Video
  • GET /video-factory/handoffs/{hid}/file · 必要性 media:readHandoff File
  • GET /video-factory/line-takes/{take_id}/audio · 必要性 media:readTake Audio
  • GET /video-factory/lipsync/{lid}/video · 必要性 media:readLipsync Video
  • DELETE /video-factory/locks/{lid} · 必要性 media:writeUnlock Route
  • GET /video-factory/look-reports/{rid} · 必要性 media:readGet Report
  • POST /video-factory/look-reports/{rid}/answer · 必要性 media:writeAnswer"That shot is meant to look different" is the correct answer more often than not.
  • GET /video-factory/models · 必要性 media:readList Models
  • POST /video-factory/note-carries/{cid}/decide · 必要性 media:writeDecideCarry one note onto the new cut, drop it, or leave it where it was. `carry` writes a NEW comment on the new export rather than moving the old one - the original is what a reviewer actually wrote against a film they actually saw, and rewriting its timecode would make the record of that conversation untrue.
  • PUT /video-factory/organizations/{org_id}/machine-rate · 必要性 media:writeSet RateSay what an hour of this machine is worth to you. Optional, and nothing is estimated in its absence. Recorded with a name because a figure that turns up in somebody's budget should be traceable to the person who chose it.
  • GET /video-factory/organizations/{org_id}/machine-rate · 必要性 media:readGet Rate
  • GET /video-factory/organizations/{org_id}/stranded-projects · 必要性 media:readStrandedWhich of this organisation's films are held by people who have left. The operational question nobody could ask before. Restricted to owners of the organisation: "whose work is stuck" is a management question, and it names departed colleagues.
  • GET /video-factory/packages/{pkg_id} · 必要性 media:readGet Package
  • GET /video-factory/packages/{pkg_id}/download · 必要性 media:readDownload
  • GET /video-factory/projects · 必要性 media:readList Projects
  • POST /video-factory/projects · 必要性 media:writeCreate Project
  • PUT /video-factory/projects/{pid}/adaptation · 必要性 media:writeSave AdaptationThe person's edit: a new version authored 'human' (or 'mixed' after an AI draft).
  • POST /video-factory/projects/{pid}/adaptation:draft · 必要性 media:writeDraft AdaptationLogline + treatment + beat sheet from the ingested source. A new adaptation version; the person edits it freely afterwards.
  • POST /video-factory/projects/{pid}/animatic · 必要性 media:writeBuild AnimaticCuts the boarded panels to the planned durations. A shot with no panel becomes a plain card rather than being skipped - the shape of the film depends on that shot taking its time whether or not anybody drew it.
  • GET /video-factory/projects/{pid}/animatics · 必要性 media:readList Animatics
  • GET /video-factory/projects/{pid}/bible · 必要性 media:readGet Bible
  • PUT /video-factory/projects/{pid}/bible · 必要性 media:writeSave BibleApply the change; the impact it had is recorded on the version, not just previewed.
  • POST /video-factory/projects/{pid}/bible:impact · 必要性 media:writePreview Bible ImpactWhat this change would touch - BEFORE it propagates (plan 7.2). Read-only.
  • POST /video-factory/projects/{pid}/board · 必要性 media:writeDraw Board
  • GET /video-factory/projects/{pid}/board · 必要性 media:readGet Board
  • POST /video-factory/projects/{pid}/claim · 必要性 media:writeClaimTake custody of a film whose maker has left. Only that - see the refusals.
  • GET /video-factory/projects/{pid}/composition · 必要性 media:readCompositionWhat the latest cut actually contains - and therefore what the certificate is allowed to say.
  • POST /video-factory/projects/{pid}/conform · 必要性 media:writeRead TimelineRead a timeline that came back from an editor. Nothing is applied - this says what is in it.
  • GET /video-factory/projects/{pid}/conforms · 必要性 media:readList Conforms
  • GET /video-factory/projects/{pid}/continuity · 必要性 media:readContinuity
  • POST /video-factory/projects/{pid}/continuity-review · 必要性 media:writeStart ReviewSamples frames from every rendered take and asks a vision model what it sees. Off the request: three frames a shot on a twenty-shot film is minutes of GPU.
  • GET /video-factory/projects/{pid}/continuity-reviews · 必要性 media:readList ReviewsA review a person cannot find again is a review that did not happen. Reloading the page must bring back the findings they had not decided on yet.
  • GET /video-factory/projects/{pid}/cost · 必要性 media:readProject CostWhat this film has taken out of the machine.
  • GET /video-factory/projects/{pid}/custody · 必要性 media:readCustodyWho controls this film, who made it, and whether either of those is a problem.
  • GET /video-factory/projects/{pid}/delivery · 必要性 media:readPreviewThe film against its own script, recomputed now. Nothing is stored.
  • POST /video-factory/projects/{pid}/delivery · 必要性 media:writeIssueKeep a dated copy, against the script version it was measured on - so a later rewrite cannot silently invalidate a report somebody has already read and acted on.
  • GET /video-factory/projects/{pid}/delivery-reports · 必要性 media:readList Reports
  • GET /video-factory/projects/{pid}/entities · 必要性 media:readList Entities
  • POST /video-factory/projects/{pid}/entities · 必要性 media:writeAdd Entity
  • POST /video-factory/projects/{pid}/entities:extract · 必要性 media:writeExtract EntitiesPull the characters, locations and props out of the source/treatment. Everything lands as DRAFT - a human approves each identity pack (and its rights) before shots may use it.
  • GET /video-factory/projects/{pid}/fit · 必要性 media:readGet FitJust the fit report, for the panel that has to show it beside the shot list.
  • POST /video-factory/projects/{pid}/footage · 必要性 media:writeIngest FootageBring in a clip somebody actually shot. What ffprobe finds beats what the uploader says, and the rights declaration travels with the file from here to the certificate.
  • GET /video-factory/projects/{pid}/footage · 必要性 media:readList Footage
  • GET /video-factory/projects/{pid}/grades · 必要性 media:readList Grades
  • GET /video-factory/projects/{pid}/graph · 必要性 media:readProduction GraphThe whole graph in one call for the Story step.
  • POST /video-factory/projects/{pid}/handover · 必要性 media:writeHandoverGive this film to somebody else. The ordinary path, taken while you are still here.
  • GET /video-factory/projects/{pid}/lipsync · 必要性 media:readList Lipsync
  • POST /video-factory/projects/{pid}/locks · 必要性 media:writeLock Route
  • POST /video-factory/projects/{pid}/look · 必要性 media:writeStart ReportMeasure every shot in the cut and say which ones stand apart from the rest.
  • GET /video-factory/projects/{pid}/look-reports · 必要性 media:readList Reports
  • GET /video-factory/projects/{pid}/note-carries · 必要性 media:readList Carries
  • GET /video-factory/projects/{pid}/parts · 必要性 media:readParts Route
  • POST /video-factory/projects/{pid}/parts/{part_id}:ai-edit · 必要性 media:writeAi Edit Route
  • GET /video-factory/projects/{pid}/pitch.md · 必要性 media:readPitch PackageThe one-document pitch a human hands to a producer: what it is, what it costs to render, who and what is in it, where the rights stand, and what is still open.
  • GET /video-factory/projects/{pid}/plan · 必要性 media:readProduction Plan
  • POST /video-factory/projects/{pid}/presence · 必要性 media:writePresence Route
  • GET /video-factory/projects/{pid}/scenes · 必要性 media:readList Scenes
  • POST /video-factory/projects/{pid}/scenes · 必要性 media:writeAdd Scene
  • POST /video-factory/projects/{pid}/scenes:breakdown · 必要性 media:writeBreakdown ScenesTreatment + beats -> the scene list, each naming the entities it uses. Replaces DRAFT scenes only; approved scenes are never overwritten by the assistant.
  • GET /video-factory/projects/{pid}/score · 必要性 media:readScore ReportDoes the music fit the film? Analyses the piece the first time it is asked about, and reuses that analysis for every cut afterwards - the phrase boundaries belong to the piece, not the cut.
  • POST /video-factory/projects/{pid}/score:listen · 必要性 media:writeListenListen to the piece on this project's cut and find where it can end.
  • POST /video-factory/projects/{pid}/source:ingest · 必要性 media:writeIngest SourceBring the source in behind the rights gate. A Publishers manuscript must be confirmed owned/licensed there, or the person declares the adaptation right here - either way the declaration is stored verbatim and quoted by the certificate.
  • POST /video-factory/projects/{pid}/speak · 必要性 media:writeSpeak LinesSay every line in the script, in the voice cast for its speaker.
  • GET /video-factory/projects/{pid}/speech · 必要性 media:readGet SpeechEvery line take, and the fit report - which is the part worth reading.
  • POST /video-factory/projects/{pid}/suggestions · 必要性 media:writeSuggest Route
  • GET /video-factory/projects/{pid}/voices · 必要性 media:readGet CastWho speaks in this film, who is cast, and who has nobody.
  • POST /video-factory/projects/{pid}/voices · 必要性 media:writeCast Voice
  • POST /video-factory/projects/{pid}/voices-reconfirmed · 必要性 media:writeReconfirm VoicesSay, by name, that you have checked the people who lent their voices still agree. A name and not a checkbox, for the same reason a subtitle track records who read it through: a box that somebody ticked is not a claim anybody made, and this one is about a real person's voice.
  • GET /video-factory/projects/{project_id} · 必要性 media:readGet Project
  • DELETE /video-factory/projects/{project_id} · 必要性 media:writeDelete Project
  • POST /video-factory/projects/{project_id}/approvals · 必要性 media:writeRequest Approval
  • POST /video-factory/projects/{project_id}/brief · 必要性 media:writeSave Brief
  • POST /video-factory/projects/{project_id}/collaborators · 必要性 media:writeAdd Collaborator
  • GET /video-factory/projects/{project_id}/comments · 必要性 media:readList Comments
  • POST /video-factory/projects/{project_id}/comments · 必要性 media:writeAdd Comment
  • POST /video-factory/projects/{project_id}/cuts · 必要性 media:writeSave Cut
  • POST /video-factory/projects/{project_id}/cuts:auto · 必要性 media:writeAuto CutA first cut from the approved (or latest ready) take of every shot, in shot order.
  • POST /video-factory/projects/{project_id}/description:compile · 必要性 media:writeCompile Description
  • POST /video-factory/projects/{project_id}/generations:estimate · 必要性 media:writeEstimate
  • POST /video-factory/projects/{project_id}/moment:compile · 必要性 media:writeCompile Moment
  • POST /video-factory/projects/{project_id}/script · 必要性 media:writeSave Script
  • POST /video-factory/projects/{project_id}/script:draft · 必要性 media:writeDraft Script
  • POST /video-factory/projects/{project_id}/share-links · 必要性 media:writeCreate Share Link
  • GET /video-factory/projects/{project_id}/sharing · 必要性 media:readGet Sharing
  • PATCH /video-factory/projects/{project_id}/sharing · 必要性 media:writePatch Sharing
  • POST /video-factory/projects/{project_id}/shots · 必要性 media:writeAdd Shot
  • POST /video-factory/projects/{project_id}/shots:plan · 必要性 media:writePlan ShotsScript -> shot list with contracts. Replaces PLANNED shots that have no takes yet; shots that already rendered are kept (the person's work is never thrown away by a re-plan).
  • GET /video-factory/projects/{project_id}/standing-declaration · 必要性 media:readGet Standing Declaration
  • POST /video-factory/projects/{project_id}/standing-declaration · 必要性 media:writeDeclare Standing
  • POST /video-factory/projects/{project_id}/standing-declaration:withdraw · 必要性 media:writeWithdraw Standing
  • POST /video-factory/projects/{project_id}:recover · 必要性 media:writeRecoverPlan MVF3 recovery. For every take of this project that an interrupted process left in preparing / generating / post_processing: if ComfyUI still has the job, leave it (the person can wait or cancel); if ComfyUI finished it and still holds the output, collect it; otherwise mark it failed_retryable with the reason, so Retry re-queues it under the same declaration.
  • POST /video-factory/projects/{project_id}:restore · 必要性 media:writeRestore Project
  • POST /video-factory/projects/{project_id}:score-in-song-factory · 必要性 media:writeScore In Song FactoryOpens a Song Factory project whose brief carries this video's music intent and whose video reference is the review export (SF6 measures cuts/energy and the Studio gets hit points).
  • POST /video-factory/projects/{project_id}:takedown · 必要性 media:writeTakedown Project
  • GET /video-factory/queue · 必要性 media:readRead QueueWhat the machine is doing, and where your work sits in it. Your own jobs come back in full. Everything else is a COUNT - how many are ahead of you is a number you need; whose they are and what they are for is not.
  • GET /video-factory/queue/history · 必要性 media:readRead HistoryYour own finished jobs, with what they really cost.
  • GET /video-factory/queue/machine · 必要性 media:readRead MachineThe card itself, and what each kind of work has really cost on it. Every number here is about the MACHINE, not about this caller - which is why it reads nothing tenant-scoped. Authentication is still required: what the Forge is holding and how long a render takes on it is not a public fact.
  • POST /video-factory/queue/{jid}/cancel · 必要性 media:writeCancelLeave the line. A running job is not stopped from here - see the note.
  • POST /video-factory/reports · 必要性 media:writeFile Report
  • GET /video-factory/reports · 必要性 media:readList Reports
  • PATCH /video-factory/reports/{report_id} · 必要性 media:writePatch Report
  • PATCH /video-factory/scenes/{sid} · 必要性 media:writePatch Scene
  • DELETE /video-factory/scenes/{sid} · 必要性 media:writeDelete Scene
  • GET /video-factory/search · 必要性 media:readDo SearchFind a film by something inside it.
  • GET /video-factory/search/recent · 必要性 media:readRecentYour own recent searches, and how long the live scan really took. The timing is the point: it is the number that will one day decide whether a pre-built index is worth the staleness it brings, and it should be measured by then rather than argued about.
  • DELETE /video-factory/share-links/{link_id} · 必要性 media:writeRevoke Share Link
  • GET /video-factory/shared-with-me · 必要性 media:readShared With Me
  • GET /video-factory/shot-readings/{reading_id}/frame · 必要性 media:readReading FrameThe frame a finding came from. Without this route the report can say "check it yourself" and then give a person no way to look, which is worse than saying nothing.
  • PATCH /video-factory/shots/{shot_id} · 必要性 media:writePatch Shot
  • DELETE /video-factory/shots/{shot_id} · 必要性 media:writeDelete Shot
  • POST /video-factory/shots/{shot_id}/scene · 必要性 media:writeAttach Shot To SceneComplete the graph: shot -> scene (and so -> entities, beats, source).
  • GET /video-factory/storage · 必要性 media:readAuditWhat is really on the disk, what nothing points at, and what points at nothing.
  • GET /video-factory/storage/audits · 必要性 media:readList Audits
  • POST /video-factory/storage/mark-ghosts · 必要性 media:writeMark GhostsMake the rows tell the truth. Marks; never deletes. Only exports, generations and (since 567) voice takes carry a status this can be said in. The rest are reported and left exactly as they are: inventing a state on a table to record a fact about the disk would be a worse lie than the broken link. Voice takes were added because for them the broken link WAS the worse lie - a 'ready' take is what ev…
  • POST /video-factory/storage/sweep · 必要性 media:writeSweepDelete the orphans, and only the orphans. `confirm_bytes` has to match what the audit said it would free. If the disk changed between looking and deciding, this refuses - somebody agreeing to free 40 MB has not agreed to free 4 GB, and a delete that silently took more than was shown would be unrecoverable.
  • GET /video-factory/subtitles/{tid} · 必要性 media:readGet Track
  • POST /video-factory/subtitles/{tid}/reviewed · 必要性 media:writeMark ReviewedRecord that somebody who speaks the language has been through it. Machine output and reviewed output are different things, and a track that cannot tell them apart will eventually be shipped as though a person had checked it.
  • GET /video-factory/subtitles/{tid}/vtt · 必要性 media:readTrack Vtt
  • POST /video-factory/suggestions/{sid}:accept · 必要性 media:writeAccept Route
  • POST /video-factory/suggestions/{sid}:reject · 必要性 media:writeReject Route
  • DELETE /video-factory/voices/{cast_id} · 必要性 media:writeUncast
  • GET /video-factory/withdrawals/{wid} · 必要性 media:readGet Withdrawal
Cinema - 86 エンドポイント - cinema:read, cinema:write

Film and video production end to end, from script to a delivered package.

  • POST /cinema-payments/licenses · 必要性 cinema:writeCreate License
  • GET /cinema-payments/licenses · 必要性 cinema:readList Licenses
  • GET /cinema-payments/purchases/mine · 必要性 cinema:readMy FilmsTHE VIEWER'S OWN FILMS (P5, 2026-09-24). A screening or a licence a person paid for, across every studio - the first customer-side view this pillar has had: until today a buyer held only the link the checkout returned. A purchase names its person by `created_by` when they were signed in and otherwise by the email they paid with - the standing ownership rule (own_identity), decided here per row on …
  • POST /cinema-payments/releases · 必要性 cinema:writeCreate ReleaseMints the release for a DELIVERY-READY project with a completed render - the pipeline's own gate, not a parallel one. Born UNPUBLISHED: a film goes in front of the world by the toggle below, never by a row existing.
  • GET /cinema-payments/releases · 必要性 cinema:readList Releases
  • PATCH /cinema-payments/releases/{release_id} · 必要性 cinema:writeUpdate Release
  • POST /cinema-payments/releases/{release_id}/publish · 必要性 cinema:writeToggle Release PublishThe pillar's go-live. PAY-TO-OPEN in the function body, off->on only - unpublishing is always the tenant's right.
  • POST /cinema-payments/webhook · 必要性 cinema:writeCinema Stripe WebhookSignature or refusal, captured events only - education's shape exactly.
  • PATCH /cinema/adaptation-plans/{plan_id} · 必要性 cinema:writeUpdate Adaptation Plan
  • POST /cinema/adaptation-plans/{plan_id}/breakdown-shots · 必要性 cinema:writeBreakdown ShotsAI-drafts a real, structured scene-by-scene, shot-by-shot breakdown from an approved adaptation_plan's own beat_sheet, grounded strictly in that text - never invents a location/character/event beyond what the plan already states. Every drafted scene/shot lands as a real row via the exact same create_scene/create_shot functions the manual Scenes & Shots UI already uses (called in-process, matching …
  • GET /cinema/assets · 必要性 cinema:readList Assets
  • POST /cinema/assets · 必要性 cinema:writeUpload Asset
  • POST /cinema/assets/generate-concept-art · 必要性 cinema:writeGenerate Concept ArtReal FLUX.1-dev text-to-image generation (flux_image_engine.py) - not a Pillow typography card. Blocks on the real ComfyUI job (a single FLUX frame is fast, ~10-20s on this hardware, unlike video), then stores the result as a real cinema_asset - same enhance_image() pipeline every other image upload in this platform goes through.
  • GET /cinema/assets/{asset_id}/download · 必要性 cinema:readDownload Asset
  • GET /cinema/audio-tracks · 必要性 cinema:readList Audio Tracks
  • POST /cinema/audio-tracks · 必要性 cinema:writeCreate Audio Track
  • GET /cinema/available-manuscripts · 必要性 cinema:readList Available ManuscriptsReal manuscripts the caller can actually see, via Publishers' own RLS - no separate cross-pillar permission check needed, the row-level policy on `manuscript` already scopes this correctly.
  • GET /cinema/avatar-projects · 必要性 cinema:readList Avatar Projects
  • POST /cinema/avatar-projects · 必要性 cinema:writeCreate Avatar Project
  • GET /cinema/capabilities · 必要性 cinema:readList CapabilitiesWhat a studio can do right now - a key and a word; the sentences are the studio's (en.json).
  • POST /cinema/character-looks · 必要性 cinema:writeCreate Character LookA look is a named, reusable COMBINATION of items - assembled once by a director, applied to many shots, exactly the reuse the Emperor described ("should be able to change or add clothes... behave like they are living in real life") rather than re-picking every item on every single shot.
  • DELETE /cinema/character-looks/{look_id} · 必要性 cinema:writeDelete Character Look
  • GET /cinema/characters · 必要性 cinema:readList Characters
  • POST /cinema/characters · 必要性 cinema:writeCreate Character
  • PATCH /cinema/characters/{character_id} · 必要性 cinema:writeUpdate CharacterLinks a character to an already-uploaded reference photo (a real cinema_asset - honest reference/moodboard image for the art department, NOT an AI-video identity-lock mechanism, see migration 073's own note) and/or a voice consent record. RLS scopes both id checks below - a non-staff attempt to link an asset/consent from a different project simply won't find the row.
  • GET /cinema/characters/{character_id}/looks · 必要性 cinema:readList Character Looks
  • GET /cinema/delivery-packages · 必要性 cinema:readList Delivery Packages
  • POST /cinema/delivery-packages · 必要性 cinema:writeCreate Delivery PackageDelivery readiness requires approval and validation (spec section 27) - real-enforced here: refuses to create a package until at least one review_cycle on this project has reached 'approved', matching the server-enforced gate pattern already proven for Publishers' production status gate and Education's certificate gate.
  • DELETE /cinema/dubs/{dub_id} · 必要性 cinema:writeDelete Dub
  • GET /cinema/dubs/{dub_id}/artifact · 必要性 cinema:readDownload Dub Artifact
  • PATCH /cinema/dubs/{dub_id}/mark-reviewed · 必要性 cinema:writeMark Dub ReviewedA human explicitly confirming the dubbed draft has been reviewed - never automatic, matching manuscript_translation's exact same pattern (and for the same reason: MT quality plus an unverified accent- adaptation claim means this can never be treated as finished without a human actually watching/listening to it first).
  • GET /cinema/integrations · 必要性 cinema:readList IntegrationsOwner only - it names the Forge's engines. Read on the Workspace Health desk.
  • GET /cinema/projects · 必要性 cinema:readList Projects
  • POST /cinema/projects · 必要性 cinema:writeCreate Project
  • GET /cinema/projects/{project_id} · 必要性 cinema:readGet Project
  • GET /cinema/projects/{project_id}/adaptation-plans · 必要性 cinema:readList Adaptation Plans
  • POST /cinema/projects/{project_id}/adaptation-plans/propose · 必要性 cinema:writePropose Adaptation PlanBook-to-Movie bridge (spec section 10): pulls a real Publishers manuscript this project is linked to (title/synopsis/chapters) and asks the AI to draft a logline/synopsis/treatment/beat-sheet grounded in the actual book content - never invents plot beyond what the manuscript contains, and never touches canon or rights status. Lands as a draft adaptation_plan for a human to review/edit/approve - th…
  • PATCH /cinema/projects/{project_id}/status · 必要性 cinema:writeTransition Project
  • GET /cinema/projects/{project_id}/voice-consent-records · 必要性 cinema:readList Consent Records
  • POST /cinema/projects/{project_id}/voice-consent-records · 必要性 cinema:writeCreate Consent RecordReal consent capture - typed full legal name + the exact statement agreed to, timestamped, plus an optional uploaded signed document. Whoever's voice is being cloned must be the one whose name and consent this record carries - a platform owner or project creator cannot consent on behalf of a real third person's voice, only for their own or with that person's own documented authorization.
  • GET /cinema/provenance · 必要性 cinema:readList Provenance
  • POST /cinema/provenance · 必要性 cinema:writeCreate ProvenanceSigning status stays 'unsigned' by default - real C2PA signing is a separately-gated real infrastructure decision (spec section 26/37), same discipline already used for Media/Publishers provenance.
  • GET /cinema/render-attempts/{attempt_id}/artifact · 必要性 cinema:readDownload Artifact
  • POST /cinema/render-attempts/{attempt_id}/dubs · 必要性 cinema:writeCreate Dub
  • GET /cinema/render-attempts/{attempt_id}/dubs · 必要性 cinema:readList Dubs
  • GET /cinema/render-jobs · 必要性 cinema:readList Render Jobs
  • POST /cinema/render-jobs · 必要性 cinema:writeCreate Render Job
  • GET /cinema/render-jobs/{job_id}/attempts · 必要性 cinema:readList Render Attempts
  • POST /cinema/render-jobs/{job_id}/run-assemble · 必要性 cinema:writeRun Scene AssemblyReal ffmpeg-based timeline assembly (see cinema_video_engine.assemble_ scene_shots) - stitches a scene's already-COMPLETED shot renders into one continuous crossfaded video. This is the real answer to "Cinema generates individual clips but nothing stitches them together" - see CLAUDE.md's entry on the DaVinci Resolve question for the full real reasoning on why this is ffmpeg-based rather than Reso…
  • POST /cinema/render-jobs/{job_id}/run-mock · 必要性 cinema:writeRun Mock RenderDrives a queued render job through a real mock render attempt - running -> completed (real ffmpeg-generated MP4 artifact) or failed (real ffmpeg error captured, retry-able by re-queuing the job).
  • POST /cinema/render-jobs/{job_id}/run-real · 必要性 cinema:writeRun Real RenderDrives a queued render job through a REAL local AI video generation (ComfyUI + LTX-2.3-22B, running on The Forge's own GPU) - not the ffmpeg mock placeholder above. Same job/attempt lifecycle as run-mock; blocks synchronously while ComfyUI renders (a single 5s 720p clip took ~20-45s on this hardware during verification), matching the mock renderer's own synchronous shape rather than adding a separ…
  • PATCH /cinema/render-jobs/{job_id}/status · 必要性 cinema:writeTransition Render Job
  • GET /cinema/reviews · 必要性 cinema:readList Reviews
  • POST /cinema/reviews · 必要性 cinema:writeCreate Review
  • PATCH /cinema/reviews/{review_id} · 必要性 cinema:writeUpdate Review
  • GET /cinema/scenes · 必要性 cinema:readList Scenes
  • POST /cinema/scenes · 必要性 cinema:writeCreate Scene
  • POST /cinema/scenes/{scene_id}/batch-render · 必要性 cinema:writeBatch Render SceneReal batch render: queues and runs one real render_job per shot in this scene, in shot-number order, consuming real Imperial Fuel credits from the linked Publisher house's real fuel account as it goes (the exact same balance-check + house_fuel_ledger-insert shape publishers_services_budget.py's own checkout_cart already uses). Honest, not all-or-nothing: if the house can't afford every shot, it re…
  • GET /cinema/scenes/{scene_id}/batch-render-cost-estimate · 必要性 cinema:readBatch Render Cost EstimateReal, non-fabricated cost preview - genuinely computed from the scene's real current shot count times the real, documented per-shot fuel cost for the chosen engine (never a hash-based/random placeholder number). Also reports the house's real current fuel balance so a user can see up front whether they can afford it, without spending anything - the same "check before you commit" shape as tools_fuel…
  • GET /cinema/scenes/{scene_id}/continuity-check · 必要性 cinema:readCheck Scene Wardrobe ContinuityThe real 'continuity department' feature the Emperor explicitly asked for ("actively track wardrobe continuity across a scene"). Fetches this scene's real shot-look assignments (RLS-scoped, same as every other read in this module) and runs the actual pure-logic checker from wardrobe_engine.py - see that module for the real, independently-verified algorithm.
  • GET /cinema/scenes/{scene_id}/shot-look-assignments · 必要性 cinema:readList Scene Shot Look AssignmentsThe real current assignments for a scene's shots - what the continuity checker itself reads, exposed separately so the UI can show what's actually assigned, not just flagged issues.
  • GET /cinema/scripts · 必要性 cinema:readList Scripts
  • POST /cinema/scripts · 必要性 cinema:writeCreate Script
  • POST /cinema/scripts/{script_id}/versions · 必要性 cinema:writeSave Script VersionSnapshots every scene's content under this script's project into one JSON version - same pattern as Publishers' manuscript_version.
  • POST /cinema/series-bibles/{bible_id}/movie-series · 必要性 cinema:writePropose Movie SeriesSeries -> Movie series bridge. For every book in the series (Part 0) that doesn't already have a linked cinema_project, creates a new cinema_project (source_manuscript_id + series_bible_id set) via the exact same insert shape create_project already uses, then seeds its first adaptation_plan draft via the existing, unmodified propose_adaptation_plan - grounded in that specific book only, never a mi…
  • GET /cinema/series-bibles/{bible_id}/movie-series · 必要性 cinema:readList Movie Series Projects
  • PUT /cinema/shot-look-assignments · 必要性 cinema:writeSet Shot Look AssignmentUpsert on (shot_id, character_id) - a director re-assigning a character's look on a shot they already set replaces it, matching the real UNIQUE constraint on shot_look_assignment.
  • GET /cinema/shots · 必要性 cinema:readList Shots
  • POST /cinema/shots · 必要性 cinema:writeCreate Shot
  • POST /cinema/studios · 必要性 cinema:writeCreate Studio
  • GET /cinema/studios/mine · 必要性 cinema:readGet My Studio
  • GET /cinema/trailers · 必要性 cinema:readList Trailers
  • POST /cinema/trailers · 必要性 cinema:writeCreate Trailer
  • GET /cinema/voice-calibration-scripts · 必要性 cinema:readList Calibration Scripts
  • GET /cinema/voice-consent-records/{record_id}/document · 必要性 cinema:readDownload Consent Document
  • PATCH /cinema/voice-consent-records/{record_id}/revoke · 必要性 cinema:writeRevoke Consent Record
  • GET /cinema/voice-consent-records/{record_id}/samples · 必要性 cinema:readList Voice Samples
  • POST /cinema/voice-consent-records/{record_id}/samples · 必要性 cinema:writeUpload Voice SampleA real microphone recording (or uploaded sound byte) of the person reading a calibration passage. Can ONLY be attached to a consent record that is still ACTIVE, checked here - the real mechanical enforcement of "no voice clone without live consent".
  • POST /cinema/voice-consent-records/{record_id}/synthesize · 必要性 cinema:writeSynthesize NarrationReal DramaBox voice-cloned narration - the actual synthesis engine, gated the only way this platform ever gates voice cloning: an ACTIVE consent record and a real captured sample of THAT SAME consented person's voice, checked here, not just implied by the UI. Lands as a real cinema_asset (asset_type='audio') + an audio_track row, reusing the existing asset download path rather than a separate audi…
  • POST /cinema/voice-consent-records/{record_id}/train-voice-lora · 必要性 cinema:writeTrain Voice LoraReal per-voice LoRA training (VoxCPM2) against every real captured sample for this consent record - higher fidelity than DramaBox's zero-shot cloning, confirmed via direct testing against a real recorded voice. Blocks synchronously while training runs (real GPU time, can take several minutes - the underlying node's own docs warn "this process takes time"), matching this platform's existing synchro…
  • DELETE /cinema/voice-samples/{sample_id} · 必要性 cinema:writeDelete Voice Sample
  • GET /cinema/voice-samples/{sample_id}/file · 必要性 cinema:readGet Voice Sample File
  • GET /cinema/wardrobe-items · 必要性 cinema:readList Wardrobe Items
  • POST /cinema/wardrobe-items · 必要性 cinema:writeCreate Wardrobe ItemItem source is real, per the Emperor's own explicit answer: both AI-generated (via wardrobe_engine's FLUX.1 call) and tenant-uploaded are supported side by side - `generate_reference_image=true` triggers the former, an actual `reference_file` upload is the latter. Neither is required; an item can exist as pure text with no reference image at all.
  • DELETE /cinema/wardrobe-items/{item_id} · 必要性 cinema:writeDelete Wardrobe Item
  • GET /cinema/wardrobe-items/{item_id}/reference-image · 必要性 cinema:readGet Wardrobe Item Image
Games - 75 エンドポイント - games:read, games:write

Game worlds, levels and assets, and the studios that build and sell them.

  • PATCH /games/assets/{asset_id} · 必要性 games:writeReview Asset
  • GET /games/assets/{asset_id}/file · 必要性 games:readDownload Asset File
  • POST /games/bundles · 必要性 games:writeCreate BundleSeveral worlds, ONE store product (the Education mixed-bundle idea carried over). Every world must be the caller's own; the product rides the same marketplace machinery - and therefore marketplace's own pay-to-open gate.
  • GET /games/bundles · 必要性 games:readList Bundles
  • POST /games/bundles/{bundle_id}/redeem · 必要性 games:writeRedeem BundleThe single-world redeem's proof, verbatim: the REAL Medusa order must be THIS user's and must contain the bundle's product - then every bundled world grants its entitlement. Idempotent per world.
  • PATCH /games/choices/{choice_id} · 必要性 games:writeEdit Choice
  • DELETE /games/choices/{choice_id} · 必要性 games:writeDelete ChoiceRemoves the choice. What players already chose stays in their history - 228 snapshots the text at the moment of choosing and the history's link simply goes empty.
  • PATCH /games/compute-jobs/{job_id} · 必要性 games:writeUpdate Compute Job
  • PATCH /games/entities/{entity_id} · 必要性 games:writeReview Entity
  • GET /games/entities/{entity_id}/looks · 必要性 games:readList Entity Looks
  • POST /games/entity-looks · 必要性 games:writeCreate Entity Look
  • DELETE /games/entity-looks/{look_id} · 必要性 games:writeDelete Entity Look
  • GET /games/hardware-telemetry · 必要性 games:readGet Hardware TelemetryDeliberately synthetic - spec §22 locks real GPU/VRAM telemetry to a separate runtime approval this Core pass doesn't have. These numbers are representative placeholders, not a live reading of The Forge.
  • GET /games/integrations · 必要性 games:readList IntegrationsWhat a studio can and cannot reach from this pillar, in its own words - never a list of product names Fitinty has not configured (LG15's walk, carried across).
  • GET /games/my/worlds · 必要性 games:readMy WorldsTHE PLAYER'S OWN WORLDS (P5, 2026-09-24). Every world this account holds an entitlement to, with the order that granted it and the door that opens it - the first customer-side view this pillar has had: a buyer saw the store's order and nothing that said which world was theirs. Read on the PLAYER'S OWN cursor through the entitlement's self arm (260) - the wall answers who the caller is, and nothing…
  • POST /games/narrative-sources/{source_id}/extract · 必要性 games:writeExtract Entities
  • POST /games/playtest/{token}/claim · 必要性 games:writeClaim PlaytestA signed-in tester claims the SENT link; play opens for the invite's life. The claim insert runs on the system cursor (the tester is not an org member - the E8 token-as-credential posture), fenced by the live invite itself.
  • POST /games/playtest/{token}/feedback · 必要性 games:writeLeave FeedbackThe tester's verdict lands on the studio's desk. Only a claimant of a live or recently-ended invite may file; one row per filing (a tester may file more than once as the build changes - each is a real reading).
  • POST /games/playtests · 必要性 games:writeMint Playtest Invite
  • GET /games/playtests · 必要性 games:readList PlaytestsThe desk: every invite with its claims and its feedback so far.
  • GET /games/playtests/feedback · 必要性 games:readPlaytest Feedback
  • POST /games/playtests/{invite_id}/close · 必要性 games:writeClose PlaytestEnds the playtest now: every claim stops opening the world the moment the invite expires. Feedback already filed stays - it was a real reading.
  • DELETE /games/playthroughs/{playthrough_id} · 必要性 games:writeRestart Playthrough
  • POST /games/playthroughs/{playthrough_id}/choose · 必要性 games:writeMake Choice
  • GET /games/playthroughs/{playthrough_id}/history · 必要性 games:readPlaythrough History
  • GET /games/projects/{project_id} · 必要性 games:readGet Project
  • PATCH /games/projects/{project_id} · 必要性 games:writeUpdate Project
  • GET /games/projects/{project_id}/assets · 必要性 games:readList Assets
  • POST /games/projects/{project_id}/assets · 必要性 games:writeCreate Asset
  • GET /games/projects/{project_id}/compute-jobs · 必要性 games:readList Compute Jobs
  • POST /games/projects/{project_id}/compute-jobs · 必要性 games:writeCreate Compute Job
  • GET /games/projects/{project_id}/cross-pillar-links · 必要性 games:readList Cross Pillar Links
  • POST /games/projects/{project_id}/cross-pillar-links · 必要性 games:writeCreate Cross Pillar Link
  • GET /games/projects/{project_id}/entities · 必要性 games:readList Entities
  • GET /games/projects/{project_id}/narrative-sources · 必要性 games:readList Narrative Sources
  • POST /games/projects/{project_id}/narrative-sources · 必要性 games:writeCreate Narrative Source
  • GET /games/projects/{project_id}/provenance · 必要性 games:readList Provenance
  • POST /games/projects/{project_id}/provenance · 必要性 games:writeCreate Provenance
  • GET /games/projects/{project_id}/worlds · 必要性 games:readList Worlds
  • POST /games/projects/{project_id}/worlds · 必要性 games:writeCreate World
  • PUT /games/scene-look-assignments · 必要性 games:writeSet Scene Look AssignmentUpsert on (scene_definition_id, entity_id) - records which look an entity wears in a given scene's static preview, matching the real UNIQUE constraint on scene_look_assignment.
  • GET /games/scenes/{scene_definition_id}/look-assignments · 必要性 games:readList Scene Look Assignments
  • POST /games/scenes/{scene_id}/generate-synthetic-preview · 必要性 games:writeGenerate Synthetic Preview
  • GET /games/scenes/{scene_id}/level · 必要性 games:readGet Level
  • POST /games/scenes/{scene_id}/level · 必要性 games:writeWrite LevelA level written by a person, with no model involved - add its choices next.
  • PATCH /games/scenes/{scene_id}/level · 必要性 games:writeEdit Level
  • POST /games/scenes/{scene_id}/level/choices · 必要性 games:writeAdd Choice
  • POST /games/scenes/{scene_id}/level/generate · 必要性 games:writeGenerate Level
  • POST /games/series-bibles/{bible_id}/game-series · 必要性 games:writePropose Game SeriesSeries -> Game series bridge. For every book in the series (Part 0) that doesn't already have a linked game_project, creates a new game_project with the REAL series_bible_id/source_manuscript_id FK columns set (the fix migration 038's own comment deferred), then seeds it with a real narrative_source built from that specific book's own chapters and runs the existing, unmodified entity-extraction AI…
  • GET /games/series-bibles/{bible_id}/game-series · 必要性 games:readList Game Series Projects
  • POST /games/studios · 必要性 games:writeCreate Studio
  • GET /games/studios/mine · 必要性 games:readGet My Studio Endpoint
  • GET /games/studios/{studio_id}/lore-voice-profiles · 必要性 games:readList Lore Voice Profiles
  • POST /games/studios/{studio_id}/lore-voice-profiles · 必要性 games:writeCreate Lore Voice Profile
  • GET /games/studios/{studio_id}/projects · 必要性 games:readList Projects
  • POST /games/studios/{studio_id}/projects · 必要性 games:writeCreate Project
  • GET /games/wardrobe-items · 必要性 games:readList Wardrobe Items
  • POST /games/wardrobe-items · 必要性 games:writeCreate Wardrobe Item
  • DELETE /games/wardrobe-items/{item_id} · 必要性 games:writeDelete Wardrobe Item
  • GET /games/wardrobe-items/{item_id}/reference-image · 必要性 games:readGet Wardrobe Item Image
  • GET /games/world-listings/by-product/{product_id} · 必要性 games:readWorld Listing By ProductOrder page: 'this line item is a game world -> Play now'. Any signed-in user may look up which world a product unlocks (gwml_any_user_read); playing still requires the redeem step to prove the order is theirs.
  • PATCH /games/worlds/{world_id} · 必要性 games:writeUpdate World
  • GET /games/worlds/{world_id}/access · 必要性 games:readMy World AccessWhat the play UI needs in one call: can I play, is it for sale, at what product.
  • GET /games/worlds/{world_id}/leaderboard · 必要性 games:readWorld LeaderboardREAL completed playthroughs, fastest first - finishing is worth something. Open to anyone who may play the world (member, buyer, or live playtester).
  • GET /games/worlds/{world_id}/level-map · 必要性 games:readLevel MapThe studio's view of every level in the world, with what would stop a player finishing.
  • POST /games/worlds/{world_id}/marketplace-listing · 必要性 games:writeList World On Marketplace
  • GET /games/worlds/{world_id}/marketplace-listing · 必要性 games:readGet World ListingThe world page's 'Sell full access' panel state (null = not listed).
  • GET /games/worlds/{world_id}/playthrough · 必要性 games:readMy Playthrough
  • POST /games/worlds/{world_id}/playthrough/start · 必要性 games:writeStart Playthrough
  • POST /games/worlds/{world_id}/redeem · 必要性 games:writeRedeem World PurchaseTurn a real purchase into play access. The order is fetched from Medusa with the admin token and checked: it must be THIS user's (email match) and must contain the world's listed product. Idempotent.
  • POST /games/worlds/{world_id}/reward · 必要性 games:writeReward
  • GET /games/worlds/{world_id}/reward-offer · 必要性 games:readReward Offer
  • GET /games/worlds/{world_id}/scenes · 必要性 games:readList Scenes
  • POST /games/worlds/{world_id}/scenes · 必要性 games:writeCreate Scene
  • GET /games/worlds/{world_id}/wishlist · 必要性 games:readWorld WishlistThe studio's own list, with conversion MEASURED: which wishers went on to own the world. Emails of wishers are the tenant's audience - exclusive, never resold; the conversion join is a count, not a surveillance feed.
Marketing - 180 エンドポイント - marketing:read, marketing:write

Campaigns, content and the scouting that feeds them.

  • GET /marketing/acquisition · 必要性 marketing:readAcquisition GaugeTHE MACHINE'S GAUGE - the Emperor's screen. Every figure a measurement; platform-wide, so it answers only to the owner role.
  • GET /marketing/action-log · 必要性 marketing:readList Action LogA LOG IS THE ONE LIST NOBODY PAGES BACK THROUGH, and the one most often read as complete - "that rule never fired" is a sentence people say about a log that simply stopped.
  • POST /marketing/action-log · 必要性 marketing:writeRecord Action
  • POST /marketing/ad-bridge · 必要性 marketing:writeCreate Ad Package
  • POST /marketing/ad-bridge/{pkg_id}/consent · 必要性 marketing:writeConsent Ad PackageConsent is WORDS the human typed - what they agreed this campaign may spend per day - recorded on the row with their name (the G2 law for money).
  • POST /marketing/ad-bridge/{pkg_id}/export · 必要性 marketing:writeExport Ad PackageThe hand-off: the package as plain text to paste into the ad platform.
  • POST /marketing/ad-bridge/{pkg_id}/launch · 必要性 marketing:writeLaunch Ad Package
  • GET /marketing/ad-bridge/{pkg_id}/reading · 必要性 marketing:readAd ReadingDeclared vs recorded, and what the closed loop can honestly say. Zeros are real; what cannot be measured is STATED, never estimated.
  • POST /marketing/ad-bridge/{pkg_id}/record-spend · 必要性 marketing:writeRecord SpendBookkeeping of what YOU spent out there - a measurement of the past, never an instruction to spend. No money moves through this door.
  • GET /marketing/ads/board · 必要性 marketing:readAds BoardHIS BOARD: every campaign of every business with its budget and its SETTLED spend, per currency - never summed across currencies, and a campaign with no budget yet reads None, not 0.
  • POST /marketing/ads/campaigns · 必要性 marketing:writeCreate CampaignBorn draft, in the business's own currency. Nothing runs until it is approved and funded.
  • GET /marketing/ads/campaigns · 必要性 marketing:readMy CampaignsThe advertiser's desk: settles its ended days on open, then reads each campaign's figures.
  • POST /marketing/ads/campaigns/{campaign_id}/approve · 必要性 marketing:writeApprove CampaignThe advertiser's own press: the campaign and every card that passes the check go live together. On a campaign already running, the same press shows the cards added since ("Show the new cards").
  • POST /marketing/ads/campaigns/{campaign_id}/cards · 必要性 marketing:writeAdd CardA card per language, born draft. One per kind and language: a second replaces the draft.
  • POST /marketing/ads/campaigns/{campaign_id}/cards/{card_id}/children · 必要性 marketing:writeAsk Children Door
  • POST /marketing/ads/campaigns/{campaign_id}/cards/{card_id}/remove · 必要性 marketing:writeRemove Card DoorThe advertiser's own press on a card whose product is gone. The shape and language are free again.
  • POST /marketing/ads/campaigns/{campaign_id}/comp · 必要性 marketing:writeComp BudgetTHE EMPEROR'S HAND until Dodo carries ad budgets: a budget given at no charge, stamped 'comp'. It books no fee and earns the host nothing - the ledger records captured payments, never favors.
  • POST /marketing/ads/campaigns/{campaign_id}/pause · 必要性 marketing:writePause CampaignOne press, and no one sees it.
  • GET /marketing/ads/host · 必要性 marketing:readRead HostThe host's desk: its choices, its share at the dial, and what its pages earned - paid days only.
  • PUT /marketing/ads/host · 必要性 marketing:writeSet Host
  • POST /marketing/ads/host/payouts · 必要性 marketing:writeAsk Host PayoutThe host's press: ask for everything it is owed in one currency. Fitinty checks, then sends.
  • GET /marketing/ads/partners · 必要性 marketing:readRead Board
  • POST /marketing/ads/partners/agreements · 必要性 marketing:writePost Agreement
  • POST /marketing/ads/partners/agreements/{network}/revoke · 必要性 marketing:writePost Revoke
  • POST /marketing/ads/partners/statements · 必要性 marketing:writePost Statement
  • POST /marketing/ads/partners/statements/{statement_id}/receipt · 必要性 marketing:writePost Receipt
  • GET /marketing/ads/review · 必要性 marketing:readAds ReviewHIS REVIEW DESK: the days whose clicks look bought, the hosts paused, the payouts asked for, and what was already given back. Nothing here acts on its own - every change is his press.
  • POST /marketing/ads/review/cards/{card_id}/children · 必要性 marketing:writeReview Children Door
  • POST /marketing/ads/review/days/{charge_day_id}/give-back · 必要性 marketing:writeGive Back Day
  • POST /marketing/ads/review/hosts/{host_org}/hold · 必要性 marketing:writeHold Host Door
  • POST /marketing/ads/review/hosts/{host_org}/lift · 必要性 marketing:writeLift Hold Door
  • POST /marketing/ads/review/payouts/{payout_id}/approve · 必要性 marketing:writeApprove Payout Door
  • POST /marketing/ads/review/payouts/{payout_id}/decline · 必要性 marketing:writeDecline Payout Door
  • POST /marketing/ads/review/payouts/{payout_id}/send · 必要性 marketing:writeSend Payout DoorHis press sends an APPROVED payout over Stripe Connect - test mode only. A refusal at the rail is committed as 'failed' before the error is answered, so the record survives the refusal.
  • GET /marketing/ads/setting · 必要性 marketing:readRead Setting
  • PUT /marketing/ads/setting · 必要性 marketing:writeSet DialHis dial. A day already settled keeps the share it was settled at (`ad_charge_day.host_share_bps`).
  • POST /marketing/ads/spend-gate/authorize · 必要性 marketing:writeAuthorize AdsHalf of the advertising lock. AD_SPEND_MODE, the profile's own gate, a cap above zero, the recorded consent words and a credential are the rest - this opens none of them.
  • POST /marketing/ads/spend-gate/revoke · 必要性 marketing:writeRevoke Ads
  • GET /marketing/affiliate-compliance · 必要性 marketing:readList Affiliate Disclosures
  • POST /marketing/affiliate-compliance · 必要性 marketing:writeCreate Affiliate Disclosure
  • PATCH /marketing/affiliate-compliance/{disclosure_id}/approve · 必要性 marketing:writeApprove Affiliate Disclosure
  • GET /marketing/affiliate-desk · 必要性 marketing:readAffiliate DeskThe whole channel system on one read: every network's standing (credential state, last sync, latest reported money), the playbook's next action in words, offers with their real click counts, and what the agents have to work with.
  • POST /marketing/affiliate-desk/advertisers/{advertiser_id}/applied · 必要性 marketing:writeAdvertiser AppliedThe owner's "I applied" on a CJ advertiser: it leaves "Advertisers worth applying to" for good (2026-11-08).
  • POST /marketing/affiliate-desk/import-report · 必要性 marketing:writeImport Report
  • POST /marketing/affiliate-desk/topics/{topic_id}/remove · 必要性 marketing:writeRemove Affiliate TopicThe owner's Remove on a night topic: never searched again, never back by itself.
  • PUT /marketing/affiliate-program · 必要性 marketing:writeSet Affiliate Program
  • POST /marketing/affiliate/accrue · 必要性 marketing:writeAccrue Affiliate EarningsRead-through minting: one earning per REAL billing event of an org whose member was referred, idempotent by event id. No daemon - the Emperor's hand (or the screen that shows him the desk) runs it.
  • GET /marketing/affiliate/earnings · 必要性 marketing:readMy Affiliate EarningsThe affiliate's own desk (RLS scopes: owners see all, others see theirs).
  • POST /marketing/affiliate/earnings/{earning_id}/record-payment · 必要性 marketing:writeRecord Affiliate PaymentThe Rule-3 wall, publishers-royalty shape: a human paid outside; this door records that fact and nothing else.
  • POST /marketing/agent-runs · 必要性 marketing:writeRun Multi Agent Amp
  • GET /marketing/agent-runs · 必要性 marketing:readList Agent Runs
  • GET /marketing/attribution · 必要性 marketing:readAttribution
  • GET /marketing/audience · 必要性 marketing:readMy AudienceThe seller's book: ONE business when organization_id is given (membership checked), else every business the person belongs to (the Sell desk's older read); searched by email or name, filtered by status, paged honestly (Step 2 piece 3 ended the silent cap of 50), every member with its id so the removal door can be reached. A None count is a dead read, never a confident zero. `source` shows one door…
  • GET /marketing/audience-segments · 必要性 marketing:readList Audience Segments
  • POST /marketing/audience-segments · 必要性 marketing:writeCreate Audience Segment
  • GET /marketing/audience/export.csv · 必要性 marketing:readExport AudienceThe list as a file: SUBSCRIBED members only (an unsubscribed address is not a list to mail), a BOM so a spreadsheet reads accents, every cell through the shared CSV guard. Declared before the member door so "export.csv" is never read as a member id.
  • DELETE /marketing/audience/{member_id} · 必要性 marketing:writeRemove MemberThe removal right: hard delete, because a person asking to be forgotten is not asking to be archived.
  • POST /marketing/audience/{member_id}/copies · 必要性 marketing:writeGive CopyThe owner's gift record. It writes the row and nothing else: the copy itself is handed over by the owner.
  • GET /marketing/brand-listening · 必要性 marketing:readList Brand Mentions
  • POST /marketing/brand-listening · 必要性 marketing:writeCreate Brand Mention
  • POST /marketing/brand-listening/{mention_id}/draft-response · 必要性 marketing:writeDraft ResponseAI drafts a recommended response only - never posted automatically, matching this project's 'AI drafts, never authoritative' pattern used everywhere else.
  • POST /marketing/campaign-plan · 必要性 marketing:writeAdd Plan Item
  • POST /marketing/campaign-plan/items/{item_id}/status · 必要性 marketing:writeSet Plan Item Status
  • GET /marketing/campaign-plan/{campaign_id} · 必要性 marketing:readCampaign Plan
  • GET /marketing/campaigns · 必要性 marketing:readList Campaigns
  • POST /marketing/campaigns · 必要性 marketing:writeCreate Campaign
  • GET /marketing/campaigns/{campaign_id} · 必要性 marketing:readGet Campaign
  • PATCH /marketing/campaigns/{campaign_id}/status · 必要性 marketing:writeSet Campaign Status
  • GET /marketing/capability-gates · 必要性 marketing:readList Gates
  • POST /marketing/capability-gates/relock · 必要性 marketing:writeRelock Gate
  • POST /marketing/capability-gates/unlock · 必要性 marketing:writeUnlock Gate
  • GET /marketing/client-report · 必要性 marketing:readClient ReportWHAT THE MARKETING DID FOR ONE BUSINESS, over the last `days` days - one read, no figure of its own. Two people may read it: the owner of the business, and a person the owner let in for the marketing area (the helper seat) - who reads it AS THAT OWNER, so no wall is widened, and only while the grant is live. Everything in it comes from a reader that already exists: the marketing series (the serie…
  • POST /marketing/content-factory · 必要性 marketing:writeGenerate Content
  • GET /marketing/content-factory · 必要性 marketing:readList Content Assets
  • GET /marketing/content-factory/{asset_id}/image · 必要性 marketing:readDownload Content Image
  • PATCH /marketing/content-factory/{asset_id}/status · 必要性 marketing:writeSet Content Status
  • GET /marketing/cross-pillar-links · 必要性 marketing:readList Cross Pillar Links
  • POST /marketing/cross-pillar-links · 必要性 marketing:writeCreate Cross Pillar Link
  • GET /marketing/email/drafts · 必要性 marketing:readList Email Drafts
  • POST /marketing/email/drafts · 必要性 marketing:writeCreate Email Draft
  • PATCH /marketing/email/drafts/{draft_id}/status · 必要性 marketing:writeSet Email Draft Status
  • POST /marketing/forge/friction · 必要性 marketing:writeCreate Friction
  • GET /marketing/forge/friction · 必要性 marketing:readList Friction
  • POST /marketing/forge/friction/{friction_id}/generate-solution · 必要性 marketing:writeGenerate Solution
  • GET /marketing/forge/solutions · 必要性 marketing:readList Solutions
  • POST /marketing/forge/solutions/{solution_id}/match · 必要性 marketing:writeMatch Solution
  • GET /marketing/forge/solutions/{solution_id}/matches · 必要性 marketing:readList Matches
  • POST /marketing/forge/vassals · 必要性 marketing:writeCreate Vassal
  • GET /marketing/forge/vassals · 必要性 marketing:readList Vassals
  • GET /marketing/frequency-caps · 必要性 marketing:readList Frequency Caps
  • POST /marketing/frequency-caps · 必要性 marketing:writeSet Frequency Cap
  • POST /marketing/gated-execution · 必要性 marketing:writeRequest Gated ExecutionThe real enforcement point: checks the gate's actual current status and either blocks (real, not decorative) or produces a real simulated outcome. Every attempt - blocked or simulated - lands as a real, permanent audit row, regardless of outcome.
  • GET /marketing/gated-execution · 必要性 marketing:readList Gated Executions
  • GET /marketing/gated-execution/currency · 必要性 marketing:readRehearsal CurrencyWhat a rehearsal's ad amount is in: the business's own currency, 668's one answer. Read by the owner's rehearsal form only (the form is the owner's - request_gated_execution is require_owner). Asked on the system cursor (`business_currency_of`): the owner is not a member of the business.
  • GET /marketing/growth-command · 必要性 marketing:readGrowth Command
  • GET /marketing/guardrails · 必要性 marketing:readList Guardrails
  • POST /marketing/guardrails · 必要性 marketing:writePropose GuardrailEvery guardrail is versioned - a new proposal is a new row with an incrementing version, matching Tools' own resource_policy pattern.
  • PATCH /marketing/guardrails/{guardrail_id}/toggle · 必要性 marketing:writeToggle Guardrail
  • GET /marketing/hook-lab/tests · 必要性 marketing:readList Hook Tests
  • POST /marketing/hook-lab/tests · 必要性 marketing:writeCreate Hook Test
  • POST /marketing/hook-lab/tests/{hook_test_id}/complete · 必要性 marketing:writeComplete Hook TestDeclares a winner by real conversion-rate comparison, refusing to declare one from insufficient data - identical discipline to Media's own Hook Lab experiment completion.
  • POST /marketing/hook-lab/tests/{hook_test_id}/start · 必要性 marketing:writeStart Hook Test
  • GET /marketing/hook-lab/tests/{hook_test_id}/variants · 必要性 marketing:readList Hook Variants
  • POST /marketing/hook-lab/variants · 必要性 marketing:writeCreate Hook Variant
  • PATCH /marketing/hook-lab/variants/{variant_id}/record · 必要性 marketing:writeRecord Variant Metrics
  • GET /marketing/integrations · 必要性 marketing:readList Integrations
  • POST /marketing/knowledge-chunks · 必要性 marketing:writeCreate Knowledge Chunk
  • GET /marketing/knowledge-chunks · 必要性 marketing:readList Knowledge Chunks
  • POST /marketing/knowledge-chunks/search · 必要性 marketing:writeSemantic SearchReal pgvector cosine-distance search - never a keyword LIKE match dressed up as 'AI search'. Grounds the multi-agent AMP core in real stored facts.
  • GET /marketing/loyalty/balances · 必要性 marketing:readLoyalty BalancesEvery customer's points, COMPUTED from captured money on the rails at read minus recorded redemptions - a mirror of money drifts, a computation cannot.
  • PUT /marketing/loyalty/program · 必要性 marketing:writePut Program
  • POST /marketing/loyalty/redeem · 必要性 marketing:writeRecord RedemptionThe tenant hands over a reward and RECORDS it - never automatic, never a charge; over-redemption is refused against the computed balance.
  • POST /marketing/mail/drain · 必要性 marketing:writeDrain
  • POST /marketing/mail/nurture/enroll · 必要性 marketing:writeEnroll Nurture
  • POST /marketing/mail/queue · 必要性 marketing:writeQueue CampaignExpand an APPROVED draft against the org's consented audience. Rows are born 'held' - the mail_outbox law - and nothing transmits here. Unsubscribed and opted-out addresses are never minted a row; the response says how many.
  • GET /marketing/mail/sends · 必要性 marketing:readList SendsThe truth of one draft's sends - counts by status, never dressed up.
  • GET /marketing/migration-plans · 必要性 marketing:readList Migration Plans
  • POST /marketing/migration-plans · 必要性 marketing:writeCreate Migration Plan
  • GET /marketing/narrative-foundational-template · 必要性 marketing:readFoundational TemplateThe CORE_DECREE's own foundational-narrative text, to pre-fill a new source.
  • GET /marketing/narrative-seeds · 必要性 marketing:readList Seeds
  • POST /marketing/narrative-seeds/generate · 必要性 marketing:writeGenerate Seed
  • POST /marketing/narrative-sources · 必要性 marketing:writeCreate Source
  • GET /marketing/narrative-sources · 必要性 marketing:readList Sources
  • PATCH /marketing/narrative-sources/{source_id} · 必要性 marketing:writeUpdate Source
  • GET /marketing/objection-dojo/scenarios · 必要性 marketing:readList Objection Scenarios
  • POST /marketing/objection-dojo/scenarios · 必要性 marketing:writeCreate Objection Scenario
  • PATCH /marketing/objection-dojo/scenarios/{scenario_id}/review · 必要性 marketing:writeReview Objection Scenario
  • GET /marketing/pioneer-sequences · 必要性 marketing:readList Pioneer Sequences
  • POST /marketing/pioneer-sequences · 必要性 marketing:writeCreate Pioneer Sequence
  • GET /marketing/playbooks · 必要性 marketing:readList Playbooks
  • POST /marketing/playbooks · 必要性 marketing:writeCreate Playbook
  • PATCH /marketing/playbooks/{playbook_id}/status · 必要性 marketing:writeSet Playbook Status
  • PUT /marketing/press-kit · 必要性 marketing:writeUpdate Press Kit
  • POST /marketing/profile · 必要性 marketing:writeCreate Profile
  • GET /marketing/profile/mine · 必要性 marketing:readGet My Profile Endpoint
  • GET /marketing/profile/{profile_id}/members · 必要性 marketing:readList Members
  • POST /marketing/profile/{profile_id}/members · 必要性 marketing:writeAdd Member
  • GET /marketing/provenance · 必要性 marketing:readList Provenance Records
  • POST /marketing/provenance · 必要性 marketing:writeCreate Provenance Record
  • GET /marketing/routing-policies · 必要性 marketing:readList Routing Policies
  • POST /marketing/routing-policies · 必要性 marketing:writeCreate Routing PolicyLocal-first and zero-recurring-cost policies remain preferred where feasible (spec section 25) - no model/external API is activated without review, so every new policy lands unapproved until a separate approve call, matching Tools' own resource_policy approval gate.
  • POST /marketing/routing-policies/{policy_id}/approve · 必要性 marketing:writeApprove Routing Policy
  • GET /marketing/scout/hypotheses · 必要性 marketing:readList Trend Hypotheses
  • POST /marketing/scout/hypotheses · 必要性 marketing:writeCreate Trend Hypothesis
  • GET /marketing/scout/observations · 必要性 marketing:readList Scout Observations
  • POST /marketing/scout/observations · 必要性 marketing:writeCreate Scout Observation
  • GET /marketing/scout/sources · 必要性 marketing:readList Scout Sources
  • POST /marketing/scout/sources · 必要性 marketing:writeCreate Scout Source
  • GET /marketing/seo-geo/briefs · 必要性 marketing:readList Landing Page Briefs
  • POST /marketing/seo-geo/briefs · 必要性 marketing:writeCreate Landing Page Brief
  • POST /marketing/seo-geo/briefs/{brief_id}/generate · 必要性 marketing:writeGenerate Landing PageReal AI-drafted pSEO/GEO content: page copy + real schema.org JSON-LD structured data, grounded in the real knowledge base (Research, reused from the Content Factory pass) and the brief's own linked topic cluster. Never auto-published - lands as a draft the same as every other AI- generated artifact in this pillar; rendering it as a real, public, crawlable page is a separate, deliberately-locked s…
  • GET /marketing/seo-geo/clusters · 必要性 marketing:readList Seo Clusters
  • POST /marketing/seo-geo/clusters · 必要性 marketing:writeCreate Seo Cluster
  • GET /marketing/seo-geo/storefront-pages · 必要性 marketing:readStorefront Seo PagesTHE SEO PREVIEW READS THE REAL STOREFRONT (2026-09-11) - the profile's storefront as a search engine reads it (`storefront_seo.reading`). It takes NO address: the pages are the sitemap's own list for this profile's business, so nobody can point the reader at anything else.
  • GET /marketing/social-accounts · 必要性 marketing:readList AccountsOnly the networks on the shelf: a connected app's key (connected_app_keys, 2026-10-08) rides this same organ under its own 'connected_app:' prefix and is never a social account.
  • POST /marketing/social-accounts/manual · 必要性 marketing:writeConnect ManualPaste-a-token: the road that works TODAY, before any OAuth app review. The token is encrypted the moment it arrives and never travels back out.
  • GET /marketing/social-accounts/meta/pending/{pending_id} · 必要性 marketing:readPending Pages
  • POST /marketing/social-accounts/meta/pending/{pending_id}/choose · 必要性 marketing:writeChoose Page
  • GET /marketing/social-accounts/oauth/{network}/start · 必要性 marketing:readOauth Start
  • GET /marketing/social-accounts/summary · 必要性 marketing:readFooter SummaryWhat the dashboard footer shows: the caller's orgs' connected networks and footer links, plus the connect door's path.
  • DELETE /marketing/social-accounts/{account_id} · 必要性 marketing:writeDisconnect
  • PUT /marketing/social-accounts/{account_id}/pace · 必要性 marketing:writeSet PaceA page's posting pace (R7, 2026-11-05): how many approved posts go to it a day, one at a time; 0 pauses it. Approve is still the yes - the pace only says when (social_cadence).
  • PUT /marketing/social-autopilot · 必要性 marketing:writeSet Autopilot
  • PUT /marketing/social-footer · 必要性 marketing:writeSet Footer LinksThe org's footer row, replaced wholesale - what you save is exactly what every footer prints.
  • GET /marketing/social-images · 必要性 marketing:readList Social ImagesThe business's own image library, the pictures a post may carry - id and description only. The newest 200, and the answer says when there are more (`capped`).
  • POST /marketing/social-posts/{post_id}/mark-posted · 必要性 marketing:writeMark Posted
  • POST /marketing/social-posts/{post_id}/transmit · 必要性 marketing:writeTransmit Social PostThe machine's posting hand for an approved post on the business's own page. It answers to the live switch (2026-10-28); held, it refuses in plain words and posts NOTHING.
  • GET /marketing/social-queue · 必要性 marketing:readList Social Posts
  • POST /marketing/social-queue · 必要性 marketing:writeCreate Social Post
  • PATCH /marketing/social-queue/{post_id}/schedule · 必要性 marketing:writeSchedule Social PostWhen a post goes, and the picture it carries. An Instagram post IS a picture: without one it is refused here, in words, before anything is scheduled. The picture must be one of this business's own.
  • PATCH /marketing/social-queue/{post_id}/status · 必要性 marketing:writeSet Social Post Status
  • POST /marketing/social-queue/{post_id}/video · 必要性 marketing:writeUpload Social VideoThe post's video, uploaded by its business's marketing staff. A new upload replaces the old file.
  • POST /marketing/social/transmit-due · 必要性 marketing:writeTransmit DueTHE AGENTS' POSTING HAND - drain-shaped, never a timer in this codebase (wiring it to the droplet's doctor timer is a launch-checklist line that waits for the gate to open anyway). The live switch, as the transmit door; scope is the CALLER'S orgs by RLS, each org needing its autopilot on (2026-10-28).
  • GET /marketing/strategy · 必要性 marketing:readGet Strategy
  • PUT /marketing/strategy · 必要性 marketing:writePut Strategy
  • POST /marketing/testimonials · 必要性 marketing:writeSubmit TestimonialA tenant offers words about Fitinty. The consent words - what THEY agreed to, e.g. that this may appear publicly with their name - are recorded on the row, the G2 law. Nothing shows publicly until the Emperor approves.
  • POST /marketing/testimonials/{t_id}/approve · 必要性 marketing:writeApprove Testimonial
  • POST /tenant-referrals · 必要性 marketing:writeMint CodeAny signed-in person may carry a Fitinty link - tenants recommending the platform ARE the platform's oldest acquisition channel.
  • GET /tenant-referrals · 必要性 marketing:readMy CodesThe referrer's desk: counts only, never people - who signed up is not the referrer's to know. Conversion = the referred user now holds a PAID or FOUNDING org, computed at read on the system cursor.
  • POST /tenant-referrals/claim · 必要性 marketing:writeClaim ReferralThe signup's one-time claim, called by the app shell after a referred signup. UNIQUE(user_id) makes attribution a decision, not an argument; a user who already claimed (or was never referred) is a quiet no-op.
Tools - 52 エンドポイント - tools:read, tools:write

Shared machinery: compute, translation, rendering and the fuel they burn.

  • GET /tools/alert-rules · 必要性 tools:readList Alert Rules
  • POST /tools/alert-rules · 必要性 tools:writeCreate Alert Rule
  • PATCH /tools/alert-rules/{rule_id} · 必要性 tools:writeUpdate Alert Rule
  • GET /tools/alerts · 必要性 tools:readList Alerts
  • POST /tools/alerts/{alert_id}/acknowledge · 必要性 tools:writeAcknowledge Alert
  • GET /tools/backups · 必要性 tools:readList Backups
  • POST /tools/backups · 必要性 tools:writeRecord Backup
  • POST /tools/backups/{backup_id}/verify-restore · 必要性 tools:writeVerify RestoreA restore-TEST record, not an actual restore execution - marks the backup as proven recoverable. Matches spec section 23: 'A backup is not accepted until restore is tested.'
  • GET /tools/cross-pillar-map · 必要性 tools:readCross Pillar MapThe spec asks Tools to visualize demand from Cinema, Media, Education, Investors, Services, Offices, Publishers, Marketplace, Manufacturing, Logistics, Farms - none of those pillars produce a real compute-demand signal yet (no job queue of their own feeds into this platform's queue_job table), so this reports real BUILD status per pillar (built vs not-yet-built) rather than fabricating demand perc…
  • GET /tools/fabrication · 必要性 tools:readList Fabrication Projects
  • POST /tools/fabrication · 必要性 tools:writeCreate Fabrication Project
  • GET /tools/fuel/account · 必要性 tools:readGet AccountGet-or-create the caller's fuel account (grants 50 Pioneer credits on first touch).
  • GET /tools/fuel/accounts · 必要性 tools:readList Accounts
  • POST /tools/fuel/check · 必要性 tools:writeCheck FuelThe 'no free labor' pre-flight gate: enough Credit_Balance for this task? No debit.
  • POST /tools/fuel/consume · 必要性 tools:writeConsume FuelDebit fuel for an authorized heavy-compute task. Blocks (402) if insufficient.
  • GET /tools/fuel/cost-table · 必要性 tools:readCost Table
  • POST /tools/fuel/grant · 必要性 tools:writeGrant Fuel
  • GET /tools/fuel/ledger · 必要性 tools:readGet Ledger
  • GET /tools/idle-factory/simulations · 必要性 tools:readList Idle Factory Simulations
  • POST /tools/idle-factory/simulations · 必要性 tools:writeRun Idle Factory SimulationReal logic against the platform's own latest approved resource policy: available capacity is 100% minus the policy's reserved_pct (falls back to a conservative 30% reserve if no policy is approved yet). A job that would exceed available capacity is preempted, never silently allowed - matching the spec's own preemption-order rule (section 19: no rental workload outranks platform safety).
  • GET /tools/integrations · 必要性 tools:readList Integrations
  • GET /tools/inventory · 必要性 tools:readList Inventory
  • POST /tools/inventory · 必要性 tools:writeCreate Inventory Item
  • POST /tools/inventory/forecasts · 必要性 tools:writeCreate ForecastA real, deterministic forecast rule (not a hand-picked number): project 30 days of usage from the gap between on_hand and reorder_level, propose replenishment only if the projected level would fall below the reorder point. Confidence is fixed at 0.5 (synthetic-data honesty, not a real ML forecast) until a real usage-history model exists.
  • GET /tools/inventory/{inventory_item_id}/forecasts · 必要性 tools:readList Forecasts
  • GET /tools/maintenance · 必要性 tools:readList Maintenance
  • POST /tools/maintenance · 必要性 tools:writePropose Maintenance
  • POST /tools/maintenance/{task_id}/approve · 必要性 tools:writeApprove Maintenance
  • GET /tools/omniforge/projects · 必要性 tools:readList Omniforge Projects
  • POST /tools/omniforge/projects · 必要性 tools:writeCreate Omniforge Project
  • GET /tools/policy · 必要性 tools:readList Policies
  • POST /tools/policy · 必要性 tools:writePropose PolicyNo production policy is activated until benchmarked and approved (spec section 10) - a proposed policy always lands unapproved; use the separate approve endpoint to activate it. This is the same propose-then-approve shape as maintenance_task below.
  • POST /tools/policy/{policy_id}/approve · 必要性 tools:writeApprove Policy
  • GET /tools/queue · 必要性 tools:readList Queue
  • POST /tools/queue/synthetic · 必要性 tools:writeCreate Synthetic JobEvery job created here is explicitly synthetic - no real compute is ever dispatched, matching the spec's own `running_mock`/`completed_mock` status naming (section 11).
  • PATCH /tools/queue/{job_id} · 必要性 tools:writeTransition Job
  • GET /tools/registry · 必要性 tools:readList Tools
  • POST /tools/registry · 必要性 tools:writeRegister Tool
  • DELETE /tools/registry/{tool_id} · 必要性 tools:writeDelete Tool
  • POST /tools/render-calibration · 必要性 tools:writeRecord CalibrationOne REAL measured run - the controlled test's own numbers, by the owner's hand. The note must say what was rendered; a calibration row with no story is a number nobody can audit.
  • GET /tools/render-calibration · 必要性 tools:readList Calibration
  • GET /tools/render-calibration/estimate · 必要性 tools:readEstimateThe Emperor's pricing arithmetic: what a feature of this length would burn at the measured median rate, and what that burn costs at the pack shelf's own per-minute prices. Labeled for what it is - a cost basis, not advice.
  • GET /tools/resource-estimates · 必要性 tools:readList Estimates
  • POST /tools/resource-estimates · 必要性 tools:writeCreate Estimate
  • GET /tools/security-policies · 必要性 tools:readList Security Policies
  • POST /tools/security-policies · 必要性 tools:writeCreate Security Policy
  • GET /tools/telemetry/history · 必要性 tools:readTelemetry History
  • GET /tools/telemetry/latest · 必要性 tools:readCapture TelemetryCaptures a fresh sample on every call rather than serving a cached row - telemetry is meant to be live. Real GPU read (nvidia-smi) and real host read (psutil) are attempted independently and merged; whatever can't be read for real falls back to clearly-labeled synthetic values for that field only, and `is_synthetic` is true only if EVERY field came from the synthetic generator (a partial real read…
  • GET /tools/vram-reserve · 必要性 tools:readVram Reserve StateLive Sovereign VRAM Reserve + thermal state (read-only monitoring).
  • POST /tools/vram-reserve/admit · 必要性 tools:writeVram Reserve AdmitAdmission control: would allocating `requested_gb` for a `lane`-class task breach the Sovereign VRAM Reserve? Returns the honest decision + math. 'omega' seizure is owner-only (L426).
  • POST /tools/vram-reserve/enforce · 必要性 tools:writeVram Reserve EnforceRun one enforcement pass (owner/Emperor authority). Reads live state; if thermally throttling or in VRAM Imperial-Red, pauses non-critical SYNTHETIC queue jobs (running_mock -> paused) - never real GPU processes - and records a durable vram_reserve_event either way (the decree's audit trail; a RED-FLAG event if the reserve was breached).
  • GET /tools/vram-reserve/events · 必要性 tools:readVram Reserve Events
Offices - 126 エンドポイント - offices:read, offices:write

Places of business: domains, delivery and the operations behind an office.

  • GET /offices · 必要性 offices:readList Offices
  • POST /offices · 必要性 offices:writeCreate Office
  • POST /offices/agreement-templates · 必要性 offices:writeCreate Agreement Template
  • POST /offices/agreements · 必要性 offices:writeCreate Agreement
  • POST /offices/agreements/{agreement_id}/assemble · 必要性 offices:writeAssemble AgreementFills the template's placeholders from the RECORD (practice, client, terms) and the practice's answers. What cannot be resolved stays a placeholder and is LISTED - never guessed. Draft agreements only. Metered: Try refused in words, one use per document.
  • POST /offices/agreements/{agreement_id}/balance · 必要性 offices:writePay Balance
  • POST /offices/agreements/{agreement_id}/deposit · 必要性 offices:writePay Deposit
  • POST /offices/agreements/{agreement_id}/deposit-terms · 必要性 offices:writeSet Deposit TermsThe practice's dial: "30% to start, the balance on completion" is 3000 bps.
  • POST /offices/agreements/{agreement_id}/instalments · 必要性 offices:writeSchedule InstalmentsThe practice's hand schedules N monthly parts - each a pending row with its own pay door; the agreement funds when the LAST one captures. Refused once any money moved.
  • POST /offices/agreements/{agreement_id}/pay · 必要性 offices:writeStart Agreement CheckoutThe CLIENT'S pay door on their own agreement. Stripe hosts the page; the client pays the PRACTICE; Fitinty's cut rides Stripe's own split. One purchase per agreement - a cancelled checkout leaves a pending row this door REUSES rather than doubles.
  • GET /offices/agreements/{agreement_id}/payments · 必要性 offices:readAgreement PaymentsEvery part on the rail for one agreement - the practice or the named client.
  • POST /offices/agreements/{agreement_id}/set-terms · 必要性 offices:writeSet Agreement TermsThe practice names the price and the client - the two facts the pay door charges by. amount_placeholder stays untouched display history.
  • PATCH /offices/agreements/{agreement_id}/status · 必要性 offices:writeSet Agreement Status
  • POST /offices/bookings · 必要性 offices:writeCreate Booking
  • GET /offices/bookings/mine · 必要性 offices:readList My Bookings
  • POST /offices/bookings/{booking_id}/pay · 必要性 offices:writePay ConsultationOF8 gap 1 - THE CONSULTATION PAY DOOR. A priced consultation type was stored and shown and never charged. One more KIND on the one rail: client-only, the booking's own price (read from its consultation type at the moment of paying), pending-before-Stripe on the practice's account, reused never doubled, flipped by the one webhook - and a paid consultation CONFIRMS a requested booking (the flip says…
  • PATCH /offices/bookings/{booking_id}/status · 必要性 offices:writeSet Booking Status
  • GET /offices/client-workspaces/{workspace_id}/journey · 必要性 offices:readGet Client JourneyReal Customer Journey Viewer (Workspace tools manifest id 60) - stitches every real touchpoint a client_workspace already has (intake, bookings, agreements, projects, deliverables, delivery reviews) into one chronological timeline. No new schema - every row here is real data already produced by an existing Offices flow, just never presented as a single view before. Relies entirely on each source t…
  • POST /offices/consultations · 必要性 offices:writeCreate Consultation
  • PATCH /offices/consultations/{session_id} · 必要性 offices:writeUpdate Consultation
  • POST /offices/deliverables · 必要性 offices:writeUpload Deliverable
  • GET /offices/deliverables/{deliverable_id}/download · 必要性 offices:readDownload Deliverable
  • GET /offices/deliverables/{deliverable_id}/reviews · 必要性 offices:readList Delivery Reviews
  • POST /offices/delivery-reviews · 必要性 offices:writeCreate Delivery ReviewAlways a real human reviewer_user_id (the calling user) - never an AI decision, matching the spec's explicit "AI cannot approve its own output" requirement.
  • GET /offices/documents/{document_id}/download · 必要性 offices:readDownload Document
  • PATCH /offices/documents/{document_id}/sharing · 必要性 offices:writeSet Document SharingThe practice's hand: a document attached to a room is shared unless it says otherwise.
  • POST /offices/handoff-packages · 必要性 offices:writeCreate Handoff Package
  • POST /offices/intake-forms · 必要性 offices:writeCreate Intake Form
  • POST /offices/intake-submissions · 必要性 offices:writeCreate Intake Submission
  • PATCH /offices/intake-submissions/{submission_id}/status · 必要性 offices:writeSet Intake Status
  • GET /offices/integrations · 必要性 offices:readList Integrations
  • POST /offices/intel · 必要性 offices:writePractice Intel ReportFitinty's metered instrument: one report, one use. Try refused in words. A POST, and the run is KEPT (design wave 11, 2026-10-02): as a GET the report was read by the action and again by the page it redirected to - two uses for one run, and one more per reload. The run is measured and charged here once and stored in office_intel_run (724, append-only by 725); the desk reads it back through latest…
  • GET /offices/intel/latest · 必要性 offices:readLatest Practice IntelThe practice's newest stored run, or None when it has never run one. Reading what was already paid for is free: no entitlement asked, no use recorded, nothing re-measured.
  • GET /offices/invoices/mine · 必要性 offices:readMy InvoicesThe client's own invoices across every practice, with their pay doors.
  • POST /offices/invoices/{invoice_id}/pay · 必要性 offices:writePay InvoiceThe client's pay door on their own invoice - a pending part on the ONE rail, reused never doubled; the webhook flips bookkeeping's row to paid.
  • POST /offices/leads · 必要性 offices:writeAdd Manual Lead
  • GET /offices/leads · 必要性 offices:readList LeadsThe desk: every lead with its DERIVED band and reasons, plus conversion MEASURED from what really happened - never estimated.
  • GET /offices/leads/reading · 必要性 offices:readLead ReadingConversion by source and by response speed - measured from the desk's own rows.
  • POST /offices/leads/sync-intakes · 必要性 offices:writeSync Intake LeadsTHE ONE MINT DOOR from intakes: every submission becomes a lead exactly once (unique on source_ref), fenced to the caller's own practice. A repeat press mints nothing and says so.
  • POST /offices/leads/{lead_id}/contacted · 必要性 offices:writeMark Lead ContactedTHE RESPONSE CLOCK stops here, once: the first time the practice reached out. A second press changes nothing - the first contact is the one measured.
  • POST /offices/leads/{lead_id}/merge-into/{survivor_id} · 必要性 offices:writeMerge LeadThe practice's HAND merges a duplicate: the merged lead closes with the reason written, points at the survivor, and is excluded from every count. Nothing is deleted, nothing is merged by a machine.
  • POST /offices/leads/{lead_id}/refer-to/{office_id} · 必要性 offices:writeRefer Lead OutA practice passes a lead it cannot serve to another Fitinty practice, with the client's recorded consent words. Once per (lead, practice). The lead itself stays where it is.
  • GET /offices/leads/{lead_id}/screen · 必要性 offices:readLead ScreenOne lead, fully vetted: the band with its words, the conflict screen with its findings, the duplicates stated. All derived now; nothing stored.
  • PATCH /offices/leads/{lead_id}/status · 必要性 offices:writeSet Lead StatusOF2: closing takes a REASON in words (a decline that teaches the desk nothing is wasted), and the first move to 'engaged' starts the response clock if nothing did.
  • POST /offices/meeting-records · 必要性 offices:writeCreate Meeting Record
  • POST /offices/meeting-records/{record_id}/summarize · 必要性 offices:writeSummarize MeetingAI drafts a summary + decision log from the uploaded notes/transcript only, same "drafts, never authoritative" pattern as every other AI feature in this project - a human reviews and can edit before it's treated as the real record.
  • GET /offices/mine · 必要性 offices:readGet My Office Endpoint
  • POST /offices/mobile-kits · 必要性 offices:writeRegister Mobile Kit
  • PATCH /offices/mobile-kits/{kit_id}/check · 必要性 offices:writeCheck Mobile Kit
  • GET /offices/network · 必要性 offices:readNetwork Desk
  • GET /offices/network/directory · 必要性 offices:readNetwork DirectoryPractices a lead can be passed to: those that switched their page on (the same visibility the storefront honours), never the caller's own. Names, categories, regions - nothing more.
  • GET /offices/network/reading · 必要性 offices:readNetwork Reading
  • POST /offices/network/{referral_id}/accept · 必要性 offices:writeAccept Network ReferralThe receiving practice's hand: the lead is born on its own desk (source 'network'), once. The source lead's facts are read on the system cursor - the consent words recorded on the referral are exactly what authorises that.
  • POST /offices/network/{referral_id}/decline · 必要性 offices:writeDecline Network Referral
  • POST /offices/payments/webhook · 必要性 offices:writeOffices Stripe WebhookThe pillar's own verified door, Services' shape exactly: signature or refusal, captured events only, idempotent by the pending->paid guard plus the fee ledger's unique payment id.
  • POST /offices/payments/{payment_id}/pay · 必要性 offices:writePay PaymentThe generic client door for a pending part (instalment, invoice) the client is named on.
  • POST /offices/projects · 必要性 offices:writeCreate Project
  • GET /offices/projects/{project_id} · 必要性 offices:readGet Project
  • GET /offices/projects/{project_id}/deliverables · 必要性 offices:readList Deliverables
  • PATCH /offices/projects/{project_id}/due-date · 必要性 offices:writeSet Project Due DateOF9 - the deadline as a date the agent can measure. NULL clears it (stated, never invented).
  • POST /offices/projects/{project_id}/expenses · 必要性 offices:writeAdd Expense
  • POST /offices/projects/{project_id}/invoice · 必要性 offices:writeMint InvoiceUninvoiced billable time x rate + billable expenses + a fixed fee -> ONE ar_invoice (bookkeeping's row, 'sent', due by the practice's terms) with the office_invoice link. Entries and expenses are stamped with the invoice so they can never be billed twice. Refused in words when there is nothing to bill.
  • GET /offices/projects/{project_id}/invoices · 必要性 offices:readList Matter Invoices
  • PATCH /offices/projects/{project_id}/status · 必要性 offices:writeSet Project Status
  • GET /offices/projects/{project_id}/tasks · 必要性 offices:readList Tasks
  • POST /offices/projects/{project_id}/time · 必要性 offices:writeAdd Time
  • GET /offices/projects/{project_id}/time · 必要性 offices:readList Time
  • POST /offices/projects/{project_id}/time/{entry_id}/stop · 必要性 offices:writeStop Time
  • POST /offices/retainers · 必要性 offices:writeCreate RetainerA DRAFT tenant_plan (pillar 'offices') + the link naming the ONE client. Publishing passes recurring billing's own pay-to-open gate; subscribing is the named client's door.
  • GET /offices/retainers · 必要性 offices:readList Retainers
  • POST /offices/retainers/{retainer_id}/publish · 必要性 offices:writePublish Retainer
  • POST /offices/retainers/{retainer_id}/subscribe · 必要性 offices:writeSubscribe RetainerThe NAMED client's door - recurring billing's checkout on the practice's own rail. Anyone else is refused; the plan never appears on the public storefront list.
  • GET /offices/room · 必要性 offices:readMy RoomsEvery room the signed-in person holds, across practices - their own cursor, the tables' own client arms; nothing here is read on the practice's behalf.
  • POST /offices/room/{workspace_id}/appointments/{booking_id}/cancel · 必要性 offices:writeCancel My AppointmentOF9 - the client cancels their own appointment from the room. A paid consultation is cancelled too, and the sentence is honest: nothing is refunded by a machine - the practice decides and refunds by hand on its own account.
  • POST /offices/room/{workspace_id}/appointments/{booking_id}/reschedule · 必要性 offices:writeReschedule My AppointmentOF9 - a new time must be one the practice actually offers (the ONE slot arithmetic). An unpaid appointment goes back to 'requested' for the practice to confirm; a paid one stays confirmed - the money was the yes.
  • GET /offices/room/{workspace_id}/appointments/{booking_id}/slots · 必要性 offices:readMy Appointment SlotsThe times the practice offers for this appointment's type on a day - so the room can reschedule onto a real slot, from the ONE slot arithmetic.
  • POST /offices/room/{workspace_id}/messages · 必要性 offices:writePost MessageA human writes - the client of the room, or the practice's staff. The insert policy is the fence; the author_kind is decided here from who the caller is, never claimed.
  • GET /offices/room/{workspace_id}/messages · 必要性 offices:readRoom Messages
  • POST /offices/room/{workspace_id}/refer · 必要性 offices:writeRefer A PersonTHE REFERRAL DESK. The client's words about the person's consent are recorded as the fact they are; the practice gets ONE lead (source 'referral') through the one writer.
  • POST /offices/room/{workspace_id}/satisfaction · 必要性 offices:writeRateAfter the work: one score per matter (accepted or closed), the client's own hand. This is the last link of the moat's measurement - lead -> meeting -> funded -> satisfied.
  • POST /offices/room/{workspace_id}/tasks/{task_id}/done · 必要性 offices:writeFinish Owed TaskThe client finishes something they owed. Fenced in code (their room, a task owed by the client, on a matter of that room); the write rides the system cursor because the task table's update arm belongs to the practice.
  • POST /offices/status-updates · 必要性 offices:writePost Status Update
  • POST /offices/tasks · 必要性 offices:writeCreate Task
  • PATCH /offices/tasks/{task_id}/status · 必要性 offices:writeSet Task Status
  • GET /offices/verticals · 必要性 offices:readList Practice VerticalsThe catalog, one authoritative source - the web mirror is generated from the same file, and a guard fails when it drifts.
  • GET /offices/{office_id} · 必要性 offices:readGet Office
  • GET /offices/{office_id}/agreement-templates · 必要性 offices:readList Agreement Templates
  • GET /offices/{office_id}/agreements · 必要性 offices:readList Agreements
  • GET /offices/{office_id}/bookings · 必要性 offices:readList Bookings
  • PATCH /offices/{office_id}/category · 必要性 offices:writeSet Practice CategoryThe picker: one of the verticals (the DB CHECK widened WITH this list in 521). The kit, the band reader and the storefront label all follow it.
  • GET /offices/{office_id}/client-workspaces · 必要性 offices:readList Client Workspaces
  • POST /offices/{office_id}/client-workspaces · 必要性 offices:writeCreate Client WorkspaceOF6 walk: the desk opens a room by the client's EMAIL (the hub's uuid field stays for callers that hold one). A client must already hold a Fitinty account - stated in words.
  • GET /offices/{office_id}/client-workspaces/mine · 必要性 offices:readGet My Client Workspace
  • GET /offices/{office_id}/consultation-types · 必要性 offices:readList Consultation Types
  • POST /offices/{office_id}/consultation-types · 必要性 offices:writeCreate Consultation Type
  • PATCH /offices/{office_id}/consultation-types/{type_id} · 必要性 offices:writeUpdate Consultation Type
  • GET /offices/{office_id}/consultations · 必要性 offices:readList Consultations
  • GET /offices/{office_id}/dns-plan · 必要性 offices:readDns Plan
  • POST /offices/{office_id}/dns-provision · 必要性 offices:writeDns Provision
  • POST /offices/{office_id}/dns-verify · 必要性 offices:writeDns Verify
  • GET /offices/{office_id}/documents · 必要性 offices:readList Documents
  • POST /offices/{office_id}/documents · 必要性 offices:writeUpload Document
  • GET /offices/{office_id}/domain-configuration · 必要性 offices:readGet Domain Config
  • PATCH /offices/{office_id}/domain-configuration · 必要性 offices:writeUpdate Domain Config
  • GET /offices/{office_id}/email-configuration · 必要性 offices:readGet Email Config
  • PATCH /offices/{office_id}/email-configuration · 必要性 offices:writeUpdate Email Config
  • POST /offices/{office_id}/email-verify · 必要性 offices:writeEmail Verify
  • GET /offices/{office_id}/handoff-packages · 必要性 offices:readList Handoff Packages
  • GET /offices/{office_id}/hours · 必要性 offices:readGet Hours
  • PUT /offices/{office_id}/hours · 必要性 offices:writeSet HoursReplaced wholesale - a week is one statement, not a diff a later reader has to replay. OF10 - with ?professional_user_id= it is THAT member's week (and makes them bookable); an empty list removes it (they leave the public picker).
  • GET /offices/{office_id}/intake-forms · 必要性 offices:readList Intake Forms
  • GET /offices/{office_id}/intake-submissions · 必要性 offices:readList Intake Submissions
  • GET /offices/{office_id}/kit · 必要性 offices:readPractice Kit
  • POST /offices/{office_id}/kit/mint · 必要性 offices:writeMint Practice KitMints the vertical's kit as DRAFTS: an intake form, consultation types (inactive), an engagement-letter template with the disclosure. Building is free; switching any door on is pay-to-open's business. Skips what already exists by title, so minting twice doubles nothing.
  • GET /offices/{office_id}/lobby · 必要性 offices:readGet Lobby
  • PATCH /offices/{office_id}/lobby · 必要性 offices:writeUpdate Lobby
  • GET /offices/{office_id}/meeting-records · 必要性 offices:readList Meeting Records
  • GET /offices/{office_id}/members · 必要性 offices:readList Office Members
  • POST /offices/{office_id}/members · 必要性 offices:writeAdd Office Member
  • GET /offices/{office_id}/mobile-kits · 必要性 offices:readList Mobile Kits
  • GET /offices/{office_id}/professionals · 必要性 offices:readList ProfessionalsThe roster with who is BOOKABLE (has their own week) - the desk's picker.
  • GET /offices/{office_id}/profile · 必要性 offices:readGet Office Profile
  • PATCH /offices/{office_id}/profile · 必要性 offices:writeUpdate Office Profile
  • GET /offices/{office_id}/projects · 必要性 offices:readList Projects
  • GET /offices/{office_id}/slots · 必要性 offices:readDesk SlotsThe desk's view of open times - the same arithmetic the public door offers.
  • GET /offices/{office_id}/status-updates · 必要性 offices:readList Status Updates
Bank - 54 エンドポイント - bank:read, bank:write

Accounts, ledgers and transactions - the books beneath the money.

  • POST /bank · 必要性 bank:writeCreate Profile
  • GET /bank/currencies · 必要性 bank:readList Currencies
  • POST /bank/disputes · 必要性 bank:writeCreate Dispute
  • GET /bank/disputes/evidence/{evidence_id}/download · 必要性 bank:readDownload Dispute Evidence
  • GET /bank/disputes/{case_id}/evidence · 必要性 bank:readList Dispute Evidence
  • POST /bank/disputes/{case_id}/evidence · 必要性 bank:writeUpload Dispute Evidence
  • PATCH /bank/disputes/{case_id}/status · 必要性 bank:writeUpdate Dispute Status
  • POST /bank/fee-policies · 必要性 bank:writeCreate Fee Policy
  • PATCH /bank/fee-policies/{policy_id}/approve · 必要性 bank:writeApprove Fee Policy
  • PATCH /bank/identity-gates/{gate_id} · 必要性 bank:writeUpdate Identity GateRefuses, and names the one door. A second place to say "verified" is a second answer, and two answers to a regulator's question is the defect CO4 was written to end.
  • GET /bank/integrations · 必要性 bank:readList Integrations
  • POST /bank/ledger/journals/synthetic · 必要性 bank:writeCreate Synthetic Journal
  • POST /bank/ledger/journals/{journal_id}/reverse · 必要性 bank:writeReverse JournalPosted entries are immutable (spec section 11) - a reversal is a brand new journal whose entries swap debit/credit from the original, referencing the original via reverses_entry_id. The original journal/entries are never edited or deleted.
  • POST /bank/locations · 必要性 bank:writeCreate Merchant Location
  • GET /bank/mine · 必要性 bank:readGet My Profile Endpoint
  • GET /bank/payments/authorization · 必要性 bank:readGet Authorization
  • POST /bank/payments/authorization · 必要性 bank:writeRecord AuthorizationOwner-only. Records the owner's own word that real payments switch on. This is the ONLY way the authorization is ever set - no automated path creates it.
  • POST /bank/payments/authorization/revoke · 必要性 bank:writeRevoke AuthorizationOwner-only. Revokes any active go-live authorization (real payments revert to not-authorized).
  • GET /bank/payments/readiness · 必要性 bank:readReadiness
  • POST /bank/payouts · 必要性 bank:writeCreate Payout
  • PATCH /bank/payouts/{payout_id}/advance · 必要性 bank:writeAdvance PayoutAdvances a payout one real step through its state machine, enforcing the actual KYC/tax gate states along the way - no real payout instruction is ever sent (spec section 18: 'No real payout instruction'), this only tracks the mock lifecycle.
  • PATCH /bank/payouts/{payout_id}/status · 必要性 bank:writeSet Payout Status
  • POST /bank/pos-profiles · 必要性 bank:writeCreate Pos Profile
  • POST /bank/qr-payments/simulate · 必要性 bank:writeSimulate Qr Payment
  • PATCH /bank/qr-payments/{qr_id}/status · 必要性 bank:writeUpdate Qr Payment Status
  • POST /bank/reconciliation/run · 必要性 bank:writeRun Reconciliation
  • POST /bank/settlements/calculate · 必要性 bank:writeCalculate Settlement
  • POST /bank/transactions/simulate · 必要性 bank:writeSimulate Transaction
  • PATCH /bank/transactions/{txn_id}/status · 必要性 bank:writeUpdate Transaction Status
  • PATCH /bank/trust-scores/{snapshot_id}/appeal · 必要性 bank:writeAppeal Trust Score
  • PATCH /bank/trust-scores/{snapshot_id}/review-appeal · 必要性 bank:writeReview Trust Score Appeal
  • POST /bank/webhooks/simulate · 必要性 bank:writeSimulate Webhook
  • GET /bank/{profile_id} · 必要性 bank:readGet Profile
  • GET /bank/{profile_id}/disputes · 必要性 bank:readList Disputes
  • GET /bank/{profile_id}/fee-policies · 必要性 bank:readList Fee Policies
  • GET /bank/{profile_id}/identity-gates · 必要性 bank:readList Identity GatesReads the ONE gate, for the organization this merchant belongs to.
  • GET /bank/{profile_id}/ledger/accounts · 必要性 bank:readList Ledger Accounts
  • GET /bank/{profile_id}/ledger/journals · 必要性 bank:readList Ledger Journals
  • GET /bank/{profile_id}/locations · 必要性 bank:readList Merchant Locations
  • GET /bank/{profile_id}/members · 必要性 bank:readList Members
  • POST /bank/{profile_id}/members · 必要性 bank:writeAdd Member
  • GET /bank/{profile_id}/payouts · 必要性 bank:readList Payouts
  • GET /bank/{profile_id}/pos-profiles · 必要性 bank:readList Pos Profiles
  • GET /bank/{profile_id}/purse · 必要性 bank:readGet Purse
  • GET /bank/{profile_id}/qr-payments · 必要性 bank:readList Qr Payments
  • GET /bank/{profile_id}/reconciliation · 必要性 bank:readList Reconciliation Runs
  • GET /bank/{profile_id}/settlements · 必要性 bank:readList Settlements
  • GET /bank/{profile_id}/transactions · 必要性 bank:readList Transactions
  • GET /bank/{profile_id}/trust-policies · 必要性 bank:readList Trust Policies
  • GET /bank/{profile_id}/trust-scores · 必要性 bank:readList Trust Scores
  • POST /bank/{profile_id}/trust-scores/compute · 必要性 bank:writeCompute Trust Score
  • GET /bank/{profile_id}/wealth · 必要性 bank:readList Wealth Snapshots
  • POST /bank/{profile_id}/wealth/snapshot · 必要性 bank:writeGenerate Wealth Snapshot
  • GET /bank/{profile_id}/webhook-events · 必要性 bank:readList Webhook Events
Treasury - 109 エンドポイント - treasury:read, treasury:write

Reserves, payroll, settlement and reimbursement.

  • POST /treasury · 必要性 treasury:writeCreate Profile
  • POST /treasury/annual-exports · 必要性 treasury:writeCreate Annual Export
  • PATCH /treasury/annual-exports/{pkg_id}/status · 必要性 treasury:writeSet Annual Export Status
  • POST /treasury/benefit-pools · 必要性 treasury:writeCreate Benefit Pool
  • POST /treasury/benefit-pools/entries · 必要性 treasury:writeCreate Benefit Pool Entry
  • POST /treasury/contractor-payouts/for-job · 必要性 treasury:writeRecord Job PayRecord what a booked job pays the person who does it. The business's treasury team only.
  • GET /treasury/contractor-payouts/for-jobs · 必要性 treasury:readList Job PayWhat the reader's booked jobs pay: the treasuries they are on the team of (each with the currency its business pays in) and those treasuries' live job pay records. Nobody else's.
  • POST /treasury/contractor-payouts/simulate · 必要性 treasury:writeSimulate Contractor Payout
  • PATCH /treasury/contractor-payouts/{payout_id}/status · 必要性 treasury:writeSet Contractor Payout Status
  • POST /treasury/contractor-profiles · 必要性 treasury:writeCreate Contractor Profile
  • GET /treasury/contractor-profiles/{profile_id}/1099/{year} · 必要性 treasury:readSimulated 1099A SIMULATED 1099-shaped summary - `contractor_1099_figures`, the one arithmetic.
  • POST /treasury/fee-policies · 必要性 treasury:writeCreate Fee Policy
  • PATCH /treasury/fee-policies/{policy_id}/approve · 必要性 treasury:writeApprove Fee Policy
  • GET /treasury/integrations · 必要性 treasury:readList Integrations
  • POST /treasury/ledger/journals/synthetic · 必要性 treasury:writeCreate Synthetic Journal
  • POST /treasury/ledger/journals/{journal_id}/reverse · 必要性 treasury:writeReverse JournalPosted entries are immutable (spec section 11) - a reversal is a brand new journal whose entries swap debit/credit from the original, referencing the original via reverses_entry_id. The original journal/entries are never edited or deleted: the original stays 'posted' and the pair nets to zero on every reader. (It used to be flipped to 'reversed', which every reader skips - so the books read the NE…
  • POST /treasury/member-equity · 必要性 treasury:writeCreate Member Equity Entry
  • POST /treasury/member-resolutions · 必要性 treasury:writeCreate Member Resolution
  • PATCH /treasury/member-resolutions/{res_id}/adopt · 必要性 treasury:writeAdopt Member Resolution
  • GET /treasury/mine · 必要性 treasury:readGet My Profile Endpoint
  • GET /treasury/my-pay · 必要性 treasury:readMy Pay
  • POST /treasury/owner-draws/propose · 必要性 treasury:writePropose Owner DrawReal reserve checks, not decorative text: a draw is proposed with tax_reserve_check and maintenance_reserve_check computed live from the tenant's own real approved reserve-policy balances against the requested amount - genuinely blocking, not just informational.
  • PATCH /treasury/owner-draws/{draw_id}/status · 必要性 treasury:writeSet Owner Draw StatusApproval is real record-keeping only - spec section 15/27: no real transfer ever occurs.
  • POST /treasury/payouts · 必要性 treasury:writeCreate Payout
  • PATCH /treasury/payouts/{payout_id}/advance · 必要性 treasury:writeAdvance PayoutAdvances a payout one real step through its state machine, enforcing the tenant's actual identity and tax gates through the platform's ONE definition of them (CO4, 563). This pillar read Compliance's system of record from the start rather than keeping a Treasury copy; Bank kept a copy, the two disagreed on live data, and 563 ended that. No real payout instruction is ever sent.
  • PATCH /treasury/payouts/{payout_id}/status · 必要性 treasury:writeSet Payout Status
  • POST /treasury/payroll-items · 必要性 treasury:writeCreate Payroll ItemReal, hand-verifiable net-pay math: base pay is either hours x rate (hourly workers) or the salary placeholder directly, gross = base + bonus, net = gross - tax - benefit - genuinely computed, never a fabricated number.
  • POST /treasury/payroll-items/{item_id}/pull-benefits · 必要性 treasury:writePull Benefit DeductionsBenefits flow into net FROM THE ELECTIONS THAT EXIST: the linked employee's elected plans with a numeric cost are summed into the deduction; a plan whose cost is only prose is NAMED as not deducted - never guessed from text.
  • GET /treasury/payroll-items/{item_id}/stub · 必要性 treasury:readPay StubThe pay stub, in words and numbers, stamped SIMULATED. Every figure is the row it came from - gross, each named tax line, the benefit deduction, net.
  • POST /treasury/payroll-items/{item_id}/tax-lines · 必要性 treasury:writeSet Tax LinesTHE ONE WRITER for an item's tax shape. Replaces the lines wholesale, keeps the item's tax_placeholder equal to their sum, and recomputes net - so every old reader (the run totals, the synthetic journal) stays honest without knowing about lines. An unknown kind is refused (422): sources are data, readers are code, and a kind with no reader would be a silent zero.
  • POST /treasury/payroll-profiles · 必要性 treasury:writeCreate Payroll Profile
  • POST /treasury/payroll-profiles/{payroll_profile_id}/rail-sync · 必要性 treasury:writePost Sync Worker
  • PATCH /treasury/payroll-profiles/{profile_id}/link-employee · 必要性 treasury:writeLink Profile EmployeeThe bridge: the simulated profile names the REAL employee it mirrors. The employee must belong to the same organization as the treasury profile - a stub attached to a stranger would be a fabrication.
  • GET /treasury/payroll-profiles/{profile_id}/w2/{year} · 必要性 treasury:readSimulated W2A SIMULATED W-2-shaped summary of the year - `w2_figures`, the one arithmetic.
  • POST /treasury/payroll-runs · 必要性 treasury:writeCreate Payroll Run
  • PATCH /treasury/payroll-runs/{run_id}/status · 必要性 treasury:writeSet Payroll Run StatusAdvancing to posted_mock posts a real, hand-verifiable double-entry journal: debit Payroll Expense for the full gross total, credit Payroll Liabilities for the same amount, then a second entry moving the withheld-tax portion from Payroll Liabilities into Tax Reserve - no real employee payment ever occurs (spec section 12).
  • POST /treasury/payroll-runs/{run_id}/transmit · 必要性 treasury:writePost Transmit
  • POST /treasury/protection-pools · 必要性 treasury:writeCreate Protection Pool
  • POST /treasury/protection-pools/entries · 必要性 treasury:writeCreate Protection Pool Entry
  • POST /treasury/reconciliation/run · 必要性 treasury:writeRun Reconciliation
  • POST /treasury/reimbursements · 必要性 treasury:writeCreate Reimbursement
  • GET /treasury/reimbursements/{req_id}/receipt · 必要性 treasury:readDownload Receipt
  • PATCH /treasury/reimbursements/{req_id}/status · 必要性 treasury:writeSet Reimbursement StatusMarking paid_mock posts a real ledger journal (debit Reimbursements expense, credit Cash) - still no real money movement, just the honest bookkeeping record of the mock payment (spec section 14).
  • POST /treasury/reports/monthly · 必要性 treasury:writeCreate Financial Reportgross_profit and net_income are always genuinely computed server-side from the caller's own revenue/cogs/expense inputs, never accepted as client-supplied totals.
  • PATCH /treasury/reports/{report_id}/finalize · 必要性 treasury:writeFinalize Financial Report
  • POST /treasury/reserve-policies · 必要性 treasury:writeCreate Reserve Policy
  • PATCH /treasury/reserve-policies/{policy_id}/approve · 必要性 treasury:writeApprove Reserve Policy
  • POST /treasury/reserves/simulate · 必要性 treasury:writeSimulate Reserve Allocation
  • POST /treasury/settlements/calculate · 必要性 treasury:writeCalculate Settlement
  • POST /treasury/tax-reserves · 必要性 treasury:writeCreate Tax Reserve
  • POST /treasury/webhooks/simulate · 必要性 treasury:writeSimulate Webhook
  • GET /treasury/{profile_id} · 必要性 treasury:readGet Profile
  • GET /treasury/{profile_id}/annual-exports · 必要性 treasury:readList Annual Exports
  • GET /treasury/{profile_id}/assets · 必要性 treasury:readGet Assets
  • POST /treasury/{profile_id}/assets · 必要性 treasury:writePost Asset
  • POST /treasury/{profile_id}/assets/{asset_id}/dispose · 必要性 treasury:writePost Dispose
  • GET /treasury/{profile_id}/benefit-pools · 必要性 treasury:readList Benefit Pools
  • GET /treasury/{profile_id}/close/{period} · 必要性 treasury:readRead Close
  • POST /treasury/{profile_id}/close/{period} · 必要性 treasury:writeClose Period
  • POST /treasury/{profile_id}/close/{period}/reopen · 必要性 treasury:writeReopen Period
  • GET /treasury/{profile_id}/closes · 必要性 treasury:readList Closes
  • GET /treasury/{profile_id}/contractor-payouts · 必要性 treasury:readList Contractor Payouts
  • GET /treasury/{profile_id}/contractor-profiles · 必要性 treasury:readList Contractor Profiles
  • GET /treasury/{profile_id}/fee-policies · 必要性 treasury:readList Fee Policies
  • GET /treasury/{profile_id}/feed · 必要性 treasury:readGet FeedRead-through on open: reads the provider, posts what is new, then reads the books.
  • POST /treasury/{profile_id}/feed/sync · 必要性 treasury:writePost Feed
  • GET /treasury/{profile_id}/inflows · 必要性 treasury:readGet InflowsRead-through on open: brings the books up to date, then reads them. The age is stated.
  • POST /treasury/{profile_id}/inflows/sync · 必要性 treasury:writePost Inflows
  • POST /treasury/{profile_id}/investments · 必要性 treasury:writePost Investment
  • POST /treasury/{profile_id}/investments/{investment_id}/mark · 必要性 treasury:writePost Mark
  • POST /treasury/{profile_id}/investments/{investment_id}/sell · 必要性 treasury:writePost Sell
  • GET /treasury/{profile_id}/ledger/accounts · 必要性 treasury:readList Ledger Accounts
  • GET /treasury/{profile_id}/ledger/journals · 必要性 treasury:readList Ledger Journals
  • GET /treasury/{profile_id}/member-equity · 必要性 treasury:readList Member Equity
  • GET /treasury/{profile_id}/member-equity/summary · 必要性 treasury:readMember Equity Summary
  • GET /treasury/{profile_id}/member-resolutions · 必要性 treasury:readList Member Resolutions
  • GET /treasury/{profile_id}/members · 必要性 treasury:readList Members
  • POST /treasury/{profile_id}/members · 必要性 treasury:writeAdd Member
  • GET /treasury/{profile_id}/nightly · 必要性 treasury:readTenant NightlyA member reads when the timer last opened THEIR treasury and what it posted - nothing else.
  • GET /treasury/{profile_id}/owner-draws · 必要性 treasury:readList Owner Draws
  • GET /treasury/{profile_id}/payouts · 必要性 treasury:readList Payouts
  • GET /treasury/{profile_id}/payroll-profiles · 必要性 treasury:readList Payroll Profiles
  • GET /treasury/{profile_id}/payroll-rail · 必要性 treasury:readGet Rail
  • POST /treasury/{profile_id}/payroll-rail/employer · 必要性 treasury:writePost Employer
  • GET /treasury/{profile_id}/payroll-runs · 必要性 treasury:readList Payroll Runs
  • GET /treasury/{profile_id}/protection-pools · 必要性 treasury:readList Protection Pools
  • GET /treasury/{profile_id}/reconciliation · 必要性 treasury:readList Reconciliation Runs
  • GET /treasury/{profile_id}/reimbursements · 必要性 treasury:readList Reimbursements
  • GET /treasury/{profile_id}/reports · 必要性 treasury:readGet Reports
  • POST /treasury/{profile_id}/reports · 必要性 treasury:writePost Report
  • GET /treasury/{profile_id}/reports/monthly · 必要性 treasury:readList Financial Reports
  • GET /treasury/{profile_id}/reports/{report_id} · 必要性 treasury:readGet One
  • GET /treasury/{profile_id}/reports/{report_id}/export/{fmt} · 必要性 treasury:readGet ExportR4 - the report as a file: csv, xlsx (native charts), pdf (the droplet's OnlyOffice), json.
  • POST /treasury/{profile_id}/reports/{report_id}/finalize · 必要性 treasury:writePost Finalize
  • GET /treasury/{profile_id}/reports/{report_id}/html · 必要性 treasury:readGet Html
  • PUT /treasury/{profile_id}/reports/{report_id}/narrative · 必要性 treasury:writePut Words
  • POST /treasury/{profile_id}/reports/{report_id}/narrative/approve · 必要性 treasury:writePost Words Approve
  • POST /treasury/{profile_id}/reports/{report_id}/narrative/draft · 必要性 treasury:writePost Words Draft
  • POST /treasury/{profile_id}/reports/{report_id}/narrative/remove · 必要性 treasury:writePost Words Remove
  • POST /treasury/{profile_id}/reports/{report_id}/withdraw · 必要性 treasury:writePost Withdraw
  • GET /treasury/{profile_id}/reserve-accounts · 必要性 treasury:readList Reserve Accounts
  • GET /treasury/{profile_id}/reserve-policies · 必要性 treasury:readList Reserve Policies
  • GET /treasury/{profile_id}/settlements · 必要性 treasury:readList Settlements
  • GET /treasury/{profile_id}/statements · 必要性 treasury:readStatements
  • GET /treasury/{profile_id}/statements/export/{fiscal_year} · 必要性 treasury:readExport Fiscal YearThe CPA package: the four statements, the trial balance, the aging and the full ledger of one fiscal year, in one document, with the method beside every figure.
  • GET /treasury/{profile_id}/statements/ledger · 必要性 treasury:readLedger Detail
  • PUT /treasury/{profile_id}/statements/settings · 必要性 treasury:writeSet Fiscal
  • GET /treasury/{profile_id}/tax-reserves · 必要性 treasury:readList Tax Reserves
  • GET /treasury/{profile_id}/webhook-events · 必要性 treasury:readList Webhook Events
Tax - 91 エンドポイント - tax:read, tax:write

Filings, forms, reserves and the identity behind them.

  • POST /tax · 必要性 tax:writeCreate Profile
  • POST /tax/annual-packages · 必要性 tax:writeCreate Annual Packagepnl_net_income is always genuinely computed server-side, never accepted as a client- supplied total. receipt_index_count and the JSON-TX manifest's included_reports are both counted live from the tenant's own real data for this tax_year.
  • PATCH /tax/annual-packages/{package_id}/status · 必要性 tax:writeSet Annual Package Status
  • POST /tax/calendar · 必要性 tax:writeCreate Calendar Event
  • PATCH /tax/calendar/{event_id}/status · 必要性 tax:writeSet Calendar Event Status
  • POST /tax/forms/prepare · 必要性 tax:writePrepare Form
  • PATCH /tax/forms/{form_id}/review · 必要性 tax:writeReview Form
  • POST /tax/identity-requirements · 必要性 tax:writeCreate Identity Requirement
  • PATCH /tax/identity-requirements/{req_id}/status · 必要性 tax:writeSet Identity Requirement Status
  • GET /tax/integrations · 必要性 tax:readList Integrations
  • GET /tax/mine · 必要性 tax:readGet My Profile Endpoint
  • POST /tax/receipts · 必要性 tax:writeCreate Receipt
  • GET /tax/receipts/{receipt_id}/file · 必要性 tax:readDownload Receipt File
  • PATCH /tax/receipts/{receipt_id}/review · 必要性 tax:writeReview Receipt
  • POST /tax/reconciliation/run · 必要性 tax:writeRun ReconciliationTX11 - real rows against real rows; the lines stored as they stood (tax_reconciliation.run).
  • POST /tax/reserve-policies · 必要性 tax:writeCreate Reserve Policy
  • PATCH /tax/reserve-policies/{policy_id}/approve · 必要性 tax:writeApprove Reserve Policy
  • POST /tax/reserves/simulate · 必要性 tax:writeSimulate Reserve
  • POST /tax/sales-tax-policies · 必要性 tax:writeCreate Sales Tax Policy
  • PATCH /tax/sales-tax-policies/{policy_id}/settings · 必要性 tax:writeSet Sales Tax SettingsTX9 - the jurisdiction code a policy's captures match (US-TX, GB, NG) and the dial that asks the payment provider's own tax calculation at checkout, on the TENANT'S account (tenant_payments.checkout_tax). This module names no rail: the Stop 15 guard forbids it, and the dial is only a fact on the row.
  • PATCH /tax/sales-tax-policies/{policy_id}/toggle-collection · 必要性 tax:writeToggle Sales Tax Collection
  • POST /tax/state-nexus · 必要性 tax:writeCreate Nexus Profile
  • PATCH /tax/state-nexus/{nexus_id}/review · 必要性 tax:writeReview Nexus Profile
  • POST /tax/tips-overtime · 必要性 tax:writeCreate Tip Overtime
  • PATCH /tax/tips-overtime/{record_id}/review · 必要性 tax:writeReview Tip Overtime
  • POST /tax/transactions · 必要性 tax:writeCreate Tax Transaction
  • POST /tax/vault · 必要性 tax:writeUpload Vault Item
  • GET /tax/vault/{item_id}/file · 必要性 tax:readDownload Vault Item
  • PATCH /tax/vault/{item_id}/review · 必要性 tax:writeReview Vault Item
  • PATCH /tax/verification/simulate · 必要性 tax:writeSimulate Verification
  • POST /tax/withholding-policies · 必要性 tax:writeCreate Withholding Policy
  • PATCH /tax/withholding-policies/{policy_id}/approve · 必要性 tax:writeApprove Withholding Policy
  • POST /tax/withholding/simulate · 必要性 tax:writeSimulate WithholdingReal payout-tax gate simulation (spec section 14) - the outcome is genuinely computed from the tenant's own real tax_verification_state and whether any tax_identity_requirement has actually been approved, not a decorative status field: 1. No approved W-9/W-8 on file -> 100% hold simulated (spec: "If W-9/W-8 missing, simulate 100% hold where configured"). 2. Verification is verified_placeholder …
  • GET /tax/{profile_id} · 必要性 tax:readGet Profile
  • GET /tax/{profile_id}/annual-packages · 必要性 tax:readList Annual Packages
  • PATCH /tax/{profile_id}/basis · 必要性 tax:writePatch BasisTX6 - the method the return follows. The books stay accrual; the tax desk reads this.
  • GET /tax/{profile_id}/calendar · 必要性 tax:readList Calendar Events
  • PATCH /tax/{profile_id}/entity-type · 必要性 tax:writePatch Entity TypeTX7 - the dial that chooses the estimate's shape. NULL clears it (estimates stop, in words).
  • PATCH /tax/{profile_id}/estimate-rate · 必要性 tax:writePatch Rate
  • POST /tax/{profile_id}/estimates/{estimate_id}/record-payment · 必要性 tax:writePost Payment
  • GET /tax/{profile_id}/filings · 必要性 tax:readGet Filings
  • POST /tax/{profile_id}/filings/prepare · 必要性 tax:writePost Prepare
  • POST /tax/{profile_id}/filings/{filing_id}/approve · 必要性 tax:writePost Approve
  • POST /tax/{profile_id}/filings/{filing_id}/transmit · 必要性 tax:writePost Transmit
  • POST /tax/{profile_id}/filings/{filing_id}/withdraw · 必要性 tax:writePost Withdraw
  • GET /tax/{profile_id}/form-copies · 必要性 tax:readGet Desk
  • PATCH /tax/{profile_id}/form-copies/{copy_id}/revoke · 必要性 tax:writePatch Revoke
  • GET /tax/{profile_id}/forms · 必要性 tax:readList Form Preparations
  • GET /tax/{profile_id}/forms/desk · 必要性 tax:readGet Desk
  • POST /tax/{profile_id}/forms/prepare-year · 必要性 tax:writePost Prepare Year
  • POST /tax/{profile_id}/forms/{form_id}/copy · 必要性 tax:writePost Copy
  • POST /tax/{profile_id}/forms/{form_id}/correct · 必要性 tax:writePost Correct
  • GET /tax/{profile_id}/forms/{form_id}/export/{fmt} · 必要性 tax:readGet Form Export
  • GET /tax/{profile_id}/forms/{form_id}/html · 必要性 tax:readGet Form Html
  • POST /tax/{profile_id}/forms/{form_id}/request-identity · 必要性 tax:writePost Request Identity For Form
  • PATCH /tax/{profile_id}/forms/{form_id}/void · 必要性 tax:writePatch Void
  • GET /tax/{profile_id}/identity-requirements · 必要性 tax:readList Identity Requirements
  • POST /tax/{profile_id}/identity-requirements/{req_id}/request · 必要性 tax:writePost Request Identity
  • POST /tax/{profile_id}/identity-requirements/{req_id}/tin-attested · 必要性 tax:writePost Attest
  • GET /tax/{profile_id}/inputs · 必要性 tax:readGet InputsRead-through on open: captures become tax transactions, then the year is read from the books.
  • POST /tax/{profile_id}/inputs/sync · 必要性 tax:writePost Sync
  • GET /tax/{profile_id}/journals · 必要性 tax:readGet DeskRead-through on open: what is due posts, then the desk is read.
  • POST /tax/{profile_id}/journals/run · 必要性 tax:writePost Run
  • GET /tax/{profile_id}/jurisdictions · 必要性 tax:readGet Jurisdictions
  • POST /tax/{profile_id}/jurisdictions · 必要性 tax:writePost Jurisdiction
  • PATCH /tax/{profile_id}/jurisdictions/{reg_id} · 必要性 tax:writePatch Jurisdiction
  • GET /tax/{profile_id}/lines · 必要性 tax:readGet Lines
  • PUT /tax/{profile_id}/lines/{account_id} · 必要性 tax:writePut LineMap an account to a line of the desk's form by hand; NULL returns it to the default.
  • GET /tax/{profile_id}/members · 必要性 tax:readList Members
  • POST /tax/{profile_id}/members · 必要性 tax:writeAdd Member
  • GET /tax/{profile_id}/nexus · 必要性 tax:readList Nexus Profiles
  • GET /tax/{profile_id}/packs · 必要性 tax:readGet Packs
  • POST /tax/{profile_id}/packs · 必要性 tax:writePost Pack
  • GET /tax/{profile_id}/receipts · 必要性 tax:readList Receipts
  • GET /tax/{profile_id}/receipts-desk · 必要性 tax:readGet Desk
  • PATCH /tax/{profile_id}/receipts/{receipt_id}/link · 必要性 tax:writePatch Link
  • POST /tax/{profile_id}/receipts/{receipt_id}/post · 必要性 tax:writePost Receipt
  • PATCH /tax/{profile_id}/receipts/{receipt_id}/unlink · 必要性 tax:writePatch Unlink
  • GET /tax/{profile_id}/reconciliation · 必要性 tax:readList Reconciliation Runs
  • GET /tax/{profile_id}/reconciliation/preview · 必要性 tax:readPreviewThe read without a stored run - what a run would say now.
  • PATCH /tax/{profile_id}/reconciliation/{run_id}/review · 必要性 tax:writePatch Review
  • GET /tax/{profile_id}/reserve-policies · 必要性 tax:readList Reserve Policies
  • GET /tax/{profile_id}/reserve-simulations · 必要性 tax:readList Reserve Simulations
  • GET /tax/{profile_id}/sales-tax-policies · 必要性 tax:readList Sales Tax Policies
  • POST /tax/{profile_id}/sales-tax/{policy_id}/record-remittance · 必要性 tax:writePost Remit
  • GET /tax/{profile_id}/tips-overtime · 必要性 tax:readList Tips Overtime
  • GET /tax/{profile_id}/transactions · 必要性 tax:readList Tax Transactions
  • GET /tax/{profile_id}/vault · 必要性 tax:readList Vault Items
  • GET /tax/{profile_id}/verification · 必要性 tax:readGet Verification State
  • GET /tax/{profile_id}/withholding-policies · 必要性 tax:readList Withholding Policies
  • GET /tax/{profile_id}/withholding-simulations · 必要性 tax:readList Withholding Simulations
Compliance - 89 エンドポイント - compliance:read, compliance:write

Policy, evidence, incidents and review - what keeps the rest defensible.

  • POST /compliance · 必要性 compliance:writeCreate Profile
  • POST /compliance/approvals · 必要性 compliance:writeCreate Approval
  • PATCH /compliance/approvals/{approval_id}/revoke · 必要性 compliance:writeRevoke Approval
  • GET /compliance/authority/register · 必要性 compliance:readGet AuthoritiesThe Emperor's alone: these rows carry counsel references and attestations for the whole platform, and every one of the tables behind them is owner-only by its own policy.
  • POST /compliance/brand-rules · 必要性 compliance:writeCreate Brand Rule
  • POST /compliance/cross-pillar-requirements · 必要性 compliance:writeCreate Cross Pillar Requirement
  • PATCH /compliance/cross-pillar-requirements/{req_id}/status · 必要性 compliance:writeUpdate Cross Pillar Requirement Status
  • POST /compliance/data-classifications · 必要性 compliance:writeCreate Data Classification
  • POST /compliance/data-subject-requests · 必要性 compliance:writeCreate Data Subject Request
  • PATCH /compliance/data-subject-requests/{req_id}/status · 必要性 compliance:writeUpdate Data Subject Request Status
  • POST /compliance/delta-reports · 必要性 compliance:writeCreate Delta Report
  • PATCH /compliance/delta-reports/{report_id}/close · 必要性 compliance:writeClose Delta Report
  • POST /compliance/disputes · 必要性 compliance:writeCreate Dispute
  • GET /compliance/disputes/{case_id}/evidence · 必要性 compliance:readList Dispute Evidence
  • POST /compliance/disputes/{case_id}/evidence · 必要性 compliance:writeUpload Dispute Evidence
  • PATCH /compliance/disputes/{case_id}/status · 必要性 compliance:writeUpdate Dispute Status
  • POST /compliance/evidence · 必要性 compliance:writeUpload Evidence
  • PATCH /compliance/evidence-links/{link_id}/detach · 必要性 compliance:writePatch Detach
  • GET /compliance/evidence/{ev_id}/download · 必要性 compliance:readDownload Evidence
  • PATCH /compliance/evidence/{ev_id}/status · 必要性 compliance:writeUpdate Evidence Status
  • POST /compliance/evidence/{evidence_id}/links · 必要性 compliance:writePost Link
  • GET /compliance/evidence/{evidence_id}/links · 必要性 compliance:readGet What It Evidences
  • POST /compliance/exceptions · 必要性 compliance:writeCreate Exception
  • PATCH /compliance/exceptions/{exc_id}/status · 必要性 compliance:writeUpdate Exception Status
  • POST /compliance/gate-check · 必要性 compliance:writeGate Check
  • POST /compliance/governance-records · 必要性 compliance:writeCreate Governance Record
  • PATCH /compliance/governance-records/{rec_id}/adopt · 必要性 compliance:writeAdopt Governance Record
  • PATCH /compliance/identity-gates/{gate_id} · 必要性 compliance:writeUpdate Identity Gate
  • POST /compliance/incidents · 必要性 compliance:writeCreate Incident
  • POST /compliance/incidents/{inc_id}/ai-draft-summary · 必要性 compliance:writeAi Draft Incident SummaryAI drafts a plain-language incident summary from the recorded title/description - advisory only, never authoritative, matching this project's established pattern. Never triggers any automatic investigation, eviction, suspension, or disclosure (spec section 23).
  • PATCH /compliance/incidents/{inc_id}/status · 必要性 compliance:writeUpdate Incident Status
  • GET /compliance/integrations · 必要性 compliance:readList Integrations
  • GET /compliance/mine · 必要性 compliance:readGet My Profile Endpoint
  • POST /compliance/policies · 必要性 compliance:writeCreate Policy
  • POST /compliance/policies/{policy_id}/acknowledge · 必要性 compliance:writePost Acknowledge
  • GET /compliance/policies/{policy_id}/acknowledgements · 必要性 compliance:readGet Standing
  • POST /compliance/policies/{policy_id}/acknowledgements/record · 必要性 compliance:writePost Record For
  • PATCH /compliance/policies/{policy_id}/status · 必要性 compliance:writeUpdate Policy Status
  • GET /compliance/policies/{policy_id}/versions · 必要性 compliance:readList Policy Versions
  • POST /compliance/provenance-manifests · 必要性 compliance:writeIngest Provenance Manifest
  • POST /compliance/provenance-manifests/{manifest_id}/validate · 必要性 compliance:writeValidate Provenance ManifestReal structural validation - confirms the manifest actually has an asset_hash on file (i.e., a real asset was ingested), never a cryptographic C2PA signature check (spec section 18: production signing needs a certificate policy/key management/production approval, none of which exist in Core).
  • GET /compliance/provenance-manifests/{manifest_id}/verifications · 必要性 compliance:readList Provenance Verifications
  • POST /compliance/red-flags · 必要性 compliance:writeCreate Red Flag
  • PATCH /compliance/red-flags/{rf_id}/status · 必要性 compliance:writeUpdate Red Flag Status
  • POST /compliance/reimbursements · 必要性 compliance:writeCreate Reimbursement
  • POST /compliance/reviews · 必要性 compliance:writeCreate Review
  • GET /compliance/reviews/{case_id}/approvals · 必要性 compliance:readList Approvals
  • POST /compliance/risks · 必要性 compliance:writeCreate Risk
  • PATCH /compliance/risks/{risk_id} · 必要性 compliance:writeUpdate Risk
  • GET /compliance/sanctions/board · 必要性 compliance:readBoard Door
  • GET /compliance/sanctions/hits · 必要性 compliance:readHits Door
  • POST /compliance/sanctions/hits/{hit_id}/close · 必要性 compliance:writeClose HitA false positive - or a true one a person has dealt with outside - is CLOSED WITH A REASON. Who may: the platform's owner, or a member of the business the party belongs to (the wall says who can read the hit; that is who may answer it). The write goes on the platform's cursor because the hit table takes no tenant write - the fact is checked on the cursor that may check it, the row written on the o…
  • POST /compliance/sanctions/lists/register · 必要性 compliance:writeRegister Lists DoorThe Emperor registers the shelf's four lists on the scout registry - kind `sanctions`, dial 0, idempotent. Nothing is fetched by this door.
  • POST /compliance/sanctions/rescreen · 必要性 compliance:writeRescreen DoorHis hand: every party against the lists as they stand. Opens cases; holds nothing.
  • GET /compliance/trail/export · 必要性 compliance:readExport
  • GET /compliance/{profile_id} · 必要性 compliance:readGet Profile
  • GET /compliance/{profile_id}/brand-rules · 必要性 compliance:readList Brand Rules
  • GET /compliance/{profile_id}/consents · 必要性 compliance:readGet Consents
  • GET /compliance/{profile_id}/cross-pillar-requirements · 必要性 compliance:readList Cross Pillar Requirements
  • GET /compliance/{profile_id}/dashboard · 必要性 compliance:readGet Dashboard
  • GET /compliance/{profile_id}/data-classifications · 必要性 compliance:readList Data Classifications
  • GET /compliance/{profile_id}/data-subject-requests · 必要性 compliance:readList Data Subject Requests
  • GET /compliance/{profile_id}/delta-reports · 必要性 compliance:readList Delta Reports
  • GET /compliance/{profile_id}/disputes · 必要性 compliance:readList Disputes
  • GET /compliance/{profile_id}/evidence · 必要性 compliance:readList Evidence
  • GET /compliance/{profile_id}/evidence-for/{kind}/{target_id} · 必要性 compliance:readGet Evidence For
  • GET /compliance/{profile_id}/evidence-sweep · 必要性 compliance:readGet Sweep
  • GET /compliance/{profile_id}/evidence-unlinked · 必要性 compliance:readGet Unlinked
  • GET /compliance/{profile_id}/exceptions · 必要性 compliance:readList Exceptions
  • GET /compliance/{profile_id}/gate-strikes · 必要性 compliance:readList Gate Strikes
  • GET /compliance/{profile_id}/governance-records · 必要性 compliance:readList Governance Records
  • GET /compliance/{profile_id}/identity-gates · 必要性 compliance:readList Identity Gates
  • GET /compliance/{profile_id}/incidents · 必要性 compliance:readList Incidents
  • GET /compliance/{profile_id}/members · 必要性 compliance:readList Members
  • POST /compliance/{profile_id}/members · 必要性 compliance:writeAdd Member
  • GET /compliance/{profile_id}/obligations · 必要性 compliance:readGet Register
  • PATCH /compliance/{profile_id}/obligations/{key} · 必要性 compliance:writePatch Obligation
  • GET /compliance/{profile_id}/packs · 必要性 compliance:readGet Packs
  • POST /compliance/{profile_id}/packs · 必要性 compliance:writePost Pack
  • GET /compliance/{profile_id}/policies · 必要性 compliance:readList Policies
  • GET /compliance/{profile_id}/privacy · 必要性 compliance:readGet Privacy Preference
  • PATCH /compliance/{profile_id}/privacy · 必要性 compliance:writeUpdate Privacy Preference
  • GET /compliance/{profile_id}/provenance-manifests · 必要性 compliance:readList Provenance Manifests
  • GET /compliance/{profile_id}/red-flags · 必要性 compliance:readList Red Flags
  • GET /compliance/{profile_id}/reimbursements · 必要性 compliance:readList Reimbursements
  • GET /compliance/{profile_id}/reviews · 必要性 compliance:readList Reviews
  • GET /compliance/{profile_id}/risks · 必要性 compliance:readList Risks
  • GET /compliance/{profile_id}/sanctions · 必要性 compliance:readTenant DoorThe business's own open cases, in words. The desk's row answers who the business is; the hit rows answer on the member arm.
  • GET /compliance/{profile_id}/trail · 必要性 compliance:readGet Trail
Investors - 227 エンドポイント - investors:read, investors:write

Research, strategy and simulated execution. No live broker connection.

  • GET /credit-repair/compliance/authorization · 必要性 investors:readGet Authorization
  • POST /credit-repair/compliance/authorization · 必要性 investors:writeRecord AuthorizationOwner-only. Records the Emperor's attestation that real legal counsel has reviewed a real CROA-compliant contract, a real pre-signup disclosure exists, and billing genuinely never charges up front. This is the ONLY way any of the three gates is ever set — no automated path creates it, and setting it does not itself build or enable any dispute-filing feature.
  • POST /credit-repair/compliance/authorization/revoke · 必要性 investors:writeRevoke AuthorizationOwner-only. Revokes any active authorization (real automated credit-repair activity, if it ever existed, would revert to not-authorized).
  • GET /credit-repair/compliance/readiness · 必要性 investors:readReadiness
  • POST /investors · 必要性 investors:writeCreate Profile
  • GET /investors/alerting/alerts · 必要性 investors:readList Open
  • POST /investors/alerting/alerts/{alert_id}/acknowledge · 必要性 investors:writeAcknowledgeAcknowledge an alert. It stays quiet while the condition persists - and returns if it comes back after resolving, because the acknowledgement was about a situation that has since ended.
  • GET /investors/alerting/badge · 必要性 investors:readBadgeOne small number for a navigation item, plus the one thing that number cannot say. WHAT THE BADGE COUNTS IS THE DESIGN. Not "alerts" - alerts include the ones somebody has already acknowledged and is dealing with, and a badge that keeps counting those is a permanent red dot, which is wallpaper within a week. That is INV19's fatigue failure moved up into the interface, and it would undo the restra…
  • GET /investors/alerting/channels · 必要性 investors:readChannelsWhich channels exist and which of them are allowed to reach a person.
  • POST /investors/alerting/channels/{channel}/signoff · 必要性 investors:writeSign Off ChannelRecord a written sign-off for a channel that reaches real people. The Emperor's alone. WHAT THIS DOES NOT DO: turn the channel on (`enabled` is a separate switch), decide whether the sign-off is sufficient, or shorten what the gate asks for. A channel with a recorded sign-off and `enabled` false still refuses, and says so in the answer.
  • POST /investors/alerting/channels/{channel}/signoff/revoke · 必要性 investors:writeRevoke Channel SignoffWithdraw it. Immediate, and the withdrawal goes to the audit trail - which is where the authority register reads a lock's history from, because the row itself keeps no record of ever having been open.
  • POST /investors/alpha-audit · 必要性 investors:writeAppend Alpha Audit Entry
  • POST /investors/assignment/profiles/{profile_id}/assign · 必要性 investors:writeAssign EarlyEarly assignment: a short position taken from the account before expiry. There is no approval parameter and there is not going to be one. American options are assignable at any moment, the most common cause is a dividend the day before it goes ex, and the account gets no say - so the endpoint that models it gets no say either.
  • POST /investors/assignment/profiles/{profile_id}/exercise · 必要性 investors:writeExerciseExercise a long option early. The one settlement on this platform that IS a decision.
  • GET /investors/assignment/profiles/{profile_id}/exposure · 必要性 investors:readRead ExposureWhat could be done to this account today, without anybody asking it first.
  • POST /investors/assignment/profiles/{profile_id}/settle-expiry · 必要性 investors:writeRun Expiry
  • GET /investors/assignment/profiles/{profile_id}/settlements · 必要性 investors:readList Settlements
  • POST /investors/backtests · 必要性 investors:writeCreate Backtest
  • GET /investors/backtests/{run_id}/report · 必要性 investors:readBacktest ReportThe full evidence report: the verdict, every check, and every fold.
  • POST /investors/breaker-trips/{trip_id}/reset · 必要性 investors:writeReset TripClear a trip. Needs a named person and a real reason - both enforced in the database. The strategy is NOT un-halted by this. Clearing the breaker removes the block; deciding the strategy should trade again is a separate act with its own evidence gate (INV3), and collapsing the two would let a breaker reset quietly promote something.
  • PUT /investors/broker/profiles/{profile_id}/connection · 必要性 investors:writeConnectSeal a tenant's own broker credential. Fitinty never opens a brokerage account on anybody's behalf and never bills for broker access - the same rule as the affiliate networks and the tenant data feeds. What is different here is the sealing: once written, the application cannot read this back. Not "will not" - cannot. The column privilege does not exist.
  • POST /investors/broker/profiles/{profile_id}/connection/revoke · 必要性 investors:writeRevokeRevoke the connection. The sealed credential stays in the row and stays unreadable.
  • POST /investors/broker/profiles/{profile_id}/place · 必要性 investors:writePlaceThe real-order path. It exists, it is wired to the gate, and the gate says no. This is the function `is_live_execution_enabled` was written for and has never had. Having it here, refusing, is worth more than not having it: the refusal is now a tested behaviour rather than an absence somebody could fill in without noticing what they were bypassing.
  • POST /investors/broker/profiles/{profile_id}/preflight · 必要性 investors:writePreflightShape the order this intent would become, show it, and send nothing. The point is that a tenant can see their strategy producing sane orders long before any of them could be real - and that the shaping is reviewable rather than taken on trust.
  • GET /investors/broker/profiles/{profile_id}/readiness · 必要性 investors:readReadinessEvery gate, what it says, and everything that has been attempted.
  • POST /investors/combos/profiles/{profile_id} · 必要性 investors:writeCreate ComboBuild and evaluate a package. Refuses the whole thing or none of it.
  • GET /investors/combos/profiles/{profile_id} · 必要性 investors:readList Combos
  • POST /investors/combos/{combo_id}/fill · 必要性 investors:writeFill ComboFill every leg, or none of them. All the legs go through `_apply_fill`, so the multiplier, the cash ledger and the fee model are INV14's and INV4's rather than a second implementation that drifts. One transaction: if any leg raises, the whole package rolls back, which is what all-or-nothing means when the alternative is being left holding the leg nobody wanted.
  • POST /investors/correlation/profiles/{profile_id}/snapshot · 必要性 investors:writeSnapshotMeasure the book's real concentration and record what it was measured from.
  • GET /investors/correlation/profiles/{profile_id}/snapshots · 必要性 investors:readHistory
  • POST /investors/cross-asset · 必要性 investors:writeCreate Cross Asset Relationship
  • GET /investors/divergence/profiles/{profile_id} · 必要性 investors:readHistory
  • POST /investors/divergence/profiles/{profile_id}/reconcile · 必要性 investors:writeRun ReconcileCheck a strategy's claim against what the engine did, and record the attribution.
  • POST /investors/dividends/calendar · 必要性 investors:writeRecordEnter a dividend. There is no feed to do this automatically and the schema says so.
  • PUT /investors/dividends/coverage · 必要性 investors:writeAssert CoverageSay what is KNOWN about an instrument, so that silence stops being ambiguous.
  • GET /investors/dividends/feed/freshness · 必要性 investors:readFreshnessReadable by everyone, because 'is anybody checking' is not an operational secret. INV18's distinction: an empty list of problems and a checker that stopped running look identical on a screen and mean opposite things.
  • GET /investors/dividends/feed/instruments/{symbol} · 必要性 investors:readLatest For SymbolWhat the feed last concluded about one instrument, and why. Findings are readable by any authenticated user: that a company has never declared a dividend is a fact about the company, and knowing it says nothing about anybody's positions.
  • POST /investors/dividends/feed/run · 必要性 investors:writeTrigger RunAsk the source now. Idempotent in effect: re-clearing an instrument just refreshes its date.
  • GET /investors/dividends/feed/runs · 必要性 investors:readList Runs
  • GET /investors/dividends/profiles/{profile_id}/coverage · 必要性 investors:readRead CoverageWhat has NOT been checked, first. A dividend list cannot display an absence.
  • GET /investors/dividends/profiles/{profile_id}/early-assignment · 必要性 investors:readRead Risk
  • POST /investors/edge/concepts/{concept_id}/candidate · 必要性 investors:writePropose CandidateTurn a concept into a strategy - `untested`, like any other idea. This is where the pipeline hands over. The strategy it creates has no privileges: it cannot propose trades until it is at least `backtested`, and it cannot reach `backtested` without surviving INV3's gate. A concept that came out of forty slices of our own journal is treated exactly like an idea somebody had in the shower, which is…
  • POST /investors/edge/concepts/{concept_id}/discard · 必要性 investors:writeDiscardDrop a concept, with a reason. The most valuable row in the table. An idea abandoned for a stated reason stops the next person - who on a monthly loop is you - spending a week rediscovering it.
  • GET /investors/equity/my-holding · 必要性 investors:readGet My Holding
  • GET /investors/execution/authorization · 必要性 investors:readGet Authorization
  • POST /investors/execution/authorization · 必要性 investors:writeRecord AuthorizationOwner-only. Records the Emperor's attestation that legal counsel AND a broker relationship confirm real-order go-live. This is the ONLY way the execution gate is set — no automated path creates it, and it never enables real orders on its own.
  • POST /investors/execution/authorization/revoke · 必要性 investors:writeRevoke AuthorizationOwner-only. Revokes any active execution authorization (real orders revert to not-authorized).
  • GET /investors/execution/readiness · 必要性 investors:readReadiness
  • POST /investors/features · 必要性 investors:writeWrite FeatureStore a feature against the date it was knowable. Written once and never revised. Recomputing a 2019 feature with today's better data and overwriting it would make every backtest that read the old value unreproducible - and would improve the new one in a way that had nothing to do with the strategy.
  • GET /investors/features · 必要性 investors:readRead FeaturesFeatures up to a date - never past it. `as_of` is a ceiling rather than a filter, because that is the only reading that is safe inside a backtest: asking for features "as of 2019" and getting a 2020 value is precisely the leak this table exists to prevent.
  • POST /investors/futures/contracts · 必要性 investors:writeAdd ContractRegister a futures contract. Owner-only - a contract calendar is reference data.
  • GET /investors/futures/contracts · 必要性 investors:readList ContractsThe contract calendar, with what is expiring soonest first.
  • POST /investors/futures/rolls · 必要性 investors:writeRecord RollRecord a roll, deriving the factor from what the two contracts actually traded at. The factor is computed here rather than supplied, because a supplied factor is a number nobody can check against anything.
  • GET /investors/futures/{root}/continuous · 必要性 investors:readRead ContinuousThe continuous series as it would have appeared on a given date. Default `as_of` is today, which is the series everybody means when they say "the continuous contract" - and asking for an older date is how you check whether a backtest was reading prices that existed at the time.
  • POST /investors/institutional-flows · 必要性 investors:writeCreate Institutional Flow
  • GET /investors/integrations · 必要性 investors:readList Integrations
  • GET /investors/intents/{intent_id}/decision · 必要性 investors:readGet DecisionWhy this intent got the answer it got - every limit, including the ones it passed.
  • POST /investors/intents/{intent_id}/execute · 必要性 investors:writeExecute IntentTurn an approved intent into a paper order, a fill, and a journal row. The one path from a decision to a position. Everything it refuses, it refuses by name.
  • GET /investors/kill-switch · 必要性 investors:readRead Kill SwitchWhether platform trading is stopped, and why. Readable by anyone authenticated on purpose: being told why trading stopped is not privileged information, and a tenant who cannot see it will open a support ticket instead.
  • POST /investors/kill-switch · 必要性 investors:writeSet Kill SwitchThrow or clear the platform kill switch. Owner-only, named, and with a reason. A NEW ROW EACH TIME rather than a flag that flips. The switch is a log: what it was, who changed it, when and why - all of which the flag version throws away, and all of which is what somebody asks for afterwards. Nothing automatic can reach this. A kill switch thrown by code is a bug with a lever attached, and the ca…
  • GET /investors/live/audit · 必要性 investors:readRead AuditThe compliance trail: every action on the live path, allowed or refused. Kept apart from `audit_events` deliberately - that is application telemetry with a telemetry retention policy, and this is the record somebody asks for when it matters.
  • GET /investors/live/disclosures · 必要性 investors:readRead DisclosuresThe disclosures as they currently read, with the hash of each.
  • GET /investors/live/gate · 必要性 investors:readRead GateEvery part of the live gate, and what each says. Readable by anyone authenticated: whether this platform is permitted to trade live is not privileged information, and a tenant who cannot see it has to take it on trust.
  • PUT /investors/live/profiles/{profile_id}/disclosures · 必要性 investors:writeAcknowledgeRecord that a named person read the current text of one disclosure.
  • GET /investors/live/profiles/{profile_id}/disclosures · 必要性 investors:readRead Profile DisclosuresWhat this profile has acknowledged, and what is outstanding.
  • POST /investors/live/signoff · 必要性 investors:writeRecord SignoffRecord one party's sign-off, in their own words, under their own account. Owner-only, and the gate then requires the two rows to come from DIFFERENT accounts - so counsel needs an account of their own. "The owner records what counsel told them" deliberately does not open this.
  • POST /investors/live/signoff/{signoff_id}/revoke · 必要性 investors:writeRevoke SignoffWithdraw a sign-off. Closing the gate is always available to one person - only opening it needs two.
  • GET /investors/macro · 必要性 investors:readMacro Snapshot
  • GET /investors/market-data-sources · 必要性 investors:readList Market Data Sources
  • POST /investors/market-data/add · 必要性 investors:writeAdd InstrumentOwner-only: add ANY symbol on demand. Resolves the right free provider, fetches its bars immediately, and stores it as shared reference data so it appears everywhere (Live prices, charts, screener). DATA ONLY — no broker, no orders.
  • POST /investors/market-data/backfill-crypto · 必要性 investors:writeBackfill CryptoOwner-only: pull deep daily history for the crypto instruments from permissive venues. Market data is platform-curated reference data (migration 099: owner-only write). Every source used here is `redistribution = permitted` in migration 325 - so unlike the rest of our bars, these may actually be shown to a tenant.
  • POST /investors/market-data/backfill-fx · 必要性 investors:writeBackfill FxFill the FX gap from the ECB. Owner-only: market data is platform-curated reference data (migration 099). Unlike our other non-crypto sources this one is `redistribution = permitted`, so these bars may actually be shown to a tenant.
  • GET /investors/market-data/chart-bars · 必要性 investors:readChart BarsEvery instrument's full daily OHLCV series, ascending by date, keyed by symbol — shaped for TradingView Lightweight Charts. Read-only shared reference data (migration 099, select USING(true)). LICENCE-GATED (migration 325). Holding a bar and being allowed to show it to a tenant are different permissions, and this route is the one that hands data to a tenant. A bar whose source forbids redistribut…
  • GET /investors/market-data/coverage · 必要性 investors:readCoverageWhat this platform can honestly claim, by asset class and by licence. Built because "we have 11,306 bars" was a true sentence that answered no useful question. The number that matters is how many of them we are allowed to use, and for what.
  • DELETE /investors/market-data/instruments/{instrument_id} · 必要性 investors:writeRemove InstrumentOwner-only: remove a dynamically-added instrument (provider_symbol IS NOT NULL) and its bars. The original seeded core set can't be removed here.
  • GET /investors/market-data/intraday · 必要性 investors:readMarket IntradayOn-demand intraday OHLC for one symbol. Crypto = Alpaca 1-min (keyless); stocks/ETFs/FX = Twelve Data 5-min; futures/indices aren't free intraday (supported=false).
  • GET /investors/market-data/latest · 必要性 investors:readLatest PricesLatest close per instrument, with the real source label — readable by any authenticated user (market data is shared reference data, migration 099).
  • GET /investors/market-data/quotes · 必要性 investors:readMarket QuotesLatest price per instrument for the auto-refreshing Live Quotes panel. Crypto is real-time (Alpaca); everything else is its latest stored close (labeled EOD). Readable by any user.
  • POST /investors/market-data/refresh · 必要性 investors:writeRefresh Market DataOwner-only: pull real delayed EOD bars for the seeded instruments from the active provider and upsert them into market_bar. Market data is platform-curated reference data (migration 099: owner-only write).
  • GET /investors/market-data/search · 必要性 investors:readSearch SymbolsSearch the global stock/ETF universe (Twelve Data symbol_search). US listings (USD) add via Twelve Data; international listings (London/Tokyo/Frankfurt/…) add under their Yahoo symbol (VOD.L, 7203.T, …) — Fitinty is global. FX/crypto pairs are added by exact symbol via /add.
  • GET /investors/market-instruments · 必要性 investors:readList Market Instruments
  • GET /investors/mine · 必要性 investors:readGet My Profile Endpoint
  • POST /investors/monte-carlo · 必要性 investors:writeCreate Monte Carlo Run
  • GET /investors/news · 必要性 investors:readMarket News
  • POST /investors/options/contracts · 必要性 investors:writeCreate ContractRegister an option contract, and the instrument row that carries it.
  • GET /investors/options/profiles/{profile_id}/positions/{instrument_id} · 必要性 investors:readRead Position
  • PUT /investors/options/profiles/{profile_id}/undefined-risk · 必要性 investors:writeAuthorize Undefined RiskPermit this account to hold a position whose loss has no upper bound. Revoke-then-insert rather than upsert, so the previous authorization survives as a row. What was permitted, by whom, and until when is the question this table exists to answer later.
  • GET /investors/options/profiles/{profile_id}/undefined-risk · 必要性 investors:readRead Undefined Risk
  • POST /investors/options/structure · 必要性 investors:writeAnalyse StructureWhat is the worst this combination can do, and does it have a floor at all?
  • POST /investors/options/synthesise-chain · 必要性 investors:writeSynthesise ChainBuild a clearly-labelled SYNTHETIC option chain, for the paper loop only. There is no permissively licensed options chain with implied volatility. Every retail feed that carries one licenses it for personal use, exactly as INV9 found for equities, and chains are priced higher than bars everywhere. So rather than leave the whole instrument class untestable, this generates one from Black-Scholes ov…
  • POST /investors/paper-orders · 必要性 investors:writeCreate Paper Order
  • POST /investors/paper-orders/{order_id}/cancel · 必要性 investors:writeCancel Paper Order
  • POST /investors/paper-orders/{order_id}/continue-fill · 必要性 investors:writeContinue Fill Paper Order
  • GET /investors/paper-orders/{order_id}/fills · 必要性 investors:readList Paper Fills
  • POST /investors/paper-orders/{order_id}/submit · 必要性 investors:writeSubmit Paper Order
  • POST /investors/portfolio-positions · 必要性 investors:writeUpsert Portfolio Position
  • POST /investors/portfolios · 必要性 investors:writeCreate Portfolio
  • GET /investors/portfolios/{portfolio_id}/positions · 必要性 investors:readList Portfolio Positions
  • POST /investors/price-alerts · 必要性 investors:writeCreate Alert
  • POST /investors/price-alerts/{alert_id}/cancel · 必要性 investors:writeCancel Alert
  • GET /investors/profiles/{profile_id}/book · 必要性 investors:readRead BookPositions marked to the last close, beside what they cost - and what closing them would cost. EVERY FIGURE NAMES ITS CURRENCY (design wave 15's finding, 2026-10-04). The account holds cash in ONE currency; each instrument is priced in its OWN (market_instrument.currency); a book holding a USD share and a EUR share has two unrealised figures, not one. So every sum is grouped by currency (`*_by_cur…
  • GET /investors/profiles/{profile_id}/cash · 必要性 investors:readRead CashThe cash balance, the ledger behind it, and whether the two agree. Reconciliation is a query rather than an argument: a balance that can drift from its own ledger is a balance nobody can check.
  • PUT /investors/profiles/{profile_id}/circuit-breakers · 必要性 investors:writeSet BreakersSet the thresholds. Append-only: the previous version stays readable, so what the breakers were when one tripped is always answerable.
  • GET /investors/profiles/{profile_id}/circuit-breakers · 必要性 investors:readRead BreakersThe thresholds, whether anything is currently tripped, and every trip on record.
  • POST /investors/profiles/{profile_id}/circuit-breakers/sweep · 必要性 investors:writeSweepEvaluate the account breakers now, without waiting for somebody to try to trade. Nothing depends on this having run - the same checks happen on every intent. This exists so a trip can be surfaced before the next attempt rather than at it.
  • POST /investors/profiles/{profile_id}/costs · 必要性 investors:writeAdd CostRecord work done on this profile's behalf that the platform did not measure itself.
  • PUT /investors/profiles/{profile_id}/data-connections · 必要性 investors:writeConnect Data FeedConnect this profile's OWN market-data subscription. The licence then sits between the tenant and their provider - we are a client they pointed at their own account, not a redistributor. That is the clean answer to the restriction that makes our platform-supplied feeds non-displayable, and it is also what a trader who already pays for data actually wants. The credential is stored so we can call …
  • GET /investors/profiles/{profile_id}/data-connections · 必要性 investors:readList Data FeedsThe profile's connections. Credentials are never included - only whether one is set.
  • GET /investors/profiles/{profile_id}/edge · 必要性 investors:readRead PipelineThe pipeline's state: what the journal seems to say, and what has been made of it.
  • POST /investors/profiles/{profile_id}/edge/concepts · 必要性 investors:writeSynthesiseTurn hints into a hypothesis - or refuse, when the hints do not carry one. The refusal is the feature. A pipeline that always produces a concept is a pipeline that produces confident descriptions of noise, and somebody will act on those.
  • POST /investors/profiles/{profile_id}/edge/extract · 必要性 investors:writeExtract HintsSlice the journal and record what it seems to say. Append-only and deliberately not deduplicated: running this a month apart produces two hints on one dimension with different sample sizes, and the pair says more than either. A slice that strengthens as n grows is a different object from one that evaporates.
  • PUT /investors/profiles/{profile_id}/evidence-policy · 必要性 investors:writeSet Evidence PolicySet this profile's evidence thresholds. The bounds are deliberate: a deflated Sharpe below 0.5 or a PBO above 0.5 would be a gate that admits results indistinguishable from chance, and a threshold that cannot refuse anything is not a threshold.
  • GET /investors/profiles/{profile_id}/journal · 必要性 investors:readRead JournalEvery fill, with the rules that caused it and the ruling that permitted it.
  • POST /investors/profiles/{profile_id}/journal/attribute · 必要性 investors:writeAttributeAttach a regime label to every fill that has none. Only rows without one: relabelling would make the attribution behind a past review unreproducible, and a review whose numbers move underneath it is not evidence of anything. The label is set through a SECURITY DEFINER function that can touch nothing else on the row, because an UPDATE grant on the journal would let some future code path amend a re…
  • GET /investors/profiles/{profile_id}/journal/attribution · 必要性 investors:readRead AttributionWhere the realised P&L went, by cause, over the journal's own round trips (IN7).
  • PUT /investors/profiles/{profile_id}/machine-rate · 必要性 investors:writeSet RateSay what an hour of your machine is worth. Until you do, cost is reported in seconds only.
  • PUT /investors/profiles/{profile_id}/paper-account · 必要性 investors:writeOpen Paper AccountDeclare how big this paper account is. Every percentage limit is measured against it. Declared rather than defaulted: a starting capital nobody chose would end up inside every risk calculation this profile ever makes, and nobody would remember it was a guess.
  • POST /investors/profiles/{profile_id}/reviews · 必要性 investors:writeWrite ReviewRecord a period review, with the tear sheet as it stood when it was written. Append-only on purpose: the point of a review is to be able to read back what somebody believed BEFORE they knew how the next month went. A review that can be edited afterwards records only the opinion that turned out well.
  • GET /investors/profiles/{profile_id}/reviews · 必要性 investors:readList ReviewsPast reviews, newest first - including the ones whose hypothesis turned out wrong.
  • GET /investors/profiles/{profile_id}/risk-decisions · 必要性 investors:readList Decisions
  • PUT /investors/profiles/{profile_id}/risk-limits · 必要性 investors:writeSet LimitsSet the fence. The previous version is superseded, never overwritten.
  • GET /investors/profiles/{profile_id}/risk-limits · 必要性 investors:readGet Limits
  • GET /investors/profiles/{profile_id}/tear-sheet · 必要性 investors:readTear SheetThe performance report. Equally usable by somebody deciding to allocate and somebody deciding to shut the thing down - if it reads better for one of those, it is selling.
  • GET /investors/profiles/{profile_id}/trading-strategies · 必要性 investors:readList TradingThe profile's strategies, seen through what they are allowed to DO. Deliberately a different view from investors_research's list, not a second copy of it: that one answers "what ideas do we have", this one answers "what is trading, and how".
  • PUT /investors/profiles/{profile_id}/tradingview-symbols · 必要性 investors:writeMap SymbolMap a TradingView ticker to one of our instruments. TradingView's spelling is not always ours - BTCUSD there, BTC-USD here - and an unmapped ticker is refused rather than guessed.
  • GET /investors/profiles/{profile_id}/tradingview-symbols · 必要性 investors:readList Symbol Map
  • GET /investors/profiles/{profile_id}/true-pnl · 必要性 investors:readTrue PnlTrading profit, minus what it cost to produce it. The number INV7's tear sheet does not compute, and the one that decides whether a strategy is worth running at all.
  • POST /investors/research-notes · 必要性 investors:writeCreate Research Note
  • POST /investors/research-notes/{note_id}/ai-draft · 必要性 investors:writeAi Draft Research NoteAI drafts model_outputs (a synthesis of the note's own thesis/evidence/counter-evidence) - advisory only, always labeled ai_generated, review_status stays 'draft' until a human explicitly marks it reviewed. Matches this project's 'AI drafts, never authoritative' pattern used everywhere else.
  • PATCH /investors/research-notes/{note_id}/review · 必要性 investors:writeReview Research Note
  • POST /investors/risk-policies · 必要性 investors:writeCreate Risk Policy
  • POST /investors/sentiment-observations · 必要性 investors:writeCreate Sentiment ObservationLLM-assisted sentiment labeling - advisory only, always ai_generated=true and human_reviewed=false until a reviewer explicitly confirms it. Matches spec section 20: 'LLM sentiment is advisory.'
  • PATCH /investors/sentiment-observations/{obs_id}/review · 必要性 investors:writeReview Sentiment Observation
  • POST /investors/sequencer/combos/{combo_id}/sequence · 必要性 investors:writeRun SequenceWalk a legged package one leg at a time. Resumes a partial one from where it stopped.
  • POST /investors/sequencer/combos/{combo_id}/unwind · 必要性 investors:writeRun Unwind
  • GET /investors/sequencer/stuck · 必要性 investors:readStuckEverything halfway through becoming something else. The query somebody runs when they suspect a sequencer died. It reports elapsed time rather than a verdict, because a sequencer that is genuinely mid-walk and one whose process died look identical from the database and only the clock separates them.
  • POST /investors/signals · 必要性 investors:writeCreate Signal
  • PATCH /investors/signals/{signal_id}/status · 必要性 investors:writeUpdate Signal Status
  • GET /investors/sizer/profiles/{profile_id}/proposals · 必要性 investors:readHistory
  • POST /investors/sizer/profiles/{profile_id}/propose · 必要性 investors:writeProposeHow much, and why that much. Records the proposal, because it is advice with a timestamp.
  • POST /investors/strategies · 必要性 investors:writeCreate Strategy
  • POST /investors/strategies/{sid}/backtest · 必要性 investors:writeRun Evidence BacktestRun the strategy's spec under walk-forward validation and judge the result. This is the only thing that can make `backtested` true. It is a trial whether it passes or not - the row is written before the verdict is known and cannot be deleted, which is what stops the trial count from quietly becoming the count of runs somebody liked.
  • GET /investors/strategies/{sid}/evidence · 必要性 investors:readStrategy EvidenceEvery evidence run this strategy has, newest first, and whether any of them still stands. The workspace needs both halves of that. A strategy with four failed runs and one pass is in a different position from one with a single pass, and a strategy whose pass sits on a spec that has since been edited looks identical to a passing one until you ask.
  • POST /investors/strategies/{sid}/instruments · 必要性 investors:writeSet InstrumentsDeclare what this strategy trades. Required before it may propose anything. Declared, never inferred: a strategy that claims to trade anything has been tested on nothing, and a later backtest is only an honest test of the claim if the claim was made first.
  • POST /investors/strategies/{sid}/intents · 必要性 investors:writeSubmit IntentThe strategy proposes a trade. Nothing else happens. The intent lands `pending` and stays there. That is the shape the system is built to, not an unfinished feature: the risk authority is the only thing that may approve, size or refuse, and it arrives in INV2.
  • GET /investors/strategies/{sid}/intents · 必要性 investors:readList Intents
  • GET /investors/strategies/{sid}/passport · 必要性 investors:readPassportThe whole life of a strategy, in order, with names on it.
  • PUT /investors/strategies/{sid}/spec · 必要性 investors:writeSet SpecGive a strategy a machine-runnable spec beside its prose. The prose stays authoritative for what the strategy MEANS - a reviewer approved words, not JSON. The spec is what actually runs. Keeping them separate is why a passing backtest cannot quietly redefine the strategy somebody signed off. Superseding a spec invalidates any promotion that rested on it, because evidence is about the thing that …
  • POST /investors/strategies/{sid}/trade-mode · 必要性 investors:writeSet Trade ModeSwitch a proven strategy between manual and auto, at will. No ceremony: no reason required, no approval, flip it as often as the day demands - that is what "at will" has to mean or people work around it. But never silent, because "who turned this on, and when" is the first question anybody asks after a bad day, and a switch with no answer to that is a switch nobody will trust enough to use. One …
  • POST /investors/strategies/{sid}/trading-state · 必要性 investors:writeSet Trading StateMove a strategy's trading state - by a named person, with a reason, on the record. `backtested` and `paper` are no longer claims. INV3 built the gate, so moving into either now requires a walk-forward run that survived the profile's evidence thresholds - and the passport records WHICH run, so the promotion can be re-read against the evidence that justified it. `halted` and `untested` stay claim-…
  • POST /investors/strategies/{sid}/webhook · 必要性 investors:writeCreate WebhookIssue a TradingView webhook token for this strategy. The token is returned ONCE. It is stored hashed and there is nowhere to read it from afterwards - if it is lost, rotate rather than recover. Rotating supersedes the old one immediately, so an alert still configured with it starts failing rather than quietly continuing to work.
  • GET /investors/strategies/{sid}/webhook · 必要性 investors:readRead WebhookThe webhook's state and its recent deliveries - including everything it refused.
  • POST /investors/strategies/{sid}/webhook/revoke · 必要性 investors:writeRevoke WebhookTurn the webhook off. Alerts still configured with it are refused and recorded.
  • PATCH /investors/strategies/{strategy_id} · 必要性 investors:writeUpdate Strategy
  • GET /investors/strategies/{strategy_id}/versions · 必要性 investors:readList Strategy Versions
  • POST /investors/sweep/run · 必要性 investors:writeTriggerRun a sweep now. The timer runs the same function; this exists for a person in a hurry.
  • GET /investors/sweep/status · 必要性 investors:readStatusWhen did the heartbeat last beat, and what did it find. THE ALERT IS THE STALENESS. No threshold is stored anywhere - the caller knows what it considers too long far better than this schema does, and a threshold in a table is one more thing to configure wrongly and then trust. THE HEARTBEAT IS PUBLIC AND THE FINDINGS ARE NOT. Anyone authenticated may learn that the sweep ran, because a tenant wh…
  • PUT /investors/tenant-zero · 必要性 investors:writeDesignateDesignate the profile Fitinty's own fund runs on. This grants nothing. It is a label, and the attestation is typed rather than defaulted so that somebody proposing an exemption later has to read what they are contradicting.
  • GET /investors/tenant-zero · 必要性 investors:readRead Tenant ZeroThe designation, and every gate answering for it. Readable by anyone authenticated on purpose. A platform that trades its own fund on the rails it sells should say which profile that is; one that hides it is making a different claim.
  • POST /investors/universe/adopt · 必要性 investors:writeAdoptListed -> core, by the owner's hand, and the first bars fetched NOW through the standing fetchers. Refused in words when no licensed bars come back: a core instrument with no data would sit in every picker as a blank.
  • GET /investors/universe/agents/board · 必要性 investors:readRead Board
  • GET /investors/universe/agents/{symbol} · 必要性 investors:readRead One
  • GET /investors/universe/alpha-score · 必要性 investors:readRead Alpha
  • GET /investors/universe/autopilot · 必要性 investors:readRead Autopilot
  • PUT /investors/universe/budget/{source_id} · 必要性 investors:writeSet BudgetThe dial. A budget is a limit on what the PLATFORM spends; it never buys anything.
  • GET /investors/universe/candidates · 必要性 investors:readRead Candidates
  • POST /investors/universe/debate/{symbol} · 必要性 investors:writeDebate NowA workspace admin asks for a debate over their own dial's candidate. Once a day per instrument.
  • GET /investors/universe/debates · 必要性 investors:readList Debates
  • GET /investors/universe/events · 必要性 investors:readCalendar
  • GET /investors/universe/features/{symbol} · 必要性 investors:readRead FeaturesThe newest feature row per name for one instrument - what an agent would read tonight.
  • GET /investors/universe/feed · 必要性 investors:readRead FeedThe Whale Signals feed - one signal day, however many reads.
  • GET /investors/universe/fundamentals/core · 必要性 investors:readCore FundamentalsEvery core equity's headline figures as knowable on the as-of date (today by default).
  • GET /investors/universe/fundamentals/{symbol} · 必要性 investors:readOne Fundamentals
  • GET /investors/universe/listed · 必要性 investors:readSearch ListedSearch what the platform KNOWS but has not adopted. Reading only; adoption is a door.
  • GET /investors/universe/money · 必要性 investors:readRead Money
  • POST /investors/universe/run · 必要性 investors:writeRun NowRun the nightly now, by the owner's hand. The timer runs the same function inside the sweep.
  • GET /investors/universe/runs · 必要性 investors:readList Runs
  • GET /investors/universe/scoring-policy · 必要性 investors:readRead Policy
  • PUT /investors/universe/scoring-policy · 必要性 investors:writeSet My Policy
  • PUT /investors/universe/scoring-policy/platform · 必要性 investors:writeSet Platform Policy
  • PUT /investors/universe/signal-subscription · 必要性 investors:writeSet SubscriptionThe workspace opts in to the nightly digest, naming its channels and its consent in its own words. A channel that leaves the platform delivers only once the Emperor's counsel sign-off stands on it - the opt-in records the wish, the channel's gate decides.
  • DELETE /investors/universe/signal-subscription · 必要性 investors:writeClear Subscription
  • GET /investors/universe/summary · 必要性 investors:readRead Summary
  • POST /investors/watchlist-items · 必要性 investors:writeAdd Watchlist Item
  • PATCH /investors/watchlist-items/{item_id}/status · 必要性 investors:writeUpdate Watchlist Item Status
  • POST /investors/watchlists · 必要性 investors:writeCreate Watchlist
  • GET /investors/watchlists/{watchlist_id}/items · 必要性 investors:readList Watchlist Items
  • POST /investors/whale-observations · 必要性 investors:writeCreate Whale Observation
  • GET /investors/{profile_id} · 必要性 investors:readGet Profile
  • GET /investors/{profile_id}/alpha-audit · 必要性 investors:readList Alpha Audit Entries
  • GET /investors/{profile_id}/backtests · 必要性 investors:readList Backtests
  • GET /investors/{profile_id}/cross-asset · 必要性 investors:readList Cross Asset Relationships
  • GET /investors/{profile_id}/disclosure-policies · 必要性 investors:readList Disclosure Policies
  • GET /investors/{profile_id}/institutional-flows · 必要性 investors:readList Institutional Flows
  • GET /investors/{profile_id}/members · 必要性 investors:readList Members
  • POST /investors/{profile_id}/members · 必要性 investors:writeAdd Member
  • GET /investors/{profile_id}/monte-carlo · 必要性 investors:readList Monte Carlo Runs
  • GET /investors/{profile_id}/paper-orders · 必要性 investors:readList Paper Orders
  • GET /investors/{profile_id}/paper-positions · 必要性 investors:readList Paper Positions
  • GET /investors/{profile_id}/portfolios · 必要性 investors:readList Portfolios
  • GET /investors/{profile_id}/price-alerts · 必要性 investors:readList Alerts
  • GET /investors/{profile_id}/research-notes · 必要性 investors:readList Research Notes
  • GET /investors/{profile_id}/risk-policies · 必要性 investors:readList Risk Policies
  • GET /investors/{profile_id}/sentiment-observations · 必要性 investors:readList Sentiment Observations
  • GET /investors/{profile_id}/signals · 必要性 investors:readList Signals
  • GET /investors/{profile_id}/strategies · 必要性 investors:readList Strategies
  • GET /investors/{profile_id}/war-room · 必要性 investors:readGet War Room
  • GET /investors/{profile_id}/watchlists · 必要性 investors:readList Watchlists
  • GET /investors/{profile_id}/whale-observations · 必要性 investors:readList Whale Observations
  • POST /personal-credit/coach/analyze · 必要性 investors:writeAnalyzeFull educational walkthrough of the latest sandbox pull: factor standings + legitimate improvement actions. Persisted so the user can revisit it.
  • POST /personal-credit/coach/ask · 必要性 investors:writeAskOne educational question, grounded on the latest sandbox pull. Persisted like analyses.
  • GET /personal-credit/coach/sessions · 必要性 investors:readList Sessions
  • GET /personal-credit/dispute-sandbox/cases · 必要性 investors:readList Cases
  • POST /personal-credit/dispute-sandbox/cases · 必要性 investors:writeCreate CaseAccuracy-first triage BEFORE anything else exists on the case. An item the agent assesses as accurate gets an honest educational explanation and a closed case - no letter path.
  • GET /personal-credit/dispute-sandbox/cases/{case_id} · 必要性 investors:readGet Case
  • POST /personal-credit/dispute-sandbox/cases/{case_id}/draft-letter · 必要性 investors:writeDraft Letter
  • POST /personal-credit/dispute-sandbox/cases/{case_id}/responses · 必要性 investors:writeUpload ResponseThe consumer pastes what came back (in the sandbox: any simulated bureau reply). The agent classifies the outcome and decides the next move, with its rationale stored verbatim.
  • POST /personal-credit/dispute-sandbox/letters/{letter_id}/simulate-mailing · 必要性 investors:writeSimulate MailingStamps the simulated consumer-mailed moment. Nothing is sent - in the future real program, this step is the consumer's own real action (or a counsel-approved send path).
  • GET /personal-credit/monitoring/authorization · 必要性 investors:readGet Authorization
  • POST /personal-credit/monitoring/authorization · 必要性 investors:writeRecord AuthorizationOwner-only. Records the Emperor's attestation that legal counsel AND a real provider relationship confirm real personal-credit pulls going live. This is the ONLY way the authorization gate is ever set — no automated path creates it, and it never enables real pulls on its own.
  • POST /personal-credit/monitoring/authorization/revoke · 必要性 investors:writeRevoke AuthorizationOwner-only. Revokes any active provider authorization (real pulls, if they ever existed, revert to not-authorized).
  • GET /personal-credit/monitoring/my-consent · 必要性 investors:readGet My Consent
  • POST /personal-credit/monitoring/my-consent · 必要性 investors:writeGrant My ConsentThe real FCRA 'permissible purpose' consent click — a real person consenting to a real review of THEIR OWN credit file, and nothing else (purpose is DB-fixed to 'self'). Never bulk-applied; one user's own action, every time.
  • POST /personal-credit/monitoring/my-consent/revoke · 必要性 investors:writeRevoke My Consent
  • GET /personal-credit/monitoring/my-pulls · 必要性 investors:readList My Pulls
  • GET /personal-credit/monitoring/readiness · 必要性 investors:readReadiness
  • POST /personal-credit/monitoring/sandbox-pull · 必要性 investors:writeRequest Sandbox PullRequires an active real consent record first — the same 'no real action without consent' gate every other personal-data flow in this codebase enforces. Always runs the internal mock (see _run_mock_pull's own docstring for exactly why), regardless of whether a provider is configured — this never contacts a real bureau, live mode or not.
Farms - 141 エンドポイント - farms:read, farms:write

Land, sensors and what grows on them.

  • GET /farms · 必要性 farms:readList Farms
  • POST /farms · 必要性 farms:writeCreate Farm
  • POST /farms/consignments/{consignment_id}/accept · 必要性 farms:writeAccept ConsignmentThe HUB's word: its retail price, and the lot on ITS store. Only the hub's staff may accept.
  • POST /farms/consignments/{consignment_id}/decline · 必要性 farms:writeDecline Consignment
  • POST /farms/consignments/{consignment_id}/withdraw · 必要性 farms:writeWithdraw ConsignmentThe FARM's hand, at will: what is unsold comes back; the hub's product carries the rest or comes down.
  • POST /farms/crew-members/{member_id}/leave · 必要性 farms:writeMember Leaves
  • POST /farms/crews/{crew_id}/close · 必要性 farms:writeClose Crew
  • POST /farms/crews/{crew_id}/members · 必要性 farms:writeAdd MemberA crew member IS an employee of the farm's business - the one roster, never a farm copy.
  • POST /farms/crop-cycles · 必要性 farms:writeCreate Crop Cycle
  • PATCH /farms/crop-cycles/{cycle_id} · 必要性 farms:writeUpdate Crop Cycle
  • POST /farms/devices · 必要性 farms:writeRegister Farm Device
  • POST /farms/devices/{device_id}/telemetry/synthetic · 必要性 farms:writeCapture Synthetic TelemetryGenerates one real synthetic telemetry reading for a registered device - deterministic randomized values within realistic ranges per measurement type, matching the spec's own 'mock-first, separately gated' posture (section 11: real sensor deployment stays out of Core).
  • POST /farms/digital-twin · 必要性 farms:writeCreate Digital Twin Asset
  • POST /farms/fields · 必要性 farms:writeCreate Field
  • PATCH /farms/fields/{field_id} · 必要性 farms:writeUpdate Field
  • POST /farms/harvest-plans · 必要性 farms:writeCreate Harvest Plan
  • POST /farms/harvest-plans/{plan_id}/ai-propose · 必要性 farms:writeAi Propose Harvest ReadinessAI drafts a harvest-readiness assessment from the linked crop cycle's real recorded observations/health notes - advisory only, never auto-approved, matching this project's 'AI drafts, never authoritative' pattern used everywhere else.
  • PATCH /farms/harvest-plans/{plan_id}/status · 必要性 farms:writeSet Harvest Plan Status
  • GET /farms/hubs/list · 必要性 farms:readHubs
  • GET /farms/integrations · 必要性 farms:readList Integrations
  • POST /farms/inventory · 必要性 farms:writeCreate Inventory Item
  • PATCH /farms/inventory/{item_id} · 必要性 farms:writeUpdate Inventory Item
  • PATCH /farms/leads/{lead_id} · 必要性 farms:writeSet Lead Statusengaged starts the response clock ONCE (first_contact_at); closed needs a reason; the moat measures from these words, so a status is a fact the farm states, never a guess.
  • POST /farms/livestock · 必要性 farms:writeCreate Livestock
  • PATCH /farms/livestock/{livestock_id} · 必要性 farms:writeUpdate Livestock
  • POST /farms/logistics-plans · 必要性 farms:writeCreate Farm To Table Plan
  • POST /farms/logistics-plans/{plan_id}/preview-route · 必要性 farms:writePreview RouteProduces a real, deterministic route-preview summary from the plan's own recorded fields - explicitly a preview/simulation, never a real dispatch (spec section 18: 'It may not dispatch real vehicles or promise delivery').
  • PATCH /farms/logistics-plans/{plan_id}/status · 必要性 farms:writeSet Farm To Table Plan Status
  • POST /farms/maintenance · 必要性 farms:writeCreate Maintenance Record
  • PATCH /farms/maintenance/{record_id}/status · 必要性 farms:writeSet Maintenance Status
  • GET /farms/marketplace-bridge-check · 必要性 farms:readMarketplace Bridge Check
  • GET /farms/mine · 必要性 farms:readGet My Farm Endpoint
  • GET /farms/my/asks · 必要性 farms:readMy Asks Door
  • GET /farms/my/orders · 必要性 farms:readMy Orders
  • POST /farms/my/region-asks · 必要性 farms:writeMy Region Ask
  • GET /farms/my/region-asks · 必要性 farms:readMy Region Asks
  • GET /farms/my/rooms · 必要性 farms:readGet My Rooms
  • GET /farms/my/shares · 必要性 farms:readMy Shares
  • GET /farms/my/standing-orders · 必要性 farms:readMy Standing Orders
  • POST /farms/my/standing-orders · 必要性 farms:writeCreate Standing OrderThe buyer's own row (their cursor, the buyer arm), and the farm's lead for it - once.
  • PATCH /farms/my/standing-orders/{order_id} · 必要性 farms:writeSet Standing Order Status
  • GET /farms/my/visits · 必要性 farms:readMy VisitsEvery open offer with its next real slots, and my own bookings.
  • POST /farms/offers/{offer_id}/withdraw · 必要性 farms:writeWithdraw Offer
  • POST /farms/orders/{order_id}/pay · 必要性 farms:writePay OrderThe buyer's pay door: a Stripe Checkout Session ON THE FARM'S OWN ACCOUNT, Fitinty's cut as the application fee from the one ladder (the farms rate), pending-before-Stripe.
  • POST /farms/partner-hubs · 必要性 farms:writeCreate Partner Hub
  • POST /farms/payments/webhook · 必要性 farms:writeFarms Stripe WebhookThe pillar's own verified door, the Services shape exactly: signature or refusal, captured events only, idempotent by the pending->paid guard + the fee ledger's unique payment id.
  • POST /farms/pickup-points/{point_id}/active · 必要性 farms:writeSet Pickup Point Active
  • POST /farms/produce-batches · 必要性 farms:writeCreate Produce Batch
  • PATCH /farms/produce-batches/{batch_id} · 必要性 farms:writeUpdate Produce Batch
  • POST /farms/produce-batches/{batch_id}/custody · 必要性 farms:writeRecord Custody
  • POST /farms/produce-batches/{batch_id}/list · 必要性 farms:writeList BatchThe farm's own bridge: this lot becomes a real product on the farm's store - a DRAFT unless `publish` is asked, in which case the go-live gate is asked first.
  • POST /farms/produce-batches/{batch_id}/lot-events · 必要性 farms:writeRecord Lot Event DoorA person records custody. `withdrawn` and `recalled` need a reason and take the quantity off the lot (all of it when none is given); a listed product comes down and its stock follows - the store never sells a recalled lot. `adjusted` SETS what is available, and says why.
  • POST /farms/produce-batches/{batch_id}/publish · 必要性 farms:writePublish Batch
  • POST /farms/produce-batches/{batch_id}/recall · 必要性 farms:writeRecall LotFM3's own recall (the reason required, the quantity off, the product DOWN) plus the notice DRAFTED from the chain. Nothing is sent from here.
  • POST /farms/produce-batches/{batch_id}/unlist · 必要性 farms:writeUnlist Batch
  • POST /farms/quality-records · 必要性 farms:writeCreate Quality Record
  • PATCH /farms/quality-records/{record_id}/confirm · 必要性 farms:writeConfirm Quality Record
  • POST /farms/quotes/accept/{token} · 必要性 farms:writeAccept QuoteSIGNED-IN acceptance: the order is born on the ACCEPTOR'S OWN CURSOR (farm_order's WITH CHECK demands buyer_user_id = the caller - a signed-in person is ordering for themself); the quote and the ask then flip on the system cursor (the buyer cannot update the farm's rows, rightly).
  • POST /farms/quotes/{quote_id}/send · 必要性 farms:writeSend QuoteSENT, and the accept link handed back - sending it stays the farm's hand. The ask is engaged: the farm answered.
  • POST /farms/quotes/{quote_id}/withdraw · 必要性 farms:writeWithdraw Quote
  • POST /farms/recall-notices/{notice_id}/sent-by-hand · 必要性 farms:writeNotice Sent By Hand
  • GET /farms/seasons/kits · 必要性 farms:readSeason Kits
  • POST /farms/seasons/{season_id}/status · 必要性 farms:writeSet Season StatusThe person's word: APPROVED stamps who; DISCARDED archives the season's cycles and cancels its open tasks (never deletes); CLOSED ends an approved season.
  • POST /farms/share-plans/{plan_id}/join · 必要性 farms:writeJoin ShareSIGNED IN. A Stripe subscription session ON THE FARM'S OWN ACCOUNT, Fitinty's cut as a percent of each invoice from the one ladder; the farm that cannot charge is refused in words BEFORE any row is born.
  • POST /farms/share-plans/{plan_id}/status · 必要性 farms:writeSet Plan StatusTHE FARM'S GO-LIVE for shares: OPEN puts the plan in front of every buyer's sourcing desk, so the ONE pay-to-open gate is asked here, in the body, before the flip. CLOSED stops new joins; the shares already held keep running until their holders end them.
  • POST /farms/shares/{share_id}/cancel · 必要性 farms:writeCancel ShareThe holder ends their own share: the subscription is cancelled on the farm's account where one exists (the webhook's hand ends the record; it is ended here too, idempotently), a pending one just ends.
  • POST /farms/showcase · 必要性 farms:writeUpload Showcase Asset
  • GET /farms/showcase/{asset_id}/download · 必要性 farms:readDownload Showcase Asset
  • PATCH /farms/showcase/{asset_id}/status · 必要性 farms:writeSet Showcase Asset StatusStop 18 - PUBLISHING is the pillar's go-live: a published showcase asset is readable by anyone (showcase_asset_select, 089), so the transition to 'published' takes the ONE pay-to-open gate in the function body (the standing lesson: a Depends misses plain-Python callers). Drafting stays free; the tenant's drafts are theirs and they keep.
  • POST /farms/storage-locations · 必要性 farms:writeCreate Storage Location
  • POST /farms/tasks · 必要性 farms:writeCreate Farm Task
  • PATCH /farms/tasks/{task_id}/assign · 必要性 farms:writeAssign Farm TaskFM14: the ONE door that puts a person on a task or takes them off - the crew-scheduling kind and its reverse both come through here, so an assignment is never a row written beside the desk. A task already started keeps its person (a hand finishes what it began).
  • PATCH /farms/tasks/{task_id}/status · 必要性 farms:writeSet Farm Task Status
  • POST /farms/visit-bookings/{booking_id}/cancel · 必要性 farms:writeCancel VisitThe booker's own cancel. A paid visit stays a farm's refund by hand, said in words.
  • POST /farms/visit-bookings/{booking_id}/host-cancel · 必要性 farms:writeHost CancelThe farm cancels a booking WITH A REASON (the booker reads it); a paid one is refunded by the farm's own hand, said.
  • POST /farms/visit-bookings/{booking_id}/pay · 必要性 farms:writePay VisitThe booker's pay door: a Stripe Checkout Session ON THE FARM'S OWN ACCOUNT, the fee from the one ladder at the farms rate.
  • POST /farms/visits/{offer_id}/book · 必要性 farms:writeBook Visit
  • GET /farms/visits/{offer_id}/slots · 必要性 farms:readVisit Slots DoorThe open starts of one offer over the coming days - readable by anyone signed in or not: a time is not a person (the handover windows are public by design too).
  • POST /farms/visits/{offer_id}/status · 必要性 farms:writeSet Visit StatusTHE FARM'S GO-LIVE for visits: OPEN puts the offer on every buyer's sourcing desk, so the one pay-to-open gate is asked here, in the body, before the flip. CLOSED stops new bookings; the bookings already made stand.
  • DELETE /farms/windows/{window_id} · 必要性 farms:writeDelete Window
  • GET /farms/{farm_id} · 必要性 farms:readGet Farm
  • PATCH /farms/{farm_id} · 必要性 farms:writeUpdate Farm
  • PATCH /farms/{farm_id}/benchmark-consent · 必要性 farms:writeSet Benchmark ConsentConsent is the exact words, signed; withdrawal blanks them and the next reading forgets the farm.
  • GET /farms/{farm_id}/community · 必要性 farms:readFarm Community
  • POST /farms/{farm_id}/community/circle · 必要性 farms:writeOpen CircleThe buyers' circle: the storefront's open room, born through the organ's one writer.
  • POST /farms/{farm_id}/community/exchange · 必要性 farms:writeOpen ExchangeThe growers' exchange - knowledge, equipment, bulk buys - joined by anyone on a farm's membership.
  • POST /farms/{farm_id}/community/share-room · 必要性 farms:writeOpen Share RoomThe CSA members' room pins to one of THIS farm's plans; one live room per plan.
  • POST /farms/{farm_id}/consignments · 必要性 farms:writeConsignThe farm's offer, with the consent words RECORDED; born 'offered' on the farm's own cursor.
  • GET /farms/{farm_id}/consignments · 必要性 farms:readConsignmentsBoth sides on one door: what this farm consigned (and is owed), what this hub received (and owes).
  • POST /farms/{farm_id}/costs · 必要性 farms:writeRecord Cost
  • POST /farms/{farm_id}/crews · 必要性 farms:writeCreate Crew
  • GET /farms/{farm_id}/crews · 必要性 farms:readCrewsThe crews with their people (the roster's names, their training as the roster's own door reads it), the work records (capped), the period's pay lines.
  • GET /farms/{farm_id}/crop-cycles · 必要性 farms:readList Crop Cycles
  • GET /farms/{farm_id}/devices · 必要性 farms:readList Farm Devices
  • GET /farms/{farm_id}/digital-twin · 必要性 farms:readList Digital Twin Assets
  • PATCH /farms/{farm_id}/directory · 必要性 farms:writeSet Directory
  • GET /farms/{farm_id}/events · 必要性 farms:readFarm EventsThe farm's events, newest first, with the seats taken - and the list says when it stops.
  • POST /farms/{farm_id}/events · 必要性 farms:writeCreate Farm Event
  • POST /farms/{farm_id}/events/{event_id}/publish · 必要性 farms:writePublish Farm EventPublishing IS the farm's go-live for an event: the pay-to-open gate in the body, then FitinEvents' own publish and open-to-public doors, so the seat's door is the platform's one ticket rail.
  • GET /farms/{farm_id}/fields · 必要性 farms:readList Fields
  • POST /farms/{farm_id}/handoffs · 必要性 farms:writeRecord Handoff
  • GET /farms/{farm_id}/handoffs · 必要性 farms:readHandoffs
  • GET /farms/{farm_id}/harvest-plans · 必要性 farms:readList Harvest Plans
  • GET /farms/{farm_id}/inventory · 必要性 farms:readList Inventory
  • GET /farms/{farm_id}/leads · 必要性 farms:readFarm Leads
  • GET /farms/{farm_id}/livestock · 必要性 farms:readList Livestock
  • GET /farms/{farm_id}/logistics-plans · 必要性 farms:readList Farm To Table Plans
  • GET /farms/{farm_id}/lot-events · 必要性 farms:readList Lot Events
  • GET /farms/{farm_id}/maintenance · 必要性 farms:readList Maintenance Records
  • GET /farms/{farm_id}/members · 必要性 farms:readList Farm Members
  • POST /farms/{farm_id}/members · 必要性 farms:writeAdd Farm Member
  • GET /farms/{farm_id}/moat · 必要性 farms:readMoat
  • GET /farms/{farm_id}/money · 必要性 farms:readFarm MoneyWhat this farm has taken on its own rail - read from the ONE fee ledger, never typed.
  • POST /farms/{farm_id}/offers · 必要性 farms:writeMint Offer DoorThe hand's offer: a lead, a lot (or the best-matching listed one), the next three REAL open times.
  • GET /farms/{farm_id}/open-slots · 必要性 farms:readOpen Slots Door
  • GET /farms/{farm_id}/partner-hubs · 必要性 farms:readList Partner Hubs
  • GET /farms/{farm_id}/pickup-points · 必要性 farms:readPickup Points
  • POST /farms/{farm_id}/pickup-points · 必要性 farms:writeCreate Pickup Point
  • GET /farms/{farm_id}/produce-batches · 必要性 farms:readList Produce Batches
  • GET /farms/{farm_id}/quality-records · 必要性 farms:readList Quality Records
  • POST /farms/{farm_id}/quotes · 必要性 farms:writeCreate QuoteThe farm's priced answer, born a DRAFT. Every line names a lot of this farm; the amount is the sum.
  • GET /farms/{farm_id}/quotes · 必要性 farms:readList Quotes
  • GET /farms/{farm_id}/recall-notices · 必要性 farms:readRecall Notices
  • GET /farms/{farm_id}/regional-demand · 必要性 farms:readRegional Demand Door
  • GET /farms/{farm_id}/roster · 必要性 farms:readRosterThe farm's people are the business's employees - hris_employee, never a farm copy.
  • GET /farms/{farm_id}/run-sheet · 必要性 farms:readRun Sheet Door
  • GET /farms/{farm_id}/seasons · 必要性 farms:readFarm SeasonsEvery season with its cycles' PLAN vs HARVEST (the batches that name the cycle), its costs by kind, its open tasks; and the farm's costs (capped). Every cost sum is keyed by currency - never one figure across currencies. Revenue is the one money read, not here.
  • POST /farms/{farm_id}/seasons/propose · 必要性 farms:writePropose SeasonA season DRAFT from the segment's kit: the cycles and the tasks with their dates from the kit's offsets. Deterministic from the data - a person approves, edits or discards it.
  • POST /farms/{farm_id}/share-plans · 必要性 farms:writeCreate PlanA share plan, born a DRAFT. The window it names is one of THIS farm's handover windows.
  • GET /farms/{farm_id}/shares · 必要性 farms:readFarm SharesThe plans, the members holding a share, and the cycles paid - the farm's own rows.
  • GET /farms/{farm_id}/showcase · 必要性 farms:readList Showcase Assets
  • GET /farms/{farm_id}/standing-orders · 必要性 farms:readFarm Standing Orders
  • GET /farms/{farm_id}/storage-locations · 必要性 farms:readList Storage Locations
  • GET /farms/{farm_id}/tasks · 必要性 farms:readList Farm Tasks
  • GET /farms/{farm_id}/telemetry · 必要性 farms:readList Telemetry
  • GET /farms/{farm_id}/trace · 必要性 farms:readTraceA recall is a query: by lot code, or by product over harvest dates.
  • GET /farms/{farm_id}/visit-bookings · 必要性 farms:readFarm Visit BookingsThe offers and the bookings coming up - the farm's own rows.
  • POST /farms/{farm_id}/visits · 必要性 farms:writeCreate VisitA visit offer, born a DRAFT. Price 0 is a free visit, said as such.
  • POST /farms/{farm_id}/windows · 必要性 farms:writeAdd Window
  • POST /farms/{farm_id}/work-records · 必要性 farms:writeRecord WorkQuantity x rate, earned computed ONCE here and never re-derived; the rate is the member's unless a different one is stated for this record (a different task pays a different rate).
  • POST /farms/{hub_farm_id}/payouts · 必要性 farms:writeRecord PayoutRule 3: the hub RECORDS what it paid a farm by its own hand; no transfer is made from here.
Manufacturing - 155 エンドポイント - manufacturing:read, manufacturing:write

Products, plans and production runs.

  • GET /manufacturing · 必要性 manufacturing:readList Factories
  • POST /manufacturing · 必要性 manufacturing:writeCreate Factory
  • POST /manufacturing/bom-items · 必要性 manufacturing:writeCreate Bom Item
  • DELETE /manufacturing/bom-items/{item_id} · 必要性 manufacturing:writeDelete Bom Item
  • POST /manufacturing/boms · 必要性 manufacturing:writeCreate Bom
  • GET /manufacturing/boms/{bom_id}/explode · 必要性 manufacturing:readExplode
  • GET /manufacturing/boms/{bom_id}/items · 必要性 manufacturing:readList Bom Items
  • POST /manufacturing/boms/{bom_id}/revise · 必要性 manufacturing:writeRevise Bom
  • GET /manufacturing/boms/{bom_id}/revisions · 必要性 manufacturing:readList Bom Revisions
  • PATCH /manufacturing/boms/{bom_id}/status · 必要性 manufacturing:writeSet Bom Status
  • POST /manufacturing/capacity/{listing_id}/list · 必要性 manufacturing:writeList CapacityTHE GO-LIVE: the declaration reaches the public page and the directory, so the ONE pay-to-open gate is asked here, in the body, before the word 'listed'.
  • POST /manufacturing/capacity/{listing_id}/withdraw · 必要性 manufacturing:writeWithdraw Capacity
  • POST /manufacturing/cost-energy-estimates · 必要性 manufacturing:writeCreate Cost Energy Estimate
  • POST /manufacturing/crew-members/{member_id}/leave · 必要性 manufacturing:writeMember Leaves
  • POST /manufacturing/crews/{crew_id}/close · 必要性 manufacturing:writeClose Crew
  • POST /manufacturing/crews/{crew_id}/members · 必要性 manufacturing:writeAdd MemberA crew member IS an employee of the factory's business - the one roster, never a factory copy.
  • POST /manufacturing/digital-twins · 必要性 manufacturing:writeCreate Digital Twin Project
  • PATCH /manufacturing/digital-twins/{twin_id}/status · 必要性 manufacturing:writeSet Twin Status
  • POST /manufacturing/documents · 必要性 manufacturing:writeUpload Document
  • GET /manufacturing/documents/{doc_id}/download · 必要性 manufacturing:readDownload Document
  • PATCH /manufacturing/documents/{doc_id}/status · 必要性 manufacturing:writeSet Document Status
  • POST /manufacturing/documents/{doc_id}/versions · 必要性 manufacturing:writeAdd Document VersionA new file is a new version row; the document's current fields point at it; the old version stays a row (append-only) and its file stays on disk.
  • GET /manufacturing/documents/{doc_id}/versions · 必要性 manufacturing:readList Document Versions
  • PATCH /manufacturing/documents/{document_id}/custody · 必要性 manufacturing:writeSet CustodyWhose drawing this is, and how long it is kept.
  • POST /manufacturing/documents/{document_id}/licenses · 必要性 manufacturing:writeWrite LicenseThe terms in the maker's words for one licensee, on a file that exists; born a DRAFT with no link and no price.
  • POST /manufacturing/documents/{document_id}/read-geometry · 必要性 manufacturing:writeRead GeometryRead a design file already in this factory's own vault. It writes a READING and nothing else - no part, no bill, no routing until a person asks for them.
  • POST /manufacturing/engineering-changes · 必要性 manufacturing:writeCreate Ecr
  • POST /manufacturing/engineering-changes/{ecr_id}/affected · 必要性 manufacturing:writeAdd AffectedThe request names a row of its own factory - read on the caller's cursor, so a row that is not the factory's is 'not found', never linked.
  • GET /manufacturing/engineering-changes/{ecr_id}/affected · 必要性 manufacturing:readList Affected
  • DELETE /manufacturing/engineering-changes/{ecr_id}/affected/{item_row_id} · 必要性 manufacturing:writeRemove Affected
  • PATCH /manufacturing/engineering-changes/{ecr_id}/effective · 必要性 manufacturing:writeSet EffectiveA date a person sets, on an approved request only.
  • PATCH /manufacturing/engineering-changes/{ecr_id}/status · 必要性 manufacturing:writeSet Ecr Status
  • POST /manufacturing/geometry/{geometry_id}/propose · 必要性 manufacturing:writePropose From GeometryDRAFT a part, a bill line and a routing from what the file said - each through the pillar's own existing writers, each a draft, none of them approved by this door.
  • GET /manufacturing/integrations · 必要性 manufacturing:readList Integrations
  • POST /manufacturing/inventory · 必要性 manufacturing:writeCreate Inventory Item
  • POST /manufacturing/inventory-locations · 必要性 manufacturing:writeCreate Inventory Location
  • PATCH /manufacturing/leads/{lead_id} · 必要性 manufacturing:writeSet Lead Statusengaged starts the response clock ONCE (first_contact_at); closed needs a reason. The moat measures from these words, so a status is a fact the factory states, never a guess.
  • POST /manufacturing/licenses/{license_id}/offer · 必要性 manufacturing:writeOffer LicenseTHE GO-LIVE: the link is minted and the terms can be read by whoever holds it, so the ONE pay-to-open gate is asked here, in the body, before the word 'offered'.
  • POST /manufacturing/licenses/{license_id}/void · 必要性 manufacturing:writeVoid License
  • POST /manufacturing/lots/{lot_id}/hand-off · 必要性 manufacturing:writeHand Off LotTHE LAST LINK OF THE CHAIN: what was made LEFT this factory, and into whose hands. `handed_over` was a declared kind of this chain from MF5 with NO door that could write it - the trace could say what a lot was made from and never that it had gone. A recall answers "who has it" out of exactly these rows, so the gap was the one that mattered. IT RECORDS AND DOES NOT DISPATCH. Under his MF5 ruling …
  • POST /manufacturing/lots/{lot_id}/recall · 必要性 manufacturing:writeRecall LotA recall takes the store product DOWN through MF3's own bridge - never a second writer - marks every lot this one reached, and DRAFTS the notice. NOTHING IS SENT: the words stand here and a person carries them out by their own hand.
  • GET /manufacturing/lots/{lot_id}/trace · 必要性 manufacturing:readTraceWHAT WENT INTO THIS, and WHAT THIS WENT INTO. Both walks are queries over the genealogy rows; nothing is cached, so the answer is always the chain as it stands.
  • POST /manufacturing/manufacturability-reviews · 必要性 manufacturing:writeCreate Manufacturability Review
  • POST /manufacturing/manufacturability-reviews/{review_id}/ai-assist · 必要性 manufacturing:writeAi Assist Manufacturability ReviewAI drafts manufacturability findings from the review's own recorded criteria notes and the linked product's real fields - advisory only, a qualified reviewer must still approve, matching this project's 'AI drafts, never authoritative' pattern.
  • PATCH /manufacturing/manufacturability-reviews/{review_id}/status · 必要性 manufacturing:writeSet Manufacturability Review Status
  • GET /manufacturing/mine · 必要性 manufacturing:readGet My Factory Endpoint
  • GET /manufacturing/my/asks · 必要性 manufacturing:readMy Asks DoorA person's own asks across makers - ownership decided in code from the account email, per row (the ONE ownership rule); the lead table itself stays the factory's alone.
  • GET /manufacturing/my/orders · 必要性 manufacturing:readMy Orders
  • POST /manufacturing/my/region-asks · 必要性 manufacturing:writeOpen Region Ask
  • GET /manufacturing/my/region-asks · 必要性 manufacturing:readMy Region AsksThe buyer's own asks and where each one got to. NO MAKER'S ROWS are in this answer.
  • POST /manufacturing/orders/{order_id}/pay · 必要性 manufacturing:writePay OrderThe buyer's pay door: a Stripe Checkout Session ON THE FACTORY'S OWN ACCOUNT, Fitinty's cut as the application fee from the one ladder (the manufacturing rate), pending-before-Stripe.
  • POST /manufacturing/partner-connections/{connection_id}/disconnect · 必要性 manufacturing:writeDisconnectDISCONNECT ERASES. A flag on a kept secret is not a disconnection.
  • POST /manufacturing/partner-connections/{connection_id}/read · 必要性 manufacturing:writeRead Through DoorTHE TRANSPORT IS NOT A DOOR PARAMETER. FastAPI reads an endpoint's arguments as the request's own, and a Callable has no schema - so the whole of /openapi.json answered 500 the first time this was written that way, which takes every screen down, not one. The act is a plain function (540's shape) and the guard injects a transport there with no network at all.
  • POST /manufacturing/partner-orders/{order_id}/approve · 必要性 manufacturing:writeApprove OrderA PERSON'S WORD, with what it costs stated back to them. Approving still sends nothing.
  • POST /manufacturing/partner-orders/{order_id}/transmit · 必要性 manufacturing:writeTransmit Order DoorThe only act that reaches outside, behind the lock. Same shape as the read above: the door takes no transport, so the schema stays buildable.
  • POST /manufacturing/partner-rfqs/{rfq_id}/answer · 必要性 manufacturing:writeRecord AnswerTheir answer, as they gave it. A decline is an answer and is recorded as one - a partner who says no twice is a fact worth having.
  • POST /manufacturing/partner-rfqs/{rfq_id}/sent · 必要性 manufacturing:writeMark SentA PERSON MARKS IT SENT. This platform puts nothing in a stranger's inbox (the standing real-communications law), so `sent` is a fact somebody records, and `sent_how` says how.
  • PATCH /manufacturing/partners/{partner_id} · 必要性 manufacturing:writeUpdate Partner
  • POST /manufacturing/partners/{partner_id}/certifications · 必要性 manufacturing:writeAdd CertificationA CLAIM, AND WHETHER ANYBODY SAW THE PAPER. `seen` records that a person looked at the certificate itself - an unverified claim stays a claim, and the register says which it is, because a certification nobody checked is exactly the kind of thing an auditor asks about.
  • POST /manufacturing/partners/{partner_id}/connect · 必要性 manufacturing:writeConnect Partner513's SHAPE: the credential is encrypted the moment it arrives and never returned. Connecting reads nothing and commits nothing - it only makes the reads below possible.
  • POST /manufacturing/parts · 必要性 manufacturing:writeCreate Part
  • PATCH /manufacturing/parts/{part_id}/cost · 必要性 manufacturing:writeSet Part Cost
  • POST /manufacturing/payments/webhook · 必要性 manufacturing:writeManufacturing Stripe WebhookThe pillar's own verified door, the Services shape exactly: signature or refusal, captured events only, idempotent by the pending->paid guard + the fee ledger's unique payment id.
  • POST /manufacturing/production-orders · 必要性 manufacturing:writeCreate Production Order
  • POST /manufacturing/production-orders/{order_id}/complete · 必要性 manufacturing:writeComplete OrderWhat was actually made. The reservations become consumption and the stock comes off; the finished-good LOT is minted and every source lot is LINKED to it, which is the only reason a recall can be answered later.
  • POST /manufacturing/production-orders/{order_id}/inspections · 必要性 manufacturing:writeRecord InspectionA record at the routing's own inspection point. A fail or a rework states WHY - a verdict with no words teaches nobody anything, and it is the one somebody reads a year later.
  • GET /manufacturing/production-orders/{order_id}/inspections · 必要性 manufacturing:readList Inspections
  • GET /manufacturing/production-orders/{order_id}/labour · 必要性 manufacturing:readOrder Labour
  • GET /manufacturing/production-orders/{order_id}/materials · 必要性 manufacturing:readList MaterialsWhat this order holds, and from which lot. A line with no lot named is shown as exactly that - the trace stops there, and the desk says so rather than implying a chain that does not exist.
  • POST /manufacturing/production-orders/{order_id}/release · 必要性 manufacturing:writeRelease OrderA person releases the order to their own floor. The bill is exploded, what exists is RESERVED, and what is short is NAMED - never hidden, never a refusal.
  • POST /manufacturing/production-orders/{order_id}/simulate · 必要性 manufacturing:writeSimulate Production OrderComputes a real simulated material/time/cost/energy summary from the order's own linked BOM items and routing steps - refuses to fabricate a number for data that doesn't exist, matching this project's 'no fake data' discipline.
  • POST /manufacturing/production-orders/{order_id}/start · 必要性 manufacturing:writeStart Order
  • PATCH /manufacturing/production-orders/{order_id}/status · 必要性 manufacturing:writeSet Production Order Status
  • POST /manufacturing/products · 必要性 manufacturing:writeCreate Product
  • PATCH /manufacturing/products/{product_id} · 必要性 manufacturing:writeUpdate Product
  • PATCH /manufacturing/products/{product_id}/cost-inputs · 必要性 manufacturing:writeSet Product Cost Inputs
  • GET /manufacturing/products/{product_id}/cost-model · 必要性 manufacturing:readRead Cost Model
  • POST /manufacturing/products/{product_id}/cost-model/record · 必要性 manufacturing:writeRecord Cost ModelThe computed model recorded as an estimate row told apart from a typed one (computed = true, the breakdown kept), so the desk shows both and the plan's readers can compare them.
  • GET /manufacturing/products/{product_id}/export-line · 必要性 manufacturing:readRead Export LineTHE DOWNLOAD DOOR'S OWN SENTENCE. The store delivers the file through its order-verified door; this is the words that belong beside it, which the seller sees on their own desk and the buyer sees on the page that hands over the file.
  • POST /manufacturing/products/{product_id}/list · 必要性 manufacturing:writeList ProductThe factory's own bridge: this product becomes a real product on the factory's store - a DRAFT unless `publish` is asked, in which case the go-live gate is asked first.
  • POST /manufacturing/products/{product_id}/publish · 必要性 manufacturing:writePublish Product
  • PATCH /manufacturing/products/{product_id}/statements · 必要性 manufacturing:writeSet StatementsThe rights and export words on a product - a person's own, never derived and never drafted.
  • POST /manufacturing/products/{product_id}/unlist · 必要性 manufacturing:writeUnlist Product
  • POST /manufacturing/prototypes · 必要性 manufacturing:writeCreate Prototype Project
  • PATCH /manufacturing/prototypes/{proto_id}/status · 必要性 manufacturing:writeSet Prototype Status
  • GET /manufacturing/pulse/readiness · 必要性 manufacturing:readPulse ReadinessWHETHER THERE IS ANYTHING TO SELL YET. The plan's Pulse subscription is a subscription to this feed; it arrives when the feed has rows behind it, and this says plainly how far from that we are. No capability, plan row or pack ships before then.
  • POST /manufacturing/quotes/accept/{token} · 必要性 manufacturing:writeAccept QuoteSIGNED-IN acceptance: the order is born on the ACCEPTOR'S OWN CURSOR (factory_order's WITH CHECK demands buyer_user_id = the caller); the quote and the ask then flip on the system cursor (the buyer cannot update the factory's rows, rightly).
  • POST /manufacturing/quotes/{quote_id}/send · 必要性 manufacturing:writeSend QuoteSENT, and the accept link handed back - sending it stays the factory's hand. The ask is engaged: the factory answered, and the moat's response clock stops on this stamp.
  • POST /manufacturing/quotes/{quote_id}/withdraw · 必要性 manufacturing:writeWithdraw Quote
  • PATCH /manufacturing/recall-notices/{notice_id}/delivered · 必要性 manufacturing:writeMark DeliveredThe factory records that IT delivered the notice, and how. Fitinty still sent nothing - this is a person writing down what they did outside the platform (the mark-posted shape, GL3).
  • POST /manufacturing/routing-steps · 必要性 manufacturing:writeCreate Routing Step
  • POST /manufacturing/routings · 必要性 manufacturing:writeCreate Routing
  • PATCH /manufacturing/routings/{routing_id}/status · 必要性 manufacturing:writeSet Routing Status
  • GET /manufacturing/routings/{routing_id}/steps · 必要性 manufacturing:readList Routing Steps
  • POST /manufacturing/work-centers · 必要性 manufacturing:writeCreate Work Center
  • PATCH /manufacturing/work-centers/{wc_id}/rates · 必要性 manufacturing:writeSet Work Center Rates
  • PATCH /manufacturing/work-order-materials/{material_id}/lot · 必要性 manufacturing:writeName The LotWHICH lot this line is taking from. Naming it is what lets a recall walk forward from a bad part to every finished good it reached.
  • GET /manufacturing/{factory_id} · 必要性 manufacturing:readGet Factory
  • PATCH /manufacturing/{factory_id} · 必要性 manufacturing:writeUpdate Factory
  • GET /manufacturing/{factory_id}/boms · 必要性 manufacturing:readList Boms
  • GET /manufacturing/{factory_id}/capacity · 必要性 manufacturing:readCapacity DeskEvery declaration this factory made, with the centre's name, and what a stranger reads today.
  • POST /manufacturing/{factory_id}/capacity · 必要性 manufacturing:writeDeclare CapacityA declaration, born a DRAFT: nothing reaches the public until it is listed.
  • GET /manufacturing/{factory_id}/community · 必要性 manufacturing:readFactory Community
  • POST /manufacturing/{factory_id}/community/circle · 必要性 manufacturing:writeOpen Makers Circle
  • POST /manufacturing/{factory_id}/community/customers-room · 必要性 manufacturing:writeOpen Customers RoomOne live room per product, pinned to a product of THIS factory.
  • POST /manufacturing/{factory_id}/community/exchange · 必要性 manufacturing:writeOpen Engineers Exchange
  • GET /manufacturing/{factory_id}/cost-energy-estimates · 必要性 manufacturing:readList Cost Energy Estimates
  • POST /manufacturing/{factory_id}/crews · 必要性 manufacturing:writeCreate Crew
  • GET /manufacturing/{factory_id}/crews · 必要性 manufacturing:readCrewsThe crews, their people, and the period's pay lines - what the payroll run would take.
  • GET /manufacturing/{factory_id}/digital-twins · 必要性 manufacturing:readList Digital Twin Projects
  • PATCH /manufacturing/{factory_id}/directory · 必要性 manufacturing:writeSet DirectoryThe dial. No second gate: being FOUND needs something LISTED, and listing is the go-live the factory already paid for (623) - a paywall on the dial would charge twice for one door.
  • GET /manufacturing/{factory_id}/documents · 必要性 manufacturing:readList Documents
  • GET /manufacturing/{factory_id}/engineering-changes · 必要性 manufacturing:readList Ecrs
  • GET /manufacturing/{factory_id}/floor · 必要性 manufacturing:readFloorEvery work order with what it reserved and what it was inspected at, and the stock behind it - available computed, never stored.
  • GET /manufacturing/{factory_id}/forge · 必要性 manufacturing:readForge For FactoryTHE DEMAND ORGAN, IMPORTED. The Inventor Forge lives in Marketing and stays there; this door reads it beside the factory that could answer it, and says which solutions were actually built.
  • POST /manufacturing/{factory_id}/forge/build · 必要性 manufacturing:writeBuild A SolutionONE DOOR: a Forge solution becomes a product of this factory. The solution row keeps its origin and gains a pointer; the product names the friction point it answers, the way MF12's products name a need. Nothing is moved, copied or deleted in Marketing's organ.
  • POST /manufacturing/{factory_id}/forge/vassal · 必要性 manufacturing:writeName The FactoryA vassal in the Forge's roster IS this factory. Naming it turns a list of names into a list of tenants somebody can actually ask for a quote.
  • GET /manufacturing/{factory_id}/geometry · 必要性 manufacturing:readList Geometry
  • GET /manufacturing/{factory_id}/inventory · 必要性 manufacturing:readList Inventory
  • GET /manufacturing/{factory_id}/inventory-locations · 必要性 manufacturing:readList Inventory Locations
  • GET /manufacturing/{factory_id}/leads · 必要性 manufacturing:readFactory Leads
  • GET /manufacturing/{factory_id}/licenses · 必要性 manufacturing:readLicenses Desk
  • GET /manufacturing/{factory_id}/lots · 必要性 manufacturing:readList Lots
  • POST /manufacturing/{factory_id}/lots/receive · 必要性 manufacturing:writeReceive LotMaterial ARRIVED, with the supplier's own lot code on it. This is where a trace starts: without it, a recall can say which order a part went into but never where the part came from.
  • GET /manufacturing/{factory_id}/manufacturability-reviews · 必要性 manufacturing:readList Manufacturability Reviews
  • GET /manufacturing/{factory_id}/members · 必要性 manufacturing:readList Factory Members
  • POST /manufacturing/{factory_id}/members · 必要性 manufacturing:writeAdd Factory Member
  • GET /manufacturing/{factory_id}/moat · 必要性 manufacturing:readMoat
  • GET /manufacturing/{factory_id}/money · 必要性 manufacturing:readFactory MoneyWhat this factory has taken on its own rail - read from the ONE fee ledger, never typed.
  • POST /manufacturing/{factory_id}/partner-orders · 必要性 manufacturing:writeDraft OrderA purchase order on paper. The amount is the SUM OF THE LINES, never typed.
  • GET /manufacturing/{factory_id}/partner-orders · 必要性 manufacturing:readList Orders
  • POST /manufacturing/{factory_id}/partner-rfqs · 必要性 manufacturing:writeCreate RfqA quote request, born a DRAFT. Nothing leaves this platform when it is written.
  • GET /manufacturing/{factory_id}/partner-rfqs · 必要性 manufacturing:readList Rfqs
  • POST /manufacturing/{factory_id}/partners · 必要性 manufacturing:writeCreate PartnerA company outside Fitinty, written down by somebody who deals with them.
  • GET /manufacturing/{factory_id}/partners · 必要性 manufacturing:readList PartnersThe partners this factory keeps, each with what it is certified for and what it has answered.
  • GET /manufacturing/{factory_id}/parts · 必要性 manufacturing:readList Parts
  • GET /manufacturing/{factory_id}/production-orders · 必要性 manufacturing:readList Production Orders
  • GET /manufacturing/{factory_id}/products · 必要性 manufacturing:readList Products
  • GET /manufacturing/{factory_id}/prototypes · 必要性 manufacturing:readList Prototype Projects
  • GET /manufacturing/{factory_id}/pulse · 必要性 manufacturing:readRead PulseThe nights this factory has behind it, newest first - and what the trend of them says, which is only a trend once there are at least two.
  • GET /manufacturing/{factory_id}/quote-basis · 必要性 manufacturing:readQuote BasisWHAT A LINE SHOULD COST, from this factory's own rows - MF2's computed model at this quantity, offered as the figure a price starts from. Never a price: the factory decides what it charges.
  • POST /manufacturing/{factory_id}/quotes · 必要性 manufacturing:writeCreate QuoteThe factory's priced answer, born a DRAFT. The amount is the sum of the lines, never typed.
  • GET /manufacturing/{factory_id}/quotes · 必要性 manufacturing:readList Quotes
  • GET /manufacturing/{factory_id}/recall-notices · 必要性 manufacturing:readList Notices
  • GET /manufacturing/{factory_id}/roster · 必要性 manufacturing:readRosterThe factory's people are the business's employees - `hris_employee`, never a factory copy.
  • GET /manufacturing/{factory_id}/routings · 必要性 manufacturing:readList Routings
  • PATCH /manufacturing/{factory_id}/segment · 必要性 manufacturing:writeSet SegmentWhat kind of maker this is. A KIT, never a fork - and the industry key the compliance register reads, so the duties a processor is shown differ from the ones an electronics shop is shown.
  • POST /manufacturing/{factory_id}/twin-render · 必要性 manufacturing:writeRun Twin RenderTHE DOOR THAT REFUSES. It exists so the refusal is a sentence somebody reads rather than a missing feature they guess at - and so the day it opens, nothing has to be invented.
  • GET /manufacturing/{factory_id}/twin-render/readiness · 必要性 manufacturing:readTwin Render ReadinessTWO GATES, BOTH NAMED. The render is metered and priced; it runs when the controlled test is recorded and he says go, and not one minute sooner. THE CALIBRATION IS READ ON THE SYSTEM CURSOR, and it must be: `render_calibration` is owner-only (one policy, `is_owner`), so a factory's own cursor reads ZERO runs through the wall and this door would answer "the gate is shut, 0 of 3 runs" on the day it…
  • GET /manufacturing/{factory_id}/work-centers · 必要性 manufacturing:readList Work Centers
  • POST /manufacturing/{factory_id}/work-records · 必要性 manufacturing:writeRecord WorkHours x an hourly rate, or quantity x a rate a piece. EARNED IS COMPUTED ONCE HERE and never re-derived; the rate is the member's own unless this record states a different one (a different task pays a different rate).
  • GET /needs · 必要性 manufacturing:readList NeedsThe catalogue: open needs first, newest signal first. Every signed-in person reads it (an aggregate with no person in it - the registry's disclosure shape).
  • POST /needs · 必要性 manufacturing:writeMint NeedA person writes a need (origin 'hand', in their name), or adopts a Forge friction point they can read (origin 'forge', linked to it - the demand organ imported, never copied).
  • GET /needs/signals · 必要性 manufacturing:readList SignalsThe latest signals in the window: what is being asked for and how often, inside and outside.
  • PATCH /needs/{need_id}/status · 必要性 manufacturing:writeSet Need StatusIts author or the Emperor moves it. A dismissal states why (422 without); 'answered' names what answered it in the reason when a person knows.
Logistics - 143 エンドポイント - logistics:read, logistics:write

Dispatch, routes and last-mile delivery.

  • GET /last-mile/drivers · 必要性 logistics:readList Drivers
  • POST /last-mile/drivers · 必要性 logistics:writeCreate Driver
  • PATCH /last-mile/drivers/{driver_id} · 必要性 logistics:writeUpdate Driver
  • DELETE /last-mile/drivers/{driver_id} · 必要性 logistics:writeDelete Driver
  • GET /last-mile/jobs · 必要性 logistics:readList Jobs
  • POST /last-mile/jobs · 必要性 logistics:writeCreate Job
  • GET /last-mile/jobs/{job_id} · 必要性 logistics:readGet Job
  • DELETE /last-mile/jobs/{job_id} · 必要性 logistics:writeDelete Job
  • POST /last-mile/jobs/{job_id}/assign · 必要性 logistics:writeAssign Driver
  • POST /last-mile/jobs/{job_id}/cancel · 必要性 logistics:writeCancel Job
  • POST /last-mile/jobs/{job_id}/deliver · 必要性 logistics:writeMark Delivered
  • POST /last-mile/jobs/{job_id}/fail · 必要性 logistics:writeMark Failed
  • POST /last-mile/jobs/{job_id}/in-transit · 必要性 logistics:writeMark In Transit
  • POST /last-mile/jobs/{job_id}/pickup · 必要性 logistics:writeMark Picked Up
  • GET /last-mile/my-organizations · 必要性 logistics:readMy Organizations
  • GET /logistics · 必要性 logistics:readList Operators
  • POST /logistics · 必要性 logistics:writeCreate Operator
  • POST /logistics/adapters/{connection_id}/disconnect · 必要性 logistics:writeDisconnectDISCONNECT ERASES. A flag on a kept secret is not a disconnection - and the row's CHECK refuses one.
  • POST /logistics/adapters/{connection_id}/read · 必要性 logistics:writeRead Through DoorTHE TRANSPORT IS NOT A DOOR PARAMETER (MF13). The act is a plain function; the door only turns a shut lock into words.
  • POST /logistics/claims · 必要性 logistics:writeCreate Claim
  • PATCH /logistics/claims/{claim_id}/status · 必要性 logistics:writeSet Claim Status
  • POST /logistics/crew-members/{member_id}/leave · 必要性 logistics:writeMember Leaves
  • POST /logistics/crews/{crew_id}/close · 必要性 logistics:writeClose Crew
  • POST /logistics/crews/{crew_id}/members · 必要性 logistics:writeAdd MemberA crew member IS an employee of the carrier's own business - the one roster, never a copy.
  • POST /logistics/deliveries/synthetic · 必要性 logistics:writeCreate Delivery Job
  • PATCH /logistics/deliveries/{job_id}/status · 必要性 logistics:writeSet Delivery Status
  • POST /logistics/fleets · 必要性 logistics:writeCreate Fleet
  • POST /logistics/fuel-rebate-signals · 必要性 logistics:writeCreate Fuel Rebate Signal
  • POST /logistics/gateways · 必要性 logistics:writeRegister Gateway
  • POST /logistics/handoffs · 必要性 logistics:writeCreate Handoff
  • POST /logistics/handoffs/ask · 必要性 logistics:writeAsk
  • GET /logistics/handoffs/asked · 必要性 logistics:readAskedThe origin's own asks. Read on the CALLER'S cursor through 656's origin arm; the carrier's name, the quote it SENT and the job's work word are the other side's walled rows, so they are read on the system cursor for EXACTLY the ids this caller's own rows name (591's law).
  • GET /logistics/handoffs/words · 必要性 logistics:readWords
  • PATCH /logistics/handoffs/{handoff_id}/status · 必要性 logistics:writeSet Handoff Status
  • POST /logistics/hubs · 必要性 logistics:writeCreate Hub
  • GET /logistics/integrations · 必要性 logistics:readList Integrations
  • POST /logistics/jobs/{job_id}/cancel · 必要性 logistics:writeCancel
  • POST /logistics/jobs/{job_id}/could-not-deliver · 必要性 logistics:writeCould Not Deliver
  • POST /logistics/jobs/{job_id}/deliver · 必要性 logistics:writeDeliver
  • POST /logistics/jobs/{job_id}/driver · 必要性 logistics:writeName The DriverA RECORD of who drives. Nobody is told; the driver sees the run on their own page. A licence that is expired, or that nobody has seen, is THE CARRIER'S DECISION (LG6's rule for an overdue vehicle) - and the record SAYS SO rather than deciding.
  • POST /logistics/jobs/{job_id}/pay · 必要性 logistics:writePay JobThe shipper's pay door: a Checkout Session ON THE CARRIER'S OWN ACCOUNT, Fitinty's cut as the application fee from the one ladder, pending-before-Stripe. THE BROKERAGE LINE IS ASKED HERE, IN THE BODY, before anything is created. LG5b: the charge is a PAYMENT ROW of the kind the job is owed next (`plan_payment`, the one reading - deposit first where the quote asked one, the balance after, else the …
  • POST /logistics/jobs/{job_id}/repeat · 必要性 logistics:writeRepeat Job"REPEAT THIS RUN": the shipper's standing yes, in the one definition's words, recorded on the row. The route is born on the SHIPPER'S cursor (WITH CHECK demands the buyer arm). Nothing is minted here - the next job appears when THIS one is delivered, and nothing is charged until they pay it.
  • POST /logistics/jobs/{job_id}/schedule · 必要性 logistics:writeScheduleA day, and optionally one of the carrier's OWN vehicles. A record of a person's decision.
  • POST /logistics/jobs/{job_id}/start · 必要性 logistics:writeStart
  • POST /logistics/jobs/{job_id}/stops · 必要性 logistics:writeAdd Stop
  • POST /logistics/jobs/{job_id}/tip · 必要性 logistics:writeTip JobTHE SHIPPER'S ACT ONLY: a gratuity on a PAID job, on the carrier's own account, with NO application fee (the row's own rule). The brokerage line is asked first - a tip moves money on the same account.
  • POST /logistics/lane-contracts/{contract_id}/agree · 必要性 logistics:writeAgree Lane ContractTHE SHIPPER'S HALF of the two recorded yeses. The row names them, and the body asks again.
  • POST /logistics/lane-contracts/{contract_id}/end · 必要性 logistics:writeEnd Lane ContractEither side ends it with a reason; the row stays as history and a new one may follow.
  • POST /logistics/lanes/{lane_id}/active · 必要性 logistics:writeSet Lane Active
  • PATCH /logistics/leads/{lead_id} · 必要性 logistics:writeSet Lead Statusengaged starts the response clock ONCE (first_contact_at); closed needs a reason. LG4's moat measures from these words, so a status is a fact the carrier states, never a guess.
  • POST /logistics/loads/synthetic · 必要性 logistics:writeCreate Synthetic Load
  • PATCH /logistics/loads/{load_id}/assign · 必要性 logistics:writeAssign LoadProposes a synthetic dispatch assignment - a human-reviewed proposal, never a real reservation or brokerage commitment (spec section 14).
  • PATCH /logistics/loads/{load_id}/status · 必要性 logistics:writeSet Load Status
  • POST /logistics/ltl-groups · 必要性 logistics:writeCreate Ltl Group
  • GET /logistics/mine · 必要性 logistics:readGet My Operator Endpoint
  • GET /logistics/my/asks · 必要性 logistics:readMy Asks DoorA person's own asks across carriers - ownership decided in code from the account email, per row (the ONE ownership rule); the lead table itself stays the carrier's alone.
  • GET /logistics/my/jobs · 必要性 logistics:readMy Jobs
  • GET /logistics/my/money · 必要性 logistics:readMy MoneyTHE SHIPPER'S OWN: what each job is owed next (the ONE reading), the payments made, the routes they started and the contracts proposed to them - the carriers named on the system cursor for exactly those rows, since the shipper's cursor reads nothing of a carrier.
  • GET /logistics/my/runs · 必要性 logistics:readMy RunsWhat is recorded ABOUT THIS PERSON, read on THEIR OWN cursor through 659's `_own` arms: their crews, their pay lines as written, their qualification file, their hours-of-service days. Their RUNS - the jobs that name them - are the carrier's walled rows, so those are read on the system cursor for EXACTLY this person's own employee ids, from a whitelist (no price, no shipper, no ask).
  • POST /logistics/my/runs/{job_id}/deliver · 必要性 logistics:writeDeliver My RunTHE ONE THING A DRIVER WRITES. The job is the carrier's walled row and the driver has no seat at the desk, so the wall is NOT widened: the body asks, on the driver's OWN cursor, which roster rows are theirs; the job is then read on the system cursor and must NAME one of them; and the delivery is written by LG6's ONE delivery writer, with the driver as the actor on the chain and in the trail.
  • POST /logistics/offers/{offer_id}/withdraw · 必要性 logistics:writeWithdraw Offer
  • POST /logistics/payments/webhook · 必要性 logistics:writeLogistics Stripe WebhookThe pillar's own verified door, the Services shape exactly: signature or refusal, captured events only, idempotent by the pending->paid guard + the fee ledger's unique payment id.
  • GET /logistics/pulse/readiness · 必要性 logistics:readPulse ReadinessWHETHER THERE IS ANYTHING TO SELL YET. Counts only - the platform's own cursor, because no carrier may count another's nights.
  • POST /logistics/qualifications/{qualification_id}/seen · 必要性 logistics:writeSaw The DocumentThe caller says THEY saw the paper, today. It is their name on the record - nobody is named for them.
  • POST /logistics/quotes/accept/{token} · 必要性 logistics:writeAccept QuoteSIGNED-IN acceptance: the job is born on the ACCEPTOR'S OWN CURSOR (logistics_job's WITH CHECK demands buyer_user_id = the caller); the quote and the ask then flip on the system cursor.
  • POST /logistics/quotes/{quote_id}/send · 必要性 logistics:writeSend QuoteSENT, and the accept link handed back - sending it stays the carrier's hand. The ask is engaged: the carrier answered, and the moat's response clock stops on this stamp.
  • POST /logistics/quotes/{quote_id}/withdraw · 必要性 logistics:writeWithdraw Quote
  • POST /logistics/reliability-scores · 必要性 logistics:writeCreate Reliability Score
  • PATCH /logistics/reliability-scores/{score_id}/appeal · 必要性 logistics:writeAppeal Reliability Score
  • POST /logistics/repair-events · 必要性 logistics:writeCreate Repair Event
  • POST /logistics/repair-events/{event_id}/ask-a-shop · 必要性 logistics:writeAsk A Repair Shop
  • PATCH /logistics/repair-events/{event_id}/status · 必要性 logistics:writeSet Repair Event Status
  • POST /logistics/routes/preview · 必要性 logistics:writeCreate Route PreviewComputes a real deadhead percentage from the operator's own real loaded/empty mileage inputs - no fabricated route geometry or distance, since no real mapping engine (OpenStreetMap/Valhalla) is wired in yet.
  • POST /logistics/routes/{route_id}/stop · 必要性 logistics:writeStop RouteEither side, with a reason. The row's own rule: a route that is off says who and why.
  • GET /logistics/segments/kits · 必要性 logistics:readSegments And Kits
  • POST /logistics/services · 必要性 logistics:writeCreate Service
  • PATCH /logistics/services/{service_id} · 必要性 logistics:writeEdit ServiceThe words of a service - a kit's draft is a starting point, never the carrier's own sentence.
  • PATCH /logistics/services/{service_id}/status · 必要性 logistics:writeSet Service Status'offered' IS THE GO-LIVE: the first moment a stranger can find this carrier. The one gate is asked HERE, in the body, before the write - a Depends misses a plain-Python caller.
  • POST /logistics/stops/{stop_id}/outcome · 必要性 logistics:writeStop Outcome
  • POST /logistics/tenders/{tender_id}/approve · 必要性 logistics:writeApprove Tender
  • POST /logistics/tenders/{tender_id}/transmit · 必要性 logistics:writeTransmit Tender Door
  • POST /logistics/tenders/{tender_id}/withdraw · 必要性 logistics:writeWithdraw Tender
  • POST /logistics/vehicle-documents/{document_id}/seen · 必要性 logistics:writeSaw The Paper
  • POST /logistics/vehicles · 必要性 logistics:writeCreate Vehicle
  • PATCH /logistics/vehicles/{vehicle_id}/health · 必要性 logistics:writeUpdate Vehicle Health
  • PATCH /logistics/vehicles/{vehicle_id}/maintenance · 必要性 logistics:writeUpdate Vehicle Maintenance
  • PATCH /logistics/vehicles/{vehicle_id}/service-interval · 必要性 logistics:writeSet Service Interval
  • POST /logistics/vehicles/{vehicle_id}/services · 必要性 logistics:writeRecord Service
  • POST /logistics/vehicles/{vehicle_id}/telemetry/synthetic · 必要性 logistics:writeCapture Synthetic Telemetry
  • DELETE /logistics/windows/{window_id} · 必要性 logistics:writeDelete Window
  • POST /logistics/work-records/{record_id}/void · 必要性 logistics:writeVoid Work
  • GET /logistics/{operator_id} · 必要性 logistics:readGet Operator
  • PATCH /logistics/{operator_id} · 必要性 logistics:writeUpdate Operator
  • POST /logistics/{operator_id}/adapters · 必要性 logistics:writeConnect
  • GET /logistics/{operator_id}/adapters · 必要性 logistics:readAdapters
  • GET /logistics/{operator_id}/capacity · 必要性 logistics:readCapacityThe Calendar desk's reading: the windows, the next fortnight's open times day by day, the lanes and the offers - and, in words, what silenced a window and what this reading cannot know.
  • GET /logistics/{operator_id}/claims · 必要性 logistics:readList Claims
  • GET /logistics/{operator_id}/community · 必要性 logistics:readCarrier Community
  • POST /logistics/{operator_id}/community/drivers-circle · 必要性 logistics:writeOpen Drivers Circle
  • POST /logistics/{operator_id}/community/operators-exchange · 必要性 logistics:writeOpen Operators Exchange
  • POST /logistics/{operator_id}/community/shippers-room · 必要性 logistics:writeOpen Shippers RoomOne live shippers' room per carrier - the one writer refuses a second, in words.
  • POST /logistics/{operator_id}/crews · 必要性 logistics:writeCreate Crew
  • GET /logistics/{operator_id}/crews · 必要性 logistics:readCrews
  • GET /logistics/{operator_id}/deliveries · 必要性 logistics:readList Deliveries
  • PATCH /logistics/{operator_id}/directory · 必要性 logistics:writeSet DirectoryThe dial. No second gate: being FOUND needs something OFFERED, and offering is the go-live the carrier already paid for - a paywall on the dial would charge twice for one door.
  • GET /logistics/{operator_id}/fleet-truth · 必要性 logistics:readFleet Truth
  • GET /logistics/{operator_id}/fleets · 必要性 logistics:readList Fleets
  • GET /logistics/{operator_id}/fuel-rebate-signals · 必要性 logistics:readList Fuel Rebate Signals
  • GET /logistics/{operator_id}/gateways · 必要性 logistics:readList Gateways
  • GET /logistics/{operator_id}/handoffs · 必要性 logistics:readList Handoffs
  • POST /logistics/{operator_id}/hours-of-service · 必要性 logistics:writeRecord Hours Of Service
  • PATCH /logistics/{operator_id}/hours-of-service/limits · 必要性 logistics:writeSet Limits
  • GET /logistics/{operator_id}/hubs · 必要性 logistics:readList Hubs
  • POST /logistics/{operator_id}/lane-contracts · 必要性 logistics:writePropose Lane ContractTHE CARRIER'S HALF: a standing price on one of ITS OWN lanes for the shipper a job of theirs names, priced in LINES through LG5's one line arithmetic, in the one definition's words. Proposed, not agreed.
  • POST /logistics/{operator_id}/lanes · 必要性 logistics:writeAdd Lane
  • GET /logistics/{operator_id}/leads · 必要性 logistics:readOperator Leads
  • POST /logistics/{operator_id}/leads · 必要性 logistics:writeWrite Down A Lead
  • GET /logistics/{operator_id}/loads · 必要性 logistics:readList Loads
  • GET /logistics/{operator_id}/ltl-groups · 必要性 logistics:readList Ltl Groups
  • GET /logistics/{operator_id}/members · 必要性 logistics:readList Operator Members
  • POST /logistics/{operator_id}/members · 必要性 logistics:writeAdd Operator Member
  • GET /logistics/{operator_id}/moat · 必要性 logistics:readMoat
  • GET /logistics/{operator_id}/money · 必要性 logistics:readMoneyThe Jobs desk's reading: every payment by kind, the routes standing, the contracts by lane - and the lanes and shippers the propose form offers (a desk that shows something must read it).
  • POST /logistics/{operator_id}/offers · 必要性 logistics:writeMint Offer DoorThe hand's offer: an ask, and the next three REAL open times - no later than the day the shipper needs it.
  • GET /logistics/{operator_id}/pulse · 必要性 logistics:readRead PulseThe nights this carrier has behind it, newest first - and what moved, which is only a trend once there are two.
  • POST /logistics/{operator_id}/qualifications · 必要性 logistics:writeAdd Qualification
  • POST /logistics/{operator_id}/quotes · 必要性 logistics:writeCreate QuoteThe carrier's priced answer, born a DRAFT. The amount is the sum of the lines, never typed.
  • GET /logistics/{operator_id}/quotes · 必要性 logistics:readList Quotes
  • GET /logistics/{operator_id}/reliability-scores · 必要性 logistics:readList Reliability Scores
  • GET /logistics/{operator_id}/repair-events · 必要性 logistics:readList Repair Events
  • GET /logistics/{operator_id}/roster · 必要性 logistics:readRoster
  • GET /logistics/{operator_id}/route-previews · 必要性 logistics:readList Route Previews
  • PATCH /logistics/{operator_id}/segment · 必要性 logistics:writeSet Segment
  • GET /logistics/{operator_id}/services · 必要性 logistics:readList Services
  • POST /logistics/{operator_id}/services/from-kit · 必要性 logistics:writePropose KitThe segment's starter kit, minted as DRAFTS. It offers nothing and never runs twice into doubles.
  • GET /logistics/{operator_id}/standing · 必要性 logistics:readStandingThe carrier reads ITS OWN standing as a shipper would: the same function the public page calls, so the desk can never show a mark the page does not. The wall is asked FIRST on the caller's own cursor (a stranger reads no operator); the signals are then read on the system cursor, because the fee ledger is not a member's to read.
  • GET /logistics/{operator_id}/telemetry · 必要性 logistics:readList Telemetry
  • POST /logistics/{operator_id}/tenders · 必要性 logistics:writeDraft Tender
  • POST /logistics/{operator_id}/vehicle-documents · 必要性 logistics:writeAdd Document
  • GET /logistics/{operator_id}/vehicles · 必要性 logistics:readList Vehicles
  • POST /logistics/{operator_id}/windows · 必要性 logistics:writeAdd Window
  • GET /logistics/{operator_id}/work · 必要性 logistics:readWork
  • POST /logistics/{operator_id}/work-records · 必要性 logistics:writeRecord WorkA measure x a rate. EARNED IS COMPUTED ONCE HERE. The rate is the member's own for that kind unless this record states another (a different run pays a different rate).
Governor Suite - 82 エンドポイント - governor-suite:read, governor-suite:write

The governor's own instruments: documents, draws, reimbursement and status.

  • POST /governor-suite · 必要性 governor-suite:writeCreate Profile
  • POST /governor-suite/benefits · 必要性 governor-suite:writeCreate Benefit Plan
  • PATCH /governor-suite/benefits/{plan_id}/toggle-enrollment · 必要性 governor-suite:writeToggle Benefit Enrollment
  • POST /governor-suite/compliance-clerk/tasks · 必要性 governor-suite:writeCreate Clerk Task
  • PATCH /governor-suite/compliance-clerk/tasks/{task_id}/status · 必要性 governor-suite:writeSet Clerk Task Status
  • POST /governor-suite/cpa-export · 必要性 governor-suite:writeCreate Cpa Export State
  • PATCH /governor-suite/cpa-export/{state_id}/status · 必要性 governor-suite:writeSet Cpa Export Status
  • POST /governor-suite/credentials/{credential_id}/seen · 必要性 governor-suite:writeRecord Seeing ItTHE CALLER'S OWN NAME GOES ON IT. Somebody recording that they saw a document is the only thing that moves a credential out of 'nobody has recorded seeing the document'.
  • POST /governor-suite/credentials/{credential_id}/superseded · 必要性 governor-suite:writeSupersedeA RENEWAL REPLACES, IT DOES NOT OVERWRITE. The register keeps what was true, which is the whole point of holding it: 'we held that licence until March' is a different fact from 'we hold it'.
  • POST /governor-suite/document-templates · 必要性 governor-suite:writeCreate Document Template
  • PATCH /governor-suite/document-templates/{template_id}/white-label · 必要性 governor-suite:writeToggle White LabelNo pricing or branding rule changes without approval (spec section 18) - this endpoint itself is the explicit approval action; premium entitlement verification stays a real follow-on (not modeled in this Core pass, matching the spec's own unresolved pricing-tier boundary in section 24).
  • POST /governor-suite/draws/propose · 必要性 governor-suite:writePropose Draw
  • PATCH /governor-suite/draws/{draw_id}/status · 必要性 governor-suite:writeSet Draw Status
  • POST /governor-suite/filing-calendar · 必要性 governor-suite:writeCreate Filing Calendar Item
  • PATCH /governor-suite/filing-calendar/{item_id}/status · 必要性 governor-suite:writeSet Filing Calendar Status
  • POST /governor-suite/filing-scan · 必要性 governor-suite:writeRun ScanRead what the scout has already stored and propose. It fetches nothing.
  • POST /governor-suite/filing-sources · 必要性 governor-suite:writeLink SourceSay that a page the platform already watches belongs to one government. It adds no source - the page is registered on the scout registry first, where its terms, its robots answer and its calls-a-day dial live.
  • POST /governor-suite/filings/{filing_id}/approve · 必要性 governor-suite:writeApprove FilingA PERSON'S WORD, on a PARTICULAR package. Approving and then filing something else is the defect the hash exists to make impossible, so an approval carries the hash it approved.
  • POST /governor-suite/filings/{filing_id}/transmit · 必要性 governor-suite:writeTransmit Door
  • POST /governor-suite/filings/{filing_id}/withdraw · 必要性 governor-suite:writeWithdraw Filing
  • POST /governor-suite/gate-strikes · 必要性 governor-suite:writeRecord Gate Strike
  • GET /governor-suite/governments · 必要性 governor-suite:readList GovernmentsThe picker. A DESK THAT SHOWS SOMETHING MUST READ IT - a formation jurisdiction chosen from an empty list is a tenant who cannot record where their company lives, which is the same defect four waves of this platform have already shipped.
  • GET /governor-suite/integrations · 必要性 governor-suite:readList Integrations
  • POST /governor-suite/llc-renewals · 必要性 governor-suite:writeCreate Llc Renewal
  • PATCH /governor-suite/llc-renewals/{renewal_id}/status · 必要性 governor-suite:writeSet Llc Renewal Status
  • POST /governor-suite/member-resolutions/generate · 必要性 governor-suite:writeGenerate Member Resolution
  • GET /governor-suite/mine · 必要性 governor-suite:readGet My Profile Endpoint
  • POST /governor-suite/officers/{officer_id}/left-office · 必要性 governor-suite:writeLeft OfficeLEAVING IS A DATE, NOT A DELETE. The row stays, because what was true stays true.
  • POST /governor-suite/overrides/{override_id}/withdraw · 必要性 governor-suite:writeWithdraw OverrideWITHDRAWN, NEVER DELETED, and it takes its own reason - because "we said expired, you said current, then you withdrew that" is a history somebody will need to read.
  • POST /governor-suite/registered-agents/{engagement_id}/end · 必要性 governor-suite:writeEnd AgentENDING IS A DATE AND A REASON, NOT A DELETE (GV5's law): who served as your agent last year is a question somebody will ask, and a state that has been served at that address will ask it.
  • POST /governor-suite/registered-agents/{engagement_id}/engage · 必要性 governor-suite:writeEngage Door
  • POST /governor-suite/reimbursements · 必要性 governor-suite:writeCreate Reimbursement
  • GET /governor-suite/reimbursements/{req_id}/receipt · 必要性 governor-suite:readDownload Receipt
  • PATCH /governor-suite/reimbursements/{req_id}/status · 必要性 governor-suite:writeSet Reimbursement Status
  • GET /governor-suite/renewal-rules · 必要性 governor-suite:readList RulesWorld-readable: a tenant may see the rule its own dates are worked out from, which is the whole difference between a date and a date somebody can check.
  • POST /governor-suite/renewal-rules · 必要性 governor-suite:writeRecord RuleTHE EMPEROR'S HAND. A rule is platform data read by every tenant, so it is not a tenant's to write - the same posture as the government catalogue it hangs from. GV7's scout may one day propose these from a government's own published page; adopting one will still be a person's act.
  • GET /governor-suite/renewal-rules/needed · 必要性 governor-suite:readRules Worth RecordingHIS RULING (2026-09-21): "seed only the states tenants use". This is the list that makes that ruling actionable instead of aspirational - the governments REAL businesses are really formed in or really hold credentials from, counted, newest need first, so research goes where it is used rather than across fifty states nobody on this platform touches. OWNER-ONLY AND AGGREGATE. It counts across every…
  • POST /governor-suite/reports/annual · 必要性 governor-suite:writeCreate Annual Pnl
  • PATCH /governor-suite/reports/annual/{package_id}/status · 必要性 governor-suite:writeSet Annual Pnl Status
  • GET /governor-suite/rule-proposals · 必要性 governor-suite:readList ProposalsWhat the outside pages said, waiting for a person. Owner-only: the scout registry is his, and what a tenant reads is the RULE that comes out of this, with its source written on it.
  • POST /governor-suite/rule-proposals/{proposal_id}/adopt · 必要性 governor-suite:writeAdoptADOPTING IS A PERSON'S ACT, AND IT GOES THROUGH GV3'S OWN DOOR. This writes no rule itself - it hands `record_rule` the proposal's figures and, as its source, the words that were read and the link they were read at, so every tenant reading the rule can check the government's own sentence. A proposal with only a cadence is refused: GV3 has no way to say "every two years, starting nobody knows when"…
  • POST /governor-suite/rule-proposals/{proposal_id}/dismiss · 必要性 governor-suite:writeDismissA DISMISSAL SAYS WHY, and the row refuses one without it. Without a reason the same title is proposed and ignored every month, and the pile stops meaning anything - CO1's own hand rule.
  • POST /governor-suite/tasks · 必要性 governor-suite:writeCreate Task
  • PATCH /governor-suite/tasks/{task_id}/status · 必要性 governor-suite:writeSet Task Status
  • POST /governor-suite/w9-w8 · 必要性 governor-suite:writeCreate W9 W8
  • PATCH /governor-suite/w9-w8/{req_id}/mark-on-file · 必要性 governor-suite:writeMark W9 W8 On File
  • GET /governor-suite/{profile_id} · 必要性 governor-suite:readGet Profile
  • GET /governor-suite/{profile_id}/benefits · 必要性 governor-suite:readList Benefit Plans
  • GET /governor-suite/{profile_id}/compliance-clerk · 必要性 governor-suite:readList Clerk Tasks
  • GET /governor-suite/{profile_id}/cpa-export · 必要性 governor-suite:readList Cpa Export States
  • GET /governor-suite/{profile_id}/credentials · 必要性 governor-suite:readList Credentials
  • POST /governor-suite/{profile_id}/credentials · 必要性 governor-suite:writeAdd Credential
  • GET /governor-suite/{profile_id}/document-templates · 必要性 governor-suite:readList Document Templates
  • GET /governor-suite/{profile_id}/draws · 必要性 governor-suite:readList Draw Proposals
  • GET /governor-suite/{profile_id}/entity · 必要性 governor-suite:readGet Entity
  • PUT /governor-suite/{profile_id}/entity · 必要性 governor-suite:writeSet EntityOne row per business, so this is an upsert and never a second entity. Changing where a company was FORMED is not an edit anybody makes twice by accident, and the audit trail keeps both.
  • GET /governor-suite/{profile_id}/filing-calendar · 必要性 governor-suite:readList Filing Calendar
  • GET /governor-suite/{profile_id}/filings · 必要性 governor-suite:readList FilingsTHE LIST DOOR (2026-10-15). The rail could prepare, approve, withdraw and transmit a filing but never list them - GET answered 405 and the back office's Filings tab could not show a package again once it was prepared. This business's own staff only (the prepare door's check), newest first, each with its package as prepared.
  • POST /governor-suite/{profile_id}/filings · 必要性 governor-suite:writePrepare FilingPREPARING IS FREE AND ALWAYS HAS BEEN. The lock is on what leaves, not on what a business may look at - a package a person can read is the whole value of the wave while the rail is dark.
  • GET /governor-suite/{profile_id}/gate-strikes · 必要性 governor-suite:readList Gate Strikes
  • GET /governor-suite/{profile_id}/llc-renewals · 必要性 governor-suite:readList Llc Renewals
  • GET /governor-suite/{profile_id}/member-resolutions · 必要性 governor-suite:readList Member Resolutions
  • GET /governor-suite/{profile_id}/members · 必要性 governor-suite:readList Members
  • POST /governor-suite/{profile_id}/members · 必要性 governor-suite:writeAdd Member
  • GET /governor-suite/{profile_id}/officers · 必要性 governor-suite:readList Officers
  • POST /governor-suite/{profile_id}/officers · 必要性 governor-suite:writeRecord Officer
  • GET /governor-suite/{profile_id}/overrides · 必要性 governor-suite:readList OverridesThe history, because that is the point of never deleting one.
  • POST /governor-suite/{profile_id}/overrides · 必要性 governor-suite:writeRecord OverrideA PERSON DISAGREES, IN THEIR OWN WORDS, WITH ONE READING.
  • GET /governor-suite/{profile_id}/payout-status · 必要性 governor-suite:readGet Payout Status
  • PATCH /governor-suite/{profile_id}/payout-status · 必要性 governor-suite:writeUpdate Payout Status
  • GET /governor-suite/{profile_id}/registered-agents · 必要性 governor-suite:readList Agents
  • POST /governor-suite/{profile_id}/registered-agents · 必要性 governor-suite:writeRecord AgentRECORDING AN AGENT YOU ALREADY HAVE IS FREE, and it is what most businesses need: the register should hold that fact rather than only the ones this platform arranged.
  • GET /governor-suite/{profile_id}/reimbursements · 必要性 governor-suite:readList Reimbursements
  • GET /governor-suite/{profile_id}/renewal-outlook · 必要性 governor-suite:readGet Renewal Outlook
  • GET /governor-suite/{profile_id}/reports/annual · 必要性 governor-suite:readList Annual Pnl
  • GET /governor-suite/{profile_id}/start-a-company · 必要性 governor-suite:readStart A CompanyThe checklist, read now on the caller's cursor. A staff door; nothing is written.
  • GET /governor-suite/{profile_id}/tasks · 必要性 governor-suite:readList Tasks
  • GET /governor-suite/{profile_id}/tax-sanctuary · 必要性 governor-suite:readGet Tax Sanctuary
  • POST /governor-suite/{profile_id}/tax-sanctuary/sync · 必要性 governor-suite:writeSync Tax SanctuaryReal cross-pillar sync: reads the tenant's own actual linked Tax profile (same organization_id) - never fabricated. If no Tax profile exists yet for this organization, this honestly reports tax_profile_status='not_linked' rather than inventing data.
  • GET /governor-suite/{profile_id}/treasury · 必要性 governor-suite:readGet Treasury Summary
  • POST /governor-suite/{profile_id}/treasury/sync · 必要性 governor-suite:writeSync Treasury SummaryReal cross-pillar sync: reads the tenant's own actual linked Treasury profile (same organization_id) - every total here is genuinely computed from real Treasury rows, never fabricated. Honestly reports treasury_linked=false when no Treasury profile exists yet.
  • GET /governor-suite/{profile_id}/w9-w8 · 必要性 governor-suite:readList W9 W8

誰でも開ける (鍵は必要ありません)

269 エンドポイント
  • GET /public/about/factsAbout Facts822 - the About page's numbers, read LIVE on the public arm. A business counts with a published storefront (`theme.live_version_id IS NOT NULL` - the flag the Market's window joins on, public_site.py); a country counts only with an ENABLED payment provider that can pay a business there. Read on the public cursor because the web's own role meets the theme table's wall (a zero read through a wall is…
  • GET /public/about/people/{person_id}/photoPublic Person Photo822 - a PUBLISHED person's photo, and no other, whatever its id: a draft's photo is not public. A business's person (920) is public only while its storefront is live - the gate every storefront page stands behind.
  • GET /public/ad-videos/{export_id}Public Ad VideoOnly a ready clip tied to an affiliate offer, with its token; anything else is 404.
  • POST /public/ads/clickClickA click on a served card. Judged, counted with its reason if refused, and ALWAYS sent on to the advertiser's storefront - a refused click is uncharged, never a broken link for the person.
  • GET /public/ads/slotsSlotsThe cards for one page. `n_items` is the length of the list the page shows: one per six at most (a banner page asks with kind=banner and gets one). Each shown card is counted as a view. Fitinty's own ads come first; a space they leave empty may go to an outside network the host chose (AD5, ad_partners).
  • GET /public/affiliate/endedEndedThe web's landing and review pages ask here before saying "not found": {"path": ...} for an old link to a retired offer (ended_path), 404 otherwise.
  • GET /public/affiliate/go/{offer_id}Go
  • POST /public/affiliate/review-view/{page_slug}Review ViewOne view of a platform review page (fitinty.com/p/<slug>), counted on the ONE visit counter under Fitinty's own business - the scoreboard's clicks-per-view rule reads it (2026-10-30). Called fire-and-forget by the web proxy, like public_site.record_visit: the visitor's agent decides human or bot and is never stored, and a counter never 500s a page.
  • GET /public/ai-rulesPublic Ai RulesEvery store that blocks a reader - what the site's robots rules are written from.
  • GET /public/ai-rules/{slug}Public Store Ai Rules
  • POST /public/billing/dodo/webhookDodo WebhookDodo's subscription lifecycle callback. RETURNS 200 FOR EVENTS WE DO NOT CARE ABOUT. Dodo retries anything that is not a 200 with exponential backoff, so answering 4xx to an irrelevant event buys retries for nothing.
  • POST /public/booking/cancel/{token}Public CancelA guest cancels with the token from their confirmation. No account, exactly as they booked.
  • GET /public/booking/{slug}Public Slots
  • POST /public/booking/{slug}/bookPublic Book
  • GET /public/calendar/{token}.icsPublic Feed
  • GET /public/cinema/access/{access_token}Check Access
  • GET /public/cinema/license/{token}License Offer
  • GET /public/cinema/license/{token}/downloadDownload Licensed FilmThe delivery: the file moves only for CAPTURED money.
  • POST /public/cinema/license/{token}/payPay License
  • POST /public/cinema/releases/{release_id}/buyBuy ScreeningA viewer buys access to watch. No account needed (the guest-checkout ruling); the purchase is born pending BEFORE Stripe, on the STUDIO'S own account.
  • GET /public/cinema/releases/{release_id}/watchWatch ReleaseTHE WALL. A published free release streams to anyone; a priced one streams only for a token carrying captured money for THIS release - checked in code, because RLS scoping a row does not authorize its contents.
  • GET /public/cinema/site/{slug}/filmsPublic FilmsWhat a stranger with the studio's link sees: published releases only, price stated or free stated - the drafts stay invisible.
  • POST /public/concierge/avatar-clipAvatar ClipA lip-synced mp4 of her speaking a server-owned line (greeting or stored reply). Returns the clip when cached; otherwise kicks a background render and answers 202 {"status": "rendering"} - the widget polls and swaps the clip in when ready (the tier design: text instant, cloned voice ~10s, true lip-sync swapped in when rendered).
  • POST /public/concierge/education-intentEducation Intent
  • POST /public/concierge/sessionStart Session
  • POST /public/concierge/speakSpeakSpeaks a server-owned line (greeting or stored reply) - never caller-supplied text (the counsel's guard). Voice tiering: her ONE cloned voice (VoxCPM2, 27 locales - one consistent female voice, and the only voice for 14 previously-silent languages), else Piper where it exists (uk), else 404 = honest text-only. First clone per line blocks ~10-50s; cached mp3 forever after. NOTE the locale is used i…
  • GET /public/concierge/{visitor_token}/messagesList MessagesA visitor reading their own conversation back. THIS KEPT THE WRONG END. `ORDER BY created_at LIMIT 200` ascending takes the OLDEST two hundred, so past message 200 the widget stopped showing what had just been said - the visitor typed, a reply was written, and neither appeared. A truncated list is a lie about being whole; this was a chat that quietly stopped working, and the silent cap is what hi…
  • POST /public/concierge/{visitor_token}/messagesSend Message
  • POST /public/concierge/{visitor_token}/voiceVoice MessageTalk to the Concierge: audio in -> Whisper transcribes (language-hinted) -> the SAME grounded brain replies. Returns the concierge message (with id) so the widget can play it back in voice. The visitor's spoken words are stored as their turn.
  • POST /public/confirm/{token}Confirm SubscriptionDouble opt-in's second half. Confirming is benign (it grants nothing but the list membership the person just asked for), so the mailed link may act on GET - the industry's own shape for confirmation links.
  • GET /public/confirm/{token}Confirm SubscriptionDouble opt-in's second half. Confirming is benign (it grants nothing but the list membership the person just asked for), so the mailed link may act on GET - the industry's own shape for confirmation links.
  • GET /public/congregation/campaign/{fund_slug}Public CampaignThe outward-facing campaign: the fund, its goal, honest progress, and the door to the church's own giving page with this fund preselected.
  • POST /public/congregation/{site_slug}/care-requestsSubmit Care RequestAnyone may ask for prayer or care - no account, the requester chooses what the congregation may see. Throttled like every anonymous door.
  • GET /public/congregation/{site_slug}/prayerPublic Prayer PageWhat the site's prayer page needs to stand: the congregation's name and its own words (502's labels - a mosque's page says imam, a creator's says supporters). A business with no congregation has NO prayer page: a door must lead to someone who will read what is written. Nothing a person ever asked is readable here - care requests have no public read arm, ever. Registered AFTER /campaign/{fund_slug…
  • POST /public/csp-reportReceive Csp ReportThe report endpoint the Caddy block names. Answers 204 with nothing - a browser sends these in the background and reads no answer. Throttled per address (a page with a broken policy sends one per blocked resource, a script sends millions).
  • GET /public/developers/referenceReferenceThe reference: families of doors a key may open (with each door's own words), the public doors, how a key is presented, how a delivery is signed, which families a webhook may name.
  • GET /public/draft-orders/{token}Read Draft OrderWhat the customer already knows, no more - never their address book entry, never an id.
  • POST /public/draft-orders/{token}/payPay Draft OrderThe one checkout the storefront's Buy button opens - its rail, its thanks page.
  • GET /public/education/catalogPublic Catalog
  • GET /public/education/credentials/{kind}/{certificate_id}Verify Credential Public
  • GET /public/education/transcripts/{share_id}Verify Transcript Public
  • GET /public/employment/{verification_id}/verifyVerify Employment
  • POST /public/events/webhookEvents Stripe WebhookThe pillar-webhook pattern: own secret, signature or refusal, captured only.
  • GET /public/events/{slug}Public Event
  • POST /public/events/{slug}/buy-ticketBuy TicketThe paid door: pending purchase FIRST, Checkout on the tenant's own account, the seat granted only when the webhook sees captured money.
  • POST /public/events/{slug}/registerPublic RegisterFREE events register directly - the ticket code IS the confirmation. A priced event refuses this door and points at the paid one, so nobody holds a seat they never paid for.
  • GET /public/farms/directoryPublic Directory
  • POST /public/farms/directory/{farm_id}/askPublic Ask
  • GET /public/farms/offers/{token}Read Offer
  • POST /public/farms/offers/{token}/acceptAccept OfferAccepting names ONE of the offered times; the lead is engaged (the farm answered and the buyer said yes); the sale still happens on the farm's store, where the link points.
  • GET /public/farms/quotes/{token}Read Quote
  • POST /public/farms/region-asksPublic Region AskThe directory's 'ask the farms near me' - no account needed; an account holder is joined by email.
  • GET /public/farms/showcase/{asset_id}Public Showcase FileA PUBLISHED showcase asset's file, for the farm's page - a draft stays the staff's (404).
  • GET /public/farms/site/{slug}Public Farm Page
  • POST /public/farms/site/{slug}/joinPublic Farm JoinThe page's "keep me posted": the email joins the org's ONE audience list (G2's table, the practice door's shape) with the consent words recorded and source 'farm' - the CHECK widened WITH this caller (606). Consent is a real yes or a 422.
  • GET /public/forms/{slug}Public Form
  • POST /public/forms/{slug}/submitPublic Submit
  • GET /public/games/playtest/{token}Playtest OfferWhat the invited tester reads: the world, who asked, how long the door is open. Facts only, on the system cursor - the invite IS the credential.
  • POST /public/games/worlds/{world_id}/wishlistJoin WishlistThe demo gate's second door: not ready to buy, but wants to hear. The email joins the org's ONE audience list (consent words recorded there) and the wishlist row remembers which world - both on the system cursor, fenced to worlds whose demo the tenant deliberately opened.
  • GET /public/give/moncash/returnMoncash ReturnWhere MonCash sends a payer back to. PUBLIC, and treated as hostile. THE QUERY PARAMETERS PROVE NOTHING. Anyone can visit this URL with any order id - it is a plain GET in a browser. What decides whether money moved is `RetrieveOrderPayment`, asked of MonCash with the church's own credential, and the AMOUNT RECORDED IS THE ONE MONCASH REPORTS. Trusting an amount from the URL would let a donor ret…
  • POST /public/give/paystack/webhookPaystack WebhookPaystack's completion callback. A SEPARATE ENDPOINT FROM STRIPE'S, because the two sign differently: Stripe uses HMAC SHA256 with a per-endpoint signing secret, Paystack uses HMAC SHA512 with the API secret key itself. One endpoint accepting both would have to guess which scheme applies, and guessing wrong on a signature check is how an unverified event gets processed. RETURNS 200 EVEN WHEN THE …
  • POST /public/give/webhookGive WebhookStripe's completion callback for gifts made on a connected account. SEPARATE FROM THE ACCOUNT WEBHOOK because these arrive on the CONNECT endpoint with their own signing secret, and mixing them means one bad secret silently disables both.
  • GET /public/give/{slug}Public PageWhat a stranger with the link sees. No session, on purpose. REFUSES TO SHOW A PAGE THAT CANNOT TAKE MONEY. If the church has not finished onboarding, a donor who fills in an amount and hits a Stripe error blames the church. Better to say plainly that giving is not open yet.
  • POST /public/give/{slug}/checkoutStart GiftCreate a Checkout Session ON THE CHURCH'S ACCOUNT and hand back the URL. NO CARD DETAILS TOUCH THIS PLATFORM. Stripe hosts the payment page; we send an amount and a destination and receive a link. That is not only a PCI position, it is the same principle as the Express onboarding: the regulated part belongs to the party equipped to carry it.
  • GET /public/governancePublic GovernanceThe four values and `suspended`. A platform with no row yet answers 503 - unknown is not open.
  • GET /public/interpret/{code}Public Session
  • GET /public/interpret/{code}/turnsPublic Turns
  • POST /public/interpret/{code}/turnsPublic SpeakOne push-to-talk turn: hear it, translate it, speak it, append it. Synchronous by design - the speaker is standing there waiting; a few seconds is the product.
  • GET /public/interpret/{code}/turns/{turn_id}/audioPublic Turn Audio
  • GET /public/l/{code}Resolve Short LinkThe public resolver: returns the target for the web layer's 302 and counts the click as a daily aggregate - nothing about the visitor is stored, ever. A ROBOT IS LED BUT NOT COUNTED (2026-11-16): a message app's previewer or a carrier's scanner fetches every link in a text before a person taps it. It still gets the target (it needs the page to draw its card); only a reader the one judge does not …
  • GET /public/logistics/ask-wordsPublic Ask WordsThe words an ask is made under and the pickers it offers - from the ONE definition, so a page can never show one promise while the row keeps another.
  • POST /public/logistics/carrier/{operator_id}/askPublic Ask
  • GET /public/logistics/carrier/{slug}Public Carrier Page
  • POST /public/logistics/carrier/{slug}/joinPublic Carrier JoinTHE CARRIER'S "KEEP ME POSTED" - shipped WITH the page this time (MF4a shipped without one and a factory's digest had a reach of zero until MF19). One audience list, the consent words RECORDED, a real yes or a 422, and the source word widened with this caller (647).
  • GET /public/logistics/directoryPublic Directory
  • GET /public/logistics/offers/{token}Read Offer
  • POST /public/logistics/offers/{token}/acceptAccept OfferAccepting names ONE of the offered times. The time is checked STILL OPEN at this moment - two offers may have held the same hour, and the second to accept it is told so rather than double-booked.
  • GET /public/logistics/quotes/{token}Read Quote
  • GET /public/logistics/track/{token}TrackBY ITS TOKEN, ON THE SYSTEM CURSOR - and built from two WHITELISTS, so nothing the carrier wrote about a person or a place can reach a stranger by being added to a row later.
  • POST /public/manufacturing/capacity/{listing_id}/askPublic Capacity Ask
  • GET /public/manufacturing/directoryPublic Directory
  • POST /public/manufacturing/factory/{factory_id}/askPublic Ask
  • GET /public/manufacturing/factory/{slug}Public Factory Page
  • POST /public/manufacturing/factory/{slug}/joinPublic Factory JoinMF19 - THE FACTORY'S "KEEP ME POSTED", which this pillar never had. FM6 gave the farm page this door and OF8 gave the practice page one; MF4a built the public factory page without it, so there was NO WAY for a visitor to join a factory's audience. That is not a missing convenience: the community digest may only reach somebody who has already said yes to hearing from this business, so a factory's …
  • GET /public/manufacturing/license/{token}Read License
  • GET /public/manufacturing/license/{token}/downloadDownload Licensed FileThe delivery: the file moves only for CAPTURED money - 402 before, an attachment after.
  • POST /public/manufacturing/license/{token}/payPay LicenseThe pay door in the shape's place. It REFUSES: no price stands on any licence, and none can until a ruling sets one - said in words, never a provider error.
  • GET /public/manufacturing/quotes/{token}Read Quote
  • POST /public/manufacturing/region-asksOpen Region Ask PublicA buyer with no account asks the region. Their email is the whole identity here.
  • GET /public/marketPublic MarketTHE PLATFORM-WIDE MARKET (TJ3, the Emperor's demand engine): every published tenant's products, services and courses, browsable by anyone - Fitinty as the mall, not just the landlord. Every buyer any tenant attracts becomes a potential customer of every other. The same public-read boundary as every /site page, applied across orgs: only content of organizations with a LIVE theme appears (a storefr…
  • POST /public/marketplace/checkoutStart Marketplace CheckoutPUBLIC - guests buy too (LST5's ruling). The cart's state is read from Medusa, never trusted from the caller; the seller and the amount come from rows.
  • GET /public/marketplace/checkout/{checkout_id}Checkout StatusThe thanks page's reading: paid or not, order formed or forming - in words. The id is unguessable and the answer reveals what the buyer already knows.
  • POST /public/marketplace/checkout/{checkout_id}/place-orderRetry Place OrderThe retry door for a paid checkout whose order has not formed.
  • GET /public/marketplace/factsMarketplace Card FactsM-walk fix: the marketplace browse grid rendered cards with NO price and NO seller - a buyer deciding blind. This is the mall's own mirror read (the same rows /public/market serves), shaped as a map for the browse cards: who sells it, where its storefront page is, and whether a published full-story page exists.
  • POST /public/marketplace/paypal-webhookPaypal WebhookPayPal's door. Nothing is believed before PayPal's own verify call says SUCCESS.
  • GET /public/marketplace/promotionsPromoted RailTHE SPOTLIGHT RAIL for the browse screens: live promotions with their product facts, every one carrying promoted=true - the label IS the honesty.
  • POST /public/marketplace/stripe-webhookMarketplace Stripe Webhook
  • POST /public/mcpMarket Mcp DoorTHE FITINTY MARKET'S AGENT DOOR (Step 3 piece 6): one MCP connection across every store that is on the Market and open to the calling assistant. Read-only; the hand-off is the selling store's own page.
  • GET /public/mcp-specPublic Mcp Spec
  • GET /public/media/access/{access_token}Check AccessWhat this key opens - for the public player to decide whether to show the unlocked state. An episode key names its episode; a membership key names its SHOW (it opens every premium episode there). Paid or not, in words; never the sales book.
  • POST /public/media/episodes/{episode_id}/buyBuy EpisodeA listener buys one premium episode. No account needed - a podcast listener rarely has one (the marketplace guest-checkout ruling, applied here). The email is where the unlock link goes conceptually; today the success redirect carries the token and the email is the purchase's honest record of WHO bought.
  • POST /public/media/episodes/{episode_id}/tipTip EpisodeA gratuity on any published episode - free or premium. The whole amount is the tenant's (fee 0, the SL3 ruling: nobody's thank-you carries a cut) and it never enters the sales ledger.
  • GET /public/media/license/{token}License OfferWhat the licensee reads before paying: the terms in the tenant's own words.
  • GET /public/media/license/{token}/downloadDownload Licensed FileThe delivery: the file moves only for CAPTURED money - the same wall the premium episode stands behind.
  • POST /public/media/license/{token}/payPay License
  • POST /public/media/shows/{show_id}/membershipJoin MembershipA listener becomes a monthly member of the show, on the show owner's own Stripe account (mode=subscription). The membership row is the STANDING record: paid = active, void = cancelled; money lands one row per invoice cycle.
  • GET /public/media/sponsor/{token}Sponsor OfferWhat the sponsor sees before paying: the facts in plain words, nothing else.
  • POST /public/media/sponsor/{token}/payPay Sponsorship
  • GET /public/modelsPublic Models
  • GET /public/pages/{page_id}Public FrameThe frame's document, under the enforced policy. A missing, bad or expired signature is a 404.
  • POST /public/platform/audienceJoin Platform AudienceThe join door on fitinty.com itself: the platform's own list, kept on the Fitinty organization with the SAME machinery tenants get - the Emperor markets Fitinty with the tools he sells. (The tenant join door requires a published storefront; the platform's own pages ARE its storefront, so this door checks only that the one org exists.)
  • POST /public/platform/freebie/{slug}Claim FreebieThe freebie door on fitinty.com: join Fitinty's list and get the file, on screen, at once.
  • GET /public/platform/pressPress KitThe public press page's data: the Emperor's words plus figures MEASURED at this moment from the platform's own tables - never a stored total, never a projection.
  • GET /public/platform/social-linksPlatform Social Links
  • GET /public/platform/testimonialsPublic Testimonials
  • GET /public/podcast-episodes/{episode_id}/audioPublic Audio
  • GET /public/podcast-shows/{show_id}/artworkPublic Artwork
  • GET /public/presentation-factory/shared/{token}Shared Page
  • POST /public/presentation-factory/shared/{token}/commentsShared Comment
  • GET /public/presentation-factory/shared/{token}/deckShared Asset
  • POST /public/presentation-factory/shared/{token}/reportShared Report
  • GET /public/presentation-followup/{token}Followup PagePUBLIC, no account: the people who were in the room read what they were promised. Only answered AND published items appear, each labelled if it has no source behind it.
  • POST /public/presentation-sessions/joinJoin
  • POST /public/presentation-sessions/{sid}/questionsAsk
  • POST /public/presentation-sessions/{sid}/questions/{qid}:upvoteUpvote
  • POST /public/presentation-sessions/{sid}/runs/{run_id}/answerAnswer Poll
  • GET /public/presentation-sessions/{sid}/stateAudience StatePolled every couple of seconds by every phone in the room, so it stays small: compare state_version and only re-render when it moved.
  • GET /public/pricing/plansPublic PlansThe price list, for anybody. Only `is_public` plans: `founding-all` is what every existing organization silently resolves to and is NOT for sale, so publishing it would advertise a free everything-tier.
  • GET /public/reports/source/{token}Public SourceR4 - the page the document server fetches to convert: a SHORT-LIVED signed token names ONE report; the token is minted only inside the export door, never shown to a person. Read on the system cursor because the document server is nobody.
  • GET /public/return-photos/{photo_id}Return PhotoOne return photo, by its unguessable id. The id is checked to BE an id before the disk is touched, and to be a photo we recorded before a file is served.
  • GET /public/review-media/{review_id}Review Media
  • GET /public/reviews/course/{course_id}Course Reviews
  • GET /public/reviews/platformPlatform Reviews
  • GET /public/reviews/practice/{office_id}Practice Reviews
  • GET /public/reviews/service/{listing_id}Service Reviews
  • GET /public/services/offers/{token}Read Offer
  • POST /public/services/offers/{token}/acceptAccept OfferAccepting turns the offer into a booking INTENT and hands back the claim path - the existing claim flow signs the person in and places the booking with all its standing guards. Only a time the offer actually named is accepted.
  • GET /public/services/quotes/{token}Read Quote
  • GET /public/site-media/{name}Public Media
  • GET /public/site-media/{site_id}/{name}Public Site MediaA business's file: its folder is its site id, and only a uuid spelled as one names a folder.
  • GET /public/site/counter-paid/{request_id}Counter PaidThe shopper's receipt, on their own phone after paying: the business, what was bought, the total and when it was paid. The address is the request's own unguessable id; it says nothing about the staff.
  • GET /public/site/domain-allowedDomain AllowedCaddy on-demand-TLS ask endpoint. 200 = may request a certificate, 403 = must not. Caddy treats ANY 2xx as permission, so this must never return 200 on the error path - hence an explicit 403 rather than a body the caller has to interpret.
  • GET /public/site/resolve-domainResolve DomainCustom-domain routing: maps a Host header (port already stripped by the caller) to an org slug -- but ONLY for a domain whose ownership was proved (migration 261). Two independent gates, both required. The domain must be the LIVE theme version's developer.domainOverrides.publicDomain, so an unpublished change never reroutes traffic; and it must have a VERIFIED claim owned by that same organizatio…
  • GET /public/site/resolve-slug/{slug}Resolve SlugWhere a storefront address lives now: the current slug for a current or former slug (the web proxy sends a visitor on an old address to the same path under the current one). 404 when no business ever had it.
  • GET /public/site/tls-askTls AskCaddy on-demand TLS 'ask' endpoint: Caddy calls this with ?domain=<host> before issuing a certificate for an unknown domain. THIS is the endpoint prod's Caddyfile actually points at (/public/site/tls-ask), so the ownership gate had to land here rather than only on the newer /public/site/domain-allowed - otherwise migration 261 would have shipped while the live certificate path kept using the weak…
  • GET /public/site/{slug}Get Public SiteBOTH HALVES, KEPT. The storefront reads the two doors above so each gets the caching it deserves; this one stays because it is a public contract older than the split and nothing is served by breaking a caller to make a point. It is assembled from the same one definition, so the three can never disagree.
  • GET /public/site/{slug}/accessPublic Store AccessIs this shop open to everyone? Asked by every storefront page before it shows anything.
  • GET /public/site/{slug}/affiliatePublic Affiliate ShelfThe public Affiliate products page (Philippe, 2026-11-02): the site's PUBLISHED affiliate offers by category - picture, name, short description, 'view more details' (its landing page) and the tracked buy door.
  • POST /public/site/{slug}/askAsk From PageThe ask block's door: a visitor's question, minted as a lead through the ONE storefront lead writer (`services_leads.mint_lead`), with the words they agreed to recorded on the row. Only a store whose PUBLISHED page carries an ask block takes one here.
  • POST /public/site/{slug}/audienceJoin AudienceThe join door. A rejoin after unsubscribing is a RE-CONSENT: the row updates, the unsubscribe clears, nothing doubles.
  • POST /public/site/{slug}/audience/leaveLeave AudienceThe same sentence whether or not the email was ever on the list - this door is not an oracle for probing who subscribes to what.
  • GET /public/site/{slug}/barPublic BarA business's own top bars, for every page of its site: its bar's headings, the bag its goods go in (the store's for a department, its own otherwise), the mall it is a department of (so its pages can lead back there), and where its search goes: a shop's products, a deals business's deals (Philippe, 2026-11-13: "why Businesses don't have search box?").
  • GET /public/site/{slug}/chatgpt.jsonlStore Chatgpt FeedChatGPT shopping's product file - JSON lines, one product per line, the same products feed.xml carries. The owner uploads it; Fitinty sends nothing.
  • GET /public/site/{slug}/checkout-settingsPublic Checkout SettingsWhat the buy form asks, for a LIVE storefront only (the same door shape as the shipping quote): the business's choices or the defaults, plus the consent sentence the box must show.
  • GET /public/site/{slug}/communityPublic CommunityThe open room: published announcements + clubs with real member counts. Anonymous read - the room's life IS the invitation.
  • GET /public/site/{slug}/community/clubs/{club_id}Public Club
  • GET /public/site/{slug}/contentGet Public Site ContentTHE HALF THAT MAY NEVER BE CACHED. Courses, services, events and products - everything a tenant can switch off, and the exact payload the sixty-second window used to hold on to. UX1: THE PAGE'S BLOCK LIST RIDES HERE, NEVER IN THE CHROME. It is content - a product grid is a query over what the store published right now - so it takes this door's no-cache, and a withdrawn product leaves a published …
  • GET /public/site/{slug}/copilot.xmlStore Copilot FeedMicrosoft Merchant Center's product feed (Copilot shopping) - the same Merchant format as feed.xml, the copilot channel's own pick.
  • GET /public/site/{slug}/courses/{course_id}Get Public Course
  • GET /public/site/{slug}/departmentsPublic DepartmentsThe store's PUBLISHED bands, each filled from what its member has published - read through the same public arm every storefront window uses, so the walls decide what shows.
  • GET /public/site/{slug}/events/{event_id}Get Public Event
  • GET /public/site/{slug}/feed.xmlStore Product FeedThe Google Merchant Center product feed (RSS 2.0 + g: namespace). Only items Google would accept ride; the excluded count is stated in the feed itself so an empty-looking feed is never a mystery. Step 2: the google channel's own pick.
  • GET /public/site/{slug}/game-demosList Game Demos
  • GET /public/site/{slug}/game-demos/{world_id}Get Game Demo
  • GET /public/site/{slug}/helpPublic HelpThe front of the Help Center: every topic with how many published guides it holds (zero is a true count), the eight most recent guides, and - when the reader typed words - the guides that match them, best first.
  • GET /public/site/{slug}/help/{topic}Public Help TopicOne topic and its published guides, by title.
  • GET /public/site/{slug}/help/{topic}/{page}Public Help GuideOne published guide of the topic: its title, its text, and its sections with their live parts attached (site_live - read now, never copied). A page of another topic, a draft or a plain page is 404 here.
  • POST /public/site/{slug}/intentsCreate Intent
  • GET /public/site/{slug}/jobsPublic JobsPublished openings on a LIVE storefront - the same gate as products: a shop that 404s cannot hire through its window. CAPPED by the one helper (2026-10-18): the list stops at 50 and SAYS so (`capped`, `shown`), because /careers on the platform's own frame now reads this same door and a list that lies about being whole is invisible. `posted_at` is the row's own creation moment - the one date a str…
  • POST /public/site/{slug}/jobs/{post_id}/applyPublic ApplyA stranger applies - no account (the guest-checkout ruling's spirit). The one demand is reachability: an application with no email AND no phone is a name we can never answer.
  • GET /public/site/{slug}/landing/{product_id}Public LandingThe public showcase: the PUBLISHED page plus the product's real buy facts. The CTA carries the same product path the catalog uses - one click to the buy flow.
  • GET /public/site/{slug}/listing-images/{image_id}Get Public Listing ImageAny listing's picture (listing_media), behind the same gate as the site: nothing is public until it is published. Served from the API's own disk, like the service images above.
  • GET /public/site/{slug}/listing-page/{kind}/{listing_id}Get Public Listing PageA listing page's picture library (listing_media), in order - position 0 is the cover - behind the site's own gate. Empty when the listing has no picture yet: the page shows the Fitinty mark.
  • GET /public/site/{slug}/llms.txtStore Llms TxtThe storefront's map for AI assistants (llms.txt, ai_assistants.py) - the same one page list as the sitemap and the feed's qualified products, so it never names a page the sitemap does not. A store that answered "none" has no map at all.
  • POST /public/site/{slug}/local-pricesLocal Prices DoorA PAGE'S PRICES IN THE SHOPPER'S CURRENCY (Philippe, 2026-11-24: "show AND charge in the shopper's own currency"). The rounding is not a straight line, so no page converts a price itself: it hands its prices here and shows what comes back, in the same order. A price that cannot be shown in the shopper's currency (no country, no fresh rate, a seller whose payment way charges only its own) comes bac…
  • GET /public/site/{slug}/logoGet Public Site Logo
  • GET /public/site/{slug}/mallPublic MallEverything the mall's chrome draws, in one read.
  • POST /public/site/{slug}/mall/bagPublic Mall BagWhat the shopper's bag holds TODAY, read from the public mirror: never a price the browser sent. The lines come back grouped by the business that sells them; a product the mall no longer sells is named in `gone` so the browser can take it out and say so.
  • GET /public/site/{slug}/mall/shelfPublic Mall ShelfThe mall searched ONCE: the store's own products and every published department's, on one shelf. A wrong sort, kind, price or business is 422. A price is only ever compared inside the store's own currency: a price sort or a price bound keeps the products priced in it and leaves the others out, never ranks a euro against a dollar.
  • GET /public/site/{slug}/marketsPublic MarketsThe countries a storefront sells to - on a LIVE storefront only (the gate every public window keeps). Empty means it sells everywhere.
  • POST /public/site/{slug}/mcpStore Mcp Door
  • GET /public/site/{slug}/offer-videos/{name}Get Public Offer VideoA seller's video that affiliate_media copied to our disk, played on the business's own landing page (2026-11-11: two live heroes pointed at a stored path no browser could open). Only a published site's own filed video is served, and only a name copy_video_file could have written.
  • POST /public/site/{slug}/open-countryOpen CountryAsked by the checkout BEFORE the cart's address (Philippe, 2026-11-23: every country the supplier ships to): the store engine takes an address only for a country in the region of the cart's money, so the country is opened there first (`engine_delivery.open_country`). A country one of the cart's goods does not ship to never reaches the engine; the pay door still judges the price.
  • GET /public/site/{slug}/page-images/{image_id}Public Page ImageAn image a PUBLISHED gallery block shows - and no other, whatever its id: an image uploaded for a draft is not public until the page that shows it is.
  • GET /public/site/{slug}/partnersList Site PartnersThe partners this business chose to show on ITS OWN storefront. The other side's toggle governs the other side's page - each tenant designs only their own.
  • POST /public/site/{slug}/partners/{partnership_id}/visitRecord Partner VisitA visitor follows a partner card. The click lands in the append-only evidence ledger - the referral counts both owners read are counts of these rows - and the visitor gets the partner's public address back. No visitor identity is recorded: a click is a click.
  • GET /public/site/{slug}/peoplePublic PeopleThe business's published people, in its order. A photo is served by the one photo door (/public/about/people/<id>/photo, site_pages.py), which asks the same live storefront.
  • GET /public/site/{slug}/pickup-locationsPickup LocationsST2: the checkout's pickup choices - the org's active physical places, on a LIVE storefront (the same gate as every public window).
  • GET /public/site/{slug}/podcastsPublic Shows
  • GET /public/site/{slug}/podcasts/{show_slug}/feed.xmlPublic Feed
  • GET /public/site/{slug}/policies-publishedGet Public Policies PublishedThe store's live policy pages - the same list the footer reads - for every listing page.
  • GET /public/site/{slug}/postsPublic Posts
  • GET /public/site/{slug}/posts-feedPublic Posts Feed
  • GET /public/site/{slug}/posts/{post_slug}Public Post
  • GET /public/site/{slug}/practicePublic Practice
  • POST /public/site/{slug}/practice/askPublic Practice AskThe question door: a stranger's ask becomes ONE office_lead (source 'question') through the moat's one writer, fenced to the practice the slug resolves to. Consent is recorded as the fact it is; without it the door refuses in words.
  • POST /public/site/{slug}/practice/bookPublic Practice BookA consultation booked through the door. Signed-in only: booking_insert demands the client's own id (no anonymous write ever creates an appointment - the intent-claim posture). The time must be one the door actually offers (409 otherwise), the row is written on the CLIENT's cursor, and its lead is minted once (source 'booking').
  • POST /public/site/{slug}/practice/joinPublic Practice JoinOF8 - the practice page's "keep me posted" door: not ready to ask or book, but wants to hear. The email joins the org's ONE audience list (G2's table, the games door's shape) with the consent words recorded and source 'practice' - the CHECK widened WITH this caller (526). Consent is a real yes or a 422; the closed loop then measures this door like any other.
  • GET /public/site/{slug}/practice/slotsPublic Practice Slots
  • GET /public/site/{slug}/print-designs/{design_id}Get Public Print DesignA drawn design's print file, at the ONE address a print supplier fetches it from (print_maker.design_address). Only a design that passed its checks (drawn) or is already a product (made), and only under its own business: an idea or a refused design has no address.
  • GET /public/site/{slug}/productsList Public ProductsThe CATALOG the storefront never had (LST1) - browse, search, filter by category, paginate. Reads only the public-safe mirror; published rows of this org alone. The category list rides along so the browse bar renders from real data, never a taxonomy. `country` (1040): the visitor's country, where the site knows it - what does not ship there is left out; without it nothing is judged here (the pay d…
  • GET /public/site/{slug}/products/{product_id}Get Public ProductPublic product detail (STOREFRONT_GAPS: "Product detail pages / purchase links"). Reads ONLY the public-safe mirror (marketplace_public_product) - never Medusa or the credentials-bearing vendor row - and only ACTIVE rows of THIS org, behind the same live-theme gate as every other public page. Purchase itself stays where it already works: the signed-in Marketplace (test mode until Stripe live sign-…
  • GET /public/site/{slug}/products/{product_id}/also-boughtAlso BoughtG4 - the bought-together shelf: pairs counted from REAL order lines by the pairing agent, joined to the published mirror so a withdrawn product never rides along. The reading's age is stated - a stale shelf says so instead of pretending.
  • GET /public/site/{slug}/products/{product_id}/questionsList Product QuestionsPublic Q&A (441): questions and their answers publish together; a hidden question shows nothing. Unanswered shows AS unanswered - honest pressure.
  • POST /public/site/{slug}/products/{product_id}/questionsAsk Product QuestionAnyone may ask (a question is a sale mid-decision); rate-limited per IP; only the seller answers; the seller's hide takes a REASON - the Commons' hand, not an eraser.
  • GET /public/site/{slug}/products/{product_id}/reviewsList Product ReviewsPublic reviews for one product: the list, the average, the count - every one of them a verified purchase by construction (no other kind can exist in the table).
  • POST /public/site/{slug}/products/{product_id}/reviewsSubmit Product ReviewVERIFIED OR REFUSED (440, generalized by 442). The proof is the order id + the order's own email, checked against the store's real records; the email is checked and DISCARDED. One review per order per product. A seller cannot write their own reviews - there is no tenant door. The reviewer may attach THEMSELF saying it: photo, voice note or video (his ruling on recorded formats), size-capped, serve…
  • POST /public/site/{slug}/products/{product_id}/tell-meTell MeA buyer's ask from the storefront: tell me when this is back. Only a live shop's sold-out product takes one; in stock or not counted, the answer is a sentence and no row. One row per shop + product + email, and nothing sends - the agent drafts, a hand sends.
  • GET /public/site/{slug}/readersPublic ReadersThe Readers' Circle page of a published site: its books (an empty list is a page the web does not show).
  • POST /public/site/{slug}/referralMint ReferralA customer's personal code - ONE per person per store; asking again returns the same code (the row is the truth, not the request).
  • GET /public/site/{slug}/referral-programPublic Program
  • GET /public/site/{slug}/referral/{code}Referral StatusThe referrer's window, keyed by the code itself - the secret only they hold. No email lookup exists on purpose (an email is guessable; a code is not).
  • GET /public/site/{slug}/services/{listing_id}Get Public Service
  • GET /public/site/{slug}/services/{listing_id}/imageGet Public Service ImageA service listing's image, behind the same gates as the listing itself: the site must be live and the listing active. Served from the API's own disk (no object storage exists).
  • GET /public/site/{slug}/services/{listing_id}/slotsPublic SlotsReal open slots for one listing on one day - windows sliced by the listing's own duration, minus pending/confirmed bookings. Past slots (for today) are excluded.
  • GET /public/site/{slug}/shipping-optionsShipping OptionsThe menu a buyer chooses from before the address is known, cheapest first - on a LIVE storefront only. The checkout judges the choice again against the cart (shipping.shipping_choice), so this is a list to choose from, never a promise. With the shopper's `country`, `abroad` says what delivery there adds to prices counted for another country (`delivery_abroad`): known and an amount (0 = free), or n…
  • GET /public/site/{slug}/shipping-quoteShipping QuoteWhat a buyer may choose at checkout, cheapest first - on a LIVE storefront only (the gate every public window keeps). An unknown country sees only pickup and local delivery; an unknown subtotal never earns free shipping.
  • GET /public/site/{slug}/signalsPublic SignalsThe signals page of a published site that shows signals; any other site answers 404.
  • GET /public/site/{slug}/sitemap.xmlStore Sitemap XmlThe storefront's own sitemap - `sitemap_urls`, the one list of its pages. Live theme required - a site that 404s must not invite a crawler.
  • GET /public/site/{slug}/social-feedSite Social Feed
  • GET /public/site/{slug}/social-linksSite Social Links
  • GET /public/site/{slug}/stagePublic StageA business's own slider, for its home page.
  • POST /public/site/{slug}/subscribeSubscribe
  • POST /public/site/{slug}/texts/yesShopper Says Yes
  • GET /public/site/{slug}/themeGet Public Site ThemeTHE HALF THAT MAY BE CACHED (his ruling, 2026-09-22). A storefront was serving what its tenant had switched off for up to a minute, because theme AND content came back in ONE payload on one sixty-second cache entry - so the only ways to make the content fresh were to give up the theme's cache with it, or to split them. He ruled the split: the chrome is cached, the content is never cached, and a t…
  • POST /public/site/{slug}/tradeAsk TradeA company asks, from a live shop's storefront, to buy as a business. One row per shop + email: an ask already waiting or already approved is said back, not duplicated; a declined buyer may ask again. The shop is read through the public wall, the row is written by the system (no public policy opens the table), and the buyer enters the customer book through its one writer. Nothing sends - the seller…
  • POST /public/site/{slug}/unsubscribeUnsubscribeToken-matched unsubscribe via a SECURITY DEFINER helper (migration 243): an UPDATE's WHERE reads rows under SELECT policies, and subscriber rows deliberately have no public SELECT - emails are PII. The helper does the one narrow update without ever making the table publicly readable.
  • POST /public/site/{slug}/visitRecord VisitPrivacy-light page-view counter, called fire-and-forget by the web middleware. Stores nothing about the visitor -- one daily counter per (org, page, kind). The visitor's User-Agent arrives as X-Visitor-Agent (the middleware forwards the original request's header, since this call is server-to-server and its own UA would be Node's), is used ONLY to decide human vs bot, and is never written anywhere…
  • GET /public/site/{slug}/visitor-countryVisitor Country DoorTHE VISITOR'S COUNTRY, so the checkout opens on it (Philippe, 2026-11-23: "as if it was built for them particularly"). Two capital letters, or None when the address is in no range - never a default. The address is the one OUR proxy wrote (`caller_address`), read for this one lookup and written nowhere. The data's licence asks for its credit wherever the country is used: it travels with it.
  • GET /public/site/{slug}/whats-newPublic Whats NewThe business's published release notes, newest first.
  • GET /public/sitemapPublic SitemapEverything a search engine may index: every org with a PUBLISHED theme, plus the ids of its public detail pages. Same public-read RLS boundary as the pages themselves -- nothing appears here that the storefront wouldn't serve.
  • GET /public/social-images/{image_id}Public Social Image
  • GET /public/social-oauth/callbackOauth Callback
  • GET /public/social-videos/{post_id}Public Social Video
  • GET /public/social/data-deletion/{code}Data Deletion Status
  • POST /public/social/meta/data-deletionMeta Data Deletion
  • POST /public/social/threads/data-deletionThreads Data Deletion
  • GET /public/song-factory/shared/{token}Shared Page
  • GET /public/song-factory/shared/{token}/audioShared Asset
  • POST /public/song-factory/shared/{token}/commentsShared Comment
  • POST /public/song-factory/shared/{token}/reportShared Report
  • GET /public/store-pictures/{name}Public Store PictureOne picture from the engine's shelf. Public on purpose: it is a product photo a shopper is meant to see.
  • GET /public/system/healthSystem Health
  • GET /public/talk/{token}Talk PagePUBLIC, no account: for the person who missed the room. Returns the pinned slides, the timeline the player needs, and the voice label - and counts the open, which is all a link can honestly know.
  • GET /public/talk/{token}/audioTalk Audio
  • GET /public/talk/{token}/captionsTalk Captions
  • GET /public/talk/{token}/transcriptTalk TranscriptReading instead of listening is a real accessibility need, not a lesser option.
  • GET /public/tax/copy/{token}Public Copy
  • GET /public/tax/identity/{token}Public Describe
  • POST /public/tax/identity/{token}Public Submit
  • POST /public/tenant-draftCreate Tenant DraftThe Convince moment: words in, a business standing at a preview URL out.
  • GET /public/tenant-draft/{token}Get Tenant Draft
  • PATCH /public/tenant-draft/{token}Change Draft PillarThe preview's override: the visitor corrects WHERE their business belongs before claiming it. The token is the authority (it is the same secret that claims), an already- claimed draft refuses, and the pillar must exist - free text would be a silent zero.
  • POST /public/tradingview/{token}Receive AlertReceive a TradingView alert and turn it into a trade intent. Returns 200 with an outcome for anything it understood well enough to record, including refusals - TradingView retries on non-2xx and a retried alert is indistinguishable from a replay, so refusing loudly with a 4xx would produce exactly the traffic this endpoint is built to reject. An unknown token is the one exception: it gets a flat …
  • GET /public/unsubscribe/{token}Unsubscribe Info
  • POST /public/unsubscribe/{token}Unsubscribe
  • POST /public/verifyVerify PastedRe-computes the canonical hash and HMAC over the pasted payload. A single changed character in the payload flips both answers to false.
  • GET /public/verify/file/{sha256}Verify By FileThe strongest check: hash the file you were given (the page does it in your browser - the file never leaves your machine) and ask whether this installation certified that exact file.
  • GET /public/verify/{cert_id}Verify By Id
  • GET /public/video-factory/shared/{token}Shared Page
  • GET /public/video-factory/shared/{token}/captionsShared Captions
  • POST /public/video-factory/shared/{token}/commentsShared Comment
  • POST /public/video-factory/shared/{token}/reportShared Report
  • GET /public/video-factory/shared/{token}/videoShared Asset
  • GET /public/whoamiWhoami
  • GET /public/workspace-documents/shared/{token}Shared Page
  • POST /public/workspace-documents/shared/{token}/commentsShared Comment
  • GET /public/workspace-documents/shared/{token}/fileShared Asset
  • POST /public/workspace-documents/shared/{token}/reportShared Report

Generated from the API the server is running right now - always up to date.