{"openapi":"3.1.0","info":{"title":"EIN.LLC agent formation HTTP","version":"2026-09-12.1","description":"Available ordinary HTTP for non-sensitive assessment, provisional preparation, human claim/review and redacted status. The same no-token operations are tools on POST /mcp and A2A SendMessage at /a2a/jsonrpc and POST /a2a/rest/message:send (A2A-Version: 1.0). Assessment and preparation each share a per-client operation budget across HTTP, MCP and A2A; transport budgets also apply. See /skill.md for the A2A envelope and response semantics. Claim, review, and grants stay on HTTP with a human Firebase token. Use paid intake to get the exact quote and canonical Base USDC payment resource for a prepared formation application or an owned EIN-only filing. The person completes confidential intake and signing. Assessment is provisional advice, not filing authorization. Unbound prepare stays claimable for the intended email but is not an actionable authorized state. Bound prepare uses one transactional create/bind/authority write; the same assessment, intended email, and stored preparation recovers the same application without rewriting authority. An explicit operationId is not namespaced by assessment. A different explicit operationId on an assessment that already has an application returns 409 operation_identity_conflict, writes nothing, reserves nothing, and returns no claim token. Omitting operationId still recovers that bound application. Unknown preparation fields are discarded. Claim tokens belong in the POST body; a review query is not a claim. Case intake and server quotes live on PUT /api/checkout/intake and POST /api/checkout/prepare-quote. Agent checkout requires expectedQuoteVersion of that reviewed server quote."},"servers":[{"url":"/"}],"security":[],"components":{"securitySchemes":{"FirebaseIdToken":{"type":"http","scheme":"bearer","bearerFormat":"Firebase ID token","description":"Owner Firebase ID token. Claim and grant creation additionally require email_verified=true. Claim email must match the intended recipient."},"AgentGrant":{"type":"http","scheme":"bearer","bearerFormat":"Opaque application grant","description":"Revocable, expiring status-only token issued by the owner. Not a Firebase ID token."}},"schemas":{"PaidIntakeOpenInput":{"type":"object","oneOf":[{"type":"object","additionalProperties":false,"properties":{"product":{"const":"formation"},"applicationId":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,180}$"},"operationKey":{"type":"string","minLength":20,"maxLength":291,"description":"Use product:subjectId:nonce. Choose a fresh nonce of 16 to 100 letters, digits, underscores or hyphens, then keep the same key for retries and status."},"claimToken":{"type":"string","minLength":1,"maxLength":256}},"required":["product","applicationId","operationKey","claimToken"]},{"type":"object","additionalProperties":false,"properties":{"product":{"const":"formation"},"applicationId":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,180}$"},"operationKey":{"type":"string","minLength":20,"maxLength":291,"description":"Use product:subjectId:nonce. Choose a fresh nonce of 16 to 100 letters, digits, underscores or hyphens, then keep the same key for retries and status."},"expectedTotalCents":{"type":"integer","minimum":1},"expectedQuoteVersion":{"type":"integer","minimum":1},"expectedAttemptId":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,180}$"}},"required":["product","applicationId","operationKey","expectedTotalCents","expectedQuoteVersion","expectedAttemptId"]},{"type":"object","additionalProperties":false,"properties":{"product":{"const":"ein-only"},"filingOrderId":{"type":"string","pattern":"^[a-f0-9]{40}$"},"operationKey":{"type":"string","minLength":20,"maxLength":291,"description":"Use product:subjectId:nonce. Choose a fresh nonce of 16 to 100 letters, digits, underscores or hyphens, then keep the same key for retries and status."},"expectedTotalCents":{"type":"integer","minimum":1},"expectedQuoteVersion":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["product","filingOrderId","operationKey","expectedTotalCents","expectedQuoteVersion"]}]},"PaidIntakeStatusInput":{"type":"object","oneOf":[{"type":"object","additionalProperties":false,"properties":{"product":{"const":"formation"},"applicationId":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,180}$"},"operationKey":{"type":"string","minLength":20,"maxLength":291,"description":"Use product:subjectId:nonce. Choose a fresh nonce of 16 to 100 letters, digits, underscores or hyphens, then keep the same key for retries and status."},"claimToken":{"type":"string","minLength":1,"maxLength":256}},"required":["product","applicationId","operationKey","claimToken"]},{"type":"object","additionalProperties":false,"properties":{"product":{"const":"formation"},"applicationId":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,180}$"},"operationKey":{"type":"string","minLength":20,"maxLength":291,"description":"Use product:subjectId:nonce. Choose a fresh nonce of 16 to 100 letters, digits, underscores or hyphens, then keep the same key for retries and status."}},"required":["product","applicationId","operationKey"]},{"type":"object","additionalProperties":false,"properties":{"product":{"const":"ein-only"},"filingOrderId":{"type":"string","pattern":"^[a-f0-9]{40}$"},"operationKey":{"type":"string","minLength":20,"maxLength":291,"description":"Use product:subjectId:nonce. Choose a fresh nonce of 16 to 100 letters, digits, underscores or hyphens, then keep the same key for retries and status."}},"required":["product","filingOrderId","operationKey"]}]},"PaidIntakeResponse":{"type":"object","additionalProperties":false,"properties":{"product":{"enum":["formation","ein-only"]},"applicationId":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,180}$"},"filingOrderId":{"type":"string","pattern":"^[a-f0-9]{40}$"},"orderReference":{"type":"string"},"privateOrderExists":{"type":"boolean"},"quote":{"type":"object","additionalProperties":false,"properties":{"baseCents":{"type":"integer","minimum":1},"stateFeeCents":{"type":"integer","minimum":0},"totalCents":{"type":"integer","minimum":1},"currency":{"const":"usd"},"version":{"anyOf":[{"type":"integer","minimum":1},{"type":"string"}]},"expiresAt":{"type":"string","format":"date-time"},"jurisdiction":{"type":"string"}},"required":["baseCents","stateFeeCents","totalCents","currency","version","expiresAt"]},"paymentResource":{"type":"string","format":"uri","description":"Canonical Gateway GET URL for this exact payment challenge and receipt."},"paymentVersion":{"type":"string","description":"Version bound to the Gateway payment challenge, separate from the service quote version."},"network":{"const":"eip155:8453"},"protocols":{"const":["x402","mpp"]},"paymentState":{"enum":["waiting","pending","expired","held","refund_pending","refunded","closed","paid_awaiting_owner_claim","paid_awaiting_private_intake","paid_awaiting_filing_authorization","fulfillment_ready"]},"receipt":{"type":"object","additionalProperties":false,"properties":{"protocol":{"enum":["x402","mpp"]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"transferLogIndex":{"type":"integer","minimum":0},"settledAt":{"type":"string","format":"date-time"}},"required":["protocol","transaction","transferLogIndex","settledAt"]},"humanHandoff":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"tasks":{"type":"array","items":{"enum":["claim_application","complete_confidential_intake","review_formation_intake","attach_identity_document","attach_address_proof","sign_form_ss4"]}}},"required":["url","tasks"]},"filingAuthorization":{"const":false}},"required":["product","orderReference","privateOrderExists","quote","paymentResource","paymentVersion","network","protocols","paymentState","humanHandoff","filingAuthorization"],"allOf":[{"if":{"properties":{"product":{"const":"formation"}}},"then":{"required":["applicationId"],"properties":{"filingOrderId":false}},"else":{"required":["filingOrderId"],"properties":{"applicationId":false}}}]},"PaidIntakeError":{"type":"object","additionalProperties":false,"properties":{"error":{"type":"string"},"code":{"type":"string"},"next":{"type":"string"}},"required":["error"]},"HumanClaimAction":{"type":"object","properties":{"kind":{"const":"human_claim"},"reviewUrl":{"type":"string"},"requiredScope":{"type":"object","properties":{"applicationId":{"type":"string"},"actor":{"const":"intended_recipient"},"verifiedEmailRequired":{"const":true},"action":{"const":"claim"}},"required":["applicationId","actor","verifiedEmailRequired","action"]},"claimLink":{"type":"object","properties":{"field":{"const":"claimUrl"},"effectsOnVisit":{"const":"none"}},"required":["field","effectsOnVisit"]},"continuationScope":{"type":"object","properties":{"applicationId":{"type":"string"},"scopes":{"type":"array","items":{"const":"status"},"minItems":1,"maxItems":1},"issuer":{"const":"human_owner"}},"required":["applicationId","scopes","issuer"]}},"required":["kind","reviewUrl","requiredScope","claimLink","continuationScope"]},"Error":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"note":{"type":"string"}},"required":["error"]},"Preparation":{"type":"object","properties":{"goal":{"type":"string","maxLength":500},"jurisdiction":{"type":"string","maxLength":80},"existingEntityStatus":{"type":"string","enum":["none","has_entity","has_ein","unknown"]},"assessmentOutcome":{"type":"string","maxLength":80},"providerPath":{"type":"string","maxLength":200},"notes":{"type":"string","maxLength":1000}},"required":[],"additionalProperties":false},"AssessmentInput":{"type":"object","properties":{"goal":{"type":"string","description":"Trimmed and truncated to 500 characters."},"hasUsEntity":{"type":"string","enum":["yes","no","unknown"],"description":"Other values are treated as unknown, not rejected."},"hasEin":{"type":"string","enum":["yes","no","unknown"],"description":"Other values are treated as unknown, not rejected."},"jurisdictionKnown":{"type":"string","enum":["yes","no","unknown"],"description":"Other values are treated as unknown, not rejected."},"selectedState":{"type":"string","description":"Trimmed and truncated to 80 characters."},"providerRequiresUsEntity":{"type":"string","enum":["yes","no","unknown"],"description":"Other values are treated as unknown, not rejected."},"providerRequiresEin":{"type":"string","enum":["yes","no","unknown"],"description":"Other values are treated as unknown, not rejected."},"foreignOwnedCaution":{"type":"boolean"},"intendedEmail":{"type":"string","description":"Optional. When a valid email is supplied it is stored on the assessment; later prepare must use the same recipient. Invalid values are ignored, not rejected."}},"required":[]},"PrepareInput":{"type":"object","properties":{"intendedEmail":{"type":"string","description":"Trimmed/lowercased; invalid or missing email produces an incomplete application, not a claim token."},"assessmentId":{"type":"string","description":"When present, the server-stored assessment is bound in one transaction with the application and authority. Same assessment plus intended email recovers the same application when the stored preparation matches. Facts and intended recipient must match the stored assessment. A different assessment cannot reuse an explicit operationId."},"assessment":{"$ref":"#/components/schemas/AssessmentInput"},"operationId":{"type":"string","description":"Optional caller idempotency key for a bound prepare. Trimmed and limited to 200 characters. When omitted, the key is prepare:{assessmentId}:{intendedEmailNormalized} and is specific to that assessment and recipient, and a missing key still recovers the application already bound to that assessment. An explicit key is not namespaced by assessment: it determines one durable application id. Reusing it for a different assessment returns 409 operation_identity_conflict. Supplying a different explicit key when this assessment is already bound returns the same 409, does not reserve that key, and returns no claim token. The same assessment with a different stored preparation returns 409 operation_payload_mismatch. Both leave the application, assessment, and authority unchanged and return no claim token. The same assessment, recipient, and stored preparation returns the original application and claim token and does not write again."},"operatorRequestsExistingFormationAssistance":{"type":"boolean","description":"Optional. Accepted only when exactly true. With a stored assessmentId, an eligible insufficient_information assessment (goal present, no US entity, EIN not already held, no affirmed provider entity or EIN-only requirement) can issue a provisional non-actionable claim. The flag does not affirm a provider requirement, recommend formation, or authorize filing, quote, or payment. String values are refused. Omitted on every other path, including required_for_selected_path."},"assessmentOutcome":{"type":"string","description":"Fallback when preparation.assessmentOutcome is absent and no assessmentId/assessment is bound. Trimmed/truncated to 80 characters. Unknown values are refused. already_satisfied and not_needed_now are refused. insufficient_information cannot issue a claim token unless operatorRequestsExistingFormationAssistance is exactly true on an eligible stored assessment. A caller enum is not a server recommendation. Unbound allowed enum remains provisional advice, not actionable authorization."},"preparation":{"type":"object","properties":{"goal":{"type":"string","description":"Allowlisted and normalized; strings are trimmed/truncated, invalid enum values discarded."},"jurisdiction":{"type":"string","description":"Allowlisted and normalized; strings are trimmed/truncated, invalid enum values discarded."},"existingEntityStatus":{"type":"string","description":"Allowlisted and normalized; strings are trimmed/truncated, invalid enum values discarded."},"assessmentOutcome":{"type":"string","description":"Allowlisted and normalized; strings are trimmed/truncated, invalid enum values discarded."},"providerPath":{"type":"string","description":"Allowlisted and normalized; strings are trimmed/truncated, invalid enum values discarded."},"notes":{"type":"string","description":"Allowlisted and normalized; strings are trimmed/truncated, invalid enum values discarded."},"intendedEmail":{"type":"string","description":"Fallback when top-level intendedEmail is absent."}},"required":[]}},"required":[]},"AssessmentResponse":{"type":"object","properties":{"unknownFields":{"type":"array","items":{"type":"string","enum":["goal","hasUsEntity","hasEin","providerRequiresUsEntity","providerRequiresEin"]}},"assessment":{"type":"object","properties":{"outcome":{"type":"string","enum":["not_needed_now","already_satisfied","insufficient_information","recommended_for_review","required_for_selected_path"]},"summary":{"type":"string"},"rationale":{"type":"array","items":{"type":"string"}},"nextSteps":{"type":"array","items":{"type":"string"}},"evidenceLinks":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"url":{"type":"string"}},"required":["label","url"]}},"offer":{"anyOf":[{"type":"object","properties":{"serviceId":{"const":"llc-ein-399"},"priceNote":{"type":"string"},"timingNote":{"type":"string"}},"required":["serviceId","priceNote","timingNote"]},{"type":"null"}]},"createsCheckout":{"const":false}},"required":["outcome","summary","rationale","nextSteps","evidenceLinks","offer","createsCheckout"]},"deploymentStatus":{"const":"available"},"assessmentId":{"type":"string"},"decisionBound":{"type":"boolean"},"authorizedState":{"type":"string","enum":["provisional_advice","actionable_bound"]},"actionableAuthorized":{"type":"boolean"},"filingAuthorization":{"const":false},"adviceStatus":{"const":"provisional"}},"required":["unknownFields","assessment","deploymentStatus","assessmentId","decisionBound","authorizedState","actionableAuthorized","filingAuthorization","adviceStatus"]},"PrepareResponse":{"oneOf":[{"type":"object","properties":{"applicationId":{"type":"string"},"status":{"type":"string","enum":["provisional","provisional_incomplete","claimed","quoted","paid","async_pending","async_failed"]},"preparation":{"$ref":"#/components/schemas/Preparation"},"reviewUrl":{"type":"string"},"deploymentStatus":{"const":"available"},"note":{"type":"string"},"assessmentId":{"type":["string","null"]},"decisionBound":{"type":"boolean"},"authorizedState":{"type":"string","enum":["provisional_advice","actionable_bound"]},"actionableAuthorized":{"type":"boolean"},"filingAuthorization":{"const":false},"adviceStatus":{"const":"provisional"},"complete":{"const":true},"intendedEmailNormalized":{"type":"string"},"claimUrl":{"type":"string"},"claimToken":{"type":"string"},"humanAction":{"$ref":"#/components/schemas/HumanClaimAction"}},"required":["applicationId","status","preparation","reviewUrl","deploymentStatus","note","assessmentId","decisionBound","authorizedState","actionableAuthorized","filingAuthorization","adviceStatus","complete","intendedEmailNormalized","claimUrl","claimToken","humanAction"]},{"type":"object","properties":{"applicationId":{"type":"string"},"status":{"type":"string","enum":["provisional","provisional_incomplete","claimed","quoted","paid","async_pending","async_failed"]},"preparation":{"$ref":"#/components/schemas/Preparation"},"reviewUrl":{"type":"string"},"deploymentStatus":{"const":"available"},"note":{"type":"string"},"assessmentId":{"type":["string","null"]},"decisionBound":{"type":"boolean"},"authorizedState":{"type":"string","enum":["provisional_advice","actionable_bound"]},"actionableAuthorized":{"type":"boolean"},"filingAuthorization":{"const":false},"adviceStatus":{"const":"provisional"},"complete":{"const":false},"reason":{"type":"string"},"claimToken":{"type":"null"}},"required":["applicationId","status","preparation","reviewUrl","deploymentStatus","note","assessmentId","decisionBound","authorizedState","actionableAuthorized","filingAuthorization","adviceStatus","complete","reason","claimToken"]}]},"ClaimResponse":{"type":"object","properties":{"applicationId":{"type":"string"},"status":{"type":"string","enum":["provisional","provisional_incomplete","claimed","quoted","paid","async_pending","async_failed"]},"reviewUrl":{"type":"string"},"intakeUrl":{"type":"string"},"note":{"type":"string"},"assessmentId":{"type":["string","null"]},"decisionBound":{"type":"boolean"},"authorizedState":{"type":"string","enum":["provisional_advice","actionable_bound"]},"actionableAuthorized":{"type":"boolean"},"filingAuthorization":{"const":false},"adviceStatus":{"const":"provisional"}},"required":["applicationId","status","reviewUrl","intakeUrl","note","assessmentId","decisionBound","authorizedState","actionableAuthorized","filingAuthorization","adviceStatus"]},"ReviewResponse":{"type":"object","properties":{"applicationId":{"type":"string"},"status":{"type":"string","enum":["provisional","provisional_incomplete","claimed","quoted","paid","async_pending","async_failed"]},"scope":{"type":"object","properties":{"serviceId":{"const":"llc-ein-399"},"name":{"type":"string"},"baseCents":{"type":"integer"},"stateFeeCents":{"type":["integer","null"]},"totalCents":{"type":["integer","null"]},"currency":{"const":"usd"},"state":{"type":["string","null"]},"quoteVersion":{"type":["integer","null"]},"priceNote":{"type":"string"},"timingNote":{"type":"string"}},"required":["serviceId","name","baseCents","stateFeeCents","totalCents","currency","state","quoteVersion","priceNote","timingNote"]},"preparation":{"type":"object","properties":{"goal":{"type":["string","null"]},"existingEntityStatus":{"type":["string","null"]},"assessmentOutcome":{"type":["string","null"]},"providerPath":{"type":["string","null"]}},"required":["goal","existingEntityStatus","assessmentOutcome","providerPath"]},"remainingHumanTasks":{"type":"array","items":{"type":"string"}},"continueUrl":{"type":"string"},"effects":{"const":"none"},"note":{"type":"string"},"assessmentId":{"type":["string","null"]},"decisionBound":{"type":"boolean"},"authorizedState":{"type":"string","enum":["provisional_advice","actionable_bound"]},"actionableAuthorized":{"type":"boolean"},"filingAuthorization":{"const":false},"adviceStatus":{"const":"provisional"}},"required":["applicationId","status","scope","preparation","remainingHumanTasks","continueUrl","effects","note","assessmentId","decisionBound","authorizedState","actionableAuthorized","filingAuthorization","adviceStatus"]},"GrantResponse":{"type":"object","properties":{"grantId":{"type":"string"},"token":{"type":"string"},"expiresAt":{"type":"string"},"scopes":{"type":"array","items":{"const":"status"}},"note":{"type":"string"}},"required":["grantId","token","expiresAt","scopes","note"]},"GrantsResponse":{"type":"object","properties":{"grants":{"type":"array","items":{"type":"object","properties":{"grantId":{"type":"string"},"expiresAt":{"type":"string"},"revokedAt":{"type":["string","null"]},"createdAt":{"type":"string"}},"required":["grantId","expiresAt","revokedAt","createdAt"]}}},"required":["grants"]},"StatusResponse":{"type":"object","properties":{"status":{"type":"object","properties":{"applicationId":{"type":"string"},"status":{"type":"string","enum":["provisional","provisional_incomplete","claimed","quoted","paid","async_pending","async_failed"]},"preparation":{"type":"object","properties":{"goal":{"type":["string","null"]},"jurisdiction":{"type":["string","null"]},"existingEntityStatus":{"type":["string","null"]},"assessmentOutcome":{"type":["string","null"]},"providerPath":{"type":["string","null"]}},"required":["goal","jurisdiction","existingEntityStatus","assessmentOutcome","providerPath"]},"quote":{"anyOf":[{"type":"object","properties":{"version":{"type":"integer"},"serviceId":{"type":"string"},"state":{"type":"string"},"baseCents":{"type":"integer"},"stateFeeCents":{"type":"integer"},"totalCents":{"type":"integer"},"currency":{"const":"usd"},"attemptId":{"type":"string"}},"required":["version","serviceId","state","baseCents","stateFeeCents","totalCents","currency","attemptId"]},{"type":"null"}]},"fulfillmentStatus":{"type":["string","null"]},"nextAction":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string"},"url":{"type":"string"}},"required":["kind"]},{"type":"null"}]},"einIssued":{"type":"boolean"},"notes":{"type":"array","items":{"type":"string"}},"assessmentId":{"type":["string","null"]},"decisionBound":{"type":"boolean"},"authorizedState":{"type":"string","enum":["provisional_advice","actionable_bound"]},"actionableAuthorized":{"type":"boolean"},"filingAuthorization":{"const":false},"adviceStatus":{"const":"provisional"}},"required":["applicationId","status","preparation","quote","fulfillmentStatus","nextAction","einIssued","notes","assessmentId","decisionBound","authorizedState","actionableAuthorized","filingAuthorization","adviceStatus"]},"deploymentStatus":{"const":"available"}},"required":["status","deploymentStatus"]},"Effects":{"type":"object","properties":{"readOnly":{"const":true},"files":{"const":false},"createsAccount":{"const":false},"takesPayment":{"const":false}},"required":["readOnly","files","createsAccount","takesPayment"]},"SourcedMoney":{"type":"object","properties":{"amountUsd":{"type":["number","null"]},"label":{"type":"string"},"notes":{"type":"string"},"sourceUrl":{"type":"string","format":"uri"},"sourceTitle":{"type":"string"},"retrieved":{"type":"string","format":"date"}},"required":["label","sourceUrl","retrieved"]},"CompareStatesInput":{"type":"object","additionalProperties":false,"properties":{},"required":[]},"CompareStatesResponse":{"type":"object","properties":{"retrieved":{"type":"string","format":"date"},"disclaimer":{"type":"string"},"states":{"type":"array","minItems":6,"items":{"type":"object"}},"effects":{"$ref":"#/components/schemas/Effects"}},"required":["retrieved","disclaimer","states","effects"]},"EinRouteInput":{"type":"object","additionalProperties":false,"required":["hasSsnOrItin","principalBusinessInUs"],"properties":{"hasSsnOrItin":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false","1","0","yes","no"]}]},"principalBusinessInUs":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false","1","0","yes","no"]}]}}},"EinRouteResponse":{"type":"object","properties":{"channels":{"type":"array","items":{"type":"object"}},"eligibleChannels":{"type":"array","items":{"type":"string","enum":["online","phone","fax","mail"]}},"einLlcTiming":{"type":"string"},"effects":{"$ref":"#/components/schemas/Effects"}},"required":["channels","eligibleChannels","einLlcTiming","effects"]},"ComplianceDeadlinesInput":{"type":"object","additionalProperties":false,"required":["entityType","ownerResidency","formationState","formationDate"],"properties":{"entityType":{"type":"string","enum":["single-member-llc","multi-member-llc","corporation"]},"ownerResidency":{"type":"string","enum":["foreign","us"]},"formationState":{"type":"string","minLength":1,"maxLength":80},"formationDate":{"type":"string","format":"date"},"reportableTransactions":{"type":"string","enum":["yes","no","unknown"]},"partVTransactions":{"type":"string","enum":["yes","no","unknown"]}}},"ComplianceDeadlinesResponse":{"type":"object","properties":{"obligations":{"type":"array","items":{"type":"object"}},"form5472":{"type":["object","null"]},"icsUrl":{"type":"string","format":"uri"},"effects":{"$ref":"#/components/schemas/Effects"}},"required":["obligations","effects"]}}},"paths":{"/api/agent/v1/paid-intake":{"post":{"operationId":"openPaidIntake","summary":"Get a quote and payment link for an existing order","description":"Get the frozen USD quote, exact Base USDC payment resource and private owner link for formation or EIN-only. Confirm the quote and your spending authority before using x402 or MPP on the returned resource. Formation: Use an existing prepared application and its scoped claim token, or a verified owner with the reviewed checkout attempt and quote. Review the exact server price, including the state fee. EIN-only: Sign in with a verified email and confirm the existing company's details in the dashboard. Read the owned filing order's quoteVersion and price.totalCents from GET /api/filings. Send the verified Firebase ID token in the Authorization header.","security":[{},{"FirebaseIdToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidIntakeOpenInput"}}}},"responses":{"200":{"description":"Scoped quote, payment and owner continuation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidIntakeResponse"}}}},"400":{"description":"Check the product, reference, operation key and accepted fields.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidIntakeError"}}}},"401":{"description":"Use the scoped claim token or sign in with the verified owner account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidIntakeError"}}}},"403":{"description":"Verify the owner's email before continuing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidIntakeError"}}}},"404":{"description":"Use the original scope, credential and operation key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidIntakeError"}}}},"409":{"description":"Check the exact existing quote or recover the original payment.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidIntakeError"}}}},"413":{"description":"Send only the fields for the selected product and operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidIntakeError"}}}},"429":{"description":"Continue after the rate limit resets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidIntakeError"}}}},"503":{"description":"Check for the original payment before continuing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidIntakeError"}}}}}}},"/api/agent/v1/paid-intake/status":{"post":{"operationId":"readPaidIntake","summary":"Read an existing payment and owner action","description":"Recover the original quote, finalized payment receipt and owner action using the same operation key and scoped credential. For pending settlement, GET the original payment resource without payment credentials to ask for reconciliation. Formation: Use an existing prepared application and its scoped claim token, or a verified owner with the reviewed checkout attempt and quote. Review the exact server price, including the state fee. EIN-only: Sign in with a verified email and confirm the existing company's details in the dashboard. Read the owned filing order's quoteVersion and price.totalCents from GET /api/filings. Send the verified Firebase ID token in the Authorization header.","security":[{},{"FirebaseIdToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidIntakeStatusInput"}}}},"responses":{"200":{"description":"Scoped quote, payment and owner continuation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidIntakeResponse"}}}},"400":{"description":"Check the product, reference, operation key and accepted fields.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidIntakeError"}}}},"401":{"description":"Use the scoped claim token or sign in with the verified owner account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidIntakeError"}}}},"403":{"description":"Verify the owner's email before continuing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidIntakeError"}}}},"404":{"description":"Use the original scope, credential and operation key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidIntakeError"}}}},"409":{"description":"Check the exact existing quote or recover the original payment.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidIntakeError"}}}},"413":{"description":"Send only the fields for the selected product and operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidIntakeError"}}}},"429":{"description":"Continue after the rate limit resets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidIntakeError"}}}},"503":{"description":"Check for the original payment before continuing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidIntakeError"}}}}}}},"/api/agent/v1/assessments":{"post":{"operationId":"assessFormation","summary":"Assess formation need without checkout","description":"Anonymous. 30 requests per 60-second window per client. Missing or uncertain facts remain uncertain. The result is provisional advice, not filing authorization. An assessmentId is stored so prepare can bind the same decision. An SSN-shaped field name or value is rejected with 400 and nothing is stored.","security":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssessmentInput"}}}},"responses":{"200":{"description":"Assessment only; no checkout created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssessmentResponse"}}}},"400":{"description":"Invalid request or refused assessment outcome","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/agent/v1/applications":{"post":{"operationId":"prepareApplication","summary":"Prepare a non-sensitive provisional application","description":"Anonymous. 20 requests per 60-second window per client. Unbound prepare creates a new application and has no idempotency key. Bound prepare (assessmentId + intendedEmail) uses one transactional create/bind/authority protocol. A retry of the same assessment, intended email, and stored preparation returns the original application and claim token while it is unclaimed, and does not create a second application or rewrite authority. An explicit operationId already used by another assessment returns 409 operation_identity_conflict with no mutation and no claim token. An explicit operationId that does not name the application already bound to this assessment returns that same 409 and does not reserve the unused key. Omitting operationId still recovers the bound application. A changed preparation for that same operation returns 409 operation_payload_mismatch on the same terms. A different email or a claimed application returns 409 without a token. An assessment older than 10 minutes cannot create a new application (409 assessment_expired); recovering an already stored application ignores that age. Missing or invalid intendedEmail returns complete=false and no claim token. Caller outcome or fact replacement against a stored assessment is refused. Unbound allowed enum stays claimable for the intended email and is not an actionable authorized state. When operatorRequestsExistingFormationAssistance is exactly true, an eligible stored insufficient_information assessment can issue a provisional non-actionable claim; a retry must resend that same flag, and omitting it keeps the incomplete-assessment refusal. That claim is not a formation recommendation. Never approval, payment, or filing authorization.","security":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrepareInput"}}}},"responses":{"201":{"description":"Claimable or incomplete application created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrepareResponse"}}}},"400":{"description":"Invalid request or refused assessment outcome","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Application, grant, or assessment not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Application is incomplete or not yet claimed, assessment already bound to another recipient, operationId belongs to a different assessment or payload, stale quote, or qualification facts changed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Public origin configuration unavailable; no mutation performed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/agent/v1/applications/{applicationId}/payment":{"parameters":[{"name":"applicationId","in":"path","required":true,"schema":{"type":"string","minLength":1}}],"post":{"operationId":"openApplicationPayment","summary":"Get the Base USDC payment terms for this application","description":"Send the original claim token here. GET paymentUrl for the x402 quote. Resend that GET with the wallet-signed payment header to receive the same order receipt or current status. The intended recipient claims the application, provides intake and signs separately.","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"claimToken":{"type":"string"}},"required":["claimToken"]}}}},"responses":{"201":{"description":"Payment resource for the stored state and price","content":{"application/json":{"schema":{"type":"object","properties":{"order":{"type":"string"},"paymentUrl":{"type":"string"},"version":{"type":"string"},"cents":{"type":"integer"},"network":{"const":"eip155:8453"},"filingAuthorization":{"const":false}},"required":["order","paymentUrl","version","cents","network","filingAuthorization"]}}}},"400":{"description":"Invalid request or refused assessment outcome","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Application, grant, or assessment not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Application is incomplete or not yet claimed, assessment already bound to another recipient, operationId belongs to a different assessment or payload, stale quote, or qualification facts changed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Public origin configuration unavailable; no mutation performed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/agent/v1/applications/{applicationId}/claim":{"parameters":[{"name":"applicationId","in":"path","required":true,"schema":{"type":"string","minLength":1}}],"post":{"operationId":"claimApplication","summary":"Verified intended recipient claims the application","description":"Requires verified Firebase email matching the intended recipient. A forwarded GET never claims. The claim token must be posted in the JSON body; a query parameter is not accepted.","security":[{"FirebaseIdToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"claimToken":{"type":"string","minLength":1}},"required":["claimToken"]}}}},"responses":{"200":{"description":"Application claimed by authenticated recipient","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimResponse"}}}},"400":{"description":"Invalid request or refused assessment outcome","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, invalid, expired or revoked credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong owner, intended recipient, grant scope, or unverified email","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Application, grant, or assessment not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Application is incomplete or not yet claimed, assessment already bound to another recipient, operationId belongs to a different assessment or payload, stale quote, or qualification facts changed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Public origin configuration unavailable; no mutation performed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/agent/v1/applications/{applicationId}/review":{"parameters":[{"name":"applicationId","in":"path","required":true,"schema":{"type":"string","minLength":1}}],"get":{"operationId":"reviewApplication","summary":"Read-only owner review packet; never claims or pays","security":[{"FirebaseIdToken":[]}],"responses":{"200":{"description":"Protected review packet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewResponse"}}}},"401":{"description":"Missing, invalid, expired or revoked credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong owner, intended recipient, grant scope, or unverified email","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Application, grant, or assessment not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Application is incomplete or not yet claimed, assessment already bound to another recipient, operationId belongs to a different assessment or payload, stale quote, or qualification facts changed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/agent/v1/applications/{applicationId}/grants":{"parameters":[{"name":"applicationId","in":"path","required":true,"schema":{"type":"string","minLength":1}}],"post":{"operationId":"issueStatusGrant","summary":"Verified owner issues a status-only grant","security":[{"FirebaseIdToken":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"expiresInSeconds":{"type":"number","description":"Numbers greater than 60 are accepted and capped at 7776000 (90 days). Missing, non-numeric or values <=60 use 2592000 (30 days). This is normalization, not a 400 validation boundary."}},"required":[]}}}},"responses":{"201":{"description":"Copy token now; it is never returned by listing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrantResponse"}}}},"401":{"description":"Missing, invalid, expired or revoked credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong owner, intended recipient, grant scope, or unverified email","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Application, grant, or assessment not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"get":{"operationId":"listStatusGrants","summary":"Owner lists grants without token secrets","security":[{"FirebaseIdToken":[]}],"responses":{"200":{"description":"Grants, including expired/revoked records","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrantsResponse"}}}},"401":{"description":"Missing, invalid, expired or revoked credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong owner, intended recipient, grant scope, or unverified email","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Application, grant, or assessment not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/agent/v1/applications/{applicationId}/grants/{grantId}":{"parameters":[{"name":"applicationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"grantId","in":"path","required":true,"schema":{"type":"string","minLength":1}}],"delete":{"operationId":"revokeStatusGrant","summary":"Owner revokes an application-scoped grant","security":[{"FirebaseIdToken":[]}],"responses":{"204":{"description":"Grant revoked; no response body"},"401":{"description":"Missing, invalid, expired or revoked credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong owner, intended recipient, grant scope, or unverified email","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Application, grant, or assessment not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/agent/v1/applications/{applicationId}/status":{"parameters":[{"name":"applicationId","in":"path","required":true,"schema":{"type":"string","minLength":1}}],"get":{"operationId":"getApplicationStatus","summary":"Read redacted status using an agent grant","description":"Never returns passport, SSN, EIN digits or document URLs. Payment is not EIN issued.","security":[{"AgentGrant":[]}],"responses":{"200":{"description":"Redacted status","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusResponse"}}}},"401":{"description":"Missing, invalid, expired or revoked credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong owner, intended recipient, grant scope, or unverified email","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Application, grant, or assessment not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/agent/v1/openapi.json":{"get":{"operationId":"getFormationContract","summary":"Read this OpenAPI contract","security":[],"responses":{"200":{"description":"OpenAPI 3.1 document","content":{"application/json":{"schema":{"type":"object","required":["openapi","info","paths"]}}}}}}},"/api/agent/v1/compare-states":{"get":{"operationId":"compareStates","summary":"Compare sourced LLC state fees","description":"Read-only. Returns structured rows for Wyoming, Delaware, New Mexico, Florida, Texas, and California. Every fee has a government source URL and a retrieved date. Does not file, open an account, or take payment.","security":[],"responses":{"200":{"description":"Sourced state rows","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompareStatesResponse"}}}},"400":{"description":"Check the query fields and accepted values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"description":"Follow rel=help for a guide to the matching input error when provided.","schema":{"type":"string"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/agent/v1/ein-route":{"get":{"operationId":"explainEinRoute","summary":"Explain the IRS EIN channel for these facts","description":"Read-only. Query hasSsnOrItin and principalBusinessInUs. Returns IRS online, phone, fax, and mail timing. A principal business outside the United States is offered phone, fax, and mail only. Does not state another vendor's day count. Does not file or take payment.","security":[],"parameters":[{"name":"hasSsnOrItin","in":"query","required":true,"schema":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false","1","0","yes","no"]}]}},{"name":"principalBusinessInUs","in":"query","required":true,"schema":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false","1","0","yes","no"]}]}}],"responses":{"200":{"description":"IRS channels and qualified EIN.LLC timing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EinRouteResponse"}}}},"400":{"description":"Check the query fields and accepted values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"description":"Follow rel=help for a guide to the matching input error when provided.","schema":{"type":"string"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/agent/v1/compliance-deadlines":{"get":{"operationId":"getComplianceDeadlines","summary":"Read dated compliance obligations","description":"Read-only. Form 5472 with pro forma Form 1120 is conditional on reportable transactions and entity status, not automatic for every foreign-owned SMLLC. Unknown transaction facts stay unknown/needs-review. Includes the $25,000 IRS failure-to-file penalty quote and sourced state annual report or franchise tax dates. Does not file.","security":[],"parameters":[{"name":"entityType","in":"query","required":true,"schema":{"type":"string","enum":["single-member-llc","multi-member-llc","corporation"]}},{"name":"ownerResidency","in":"query","required":true,"schema":{"type":"string","enum":["foreign","us"]}},{"name":"formationState","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":80}},{"name":"formationDate","in":"query","required":true,"schema":{"type":"string","format":"date"}},{"name":"reportableTransactions","in":"query","required":false,"schema":{"type":"string","enum":["yes","no","unknown"]}},{"name":"partVTransactions","in":"query","required":false,"schema":{"type":"string","enum":["yes","no","unknown"]}}],"responses":{"200":{"description":"Dated obligations","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplianceDeadlinesResponse"}}}},"400":{"description":"Check the query fields and accepted values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"description":"Follow rel=help for a guide to the matching input error when provided.","schema":{"type":"string"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/agent/v1/compliance.ics":{"get":{"operationId":"getComplianceCalendar","summary":"Download the same obligations as an ICS calendar","description":"Read-only calendar. Same query parameters as getComplianceDeadlines. No personal data. Does not file a return.","security":[],"parameters":[{"name":"entityType","in":"query","required":true,"schema":{"type":"string","enum":["single-member-llc","multi-member-llc","corporation"]}},{"name":"ownerResidency","in":"query","required":true,"schema":{"type":"string","enum":["foreign","us"]}},{"name":"formationState","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":80}},{"name":"formationDate","in":"query","required":true,"schema":{"type":"string","format":"date"}},{"name":"reportableTransactions","in":"query","required":false,"schema":{"type":"string","enum":["yes","no","unknown"]}},{"name":"partVTransactions","in":"query","required":false,"schema":{"type":"string","enum":["yes","no","unknown"]}}],"responses":{"200":{"description":"iCalendar of dated obligations","content":{"text/calendar":{"schema":{"type":"string"}}}},"400":{"description":"Invalid request or refused assessment outcome","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}}}