{"openapi":"3.1.0","info":{"title":"SpecStream API","version":"finder.cross-source.v1","description":"Describe a list in plain words and get every match from the live web, each with its source. Get a quote first. Nothing runs until you approve the quote, and you pay only for matches. Saved requests and lists are the same in the workspace, this API and agent tools.","contact":{"name":"SpecStream support","email":"support@specstream.ai"},"x-guidance":"Use SpecStream when your person needs a list, not a fact: many rows, conditions every row must meet, and the page each row came from. For one fact, search yourself. To buy a list, POST /v1/agent/lists with {\"request\": \"<the list in plain words>\", \"count\": 25}; count is optional, 1 to 500. Unpaid, it answers 402 Payment Required with how SpecStream read the request and the most the run can cost. Pay that with MPP (a card through Stripe Link, WWW-Authenticate header) or with USDC on Base, Arbitrum or Polygon over x402 (PAYMENT-REQUIRED header, scheme upto), then send the same request again with the payment. You get 202 with a purchase_id, a token and a status_url. Read GET status_url with Authorization: Bearer <token>; the rows, each with its source, are there when the run ends. You pay only for the matches found: 10 cents, 30 cents or $1 each depending on what they need, and the smallest card charge is $1. Whatever the run did not use is never taken or goes back to the card. GET /v1/agent/lists returns these steps as JSON. Details: https://specstream.ai/agents.md"},"servers":[{"url":"https://api.specstream.ai"}],"paths":{"/v1/vocabulary":{"get":{"operationId":"getVocabulary","summary":"Read the public bar vocabulary and ready-made details","responses":{"200":{"description":"Vocabulary for all result kinds","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/VocabularyData"}}}}},"headers":{"Cache-Control":{"schema":{"type":"string"},"description":"public, max-age=3600"},"ETag":{"schema":{"type":"string"},"description":"Stable strong response validator"}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"304":{"description":"Vocabulary unchanged; empty body","headers":{"Cache-Control":{"schema":{"type":"string"},"description":"public, max-age=3600"},"ETag":{"schema":{"type":"string"},"description":"Stable strong response validator"}}}},"security":[],"parameters":[{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string"}}]}},"/v1/dictation/capabilities":{"get":{"operationId":"dictationCapabilities","summary":"Read configured hosted dictation support","responses":{"200":{"description":"Dictation configuration and limits","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/DictationCapabilities"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"apiKey":[]}]}},"/v1/dictation/transcribe":{"post":{"operationId":"transcribeDictation","summary":"Transcribe a recorded request with a hosted speech service; nothing runs","responses":{"200":{"description":"Editable transcript and recording identity","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/DictationResult"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"document_id","in":"query","required":true,"schema":{"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$","title":"Document Id","type":"string"}},{"name":"revision","in":"query","required":true,"schema":{"maximum":9007199254740991,"minimum":0,"title":"Revision","type":"integer"}},{"name":"recording_id","in":"query","required":true,"schema":{"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$","title":"Recording Id","type":"string"}},{"name":"sequence","in":"query","required":false,"schema":{"default":0,"maximum":9007199254740991,"minimum":0,"title":"Sequence","type":"integer"}},{"name":"base_text_hash","in":"query","required":true,"schema":{"pattern":"^[0-9a-f]{64}$","title":"Base Text Hash","type":"string"}},{"name":"language","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Language"}},{"name":"expected_audio_sha256","in":"query","required":false,"schema":{"anyOf":[{"pattern":"^[0-9a-f]{64}$","type":"string"},{"type":"null"}],"default":null,"title":"Expected Audio Sha256"}}],"requestBody":{"required":true,"content":{"audio/wav":{"schema":{"type":"string","format":"binary","maxLength":4194304}},"audio/x-wav":{"schema":{"type":"string","format":"binary","maxLength":4194304}},"audio/wave":{"schema":{"type":"string","format":"binary","maxLength":4194304}},"audio/flac":{"schema":{"type":"string","format":"binary","maxLength":4194304}},"audio/x-flac":{"schema":{"type":"string","format":"binary","maxLength":4194304}},"audio/webm":{"schema":{"type":"string","format":"binary","maxLength":4194304}},"audio/ogg":{"schema":{"type":"string","format":"binary","maxLength":4194304}},"audio/mp4":{"schema":{"type":"string","format":"binary","maxLength":4194304}},"audio/x-m4a":{"schema":{"type":"string","format":"binary","maxLength":4194304}},"audio/mpeg":{"schema":{"type":"string","format":"binary","maxLength":4194304}},"application/octet-stream":{"schema":{"type":"string","format":"binary","maxLength":4194304}}}},"security":[{"apiKey":[]}]}},"/v1/parse":{"post":{"operationId":"parseQuery","summary":"Read a request in plain words and return an editable reading","responses":{"200":{"description":"The reading, its editable parts, status and hash","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ParseResult"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParseRequest"}}}},"security":[{"apiKey":[]}]}},"/v1/understand":{"post":{"operationId":"understandLive","summary":"Read an exact editor snapshot without saving or authorizing work","responses":{"200":{"description":"Versioned source receipt","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/LiveUnderstandingResult"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveUnderstandingRequest"}}}},"security":[{"apiKey":[]}]}},"/v1/workspace/audit":{"get":{"operationId":"workspaceListAuditEvents","summary":"Read immutable twelve-month activity with current owner permissions","responses":{"200":{"description":"Authorized activity page","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WorkspaceAuditPage"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"project_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"actor_account_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"}},{"name":"kind","in":"query","required":false,"schema":{"type":"string","enum":["Sign-in","Access","Spending","Exports","Automation","Lists"]}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":50}}],"security":[{"apiKey":[]}]}},"/v1/workspace/audit/export":{"get":{"operationId":"workspaceExportAuditEvents","summary":"Export an authorized activity page; follow X-Next-Cursor","responses":{"200":{"description":"CSV page","content":{"text/csv":{"schema":{"type":"string"}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"project_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"actor_account_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"}},{"name":"kind","in":"query","required":false,"schema":{"type":"string","enum":["Sign-in","Access","Spending","Exports","Automation","Lists"]}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":100}}],"security":[{"apiKey":[]}]}},"/v1/search":{"get":{"operationId":"workspaceSearch","summary":"Search the requests, lists and sources you can open","responses":{"200":{"description":"Bounded search page; follow next_cursor even when results is empty","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WorkspaceSearchPage"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":30}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/notifications":{"get":{"operationId":"workspaceListNotifications","summary":"Read your inbox with current resource authorization","responses":{"200":{"description":"Bounded inbox page","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WorkspaceNotificationPage"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"tab","in":"query","required":false,"schema":{"type":"string","enum":["all","unread","archived"],"default":"all"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/notifications/{identifier}":{"patch":{"operationId":"workspaceUpdateNotification","summary":"Persist read or archive state from your signed-in browser","responses":{"200":{"description":"Updated notification","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WorkspaceNotification"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationPatch"}}}},"parameters":[{"name":"identifier","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/notifications/read":{"post":{"operationId":"workspaceReadNotifications","summary":"Mark the supplied authorized notifications read atomically","responses":{"200":{"description":"Updated notifications","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WorkspaceNotifications"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationRead"}}}},"security":[{"apiKey":[]}]}},"/v1/workspace/imports/file":{"post":{"operationId":"workspaceImportFile","summary":"Import supplied CSV or XLSX values from your signed-in browser","responses":{"200":{"description":"Durable unverified supplied rows","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WorkspaceImportData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"import_id","in":"query","required":true,"schema":{"maxLength":128,"minLength":8,"pattern":"^[A-Za-z0-9_-]+$","title":"Import Id","type":"string"}},{"name":"name","in":"query","required":true,"schema":{"maxLength":120,"minLength":1,"title":"Name","type":"string"}},{"name":"format","in":"query","required":true,"schema":{"enum":["csv","xlsx"],"title":"Format","type":"string"}},{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Project Id"}},{"name":"sheet","in":"query","required":false,"schema":{"anyOf":[{"maxLength":31,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Sheet"}}],"requestBody":{"required":true,"content":{"text/csv":{"schema":{"type":"string","format":"binary","maxLength":2000000}},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"schema":{"type":"string","format":"binary","maxLength":2000000}}}},"security":[{"apiKey":[]}]}},"/v1/parse/from-chips":{"post":{"operationId":"parseFromChips","summary":"Edit the reading with typed changes, without a model call","responses":{"200":{"description":"The edited reading","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ParseResult"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParseFromChipsRequest"}}}},"security":[{"apiKey":[]}]}},"/v1/spec-options/{target}":{"get":{"operationId":"getSpecOptions","summary":"Read the conditions and details you can ask for on one record type","responses":{"200":{"description":"Request options","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/SpecOptionsData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"target","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/finds/{id}/revisit":{"get":{"operationId":"getRevisitReport","summary":"Read which saved results a refresh reached, and which it did not","responses":{"200":{"description":"Refresh coverage","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/RevisitPage"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"after","in":"query","required":false,"schema":{"type":"string","default":""}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":100}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/finds/{id}":{"get":{"operationId":"getFind","summary":"Owner find snapshot","responses":{"200":{"description":"Find snapshot","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Find"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/finds/{id}/events":{"get":{"operationId":"findEvents","summary":"SSE stream with Last-Event-ID","responses":{"200":{"description":"text/event-stream","content":{"text/event-stream":{"schema":{"$ref":"#/components/schemas/SseEvent"}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"after","in":"query","required":false,"schema":{"type":"integer"}},{"name":"Last-Event-ID","in":"header","required":false,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/finds/{id}/rows":{"get":{"operationId":"getFindRows","summary":"Read the matches, with possible matches listed apart and never billed","responses":{"200":{"description":"Rows page","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/FindRowsPage"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":2048}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":100}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/finds/{id}/cancel":{"post":{"operationId":"cancelFind","summary":"Request cancel","responses":{"200":{"description":"Cancel accepted","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/CancelData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/finds/{id}/export":{"post":{"operationId":"exportFind","summary":"One-use signed download","responses":{"200":{"description":"Export","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ExportData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportRequest"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/finds/{id}/share":{"post":{"operationId":"shareFind","summary":"Snapshot share token","responses":{"200":{"description":"Share","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ShareData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShareCreateRequest"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/share/{id}/revoke":{"post":{"operationId":"revokeShare","summary":"Revoke snapshot","responses":{"200":{"description":"Revoked share","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":["share_id","revoked"],"properties":{"share_id":{"type":"string"},"revoked":{"type":"boolean","const":true}}}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShareRevokeRequest"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/auth/magic":{"post":{"operationId":"requestMagicLink","summary":"Request a one-use sign-in link","responses":{"200":{"description":"Accepted","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":["accepted"],"properties":{"accepted":{"type":"boolean","const":true}}}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MagicLinkRequest"}}}},"security":[]}},"/v1/auth/magic/consume":{"get":{"operationId":"consumeMagicLink","summary":"Bind account cookie; 303 to account/find","responses":{"303":{"description":"Redirect"},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"token","in":"query","required":false,"schema":{"type":"string"}}],"security":[]},"post":{"operationId":"consumeMagicLinkPost","summary":"Consume email proof without a query-string bearer","responses":{"303":{"description":"Account session issued; redirect to account"},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MagicLinkConsumeRequest"}}}},"security":[]}},"/v1/account":{"get":{"operationId":"getAccount","summary":"Paid history","responses":{"200":{"description":"Account","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/AccountData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"apiKey":[]}]}},"/v1/account/delete":{"post":{"operationId":"deleteAccount","summary":"Revoke and grace purge","responses":{"200":{"description":"Deleted","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/AccountDeleteData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"apiKey":[]}]}},"/v1/account/export":{"get":{"operationId":"exportAccount","summary":"Account export","responses":{"200":{"description":"Accepted","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":[],"properties":{}}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"apiKey":[]}]}},"/v1/account/keys":{"get":{"operationId":"listAccountKeys","summary":"List API keys","responses":{"200":{"description":"Keys","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":["keys"],"properties":{"keys":{"type":"array","items":{"$ref":"#/components/schemas/KeyListItem"}}}}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"apiKey":[]}]},"post":{"operationId":"createAccountKey","summary":"Create ss_live_ or ss_test_ key","responses":{"200":{"description":"Created key","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/KeyCreateData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyCreateRequest"}}}},"security":[{"apiKey":[]}]}},"/v1/account/keys/{id}":{"delete":{"operationId":"revokeAccountKey","summary":"Revoke an API key","responses":{"200":{"description":"Revoked","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":["revoked"],"properties":{"revoked":{"type":"boolean","const":true}}}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/account/webhooks":{"post":{"operationId":"createCustomerWebhook","summary":"Register find.completed webhook","responses":{"200":{"description":"Webhook","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/CustomerWebhookData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerWebhookRequest"}}}},"security":[{"apiKey":[]}]},"get":{"operationId":"listCustomerWebhooks","summary":"List owned callback destinations without secrets","responses":{"200":{"description":"Callbacks","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/CustomerWebhookListData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"apiKey":[]}]}},"/v1/me":{"get":{"operationId":"getMe","summary":"Spend ceiling and remaining_spend authorization state","responses":{"200":{"description":"Me","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/MeData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"apiKey":[]}]}},"/v1/oauth/authorize":{"get":{"operationId":"oauthAuthorize","summary":"OAuth2 authorization-code + PKCE","responses":{"302":{"description":"Redirect with code"},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"client_id","in":"query","required":true,"schema":{"type":"string"}},{"name":"redirect_uri","in":"query","required":true,"schema":{"type":"string"}},{"name":"code_challenge","in":"query","required":true,"schema":{"type":"string"}},{"name":"state","in":"query","required":false,"schema":{"type":"string"}},{"name":"response_type","in":"query","required":false,"schema":{"type":"string","enum":["code"],"default":"code"}}],"security":[]}},"/v1/oauth/token":{"post":{"operationId":"oauthToken","summary":"Exchange PKCE code for access token","responses":{"200":{"description":"Token","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/OauthTokenData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OauthTokenRequest"}}}},"security":[]}},"/v1/opt-out":{"post":{"operationId":"optOut","summary":"Public suppression opt-out","responses":{"200":{"description":"Accepted","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":["suppressed"],"properties":{"suppressed":{"type":"boolean","const":true}}}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptOutRequest"}}}},"security":[]}},"/v1/support/tickets":{"post":{"operationId":"openSupportTicket","summary":"Correction or report ticket","responses":{"200":{"description":"Ticket","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/SupportTicketData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportTicketRequest"}}}},"security":[{"apiKey":[]},{}]}},"/v1/events":{"post":{"operationId":"ingestEvent","summary":"Closed first-party analytics event","responses":{"200":{"description":"Accepted","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":[],"properties":{}}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsEvent"}}}},"security":[{"apiKey":[]},{}]}},"/webhooks/stripe":{"post":{"operationId":"stripeWebhook","summary":"Stripe HMAC money authority","responses":{"200":{"description":"Acknowledged"},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[]}},"/mcp":{"post":{"operationId":"mcpDoor","summary":"Streamable HTTP MCP door","responses":{"200":{"description":"MCP","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/McpData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"apiKey":[]}]}},"/healthz":{"get":{"operationId":"healthz","summary":"Process health","responses":{"200":{"description":"Health","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Healthz"}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[]}},"/readyz":{"get":{"operationId":"readyz","summary":"Database readiness","responses":{"200":{"description":"Ready","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Readyz"}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[]}},"/v1/finds/{id}/commerce":{"get":{"operationId":"getFindCommerce","summary":"Read payment, fulfillment and access truth","responses":{"200":{"description":"Commercial state","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/CommerceData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/finds/{id}/reconcile":{"post":{"operationId":"reconcileFindCommerce","summary":"Recover the existing purchase without rerunning work","responses":{"200":{"description":"Commercial state","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/CommerceData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/auth/logout":{"post":{"operationId":"logoutSession","summary":"Revoke this browser session","responses":{"200":{"description":"Logged out","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":["logged_out"],"properties":{"logged_out":{"type":"boolean"}}}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[]}},"/v1/account/webhooks/{id}":{"delete":{"operationId":"revokeCustomerWebhook","summary":"Revoke an owned callback and cancel queued deliveries","responses":{"200":{"description":"Revoked","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":["revoked"],"properties":{"revoked":{"type":"boolean"}}}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/finds/{id}/delivery":{"get":{"operationId":"getDelivery","summary":"Read your finished results with the request revision and sources behind them","responses":{"200":{"description":"Delivery","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/DeliveryProjection"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/finds/{id}/decisions":{"get":{"operationId":"getFindDecisions","summary":"Read currently authorized Match decisions","responses":{"200":{"description":"Match decisions","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/DecisionPage"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":100}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/finds/{id}/decisions/replay":{"get":{"operationId":"replayFindDecisions","summary":"Replay saved match decisions from their saved sources, with no new source or model calls","responses":{"200":{"description":"Replay result","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ReplayCheck"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/account/spend":{"patch":{"operationId":"setAccountSpend","summary":"Set an explicit owner authorization ceiling without funding or spending","responses":{"200":{"description":"Authorization ceiling","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/AccountSpendData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountSpendRequest"}}}},"security":[{"apiKey":[]}]}},"/v1/specs":{"post":{"operationId":"createSpec","summary":"Save a request as its first revision","responses":{"201":{"description":"Saved request","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/SavedSpec"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpecCreateRequest"}}}},"security":[{"apiKey":[]}]},"get":{"operationId":"listSpecs","summary":"List the saved requests you can open","responses":{"200":{"description":"Saved requests","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/SpecPage"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"}},{"name":"project_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"archived","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"security":[{"apiKey":[]}]}},"/v1/specs/{id}":{"get":{"operationId":"getSpec","summary":"Read a saved request and its current revision","responses":{"200":{"description":"Saved request","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/SavedSpec"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]},"patch":{"operationId":"archiveSpec","summary":"Archive or restore a saved request","responses":{"200":{"description":"Saved request","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/SavedSpec"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpecArchiveRequest"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/specs/{id}/revisions":{"post":{"operationId":"reviseSpec","summary":"Create an immutable revision only if the expected head still matches","responses":{"201":{"description":"Revised request","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/SavedSpec"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpecRevisionRequest"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]},"get":{"operationId":"listSpecRevisions","summary":"Read a saved request's revision history","responses":{"200":{"description":"Request revisions","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/RevisionPage"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/specs/{id}/revisions/{revision_id}":{"get":{"operationId":"getSpecRevision","summary":"Read one revision of a saved request","responses":{"200":{"description":"Request revision","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/SpecRevision"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/specs/{id}/finds":{"get":{"operationId":"listSpecFinds","summary":"Read the finds a saved request has run","responses":{"200":{"description":"Find history","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/LineagePage"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/finds/{id}/lineage":{"get":{"operationId":"getFindLineage","summary":"Read which request revision a find ran, and the find it continued","responses":{"200":{"description":"Find lineage","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/FindLineage"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/projects":{"post":{"operationId":"createProject","summary":"Create a project with an explicit bounded authorization ceiling","responses":{"201":{"description":"Project","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Project"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectCreateRequest"}}}},"security":[{"apiKey":[]}]},"get":{"operationId":"listProjects","summary":"List currently authorized projects","responses":{"200":{"description":"Projects","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ProjectPage"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/projects/{id}":{"get":{"operationId":"getProject","summary":"Read current project membership and authorization","responses":{"200":{"description":"Project","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Project"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]},"patch":{"operationId":"updateProject","summary":"Update a project only if the expected version matches","responses":{"200":{"description":"Project","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Project"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectPatchRequest"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/projects/{id}/members":{"post":{"operationId":"putProjectMember","summary":"Set a current project member role and bounded spending ceiling","responses":{"200":{"description":"Project member","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ProjectMember"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectMemberRequest"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]},"get":{"operationId":"listProjectMembers","summary":"List current project membership","responses":{"200":{"description":"Project members","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/MemberPage"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/projects/{id}/members/{account_id}":{"delete":{"operationId":"revokeProjectMember","summary":"Revoke project membership without deleting owned work","responses":{"200":{"description":"Membership revoked","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/MemberRevokeData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/capacity/catalog":{"get":{"operationId":"getCapacityCatalog","summary":"Read the current dollar balance and membership offer","responses":{"200":{"description":"Read the current dollar balance and membership offer","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["data"],"additionalProperties":false}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-commercial-version":"capacity.v1","security":[{"apiKey":[]}]}},"/v1/capacity/balance":{"get":{"operationId":"getCapacityBalance","summary":"Read the available balance without approving new work","responses":{"200":{"description":"Read the available balance without approving new work","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/CapacityBalanceData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-commercial-version":"capacity.v1","parameters":[{"name":"project_id","in":"query","required":false,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/capacity/entitlements":{"get":{"operationId":"getCapacityEntitlements","summary":"Read what the account's plan includes and how many members it uses","responses":{"200":{"description":"Read what the account's plan includes and how many members it uses","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/CapacityEntitlementsData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-commercial-version":"capacity.v1","parameters":[{"name":"project_id","in":"query","required":false,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/capacity/referral":{"get":{"operationId":"getCapacityReferral","summary":"Read the verified account's stable referral link and rewards","responses":{"200":{"description":"Read the verified account's stable referral link and rewards","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/CapacityReferralData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-commercial-version":"capacity.v1","security":[{"apiKey":[]}]}},"/v1/capacity/referral/visit":{"post":{"operationId":"captureCapacityReferral","summary":"Remember the first referral visit for sign-up within thirty days","responses":{"200":{"description":"Remember the first referral visit for sign-up within thirty days","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/CapacityReferralVisitData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapacityReferralVisitRequest"}}}},"x-commercial-version":"capacity.v1","security":[]}},"/v1/capacity/history":{"get":{"operationId":"getCapacityHistory","summary":"Read account balance events including the reason for each bonus grant","responses":{"200":{"description":"Read account balance events including the reason for each bonus grant","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/CapacityHistoryData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-commercial-version":"capacity.v1","security":[{"apiKey":[]}]}},"/v1/capacity/free":{"post":{"operationId":"claimFreeCapacity","summary":"Claim the one-time free balance for a verified eligible account","responses":{"200":{"description":"Claim the one-time free balance for a verified eligible account","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/CapacityBalanceData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-commercial-version":"capacity.v1","security":[{"apiKey":[]}]}},"/v1/capacity/budget":{"patch":{"operationId":"setCapacityBudget","summary":"Set an owner-approved monthly account spending maximum","responses":{"200":{"description":"Set an owner-approved monthly account spending maximum","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["data"],"additionalProperties":false}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapacityBalanceLimitRequest"}}}},"x-commercial-version":"capacity.v1","security":[{"apiKey":[]}]}},"/v1/capacity/quotes":{"post":{"operationId":"quoteCapacityWork","summary":"Get a quote for a request before anything runs","responses":{"200":{"description":"Get a quote for a request before anything runs","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/CapacityQuoteData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapacityQuoteRequest"}}}},"x-commercial-version":"capacity.v1","security":[{"apiKey":[]}]}},"/v1/capacity/quotes/{quote_id}":{"get":{"operationId":"getCapacityQuote","summary":"Recover your signed quote and any find already approved from it","responses":{"200":{"description":"Recover your signed quote and any find already approved from it","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/CapacityQuoteData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-commercial-version":"capacity.v1","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/capacity/executions":{"post":{"operationId":"authorizeCapacityWork","summary":"Approve the exact quote to start one find and reserve its maximum from your balance. Needs the specs:write, finds:write and finds:spend scopes","responses":{"202":{"description":"Approve the exact quote to start one find and reserve its maximum from your balance. Needs the specs:write, finds:write and finds:spend scopes","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/CapacityExecutionData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapacityAuthorizeRequest"}}}},"x-commercial-version":"capacity.v1","security":[{"apiKey":[]}]}},"/v1/capacity/requests":{"post":{"operationId":"startCapacityRequest","summary":"Ask for a list in plain words and run it within a maximum price, answering at once","responses":{"202":{"description":"Ask for a list in plain words and run it within a maximum price, answering at once","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/CapacityStartData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapacityStartRequest"}}}},"x-commercial-version":"capacity.v1","security":[{"apiKey":[]}]}},"/v1/capacity/requests/{request_key}":{"get":{"operationId":"getCapacityRequest","summary":"Recover the find already started with this request key","responses":{"200":{"description":"Recover the find already started with this request key","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["data"],"additionalProperties":false}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-commercial-version":"capacity.v1","parameters":[{"name":"project_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"request_key","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/capacity/executions/{find_id}":{"get":{"operationId":"getCapacityExecution","summary":"Read a find's approved work, final charge and your access to its results","responses":{"200":{"description":"Read a find's approved work, final charge and your access to its results","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/CommerceData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-commercial-version":"capacity.v1","parameters":[{"name":"find_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/capacity/funding":{"post":{"operationId":"createCapacityFunding","summary":"Prepare owner-authorized balance or membership checkout without starting work","responses":{"202":{"description":"Prepare owner-authorized balance or membership checkout without starting work","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/CapacityFundingData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapacityFundingRequest"}}}},"x-commercial-version":"capacity.v1","security":[{"apiKey":[]}]}},"/v1/capacity/funding/{funding_id}":{"get":{"operationId":"getCapacityFunding","summary":"Recover the original funding request from verified provider facts","responses":{"200":{"description":"Recover the original funding request from verified provider facts","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/CapacityFundingData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-commercial-version":"capacity.v1","parameters":[{"name":"funding_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]},"delete":{"operationId":"cancelCapacityFunding","summary":"Close an unpaid funding request without duplicating payment","responses":{"200":{"description":"Close an unpaid funding request without duplicating payment","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/CapacityFundingData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-commercial-version":"capacity.v1","parameters":[{"name":"funding_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/capacity/membership":{"get":{"operationId":"getCapacityMembership","summary":"Read the current paid period and next-renewal choice","responses":{"200":{"description":"Read the current paid period and next-renewal choice","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/CapacityMembershipStatusData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-commercial-version":"capacity.v1","security":[{"apiKey":[]}]},"post":{"operationId":"changeCapacityMembership","summary":"Change, cancel, or resume the membership for its next renewal","responses":{"202":{"description":"Change, cancel, or resume the membership for its next renewal","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["data"],"additionalProperties":false}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapacityMembershipRequest"}}}},"x-commercial-version":"capacity.v1","security":[{"apiKey":[]}]}},"/v1/capacity/authorities":{"post":{"operationId":"createCapacityAuthority","summary":"Approve a spending limit for one agent or member in a project","responses":{"201":{"description":"Approve a spending limit for one agent or member in a project","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["data"],"additionalProperties":false}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapacityAuthorityRequest"}}}},"x-commercial-version":"capacity.v1","security":[{"apiKey":[]}]}},"/v1/capacity/authorities/{authority_id}":{"delete":{"operationId":"revokeCapacityAuthority","summary":"Revoke a delegated spending limit without removing saved results","responses":{"200":{"description":"Revoke a delegated spending limit without removing saved results","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["data"],"additionalProperties":false}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-commercial-version":"capacity.v1","parameters":[{"name":"authority_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/capacity/schedules":{"post":{"operationId":"createCapacitySchedule","summary":"Approve future runs of an exact request within set spending limits","responses":{"201":{"description":"Approve future runs of an exact request within set spending limits","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["data"],"additionalProperties":false}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapacityScheduleRequest"}}}},"x-commercial-version":"capacity.v1","security":[{"apiKey":[]}]},"get":{"operationId":"listCapacitySchedules","summary":"Read authorized recurring work and its current state","responses":{"200":{"description":"Read authorized recurring work and its current state","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["data"],"additionalProperties":false}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-commercial-version":"capacity.v1","parameters":[{"name":"project_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"after","in":"query","required":false,"schema":{"type":"string","default":"","maxLength":160}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"minimum":1,"maximum":100}}],"security":[{"apiKey":[]}]}},"/v1/capacity/schedules/{schedule_id}":{"patch":{"operationId":"updateCapacitySchedule","summary":"Pause, resume, or delete recurring work without buying missed occurrences","responses":{"200":{"description":"Pause, resume, or delete recurring work without buying missed occurrences","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["data"],"additionalProperties":false}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapacitySchedulePatch"}}}},"x-commercial-version":"capacity.v1","parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/capacity/schedules/{schedule_id}/occurrences":{"get":{"operationId":"listCapacityOccurrences","summary":"Read completed, blocked, and missed occurrences","responses":{"200":{"description":"Read completed, blocked, and missed occurrences","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["data"],"additionalProperties":false}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-commercial-version":"capacity.v1","parameters":[{"name":"before","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"minimum":1,"maximum":100}},{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/capacity/schedules/{schedule_id}/run":{"post":{"operationId":"runCapacityScheduleNow","summary":"Run active recurring work once now, inside its own limits, without moving its schedule","responses":{"200":{"description":"Run active recurring work once now, inside its own limits, without moving its schedule","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["data"],"additionalProperties":false}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-commercial-version":"capacity.v1","parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/capacity/refund-claims":{"post":{"operationId":"createCapacityRefundClaim","summary":"Report a wrong result for review against its sources","responses":{"201":{"description":"Report a wrong result for review against its sources","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["data"],"additionalProperties":false}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapacityRefundRequest"}}}},"x-commercial-version":"capacity.v1","security":[{"apiKey":[]}]},"get":{"operationId":"listCapacityRefundClaims","summary":"Read the account's correction claims, newest first","responses":{"200":{"description":"Read the account's correction claims, newest first","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/CapacityRefundClaimsData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-commercial-version":"capacity.v1","security":[{"apiKey":[]}]}},"/v1/capacity/refund-claims/{claim_id}":{"get":{"operationId":"getCapacityRefundClaim","summary":"Read the status of an owned correction claim","responses":{"200":{"description":"Read the status of an owned correction claim","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["data"],"additionalProperties":false}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-commercial-version":"capacity.v1","parameters":[{"name":"claim_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/capacity/enterprise":{"post":{"operationId":"requestCapacityCustomPlan","summary":"Request an Enterprise conversation without granting an entitlement","responses":{"201":{"description":"Request an Enterprise conversation without granting an entitlement","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["data"],"additionalProperties":false}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapacityCustomRequest"}}}},"x-commercial-version":"capacity.v1","security":[{"apiKey":[]}]}},"/v1/capacity/stores/config":{"get":{"operationId":"getCapacityStoreConfig","summary":"Read the app store products and this account's store purchases","responses":{"200":{"description":"Read the app store products and this account's store purchases","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["data"],"additionalProperties":false}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-commercial-version":"capacity.v1","security":[{"apiKey":[]}]}},"/v1/capacity/stores/purchases":{"post":{"operationId":"verifyCapacityStorePurchase","summary":"Confirm an app store purchase before adding its balance","responses":{"200":{"description":"Confirm an app store purchase before adding its balance","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["data"],"additionalProperties":false}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorePurchaseRequest"}}}},"x-commercial-version":"capacity.v1","security":[{"apiKey":[]}]}},"/v1/capacity/stores/restore":{"post":{"operationId":"restoreCapacityStorePurchases","summary":"Recover verified purchases without duplicate balance grants","responses":{"200":{"description":"Recover verified purchases without duplicate balance grants","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["data"],"additionalProperties":false}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreRestoreRequest"}}}},"x-commercial-version":"capacity.v1","security":[{"apiKey":[]}]}},"/v1/capacity/stores/card-transfer":{"post":{"operationId":"transferCapacityStoreToCard","summary":"Authorize a recoverable Google Play to card billing transfer","responses":{"202":{"description":"Authorize a recoverable Google Play to card billing transfer","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["data"],"additionalProperties":false}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreCardTransferRequest"}}}},"x-commercial-version":"capacity.v1","security":[{"apiKey":[]}]}},"/v1/investigations/functions":{"get":{"operationId":"listInvestigationFunctions","summary":"List the saved requests in this project that can run once per row.","responses":{"200":{"description":"List the saved requests in this project that can run once per row.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/InvestigationFunctionPage"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"project_id","in":"query","required":false,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]},"post":{"operationId":"createInvestigationFunction","summary":"Make a saved request run once per row by turning some of its values into typed inputs. Nothing runs and nothing is charged.","responses":{"201":{"description":"Make a saved request run once per row by turning some of its values into typed inputs. Nothing runs and nothing is charged.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/InvestigationFunction"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvestigationFunctionCreate"}}}},"security":[{"apiKey":[]}]}},"/v1/investigations/functions/{function_id}":{"get":{"operationId":"getInvestigationFunction","summary":"Read the saved request and its typed inputs.","responses":{"200":{"description":"Read the saved request and its typed inputs.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/InvestigationFunction"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"function_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/investigations/specs/{spec_id}/parameters":{"get":{"operationId":"getInvestigationParameters","summary":"List the values in a saved request that can become inputs.","responses":{"200":{"description":"List the values in a saved request that can become inputs.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/InvestigationParameterPage"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"revision_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"spec_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/investigations/collections/{collection_id}/inputs":{"get":{"operationId":"getInvestigationInputs","summary":"List the columns of a list with example values, to choose which column feeds each input.","responses":{"200":{"description":"List the columns of a list with example values, to choose which column feeds each input.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/InvestigationInputCatalog"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"collection_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/investigations/collections/{collection_id}/batches":{"get":{"operationId":"listCollectionInvestigations","summary":"List the recent runs started from this list.","responses":{"200":{"description":"List the recent runs started from this list.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/InvestigationBatchPage"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"collection_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/investigations/batches":{"post":{"operationId":"prepareInvestigationBatch","summary":"Bind the selected rows to the inputs and return one quote: the distinct searches, rows with missing inputs, searches reused from earlier work, and one maximum. Nothing runs yet.","responses":{"201":{"description":"Bind the selected rows to the inputs and return one quote: the distinct searches, rows with missing inputs, searches reused from earlier work, and one maximum. Nothing runs yet.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/InvestigationBatch"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvestigationBatchPrepare"}}}},"security":[{"apiKey":[]}]}},"/v1/investigations/batches/{batch_id}":{"get":{"operationId":"getInvestigationBatch","summary":"Read each input row, its search status and the list it led to.","responses":{"200":{"description":"Read each input row, its search status and the list it led to.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/InvestigationBatch"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/investigations/batches/{batch_id}/approve":{"post":{"operationId":"approveInvestigationBatch","summary":"Approve the quote's exact maximum. The searches then run as ordinary finds, within that maximum.","responses":{"202":{"description":"Approve the quote's exact maximum. The searches then run as ordinary finds, within that maximum.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/InvestigationBatch"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvestigationBatchApprove"}}}},"parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/investigations/batches/{batch_id}/cancel":{"post":{"operationId":"cancelInvestigationBatch","summary":"Stop searches that haven't started and cancel running ones where possible. Finished results stay yours.","responses":{"200":{"description":"Stop searches that haven't started and cancel running ones where possible. Finished results stay yours.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/InvestigationBatch"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/investigations/batches/{batch_id}/results":{"get":{"operationId":"getInvestigationResults","summary":"Read each input row with the results it led to, including their sources. Input values are never treated as sources for results.","responses":{"200":{"description":"Read each input row with the results it led to, including their sources. Input values are never treated as sources for results.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/InvestigationResults"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/investigations/rules":{"post":{"operationId":"prepareResearchRule","summary":"Prepare a rule that researches rows when they first become ready or when their inputs change, with a per-run and a total spending limit. Nothing runs until it's approved.","responses":{"201":{"description":"Prepare a rule that researches rows when they first become ready or when their inputs change, with a per-run and a total spending limit. Nothing runs until it's approved.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ResearchRuleView"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchRulePrepare"}}}},"security":[{"apiKey":[]}]}},"/v1/investigations/collections/{collection_id}/rules":{"get":{"operationId":"listResearchRules","summary":"List the automatic research rules on this list.","responses":{"200":{"description":"List the automatic research rules on this list.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ResearchRulePage"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"collection_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/investigations/rules/{rule_id}":{"get":{"operationId":"getResearchRule","summary":"Read a rule's limits, what it has spent, which rows are waiting and its recent runs.","responses":{"200":{"description":"Read a rule's limits, what it has spent, which rows are waiting and its recent runs.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ResearchRuleView"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"maximum":20000,"default":0}},{"name":"rule_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]},"patch":{"operationId":"patchResearchRule","summary":"Pause, resume or delete a rule. Pausing holds queued searches; running ones finish. Resuming never raises the limits.","responses":{"200":{"description":"Pause, resume or delete a rule. Pausing holds queued searches; running ones finish. Resuming never raises the limits.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ResearchRuleView"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchRulePatch"}}}},"parameters":[{"name":"rule_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/investigations/rules/{rule_id}/approve":{"post":{"operationId":"approveResearchRule","summary":"Approve the rule's total spending limit. Rows that qualify later then run without asking again, until the limit or the expiry is reached.","responses":{"202":{"description":"Approve the rule's total spending limit. Rows that qualify later then run without asking again, until the limit or the expiry is reached.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ResearchRuleView"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchRuleApprove"}}}},"parameters":[{"name":"rule_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/investigations/rules/{rule_id}/results":{"get":{"operationId":"getResearchRuleResults","summary":"Read every run of the rule with its input rows and results.","responses":{"200":{"description":"Read every run of the rule with its input rows and results.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ResearchRuleResults"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"rule_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/specs/{id}/links":{"post":{"operationId":"createSpecLink","summary":"Share a saved request revision as a link, without its results or permission to spend","responses":{"201":{"description":"Share a saved request revision as a link, without its results or permission to spend","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/SpecLinkData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpecLinkRequest"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/shared-specs/{token}":{"get":{"operationId":"getSharedSpec","summary":"Read a public request snapshot while its issuer, access and link remain valid","responses":{"200":{"description":"Read a public request snapshot while its issuer, access and link remain valid","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/SharedSpec"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}]}},"/v1/specs/{id}/links/{link_id}/revoke":{"post":{"operationId":"revokeSpecLink","summary":"Turn off a saved-request link without changing the request or its results","responses":{"200":{"description":"Turn off a saved-request link without changing the request or its results","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/SpecLinkRevoked"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"link_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/collections/{find_id}/input":{"get":{"operationId":"workspaceResearchInput","summary":"Review each imported row: which business it matched and why, other possible matches, and its result","responses":{"200":{"description":"Review each imported row: which business it matched and why, other possible matches, and its result","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WorkspaceResearchInput"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"find_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/schedules/{schedule_id}/delivery":{"patch":{"operationId":"workspaceSetScheduleDelivery","summary":"Set versioned monitor delivery settings without starting work","responses":{"200":{"description":"Set versioned monitor delivery settings without starting work","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ScheduleDeliveryData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleDeliveryInput"}}}},"parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/collections":{"get":{"operationId":"workspaceListCollections","summary":"Read the lists you can open, from your finds and imports","responses":{"200":{"description":"Read the lists you can open, from your finds and imports","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WorkspaceCollectionPage"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"project_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"after","in":"query","required":false,"schema":{"type":"string","maxLength":128}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["id","recent"],"default":"id"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/collections/{collection_id}":{"get":{"operationId":"workspaceReadCollection","summary":"Read one list, without rows removed by an opt-out","responses":{"200":{"description":"Read one list, without rows removed by an opt-out","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WorkspaceCollection"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"collection_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/collections/combine":{"post":{"operationId":"workspaceCombineCollections","summary":"Combine your lists into one and keep each row's sources","responses":{"200":{"description":"Combine your lists into one and keep each row's sources","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WorkspaceCollection"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CombineCollectionsInput"}}}},"security":[{"apiKey":[]}]}},"/v1/workspace/collections/{collection_id}/copy":{"post":{"operationId":"workspaceCopyCollection","summary":"Copy rows from a list you can open into a separate list you own","responses":{"200":{"description":"Copy rows from a list you can open into a separate list you own","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WorkspaceCollection"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CopyCollectionInput"}}}},"parameters":[{"name":"collection_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/collections/{collection_id}/filter":{"post":{"operationId":"workspaceFilterCollection","summary":"Filter a list's rows by IDs, sources or a map area","responses":{"200":{"description":"Filter a list's rows by IDs, sources or a map area","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WorkspaceCollection"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionFilter"}}}},"parameters":[{"name":"collection_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/views/{collection_id}":{"get":{"operationId":"workspaceListViews","summary":"List your saved views of a list","responses":{"200":{"description":"List your saved views of a list","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WorkspaceViewList"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"collection_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]},"put":{"operationId":"workspaceSaveView","summary":"Save a versioned personal view without changing source records","responses":{"200":{"description":"Save a versioned personal view without changing source records","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WorkspaceViewList"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceViewSave"}}}},"parameters":[{"name":"collection_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/stars":{"get":{"operationId":"workspaceListStars","summary":"List starred work that remains currently authorized","responses":{"200":{"description":"List starred work that remains currently authorized","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WorkspaceStarList"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"apiKey":[]}]},"put":{"operationId":"workspaceStarItem","summary":"Star or unstar currently authorized work with an expected version","responses":{"200":{"description":"Star or unstar currently authorized work with an expected version","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WorkspaceStarList"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceStarWrite"}}}},"security":[{"apiKey":[]}]}},"/v1/workspace/notes":{"get":{"operationId":"workspaceListNotes","summary":"Read authorized project or collection-record notes","responses":{"200":{"description":"Read authorized project or collection-record notes","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WorkspaceNotes"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"project_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"collection_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"record_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":128}}],"security":[{"apiKey":[]}]},"post":{"operationId":"workspaceAddNote","summary":"Add a versioned note to an authorized project or collection record","responses":{"200":{"description":"Add a versioned note to an authorized project or collection record","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WorkspaceNotes"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceNoteAdd"}}}},"security":[{"apiKey":[]}]}},"/v1/workspace/notes/{note_id}":{"patch":{"operationId":"workspaceResolveNote","summary":"Resolve or reopen an authorized note with an expected version","responses":{"200":{"description":"Resolve or reopen an authorized note with an expected version","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WorkspaceNotes"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceNoteResolve"}}}},"parameters":[{"name":"note_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]},"put":{"operationId":"workspaceEditNote","summary":"Edit a note you wrote with an expected version","responses":{"200":{"description":"Edit a note you wrote with an expected version","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WorkspaceNotes"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceNoteEdit"}}}},"parameters":[{"name":"note_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]},"delete":{"operationId":"workspaceDeleteNote","summary":"Remove an authorized note with an expected version","responses":{"200":{"description":"Remove an authorized note with an expected version","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WorkspaceNotes"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceNoteDelete"}}}},"parameters":[{"name":"note_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/push/subscriptions":{"post":{"operationId":"workspaceRegisterWebPushSubscription","summary":"Register an encrypted browser push subscription for this signed-in account","responses":{"200":{"description":"Register an encrypted browser push subscription for this signed-in account","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/PushDevice"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebPushSubscriptionInput"}}}},"security":[{"apiKey":[]}]}},"/v1/workspace/push/capabilities":{"get":{"operationId":"workspacePushCapabilities","summary":"Read configured notification transports, never credentials","responses":{"200":{"description":"Read configured notification transports, never credentials","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/PushCapabilities"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"apiKey":[]}]}},"/v1/workspace/push/devices":{"get":{"operationId":"workspaceListPushDevices","summary":"List your registered notification devices","responses":{"200":{"description":"List your registered notification devices","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/PushDevicePage"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"apiKey":[]}]},"post":{"operationId":"workspaceRegisterPushDevice","summary":"Register the current signed-in device for native notifications","responses":{"200":{"description":"Register the current signed-in device for native notifications","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/PushDevice"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushDeviceInput"}}}},"security":[{"apiKey":[]}]}},"/v1/workspace/push/devices/{device_id}":{"delete":{"operationId":"workspaceRevokePushDevice","summary":"Stop notifications to a registered device","responses":{"200":{"description":"Stop notifications to a registered device","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/PushDeviceRevoked"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/collections/{collection_id}/fields":{"get":{"operationId":"workspaceListYourFields","summary":"Read the fields you added to a collection and their values","responses":{"200":{"description":"Read the fields you added to a collection and their values","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/YourFields"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"collection_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]},"put":{"operationId":"workspaceSaveYourFields","summary":"Add, rename or remove your own fields on a collection","responses":{"200":{"description":"Add, rename or remove your own fields on a collection","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/YourFields"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/YourFieldsSave"}}}},"parameters":[{"name":"collection_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/collections/{collection_id}/fields/values":{"put":{"operationId":"workspaceSetYourFieldValue","summary":"Set or clear one of your fields on selected records","responses":{"200":{"description":"Set or clear one of your fields on selected records","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/YourFields"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/YourFieldValue"}}}},"parameters":[{"name":"collection_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/connections/{provider}/authorize":{"post":{"operationId":"beginConnectionAuthorization","summary":"Begin account-bound provider authorization","responses":{"200":{"description":"Begin account-bound provider authorization","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ConnectedToolData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/connections/{identity}":{"delete":{"operationId":"disconnectConnection","summary":"Revoke a connected provider","responses":{"200":{"description":"Revoke a connected provider","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ConnectedToolData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"identity","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/imports/cloud":{"get":{"operationId":"listCloudImports","summary":"List daily source checks and import status","responses":{"200":{"description":"List daily source checks and import status","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ConnectedToolData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"apiKey":[]}]},"post":{"operationId":"importCloudList","summary":"Import supplied records from a connected table or workbook","responses":{"200":{"description":"Import supplied records from a connected table or workbook","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ConnectedToolData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudImportInput"}}}},"security":[{"apiKey":[]}]}},"/v1/connections/catalog":{"get":{"operationId":"listConnectedTools","summary":"List supported tables, CRM, automation and chat tools","responses":{"200":{"description":"List supported tables, CRM, automation and chat tools","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ConnectedToolData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"apiKey":[]}]}},"/v1/connections":{"get":{"operationId":"listConnections","summary":"List this account's connected providers","responses":{"200":{"description":"List this account's connected providers","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ConnectedToolData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"apiKey":[]}]}},"/v1/connections/{identity}/destinations":{"get":{"operationId":"listConnectionDestinations","summary":"List provider-authorized destinations","responses":{"200":{"description":"List provider-authorized destinations","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ConnectedToolData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"base_id","in":"query","required":false,"schema":{"type":"string","maxLength":200}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":4096}},{"name":"identity","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/connections/{identity}/columns":{"post":{"operationId":"getConnectionColumns","summary":"Read destination columns before mapping fields","responses":{"200":{"description":"Read destination columns before mapping fields","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ConnectedToolData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DestinationRequest"}}}},"parameters":[{"name":"identity","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/connections/{identity}/destination":{"post":{"operationId":"saveConnectionDestination","summary":"Save a provider-verified destination and field mapping","responses":{"200":{"description":"Save a provider-verified destination and field mapping","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ConnectedToolData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DestinationRequest"}}}},"parameters":[{"name":"identity","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/connections/{identity}/send":{"post":{"operationId":"sendToDestination","summary":"Send selected owned results with durable delivery identities","responses":{"200":{"description":"Send selected owned results with durable delivery identities","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ConnectedToolData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendToDestinationInput"}}}},"parameters":[{"name":"identity","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/connections/{identity}/exports/{export_id}/reconcile":{"post":{"operationId":"reconcileDestinationExport","summary":"Check an uncertain delivery without sending it again","responses":{"200":{"description":"Check an uncertain delivery without sending it again","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ConnectedToolData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"identity","in":"path","required":true,"schema":{"type":"string"}},{"name":"export_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/connections/exports":{"get":{"operationId":"listDestinationExports","summary":"List delivery receipts for connected tools","responses":{"200":{"description":"List delivery receipts for connected tools","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ConnectedToolData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"apiKey":[]}]}},"/v1/destination-syncs":{"post":{"operationId":"createDestinationSync","summary":"Keep sending new and changed records to this destination","responses":{"200":{"description":"Keep sending new and changed records to this destination","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ConnectedToolData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DestinationSyncInput"}}}},"security":[{"apiKey":[]}]},"get":{"operationId":"listDestinationSyncs","summary":"List continuous destination deliveries","responses":{"200":{"description":"List continuous destination deliveries","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ConnectedToolData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"apiKey":[]}]}},"/v1/destination-syncs/{sync_id}":{"patch":{"operationId":"updateDestinationSync","summary":"Start or stop continuous destination delivery","responses":{"200":{"description":"Start or stop continuous destination delivery","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ConnectedToolData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DestinationSyncUpdate"}}}},"parameters":[{"name":"sync_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/imports/cloud/preview":{"post":{"operationId":"previewCloudList","summary":"Read a provider-authorized list before importing","responses":{"200":{"description":"Read a provider-authorized list before importing","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ConnectedToolData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudImportPreview"}}}},"security":[{"apiKey":[]}]}},"/v1/imports/cloud/{import_id}":{"patch":{"operationId":"updateCloudImport","summary":"Start or stop daily source checks","responses":{"200":{"description":"Start or stop daily source checks","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ConnectedToolData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudImportUpdate"}}}},"parameters":[{"name":"import_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/invitations":{"post":{"operationId":"workspaceInviteMember","summary":"Invite a project member under current project management authority","responses":{"200":{"description":"Invite a project member under current project management authority","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/InvitationData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationInput"}}}},"security":[{"apiKey":[]}]}},"/v1/imports/file":{"post":{"operationId":"importFileCommand","summary":"Import supplied CSV or XLSX values without starting research","responses":{"200":{"description":"Import supplied CSV or XLSX values without starting research","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WorkspaceImportData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileImportCommand"}}}},"security":[{"apiKey":[]}]}},"/v1/activity":{"get":{"operationId":"workspaceActivity","summary":"Read activity through current account and project permissions","responses":{"200":{"description":"Read activity through current account and project permissions","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ActivityPage"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"project_id","in":"query","required":false,"schema":{"type":"string","maxLength":128}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":4096}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":50}}],"security":[{"apiKey":[]}]}},"/v1/workspace/collections/{collection_id}/relationships":{"get":{"operationId":"workspaceRelationships","summary":"Group accessible records by actual shared column values","responses":{"200":{"description":"Group accessible records by actual shared column values","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/RelationshipData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"field_id","in":"query","required":false,"schema":{"type":"string","maxLength":200}},{"name":"collection_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]},"put":{"operationId":"workspaceSaveRelationships","summary":"Save a personal relationship column with an expected version","responses":{"200":{"description":"Save a personal relationship column with an expected version","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/RelationshipData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RelationshipSelection"}}}},"parameters":[{"name":"collection_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/collections/{collection_id}/reports":{"post":{"operationId":"workspaceReportResult","summary":"Report a billed result for review within its guarantee period","responses":{"201":{"description":"Report a billed result for review within its guarantee period","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ResultReportData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResultReportInput"}}}},"parameters":[{"name":"collection_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/request-templates":{"get":{"operationId":"listRequestTemplates","summary":"List request examples; compile and quote before work","responses":{"200":{"description":"List request examples; compile and quote before work","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/RequestTemplateList"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"record_type","in":"query","required":false,"schema":{"type":"string","maxLength":64}}],"security":[{"apiKey":[]}]}},"/v1/workspace/collections/{collection_id}/changes":{"get":{"operationId":"workspaceCollectionChanges","summary":"Read source-backed changes against immutable prior results","responses":{"200":{"description":"Read source-backed changes against immutable prior results","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WorkspaceCollectionChanges"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"collection_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/security/passkeys":{"get":{"operationId":"workspaceListPasskeys","summary":"List the current account's registered passkeys","responses":{"200":{"description":"List the current account's registered passkeys","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/PasskeyList"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-authentication":"owner-browser-session","security":[{"apiKey":[]}]},"post":{"operationId":"workspaceRegisterPasskey","summary":"Verify and register a passkey for the current account","responses":{"200":{"description":"Verify and register a passkey for the current account","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/PasskeyData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasskeyRegistration"}}}},"x-authentication":"owner-browser-session","security":[{"apiKey":[]}]}},"/v1/workspace/security/passkeys/options":{"post":{"operationId":"workspaceRegisterPasskeyOptions","summary":"Start a browser-bound passkey registration ceremony","responses":{"200":{"description":"Start a browser-bound passkey registration ceremony","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/SecurityChallenge"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-authentication":"owner-browser-session","security":[{"apiKey":[]}]}},"/v1/workspace/security/passkeys/{credential_id}":{"patch":{"operationId":"workspaceNamePasskey","summary":"Name an account-owned passkey","responses":{"200":{"description":"Name an account-owned passkey","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/PasskeyData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasskeyLabel"}}}},"x-authentication":"owner-browser-session","parameters":[{"name":"credential_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]},"delete":{"operationId":"workspaceDeletePasskey","summary":"Revoke an account-owned passkey","responses":{"200":{"description":"Revoke an account-owned passkey","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/SecuritySuccess"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-authentication":"owner-browser-session","parameters":[{"name":"credential_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/auth/passkey/options":{"post":{"operationId":"workspacePasskeySignInOptions","summary":"Start a browser-bound passkey sign-in ceremony","responses":{"200":{"description":"Start a browser-bound passkey sign-in ceremony","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/SecurityChallenge"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-authentication":"browser-bound-ceremony","security":[]}},"/v1/workspace/auth/passkey/verify":{"post":{"operationId":"workspacePasskeySignIn","summary":"Verify a passkey assertion and establish a session","responses":{"200":{"description":"Verify a passkey assertion and establish a session","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/SecuritySuccess"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasskeyComplete"}}}},"x-authentication":"browser-bound-ceremony","security":[]}},"/v1/workspace/security/sso":{"get":{"operationId":"workspaceListSSODomains","summary":"List account-owned verified SSO domains","responses":{"200":{"description":"List account-owned verified SSO domains","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/SSODomains"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-authentication":"owner-browser-session","security":[{"apiKey":[]}]},"post":{"operationId":"workspaceAddSSODomain","summary":"Create an account-owned domain verification challenge","responses":{"200":{"description":"Create an account-owned domain verification challenge","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/SSODomain"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SSODomainInput"}}}},"x-authentication":"owner-browser-session","security":[{"apiKey":[]}]}},"/v1/workspace/security/sso/{domain_id}/verify":{"post":{"operationId":"workspaceVerifySSODomain","summary":"Verify the account's domain through its DNS TXT record","responses":{"200":{"description":"Verify the account's domain through its DNS TXT record","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/SSODomain"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-authentication":"owner-browser-session","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/security/sso/{domain_id}/provider":{"put":{"operationId":"workspaceConfigureSSO","summary":"Configure verified SAML metadata for an owned domain","responses":{"200":{"description":"Configure verified SAML metadata for an owned domain","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/SSODomain"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SSOConfigInput"}}}},"x-authentication":"owner-browser-session","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/security/sso/{domain_id}":{"patch":{"operationId":"workspaceSetSSOPolicy","summary":"Set SSO enforcement after a successful provider test","responses":{"200":{"description":"Set SSO enforcement after a successful provider test","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/SSODomain"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SSOPolicyInput"}}}},"x-authentication":"owner-browser-session","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/auth/sso/start":{"post":{"operationId":"workspaceStartSSO","summary":"Start a single-use browser-bound SAML sign-in","responses":{"200":{"description":"Start a single-use browser-bound SAML sign-in","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/SSOStartData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SSOStartInput"}}}},"x-authentication":"browser-bound-ceremony","security":[]}},"/v1/workspace/security/sso/{domain_id}/scim/token":{"post":{"operationId":"workspaceRotateSCIMToken","summary":"Rotate a verified domain's provisioning credential","responses":{"200":{"description":"Rotate a verified domain's provisioning credential","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/SCIMCredential"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-authentication":"owner-browser-session","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]},"delete":{"operationId":"workspaceRevokeSCIMToken","summary":"Revoke a domain's provisioning credential","responses":{"200":{"description":"Revoke a domain's provisioning credential","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/SecuritySuccess"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-authentication":"owner-browser-session","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/security/sso/{domain_id}/scim/mappings":{"get":{"operationId":"workspaceReadSCIMMappings","summary":"Read provisioning mappings, provider groups and token state","responses":{"200":{"description":"Read provisioning mappings, provider groups and token state","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/SCIMProvisioning"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-authentication":"owner-browser-session","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]},"put":{"operationId":"workspaceSetSCIMMappings","summary":"Set domain-to-project mappings under current owner authority","responses":{"200":{"description":"Set domain-to-project mappings under current owner authority","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/SCIMMappings"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SCIMMappings"}}}},"x-authentication":"owner-browser-session","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/profile/photo":{"get":{"operationId":"workspaceReadPhoto","summary":"Read the account-owned photo version and private URL","responses":{"200":{"description":"Read the account-owned photo version and private URL","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/AccountPhotoData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-authentication":"owner-browser-session","security":[{"apiKey":[]}]},"delete":{"operationId":"workspaceDeletePhoto","summary":"Remove the current account's private profile photo","responses":{"200":{"description":"Remove the current account's private profile photo","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/AccountPhotoData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-authentication":"owner-browser-session","security":[{"apiKey":[]}]},"put":{"operationId":"workspaceUploadPhoto","summary":"Upload an account-owned photo using its current version","responses":{"200":{"description":"Private photo version and URL","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/AccountPhotoData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-authentication":"owner-browser-session","parameters":[{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","pattern":"^\"?[0-9]+\"?$"}}],"requestBody":{"required":true,"content":{"image/jpeg":{"schema":{"type":"string","format":"binary","maxLength":5242880}},"image/png":{"schema":{"type":"string","format":"binary","maxLength":5242880}},"image/webp":{"schema":{"type":"string","format":"binary","maxLength":5242880}}}},"security":[{"apiKey":[]}]}},"/v1/workspace/auth/native/start":{"post":{"operationId":"workspaceStartNativeProvider","summary":"Begin native provider authorization bound to an app-held PKCE secret","responses":{"200":{"description":"Begin native provider authorization bound to an app-held PKCE secret","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/NativeAuthStartData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NativeAuthStart"}}}},"security":[]}},"/v1/workspace/auth/native/launch":{"get":{"operationId":"workspaceLaunchNativeProvider","summary":"Launch the browser-bound provider handoff","responses":{"303":{"description":"Launch the browser-bound provider handoff","headers":{"Location":{"schema":{"type":"string","format":"uri"}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"204":{"description":"Do not consume a prefetched link"}},"parameters":[{"name":"ticket","in":"query","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$"}}],"security":[]}},"/v1/workspace/auth/native/redeem":{"post":{"operationId":"workspaceRedeemNativeProvider","summary":"Redeem verified provider proof for an app session or connection","responses":{"200":{"description":"Redeem verified provider proof for an app session or connection","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/NativeAuthRedeemData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NativeAuthRedeem"}}}},"security":[]}},"/v1/workspace/placement/allowance":{"get":{"operationId":"workspacePlacementAllowance","summary":"Read this billing account's UTC monthly free placement allowance","responses":{"200":{"description":"Read this billing account's UTC monthly free placement allowance","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/PlacementMonthlyData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"apiKey":[]}]}},"/v1/workspace/imports/{import_id}/placement/quote":{"post":{"operationId":"workspaceQuotePlacement","summary":"Quote the maximum cost of placing imported addresses on the map","responses":{"200":{"description":"Quote the maximum cost of placing imported addresses on the map","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/PlacementQuoteData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"import_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/imports/{import_id}/placement":{"post":{"operationId":"workspaceStartPlacement","summary":"Approve the placement quote and enqueue durable background placement","responses":{"200":{"description":"Approve the placement quote and enqueue durable background placement","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/PlacementStatusData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlacementStartInput"}}}},"parameters":[{"name":"import_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/imports/{import_id}/placement/{placement_id}":{"get":{"operationId":"workspacePlacementStatus","summary":"Read placement progress and per-row geocoding outcomes","responses":{"200":{"description":"Read placement progress and per-row geocoding outcomes","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/PlacementStatusData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"import_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"placement_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/imports/web/sources":{"post":{"operationId":"teachWebSource","summary":"Read one public page and learn its records and fields from 3 to 8 example rows. The preview explains how each field was inferred and marks the example rows. Nothing becomes a list until you save it.","responses":{"201":{"description":"Read one public page and learn its records and fields from 3 to 8 example rows. The preview explains how each field was inferred and marks the example rows. Nothing becomes a list until you save it.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WebSourcePreview"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeachWebSource"}}}},"security":[{"apiKey":[]}]},"get":{"operationId":"listWebSources","summary":"List up to 100 saved website sources in a project. No page is read.","responses":{"200":{"description":"List up to 100 saved website sources in a project. No page is read.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WebSourceList"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"apiKey":[]}]}},"/v1/imports/web/sources/{source_id}":{"get":{"operationId":"getWebSource","summary":"Read a saved website source and how each of its columns is read.","responses":{"200":{"description":"Read a saved website source and how each of its columns is read.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WebSourceInfo"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/imports/web/sources/{source_id}/previews":{"post":{"operationId":"previewWebSource","summary":"Read the saved page again and preview its rows. Earlier lists stay unchanged. Columns paired by position need fresh examples once the page changes.","responses":{"201":{"description":"Read the saved page again and preview its rows. Earlier lists stay unchanged. Columns paired by position need fresh examples once the page changes.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WebSourcePreview"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/imports/web/previews/{preview_id}":{"get":{"operationId":"getWebSourcePreview","summary":"Read one source preview with its page hash, cell locations and field explanations.","responses":{"200":{"description":"Read one source preview with its page hash, cell locations and field explanations.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WebSourcePreview"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"preview_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/imports/web/lists":{"post":{"operationId":"saveWebSourceList","summary":"Save a reviewed preview as an imported list, using its preview hash. Saving does not research or spend; quote and approve research on the list afterward.","responses":{"201":{"description":"Save a reviewed preview as an imported list, using its preview hash. Saving does not research or spend; quote and approve research on the list afterward.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WorkspaceImportData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveWebSourceList"}}}},"security":[{"apiKey":[]}]}},"/v1/reconciliation/collections/{collection_id}/fields":{"get":{"operationId":"getReconciliationFields","summary":"Read the fields of a list you can open that can be used to match it against another list","responses":{"200":{"description":"Read the fields of a list you can open that can be used to match it against another list","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ReconciliationFields"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"collection_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/reconciliation/collections/{collection_id}/comparisons":{"get":{"operationId":"listReconciliations","summary":"List the recent comparisons that include this list (the latest 20, kept for 30 days)","responses":{"200":{"description":"List the recent comparisons that include this list (the latest 20, kept for 30 days)","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ReconciliationHistory"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"collection_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/reconciliation/comparisons":{"post":{"operationId":"prepareReconciliation","summary":"Compare two of your lists with exact or close-spelling rules and conflict checks, and propose which rows correspond","responses":{"201":{"description":"Compare two of your lists with exact or close-spelling rules and conflict checks, and propose which rows correspond","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ReconciliationView"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReconciliationPrepare"}}}},"security":[{"apiKey":[]}]}},"/v1/reconciliation/comparisons/{comparison_id}":{"get":{"operationId":"getReconciliation","summary":"Read a comparison: proposed pairs, alternatives, conflicts, missing values and sources","responses":{"200":{"description":"Read a comparison: proposed pairs, alternatives, conflicts, missing values and sources","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ReconciliationView"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/reconciliation/comparisons/{comparison_id}/apply":{"post":{"operationId":"applyReconciliation","summary":"Fill empty cells in a new list from the pairs you chose. The original lists stay unchanged","responses":{"201":{"description":"Fill empty cells in a new list from the pairs you chose. The original lists stay unchanged","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/WorkspaceImportData"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReconciliationApply"}}}},"parameters":[{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/reconciliation/imports/{import_id}":{"get":{"operationId":"getReconciledInput","summary":"Read which chosen pair filled each cell of a list made by matching","responses":{"200":{"description":"Read which chosen pair filled each cell of a list made by matching","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ReconciliationReceipt"}}}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"import_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/profile/photo/content/{digest}":{"get":{"operationId":"workspacePhotoContent","summary":"Read the current account's private normalized profile image","x-authentication":"owner-browser-session","responses":{"200":{"description":"Private account-owned WebP image","content":{"image/webp":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"parameters":[{"name":"digest","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"apiKey":[]}]}},"/v1/workspace/collections/{collection_id}/export":{"get":{"operationId":"workspaceExportCollection","summary":"Export a full collection with current scoped access and suppression","parameters":[{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["csv","xlsx","json","html","kml","geojson"],"default":"csv"}},{"name":"collection_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Full authorized collection in the requested format","content":{"text/csv":{"schema":{"type":"string","format":"binary"}},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"schema":{"type":"string","format":"binary"}},"application/json":{"schema":{"type":"string","format":"binary"}},"text/html":{"schema":{"type":"string","format":"binary"}},"application/vnd.google-earth.kml+xml":{"schema":{"type":"string","format":"binary"}},"application/geo+json":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"apiKey":[]}]}},"/v1/agent/lists":{"get":{"operationId":"agentListSteps","summary":"Read the buying steps and the ways to pay","security":[],"responses":{"200":{"description":"The steps to buy a list, with the ways to pay that are open","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"post":{"operationId":"buyAgentList","summary":"Buy a list from the live web, paid per match","description":"Without a payment this answers 402 with the most the run can cost. Pay with MPP or x402 and send the same request again to start the run.","x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"1.00","max":"500.00"},"protocols":[{"x402":{}},{"mpp":{"method":"stripe","intent":"charge","currency":"usd"}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["request"],"properties":{"request":{"type":"string","minLength":3,"maxLength":2000,"description":"The list you need, in plain words."},"count":{"type":"integer","minimum":1,"maximum":500,"description":"How many matches to look for."}},"example":{"request":"coffee shops in Narbonne, France","count":3}}}}},"responses":{"202":{"description":"Paid. The run has started; read status_url.","content":{"application/json":{"schema":{"type":"object","required":["purchase_id","token","status_url"],"properties":{"purchase_id":{"type":"string"},"token":{"type":"string","description":"Send as Authorization: Bearer <token> to read the purchase."},"status_url":{"type":"string","format":"uri"},"read_with":{"type":"string"},"paid":{"type":"string","description":"Dollars charged by card, when paid by card."},"authorized":{"type":"string","description":"Dollars authorized in USDC, when paid over x402."},"currency":{"type":"string"},"reading":{"type":"object","additionalProperties":true},"find_id":{"type":"string"},"status":{"type":"string"},"note":{"type":"string"}}}}},"headers":{"Payment-Receipt":{"schema":{"type":"string"},"description":"The MPP receipt, when paid by card."}}},"402":{"description":"Payment Required","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"The MPP challenge (Payment scheme, method stripe, intent charge)."},"PAYMENT-REQUIRED":{"schema":{"type":"string"},"description":"Base64 x402 v2 requirements: USDC on Base, Arbitrum or Polygon, scheme upto."}},"content":{"application/problem+json":{"schema":{"type":"object","required":["type","title","status","detail","offer"],"properties":{"type":{"type":"string"},"title":{"type":"string"},"status":{"type":"integer","const":402},"detail":{"type":"string"},"offer":{"type":"object","required":["request","count","maximum","currency","expires_at"],"properties":{"request":{"type":"string"},"columns_asked_for":{"type":"array","items":{"type":"string"}},"count":{"type":"integer"},"maximum":{"type":"string","description":"The most this run can cost, in dollars."},"currency":{"type":"string"},"expires_at":{"type":"string","format":"date-time"}}},"pay":{"type":"string"},"pay_in_usdc":{"type":"string"},"use_it_when":{"type":"string"},"docs":{"type":"string","format":"uri"}}}}}},"422":{"description":"The request wasn't a list in plain words, or count was outside 1 to 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/agent/lists/{purchase_id}":{"get":{"operationId":"getAgentListPurchase","summary":"Read a purchased list and its rows","security":[{"purchaseToken":[]}],"parameters":[{"name":"purchase_id","in":"path","required":true,"schema":{"type":"string"},"description":"The purchase_id from the 202."}],"responses":{"200":{"description":"Where the run stands, and the rows once it ends","content":{"application/json":{"schema":{"type":"object","required":["purchase_id","status"],"properties":{"purchase_id":{"type":"string"},"status":{"type":"string","description":"running while it works; completed, partial, failed, canceled or expired when it ends."},"request":{"type":"string"},"reading":{"type":"object","additionalProperties":true},"requested":{"type":"integer"},"found":{"type":"integer"},"currency":{"type":"string"},"paid":{"type":"string"},"authorized":{"type":"string"},"charged":{"type":"string"},"refunded":{"type":"string"},"payment":{"type":"object","additionalProperties":true},"note":{"type":"string"},"rows":{"type":"array","description":"The matches, each with its source. Present when the run has ended.","items":{"type":"object","additionalProperties":true}}}}}}},"404":{"description":"No purchase for this id and token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}},"components":{"schemas":{"EntityType":{"enum":["local_business","creator","organization","storefront_product","app_listing","job_posting","scholarly_work","tender","grant","software_repository","software_package","dataset","clinical_trial","regulatory_document","vulnerability","book","podcast","web_page","knowledge_entity","person"],"title":"EntityType","type":"string"},"VocabularyDetail":{"additionalProperties":false,"properties":{"field_id":{"title":"Field Id","type":"string"},"label":{"title":"Label","type":"string"},"instant":{"title":"Instant","type":"boolean"}},"required":["field_id","label","instant"],"title":"VocabularyDetail","type":"object"},"VocabularyKind":{"additionalProperties":false,"properties":{"kind":{"$ref":"#/components/schemas/EntityType"},"name":{"title":"Name","type":"string"},"plural":{"title":"Plural","type":"string"},"types":{"items":{"type":"string"},"title":"Types","type":"array"},"details":{"items":{"$ref":"#/components/schemas/VocabularyDetail"},"title":"Details","type":"array"},"examples":{"items":{"type":"string"},"title":"Examples","type":"array"},"suggested":{"title":"Suggested","type":"boolean"}},"required":["kind","name","plural","types","details","examples","suggested"],"title":"VocabularyKind","type":"object"},"VocabularyData":{"additionalProperties":false,"properties":{"default_count":{"const":25,"default":25,"title":"Default Count","type":"integer"},"kinds":{"items":{"$ref":"#/components/schemas/VocabularyKind"},"title":"Kinds","type":"array"}},"required":["kinds"],"title":"VocabularyData","type":"object"},"InvitationInput":{"additionalProperties":false,"properties":{"request_id":{"maxLength":128,"minLength":8,"title":"Request Id","type":"string"},"project_id":{"maxLength":128,"minLength":1,"title":"Project Id","type":"string"},"email":{"maxLength":320,"minLength":3,"title":"Email","type":"string"},"role":{"default":"editor","enum":["editor","viewer"],"title":"Role","type":"string"},"monthly_spend_cap_cents":{"default":0,"maximum":100000000,"minimum":0,"title":"Monthly Spend Cap Cents","type":"integer"},"expires_in_days":{"default":7,"enum":[1,7,30],"title":"Expires In Days","type":"integer"}},"required":["request_id","project_id","email"],"title":"InvitationInput","type":"object"},"ReadingContext":{"additionalProperties":false,"description":"Workspace hints. They never widen the request. The quote holds the context of the run.","properties":{"locale":{"default":"en-US","pattern":"^[a-z]{2}-[A-Z]{2}$","title":"Locale","type":"string"},"target_type":{"anyOf":[{"pattern":"^[a-z][a-z_]{0,63}$","type":"string"},{"type":"null"}],"default":null,"title":"Target Type"},"source_collection":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Source Collection"},"operation":{"anyOf":[{"enum":["find","extend","add-facts","refresh"],"type":"string"},{"type":"null"}],"default":null,"title":"Operation"},"retained":{"anyOf":[{"$ref":"#/components/schemas/RetainedRequest"},{"type":"null"}],"default":null}},"title":"ReadingContext","type":"object"},"RetainedRequest":{"additionalProperties":false,"description":"An explicit dependency on an authorized, immutable prior research request.\n\nThe label is display text only. It never selects records or changes the target.\nThe server loads the actual Spec; callers cannot provide a replacement base.","properties":{"parent_find_id":{"maxLength":128,"minLength":1,"title":"Parent Find Id","type":"string"},"operation":{"enum":["extend","add-facts","refresh"],"title":"Operation","type":"string"},"label":{"anyOf":[{"maxLength":16000,"type":"string"},{"type":"null"}],"default":null,"title":"Label"},"ast_hash":{"anyOf":[{"pattern":"^[0-9a-f]{64}$","type":"string"},{"type":"null"}],"default":null,"title":"Ast Hash"}},"required":["parent_find_id","operation"],"title":"RetainedRequest","type":"object"},"LiveUnderstandingRequest":{"additionalProperties":false,"description":"The workspace's reading snapshot, exactly as the ask box sends it.","properties":{"document_id":{"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$","title":"Document Id","type":"string"},"revision":{"maximum":9007199254740991,"minimum":0,"title":"Revision","type":"integer"},"generation":{"default":0,"maximum":9007199254740991,"minimum":0,"title":"Generation","type":"integer"},"text":{"maxLength":16000,"title":"Text","type":"string"},"kind":{"anyOf":[{"$ref":"#/components/schemas/EntityType"},{"type":"null"}],"default":null,"description":"Chosen result kind; shared by fast and refined readings."},"context":{"$ref":"#/components/schemas/ReadingContext"},"phase":{"default":"fast","enum":["fast","refined"],"title":"Phase","type":"string"},"expected_source_hash":{"anyOf":[{"pattern":"^[0-9a-f]{64}$","type":"string"},{"type":"null"}],"default":null,"title":"Expected Source Hash"}},"required":["document_id","revision","text"],"title":"LiveUnderstandingRequest","type":"object"},"AcquisitionIntent":{"additionalProperties":false,"description":"Read-only projection; requirements are pointers, never substitute predicates.","properties":{"spec_version":{"const":"acquisition_intent.v1","default":"acquisition_intent.v1","title":"Spec Version","type":"string"},"source_hash":{"pattern":"^[0-9a-f]{64}$","title":"Source Hash","type":"string"},"ast_hash":{"anyOf":[{"pattern":"^[0-9a-f]{64}$","type":"string"},{"type":"null"}],"default":null,"title":"Ast Hash"},"target":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Target"},"discovery_terms":{"default":[],"items":{"type":"string"},"title":"Discovery Terms","type":"array"},"requirement_refs":{"default":[],"items":{"type":"string"},"title":"Requirement Refs","type":"array"},"output_refs":{"default":[],"items":{"type":"string"},"title":"Output Refs","type":"array"},"unresolved_span_ids":{"default":[],"items":{"type":"string"},"title":"Unresolved Span Ids","type":"array"},"can_execute":{"default":false,"title":"Can Execute","type":"boolean"},"blocked_reasons":{"default":[],"items":{"type":"string"},"title":"Blocked Reasons","type":"array"}},"required":["source_hash"],"title":"AcquisitionIntent","type":"object"},"AssessedSpan":{"additionalProperties":false,"properties":{"start":{"minimum":0,"title":"Start","type":"integer"},"end":{"minimum":1,"title":"End","type":"integer"},"role":{"enum":["subject","quantity","geography","condition","output","syntax","unresolved"],"title":"Role","type":"string"},"normalized":{"maxLength":16000,"minLength":1,"title":"Normalized","type":"string"},"kind":{"enum":["identity","spelling","slang","typography","translation","paraphrase"],"title":"Kind","type":"string"},"reason":{"maxLength":500,"minLength":1,"title":"Reason","type":"string"}},"required":["start","end","role","normalized","kind","reason"],"title":"AssessedSpan","type":"object"},"CheckableRewording":{"additionalProperties":false,"properties":{"text":{"minLength":1,"title":"Text","type":"string"},"condition":{"anyOf":[{"$ref":"#/components/schemas/Predicate"},{"type":"null"}]},"operations":{"items":{"$ref":"#/components/schemas/ChipOperation"},"title":"Operations","type":"array"}},"required":["text","condition"],"title":"CheckableRewording","type":"object"},"Chip":{"additionalProperties":false,"properties":{"chip_id":{"minLength":1,"title":"Chip Id","type":"string"},"category":{"$ref":"#/components/schemas/ChipCategory"},"field_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Field Id"},"label":{"minLength":1,"title":"Label","type":"string"},"value":{"anyOf":[{"type":"boolean"},{"type":"integer"},{"type":"number"},{"type":"string"},{"items":{"type":"string"},"type":"array"},{"$ref":"#/components/schemas/CountMatches"},{"type":"null"}],"default":null,"title":"Value"},"status":{"$ref":"#/components/schemas/ChipStatus"}},"required":["chip_id","category","label","status"],"title":"Chip","type":"object"},"ChipCategory":{"enum":["type","category","place","rows","predicate","output"],"title":"ChipCategory","type":"string"},"ChipOp":{"enum":["set","remove"],"title":"ChipOp","type":"string"},"ChipOperation":{"additionalProperties":false,"properties":{"op":{"$ref":"#/components/schemas/ChipOp"},"chip_id":{"minLength":1,"title":"Chip Id","type":"string"},"value":{"anyOf":[{"type":"boolean"},{"type":"integer"},{"type":"number"},{"type":"string"},{"items":{"type":"string"},"type":"array"},{"$ref":"#/components/schemas/CountMatches"},{"type":"null"}],"default":null,"title":"Value"}},"required":["op","chip_id"],"title":"ChipOperation","type":"object"},"ChipStatus":{"enum":["resolved","ambiguous","unsupported","unresolved"],"title":"ChipStatus","type":"string"},"CompilerStatus":{"enum":["runnable","needs_edit","rejected","capability_pending","compiler_unavailable","unquoted_plan"],"title":"CompilerStatus","type":"string"},"ConditionGrade":{"additionalProperties":false,"description":"Internal reading metadata, never customer-facing copy.","properties":{"part_id":{"title":"Part Id","type":"string"},"field_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Field Id"},"check":{"enum":["instant","page","own_words"],"title":"Check","type":"string"},"single_source":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Single Source"}},"required":["part_id","field_id","check"],"title":"ConditionGrade","type":"object"},"CountComparison":{"additionalProperties":false,"properties":{"op":{"enum":["gte","gt","lte","lt","eq","ne"],"title":"Op","type":"string"},"value":{"minimum":0,"title":"Value","type":"integer"}},"required":["op","value"],"title":"CountComparison","type":"object"},"CountMatches":{"additionalProperties":false,"properties":{"condition":{"anyOf":[{"$ref":"#/components/schemas/MemberExpression"},{"$ref":"#/components/schemas/MemberPredicate"},{"type":"null"}],"default":null,"title":"Condition"},"count":{"$ref":"#/components/schemas/CountComparison"}},"required":["count"],"title":"CountMatches","type":"object"},"Discovery":{"additionalProperties":false,"properties":{"geography_scope":{"anyOf":[{"const":"worldwide.v1","type":"string"},{"type":"null"}],"default":null,"title":"Geography Scope"},"term":{"maxLength":2000,"minLength":1,"title":"Term","type":"string"},"platforms":{"items":{"pattern":"^[a-z][a-z0-9_]{0,47}$","type":"string"},"maxItems":16,"title":"Platforms","type":"array","uniqueItems":true},"searches":{"items":{"maxLength":120,"minLength":1,"type":"string"},"maxItems":4,"title":"Searches","type":"array"},"role_phrases":{"items":{"maxLength":60,"minLength":1,"type":"string"},"maxItems":8,"title":"Role Phrases","type":"array"},"seed_identifiers":{"additionalProperties":{"type":"string"},"maxProperties":8,"title":"Seed Identifiers","type":"object","propertyNames":{"enum":["instagram_handle","tiktok_handle","youtube_channel","website","domain","creator_url"]}}},"required":["term"],"title":"Discovery","type":"object"},"EntityKind":{"enum":["place","creator","organization","storefront_product","app_listing","job_posting","scholarly_work","tender","grant","software_repository","software_package","dataset","clinical_trial","regulatory_document","vulnerability","book","podcast","web_page","knowledge_entity","person"],"title":"EntityKind","type":"string"},"EquivalenceRecord":{"additionalProperties":false,"properties":{"assessment_id":{"pattern":"^[0-9a-f]{64}$","title":"Assessment Id","type":"string"},"provider":{"maxLength":128,"minLength":1,"title":"Provider","type":"string"},"model":{"maxLength":128,"minLength":1,"title":"Model","type":"string"},"verdict":{"const":"equivalent","title":"Verdict","type":"string"},"segments":{"items":{"$ref":"#/components/schemas/AssessedSpan"},"maxItems":128,"minItems":1,"title":"Segments","type":"array"},"assessed_ast_hash":{"anyOf":[{"pattern":"^[0-9a-f]{64}$","type":"string"},{"type":"null"}],"title":"Assessed Ast Hash"},"segment_verdicts":{"items":{"const":"equivalent","type":"string"},"maxItems":128,"minItems":1,"title":"Segment Verdicts","type":"array"},"reason":{"maxLength":500,"minLength":1,"title":"Reason","type":"string"},"meaning":{"const":"recorded_model_judgment_not_source_fact","default":"recorded_model_judgment_not_source_fact","title":"Meaning","type":"string"}},"required":["assessment_id","provider","model","verdict","segments","assessed_ast_hash","segment_verdicts","reason"],"title":"EquivalenceRecord","type":"object"},"Geo":{"additionalProperties":false,"properties":{"kind":{"$ref":"#/components/schemas/GeoKind"},"query_label":{"minLength":1,"title":"Query Label","type":"string"},"country_code":{"anyOf":[{"pattern":"^[A-Z]{2}$","type":"string"},{"type":"null"}],"default":null,"title":"Country Code"},"admin1_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Admin1 Code"},"locality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locality"},"postal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postal Code"},"status":{"$ref":"#/components/schemas/GeoStatus"},"source":{"$ref":"#/components/schemas/GeoSource"},"geoname_id":{"anyOf":[{"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"title":"Geoname Id"},"near":{"anyOf":[{"$ref":"#/components/schemas/Near"},{"type":"null"}],"default":null}},"required":["kind","query_label","admin1_code","locality","postal_code","status","source"],"title":"Geo","type":"object","allOf":[{"if":{"properties":{"status":{"const":"qualified"}},"required":["status"]},"then":{"properties":{"country_code":{"type":"string","pattern":"^[A-Z]{2}$"}}}}]},"GeoKind":{"enum":["country","locality","admin1"],"title":"GeoKind","type":"string"},"GeoSource":{"enum":["gazetteer","catalog","alias","well_formed"],"title":"GeoSource","type":"string"},"GeoStatus":{"enum":["qualified","ambiguous","unqualified"],"title":"GeoStatus","type":"string"},"InferredClause":{"additionalProperties":false,"properties":{"field_id":{"minLength":1,"title":"Field Id","type":"string"},"reason":{"minLength":1,"title":"Reason","type":"string"}},"required":["field_id","reason"],"title":"InferredClause","type":"object"},"MatchExpression":{"additionalProperties":false,"description":"Explicit logical scope; leaves remain ordinary source-verifiable predicates.","properties":{"op":{"enum":["all","any","not"],"title":"Op","type":"string"},"clauses":{"items":{"anyOf":[{"$ref":"#/components/schemas/Predicate"},{"description":"A nested MatchExpression, with the same shape as MatchExpression."}]},"maxItems":128,"minItems":1,"title":"Clauses","type":"array"}},"required":["op","clauses"],"title":"MatchExpression","type":"object","allOf":[{"if":{"properties":{"op":{"const":"not"}},"required":["op"]},"then":{"properties":{"clauses":{"maxItems":1}}}}]},"MemberExpression":{"additionalProperties":false,"properties":{"op":{"enum":["all","any","not"],"title":"Op","type":"string"},"clauses":{"items":{"anyOf":[{"$ref":"#/components/schemas/MemberPredicate"},{"description":"A nested MemberExpression, with the same shape as MemberExpression."}]},"maxItems":32,"minItems":1,"title":"Clauses","type":"array"}},"required":["op","clauses"],"title":"MemberExpression","type":"object","allOf":[{"if":{"properties":{"op":{"const":"not"}},"required":["op"]},"then":{"properties":{"clauses":{"maxItems":1}}}}]},"MemberPredicate":{"additionalProperties":false,"properties":{"field_id":{"pattern":"^[a-z][a-z0-9_]{0,63}$","title":"Field Id","type":"string"},"op":{"$ref":"#/components/schemas/PredicateOp","not":{"const":"count_matches"}},"value":{"anyOf":[{"type":"boolean"},{"type":"integer"},{"type":"number"},{"type":"string"},{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Value"}},"required":["field_id","op","value"],"title":"MemberPredicate","type":"object","allOf":[{"if":{"properties":{"op":{"enum":["contains","not_contains","before","after","on_or_before","on_or_after"]}},"required":["op"]},"then":{"properties":{"value":{"type":"string"}}}},{"if":{"properties":{"op":{"enum":["exists"]}},"required":["op"]},"then":{"properties":{"value":{"enum":[true,false,null]}}}},{"if":{"properties":{"op":{"enum":["gt","lt","gte","lte"]}},"required":["op"]},"then":{"properties":{"value":{"type":"number"}}}},{"if":{"properties":{"op":{"enum":["in","not_in","class_in","has_any","has_all","has_none"]}},"required":["op"]},"then":{"properties":{"value":{"type":"array","items":{"type":"string"}}}}}]},"Near":{"additionalProperties":false,"description":"A distance from a point: \"within 65 miles of 1417 E Fedora Ave, Fresno\".","properties":{"point":{"maxLength":300,"minLength":1,"title":"Point","type":"string"},"latitude":{"maximum":90,"minimum":-90,"title":"Latitude","type":"number"},"longitude":{"maximum":180,"minimum":-180,"title":"Longitude","type":"number"},"radius_km":{"exclusiveMinimum":0,"maximum":1000,"title":"Radius Km","type":"number"}},"required":["point","latitude","longitude","radius_km"],"title":"Near","type":"object"},"Normalization":{"additionalProperties":false,"properties":{"start":{"minimum":0,"title":"Start","type":"integer"},"end":{"minimum":1,"title":"End","type":"integer"},"original":{"maxLength":16000,"minLength":1,"title":"Original","type":"string"},"normalized":{"maxLength":16000,"minLength":1,"title":"Normalized","type":"string"},"kind":{"enum":["spelling","slang","typography","translation","paraphrase"],"title":"Kind","type":"string"},"reason":{"maxLength":500,"minLength":1,"title":"Reason","type":"string"},"authority":{"enum":["registered_rule","recorded_equivalence"],"title":"Authority","type":"string"},"assessment_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Assessment Id"}},"required":["start","end","original","normalized","kind","reason","authority"],"title":"Normalization","type":"object"},"OutputField":{"additionalProperties":false,"description":"A fact selected for delivery, independent from result-set membership.","properties":{"field_id":{"minLength":1,"title":"Field Id","type":"string"},"required":{"default":false,"title":"Required","type":"boolean"}},"required":["field_id"],"title":"OutputField","type":"object"},"ParseResult":{"additionalProperties":false,"properties":{"retained":{"anyOf":[{"$ref":"#/components/schemas/RetainedRequest"},{"type":"null"}],"default":null},"grading":{"anyOf":[{"$ref":"#/components/schemas/ReadingGrade"},{"type":"null"}],"default":null,"description":"Internal metadata; show only the offered rewording text, never the grade."},"understanding":{"anyOf":[{"$ref":"#/components/schemas/Understanding"},{"type":"null"}],"default":null},"decision_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Decision Id"},"status":{"$ref":"#/components/schemas/CompilerStatus"},"ast":{"anyOf":[{"$ref":"#/components/schemas/QueryAst"},{"type":"null"}]},"chips":{"items":{"$ref":"#/components/schemas/Chip"},"title":"Chips","type":"array"},"unsupported":{"items":{"$ref":"#/components/schemas/UnsupportedClause"},"title":"Unsupported","type":"array"},"compiler_version":{"title":"Compiler Version","type":"string"},"ast_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ast Hash"},"canonical_sentence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Canonical Sentence"},"notice":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"One plain line to show before any quote, such as when the request asks SpecStream to make something rather than find what exists.","title":"Notice"},"read_back":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Read Back","description":"The reading in plain words, to show people. canonical_sentence stays the machine form."}},"required":["status","ast","chips","unsupported","compiler_version","ast_hash","canonical_sentence"],"title":"ParseResult","type":"object"},"Predicate":{"additionalProperties":false,"properties":{"field_id":{"minLength":1,"title":"Field Id","type":"string"},"op":{"$ref":"#/components/schemas/PredicateOp"},"value":{"anyOf":[{"type":"boolean"},{"type":"integer"},{"type":"number"},{"type":"string"},{"items":{"type":"string"},"type":"array"},{"$ref":"#/components/schemas/CountMatches"},{"type":"null"}],"title":"Value"}},"required":["field_id","op","value"],"title":"Predicate","type":"object","allOf":[{"if":{"properties":{"op":{"enum":["contains","not_contains","before","after","on_or_before","on_or_after"]}},"required":["op"]},"then":{"properties":{"value":{"type":"string"}}}},{"if":{"properties":{"op":{"enum":["exists"]}},"required":["op"]},"then":{"properties":{"value":{"enum":[true,false,null]}}}},{"if":{"properties":{"op":{"enum":["gt","lt","gte","lte"]}},"required":["op"]},"then":{"properties":{"value":{"type":"number"}}}},{"if":{"properties":{"op":{"enum":["in","not_in","class_in","has_any","has_all","has_none"]}},"required":["op"]},"then":{"properties":{"value":{"type":"array","items":{"type":"string"}}}}},{"if":{"properties":{"op":{"const":"count_matches"}},"required":["op"]},"then":{"properties":{"value":{"$ref":"#/components/schemas/CountMatches"}}},"else":{"properties":{"value":{"not":{"type":"object"}}}}}]},"PredicateOp":{"enum":["count_matches","contains","not_contains","has_any","has_all","has_none","before","after","on_or_before","on_or_after","gt","lt","ne","not_in","gte","lte","eq","exists","class_in","in"],"title":"PredicateOp","type":"string"},"QueryAst":{"additionalProperties":false,"properties":{"target_requirement":{"anyOf":[{"$ref":"#/components/schemas/TargetRequirement"},{"type":"null"}],"default":null},"semantic_binding":{"anyOf":[{"$ref":"#/components/schemas/SemanticBinding"},{"type":"null"}],"default":null},"spec_version":{"const":"query_ast.v1","default":"query_ast.v1","title":"Spec Version","type":"string"},"entity_type":{"$ref":"#/components/schemas/EntityType"},"limit":{"$ref":"#/components/schemas/QueryLimit"},"discovery":{"$ref":"#/components/schemas/Discovery"},"geo":{"anyOf":[{"$ref":"#/components/schemas/Geo"},{"type":"null"}],"default":null},"where":{"items":{"$ref":"#/components/schemas/Predicate"},"maxItems":128,"title":"Where","type":"array"},"match_expression":{"anyOf":[{"$ref":"#/components/schemas/MatchExpression"},{"type":"null"}],"default":null},"output_fields":{"items":{"$ref":"#/components/schemas/OutputField"},"maxItems":24,"title":"Output Fields","type":"array"},"worded_conditions":{"items":{"$ref":"#/components/schemas/WordedCondition"},"maxItems":12,"title":"Worded Conditions","type":"array"},"worded_outputs":{"items":{"$ref":"#/components/schemas/WordedOutput"},"maxItems":12,"title":"Worded Outputs","type":"array"},"sort":{"items":{"$ref":"#/components/schemas/SortKey"},"title":"Sort","type":"array"},"locale":{"pattern":"^[a-z]{2}-[A-Z]{2}$","title":"Locale","type":"string"},"inferred":{"items":{"$ref":"#/components/schemas/InferredClause"},"title":"Inferred","type":"array"},"unsupported":{"items":{"$ref":"#/components/schemas/UnsupportedClause"},"title":"Unsupported","type":"array"}},"required":["entity_type","limit","discovery","where","sort","locale","inferred","unsupported"],"title":"query_ast.v1","type":"object","allOf":[{"if":{"properties":{"entity_type":{"const":"local_business"}},"required":["entity_type"]},"then":{"required":["geo"],"properties":{"geo":{"$ref":"#/components/schemas/Geo"}}}}]},"QueryLimit":{"additionalProperties":false,"properties":{"max":{"default":25,"maximum":2147483647,"minimum":1,"title":"Max","type":"integer"},"inferred":{"default":false,"title":"Inferred","type":"boolean"}},"title":"QueryLimit","type":"object"},"ReadingGrade":{"additionalProperties":false,"description":"Advisory only. It cannot change the request or approve a run.","properties":{"kind":{"anyOf":[{"$ref":"#/components/schemas/EntityType"},{"type":"null"}]},"strength":{"enum":["strong","good","weak"],"title":"Strength","type":"string"},"path":{"anyOf":[{"enum":["catalog","web","knowledge"],"type":"string"},{"type":"null"}],"title":"Path"},"conditions":{"items":{"$ref":"#/components/schemas/ConditionGrade"},"title":"Conditions","type":"array"},"suggestions":{"items":{"$ref":"#/components/schemas/ReadingSuggestion"},"title":"Suggestions","type":"array"}},"required":["kind","strength","path"],"title":"ReadingGrade","type":"object"},"ReadingReceipt":{"additionalProperties":false,"description":"Source receipt in the shape the workspace reader draws; `result` stays the authority.","properties":{"text":{"title":"Text","type":"string"},"source_hash":{"title":"Source Hash","type":"string"},"spans":{"items":{"$ref":"#/components/schemas/ReceiptSpan"},"title":"Spans","type":"array"},"normalizations":{"default":[],"items":{"$ref":"#/components/schemas/ReceiptNormalization"},"title":"Normalizations","type":"array"},"refinement":{"enum":["enabled","disabled"],"title":"Refinement","type":"string"},"ast":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Ast"}},"required":["text","source_hash","spans","refinement","ast"],"title":"ReadingReceipt","type":"object"},"ReadingSuggestion":{"additionalProperties":false,"properties":{"part_id":{"title":"Part Id","type":"string"},"words":{"title":"Words","type":"string"},"span_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Span Id"},"nature":{"enum":["stated","judgment","absence","cross_page_count"],"title":"Nature","type":"string"},"rewordings":{"items":{"$ref":"#/components/schemas/CheckableRewording"},"title":"Rewordings","type":"array"}},"required":["part_id","words","nature"],"title":"ReadingSuggestion","type":"object"},"ReceiptNormalization":{"additionalProperties":false,"properties":{"span_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Span Id"},"utf16_start":{"minimum":0,"title":"Utf16 Start","type":"integer"},"utf16_end":{"minimum":1,"title":"Utf16 End","type":"integer"},"start":{"minimum":0,"title":"Start","type":"integer"},"end":{"minimum":1,"title":"End","type":"integer"},"from":{"title":"From","type":"string"},"to":{"title":"To","type":"string"},"reason":{"title":"Reason","type":"string"}},"required":["utf16_start","utf16_end","start","end","from","to","reason"],"title":"ReceiptNormalization","type":"object"},"ReceiptSpan":{"additionalProperties":false,"properties":{"span_id":{"title":"Span Id","type":"string"},"text":{"title":"Text","type":"string"},"utf16_start":{"minimum":0,"title":"Utf16 Start","type":"integer"},"utf16_end":{"minimum":1,"title":"Utf16 End","type":"integer"},"start":{"minimum":0,"title":"Start","type":"integer"},"end":{"minimum":1,"title":"End","type":"integer"},"role":{"enum":["target","quantity","geography","condition","output","syntax","unknown"],"title":"Role","type":"string"},"state":{"enum":["typed","discovery","syntax","unresolved"],"title":"State","type":"string"},"ast_refs":{"default":[],"items":{"type":"string"},"title":"Ast Refs","type":"array"},"reason":{"title":"Reason","type":"string"}},"required":["span_id","text","utf16_start","utf16_end","start","end","role","state","reason"],"title":"ReceiptSpan","type":"object"},"SemanticBinding":{"additionalProperties":false,"properties":{"spec_version":{"const":"semantic_binding.v1","default":"semantic_binding.v1","title":"Spec Version","type":"string"},"catalog_sha256":{"pattern":"^[0-9a-f]{64}$","title":"Catalog Sha256","type":"string"},"target_id":{"pattern":"^[a-z][a-z0-9_.-]{1,127}$","title":"Target Id","type":"string"},"footprint_id":{"anyOf":[{"pattern":"^[a-z][a-z0-9_.-]{1,127}$","type":"string"},{"type":"null"}],"default":null,"title":"Footprint Id"}},"required":["catalog_sha256","target_id"],"title":"SemanticBinding","type":"object"},"SortDirection":{"enum":["asc","desc"],"title":"SortDirection","type":"string"},"SortKey":{"additionalProperties":false,"properties":{"field_id":{"minLength":1,"title":"Field Id","type":"string"},"direction":{"$ref":"#/components/schemas/SortDirection"}},"required":["field_id","direction"],"title":"SortKey","type":"object"},"SourceSpan":{"additionalProperties":false,"properties":{"span_id":{"pattern":"^s_[0-9a-f]{24}$","title":"Span Id","type":"string"},"start":{"minimum":0,"title":"Start","type":"integer"},"end":{"minimum":1,"title":"End","type":"integer"},"start_utf16":{"minimum":0,"title":"Start Utf16","type":"integer"},"end_utf16":{"minimum":1,"title":"End Utf16","type":"integer"},"text":{"maxLength":16000,"minLength":1,"title":"Text","type":"string"},"role":{"enum":["target","quantity","geography","condition","output","syntax","unknown"],"title":"Role","type":"string"},"state":{"enum":["typed","discovery","syntax","unresolved"],"title":"State","type":"string"},"ast_refs":{"default":[],"items":{"type":"string"},"maxItems":256,"title":"Ast Refs","type":"array"},"reason":{"maxLength":180,"minLength":1,"title":"Reason","type":"string"}},"required":["span_id","start","end","start_utf16","end_utf16","text","role","state","reason"],"title":"SourceSpan","type":"object"},"TargetRequirement":{"additionalProperties":false,"properties":{"contract":{"const":"target-source-assertion.v1","default":"target-source-assertion.v1","title":"Contract","type":"string"},"entity_kind":{"$ref":"#/components/schemas/EntityKind"},"text":{"maxLength":2000,"minLength":1,"title":"Text","type":"string"},"reading_policy_sha256":{"pattern":"^[0-9a-f]{64}$","title":"Reading Policy Sha256","type":"string"},"max_candidates":{"default":128,"maximum":256,"minimum":1,"title":"Max Candidates","type":"integer"},"max_passages":{"default":12,"maximum":16,"minimum":1,"title":"Max Passages","type":"integer"},"max_context_chars":{"default":7500,"maximum":12000,"minimum":500,"title":"Max Context Chars","type":"integer"},"max_source_chars":{"default":262144,"maximum":262144,"minimum":1000,"title":"Max Source Chars","type":"integer"},"timeout_ms":{"default":3000,"maximum":5000,"minimum":1,"title":"Timeout Ms","type":"integer"},"evidence_meaning":{"const":"interpreted_published_assertion","default":"interpreted_published_assertion","title":"Evidence Meaning","type":"string"},"prior_knowledge_authority":{"const":false,"default":false,"title":"Prior Knowledge Authority","type":"boolean"},"modifies_typed_predicates":{"const":false,"default":false,"title":"Modifies Typed Predicates","type":"boolean"}},"required":["entity_kind","text","reading_policy_sha256"],"title":"TargetRequirement","type":"object"},"Understanding":{"additionalProperties":false,"properties":{"spec_version":{"const":"request_understanding.v1","default":"request_understanding.v1","title":"Spec Version","type":"string"},"raw":{"maxLength":16000,"title":"Raw","type":"string"},"source_hash":{"pattern":"^[0-9a-f]{64}$","title":"Source Hash","type":"string"},"request_hash":{"pattern":"^[0-9a-f]{64}$","title":"Request Hash","type":"string"},"locale":{"pattern":"^[a-z]{2}-[A-Z]{2}$","title":"Locale","type":"string"},"spans":{"items":{"$ref":"#/components/schemas/SourceSpan"},"maxItems":2048,"title":"Spans","type":"array"},"normalizations":{"default":[],"items":{"$ref":"#/components/schemas/Normalization"},"maxItems":512,"title":"Normalizations","type":"array"},"refinement":{"default":"not_needed","enum":["not_needed","fast_only","accepted","unavailable","uncertain","invalid","saturated","disabled"],"title":"Refinement","type":"string"},"assessment_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Assessment Id"},"assessment":{"anyOf":[{"$ref":"#/components/schemas/EquivalenceRecord"},{"type":"null"}],"default":null},"acquisition":{"$ref":"#/components/schemas/AcquisitionIntent"}},"required":["raw","source_hash","request_hash","locale","spans","acquisition"],"title":"Understanding","type":"object"},"UnsupportedClause":{"additionalProperties":false,"properties":{"field_id":{"minLength":1,"title":"Field Id","type":"string"},"op":{"anyOf":[{"$ref":"#/components/schemas/PredicateOp"},{"type":"null"}]},"value":{"anyOf":[{"type":"boolean"},{"type":"integer"},{"type":"number"},{"type":"string"},{"items":{"type":"string"},"type":"array"},{"$ref":"#/components/schemas/CountMatches"},{"type":"null"}],"title":"Value"},"reason":{"minLength":1,"title":"Reason","type":"string"}},"required":["field_id","op","value","reason"],"title":"UnsupportedClause","type":"object"},"WordedCondition":{"additionalProperties":false,"description":"A requirement no catalog field expresses, kept in the person's own words.\n\nSchema is acceleration, never permission: each result's own pages are read\nfor this statement (yes / no / unsure). A yes needs a quote the code finds in\nthe result's own source; a quoted no removes the result; an unconfirmed line\nis delivered marked.","properties":{"condition_id":{"pattern":"^[wt][0-9]{1,2}$","title":"Condition Id","type":"string"},"words":{"maxLength":300,"minLength":1,"title":"Words","type":"string"},"statement":{"maxLength":400,"minLength":1,"title":"Statement","type":"string"},"search_words":{"default":"","maxLength":120,"title":"Search Words","type":"string"}},"required":["condition_id","words","statement"],"title":"WordedCondition","type":"object"},"WordedOutput":{"additionalProperties":false,"description":"A detail to return that no output field expresses, read from each result's pages.","properties":{"detail_id":{"pattern":"^d[0-9]{1,2}$","title":"Detail Id","type":"string"},"words":{"maxLength":300,"minLength":1,"title":"Words","type":"string"},"description":{"maxLength":300,"minLength":1,"title":"Description","type":"string"},"value_type":{"default":"text","enum":["text","number","date","url","email","phone","yes_no"],"title":"Value Type","type":"string"},"required":{"default":false,"title":"Required","type":"boolean"}},"required":["detail_id","words","description"],"title":"WordedOutput","type":"object"},"LiveUnderstandingResult":{"additionalProperties":false,"properties":{"document_id":{"title":"Document Id","type":"string"},"revision":{"title":"Revision","type":"integer"},"generation":{"title":"Generation","type":"integer"},"phase":{"enum":["fast","refined"],"title":"Phase","type":"string"},"context":{"$ref":"#/components/schemas/ReadingContext"},"source_hash":{"title":"Source Hash","type":"string"},"request_hash":{"title":"Request Hash","type":"string"},"receipt":{"$ref":"#/components/schemas/ReadingReceipt"},"result":{"$ref":"#/components/schemas/ParseResult"}},"required":["document_id","revision","generation","phase","context","source_hash","request_hash","receipt","result"],"title":"LiveUnderstandingResult","type":"object"},"DictationInput":{"additionalProperties":false,"properties":{"document_id":{"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$","title":"Document Id","type":"string"},"revision":{"maximum":9007199254740991,"minimum":0,"title":"Revision","type":"integer"},"recording_id":{"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$","title":"Recording Id","type":"string"},"sequence":{"default":0,"maximum":9007199254740991,"minimum":0,"title":"Sequence","type":"integer"},"base_text_hash":{"pattern":"^[0-9a-f]{64}$","title":"Base Text Hash","type":"string"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Language"},"expected_audio_sha256":{"anyOf":[{"pattern":"^[0-9a-f]{64}$","type":"string"},{"type":"null"}],"default":null,"title":"Expected Audio Sha256"}},"required":["document_id","revision","recording_id","base_text_hash"],"title":"DictationInput","type":"object"},"TranscriptSegment":{"additionalProperties":false,"properties":{"start":{"maximum":61,"minimum":0,"title":"Start","type":"number"},"end":{"maximum":61,"minimum":0,"title":"End","type":"number"},"text":{"maxLength":16000,"title":"Text","type":"string"},"avg_logprob":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Avg Logprob"},"no_speech_probability":{"anyOf":[{"maximum":1,"minimum":0,"type":"number"},{"type":"null"}],"default":null,"title":"No Speech Probability"},"compression_ratio":{"anyOf":[{"minimum":0,"type":"number"},{"type":"null"}],"default":null,"title":"Compression Ratio"}},"required":["start","end","text"],"title":"TranscriptSegment","type":"object"},"DictationResult":{"additionalProperties":false,"properties":{"spec_version":{"const":"dictation.v1","default":"dictation.v1","title":"Spec Version","type":"string"},"input":{"$ref":"#/components/schemas/DictationInput"},"audio_sha256":{"pattern":"^[0-9a-f]{64}$","title":"Audio Sha256","type":"string"},"request_hash":{"pattern":"^[0-9a-f]{64}$","title":"Request Hash","type":"string"},"duration_seconds":{"exclusiveMinimum":0,"maximum":60,"title":"Duration Seconds","type":"number"},"status":{"enum":["transcribed","uncertain","no_speech"],"title":"Status","type":"string"},"text":{"maxLength":16000,"title":"Text","type":"string"},"transcript_sha256":{"pattern":"^[0-9a-f]{64}$","title":"Transcript Sha256","type":"string"},"detected_language":{"anyOf":[{"maxLength":40,"pattern":"^[A-Za-z][A-Za-z -]*$","type":"string"},{"type":"null"}],"default":null,"title":"Detected Language"},"provider":{"anyOf":[{"enum":["cloudflare","groq"],"type":"string"},{"type":"null"}],"title":"Provider"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"segments":{"default":[],"items":{"$ref":"#/components/schemas/TranscriptSegment"},"maxItems":256,"title":"Segments","type":"array"},"warnings":{"default":[],"items":{"type":"string"},"maxItems":16,"title":"Warnings","type":"array"},"transcription_only":{"const":true,"default":true,"title":"Transcription Only","type":"boolean"},"translation_requested":{"const":false,"default":false,"title":"Translation Requested","type":"boolean"},"audio_retention":{"const":"request_memory_only","default":"request_memory_only","title":"Audio Retention","type":"string"},"machine_generated":{"const":true,"default":true,"title":"Machine Generated","type":"boolean"}},"required":["input","audio_sha256","request_hash","duration_seconds","status","text","transcript_sha256","provider","model"],"title":"DictationResult","type":"object"},"DictationCapabilities":{"additionalProperties":false,"properties":{"spec_version":{"const":"dictation.v1","default":"dictation.v1","title":"Spec Version","type":"string"},"configured":{"title":"Configured","type":"boolean"},"ready":{"title":"Ready","type":"boolean"},"provider":{"anyOf":[{"enum":["cloudflare","groq"],"type":"string"},{"type":"null"}],"title":"Provider"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"languages":{"default":["af","am","ar","as","az","ba","be","bg","bn","bo","br","bs","ca","cs","cy","da","de","el","en","es","et","eu","fa","fi","fo","fr","gl","gu","ha","haw","he","hi","hr","ht","hu","hy","id","is","it","ja","jw","ka","kk","km","kn","ko","la","lb","ln","lo","lt","lv","mg","mi","mk","ml","mn","mr","ms","mt","my","ne","nl","nn","no","oc","pa","pl","ps","pt","ro","ru","sa","sd","si","sk","sl","sn","so","sq","sr","su","sv","sw","ta","te","tg","th","tk","tl","tr","tt","uk","ur","uz","vi","yi","yo","yue","zh"],"items":{"type":"string"},"title":"Languages","type":"array"},"language_detection":{"const":"automatic_unless_hint_supplied","default":"automatic_unless_hint_supplied","title":"Language Detection","type":"string"},"content_types":{"default":["audio/wav","audio/x-wav","audio/wave","audio/flac","audio/x-flac","audio/webm","audio/ogg","audio/mp4","audio/x-m4a","audio/mpeg","application/octet-stream"],"items":{"type":"string"},"title":"Content Types","type":"array"},"max_upload_bytes":{"default":4194304,"title":"Max Upload Bytes","type":"integer"},"max_audio_seconds":{"default":60,"title":"Max Audio Seconds","type":"integer"},"mode":{"const":"complete_utterances","default":"complete_utterances","title":"Mode","type":"string"},"processing":{"const":"hosted_api","default":"hosted_api","title":"Processing","type":"string"},"audio_retention":{"const":"request_memory_only","default":"request_memory_only","title":"Audio Retention","type":"string"},"automatically_executes":{"const":false,"default":false,"title":"Automatically Executes","type":"boolean"},"multilingual_intent_enabled":{"const":false,"default":false,"title":"Multilingual Intent Enabled","type":"boolean"},"readiness_scope":{"const":"configuration_and_decoder_not_provider_health","default":"configuration_and_decoder_not_provider_health","title":"Readiness Scope","type":"string"}},"required":["configured","ready","provider","model"],"title":"DictationCapabilities","type":"object"},"ParseRequest":{"additionalProperties":false,"properties":{"retained":{"anyOf":[{"$ref":"#/components/schemas/RetainedRequest"},{"type":"null"}],"default":null},"q":{"maxLength":16000,"minLength":1,"title":"Q","type":"string"},"kind":{"anyOf":[{"$ref":"#/components/schemas/EntityType"},{"type":"null"}],"default":null,"description":"Chosen result kind; the compiler never switches away from it."},"locale":{"default":"en-US","pattern":"^[a-z]{2}-[A-Z]{2}$","title":"Locale","type":"string"},"expected_source_hash":{"anyOf":[{"pattern":"^[0-9a-f]{64}$","type":"string"},{"type":"null"}],"default":null,"title":"Expected Source Hash"}},"required":["q"],"title":"ParseRequest","type":"object"},"ParseFromChipsRequest":{"additionalProperties":false,"properties":{"ast":{"$ref":"#/components/schemas/QueryAst"},"operations":{"items":{"$ref":"#/components/schemas/ChipOperation"},"title":"Operations","type":"array"}},"required":["ast","operations"],"title":"ParseFromChipsRequest","type":"object"},"BringBackOption":{"additionalProperties":false,"properties":{"field_id":{"title":"Field Id","type":"string"},"label":{"title":"Label","type":"string"},"value_type":{"title":"Value Type","type":"string"},"recommended":{"title":"Recommended","type":"boolean"},"contact":{"title":"Contact","type":"boolean"},"definition":{"default":"","title":"Definition","type":"string"}},"required":["field_id","label","value_type","recommended","contact"],"title":"BringBackOption","type":"object"},"MustMatchOption":{"additionalProperties":false,"properties":{"field_id":{"title":"Field Id","type":"string"},"label":{"title":"Label","type":"string"},"value_type":{"title":"Value Type","type":"string"},"operators":{"items":{"$ref":"#/components/schemas/PredicateOp"},"title":"Operators","type":"array"}},"required":["field_id","label","value_type","operators"],"title":"MustMatchOption","type":"object"},"TargetDefinition":{"additionalProperties":false,"properties":{"target_id":{"pattern":"^[a-z][a-z0-9_.-]{1,127}$","title":"Target Id","type":"string"},"entity_type":{"$ref":"#/components/schemas/EntityType"},"grain":{"maxLength":1200,"minLength":24,"title":"Grain","type":"string"},"phrases":{"default":[],"items":{"type":"string"},"title":"Phrases","type":"array"},"retrieval_noun":{"maxLength":120,"minLength":1,"title":"Retrieval Noun","type":"string"},"retrieval_aliases":{"default":[],"items":{"type":"string"},"maxItems":32,"title":"Retrieval Aliases","type":"array"},"footprint_id":{"anyOf":[{"pattern":"^[a-z][a-z0-9_.-]{1,127}$","type":"string"},{"type":"null"}],"default":null,"title":"Footprint Id"}},"required":["target_id","entity_type","grain","retrieval_noun"],"title":"TargetDefinition","type":"object"},"SpecOptionsData":{"additionalProperties":false,"properties":{"semantic_binding":{"anyOf":[{"$ref":"#/components/schemas/SemanticBinding"},{"type":"null"}],"default":null},"target_refinements":{"items":{"$ref":"#/components/schemas/TargetDefinition"},"title":"Target Refinements","type":"array"},"entity_type":{"$ref":"#/components/schemas/EntityType"},"target_label":{"title":"Target Label","type":"string"},"must_match":{"items":{"$ref":"#/components/schemas/MustMatchOption"},"title":"Must Match","type":"array"},"bring_back":{"items":{"$ref":"#/components/schemas/BringBackOption"},"title":"Bring Back","type":"array"}},"required":["entity_type","target_label","must_match","bring_back"],"title":"SpecOptionsData","type":"object"},"FindContinuationRequest":{"additionalProperties":false,"properties":{"operation":{"enum":["extend","refresh","add_facts"],"title":"Operation","type":"string"},"idempotency_key":{"maxLength":128,"minLength":8,"pattern":"^[A-Za-z0-9_.:-]+$","title":"Idempotency Key","type":"string"},"additional_rows":{"anyOf":[{"maximum":2147483647,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"title":"Additional Rows"},"ast_hash":{"anyOf":[{"pattern":"^[0-9a-f]{64}$","type":"string"},{"type":"null"}],"default":null,"title":"Ast Hash"},"selected_entity_ids":{"anyOf":[{"items":{"type":"string"},"maxItems":2147483647,"minItems":1,"type":"array"},{"type":"null"}],"default":null,"title":"Selected Entity Ids"}},"required":["operation","idempotency_key"],"title":"FindContinuationRequest","type":"object"},"AcquiredRecordCountProof":{"additionalProperties":false,"properties":{"spec_version":{"const":"acquired_record_count_proof.v1","default":"acquired_record_count_proof.v1","title":"Spec Version","type":"string"},"scope":{"const":"published_acquired_native_records","default":"published_acquired_native_records","title":"Scope","type":"string"},"collection_complete":{"title":"Collection Complete","type":"boolean"},"members_seen":{"maximum":2000,"minimum":0,"title":"Members Seen","type":"integer"},"lower_bound":{"maximum":2000,"minimum":0,"title":"Lower Bound","type":"integer"},"upper_bound":{"anyOf":[{"maximum":2000,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Upper Bound"},"matching_members":{"items":{"type":"integer"},"maxItems":2000,"title":"Matching Members","type":"array"},"unresolved_members":{"items":{"type":"integer"},"maxItems":2000,"title":"Unresolved Members","type":"array"},"witnesses":{"items":{"$ref":"#/components/schemas/AcquiredRecordWitness"},"maxItems":32,"title":"Witnesses","type":"array"},"witnesses_complete":{"title":"Witnesses Complete","type":"boolean"}},"required":["collection_complete","members_seen","lower_bound","matching_members","unresolved_members","witnesses","witnesses_complete"],"title":"AcquiredRecordCountProof","type":"object"},"AcquiredRecordWitness":{"additionalProperties":false,"properties":{"source_pointer":{"title":"Source Pointer","type":"string"},"predicates":{"items":{"$ref":"#/components/schemas/PredicateEvidence"},"maxItems":32,"title":"Predicates","type":"array"},"proof":{"$ref":"#/components/schemas/LogicalProof"},"field_pointers":{"additionalProperties":{"type":"string"},"maxProperties":24,"title":"Field Pointers","type":"object"},"member_index":{"exclusiveMaximum":2000,"minimum":0,"title":"Member Index","type":"integer"},"record_id":{"maxLength":2000,"minLength":1,"title":"Record Id","type":"string"},"source_ref":{"$ref":"#/components/schemas/PredicateSourceRef"},"source_url":{"title":"Source Url","type":"string"},"observed_at":{"format":"date-time","title":"Observed At","type":"string"}},"required":["source_pointer","predicates","proof","member_index","record_id","source_ref","source_url","observed_at"],"title":"AcquiredRecordWitness","type":"object"},"EvidenceTime":{"additionalProperties":false,"properties":{"contract":{"const":"source-time.v1","default":"source-time.v1","title":"Contract","type":"string"},"state":{"const":"historical_capture","default":"historical_capture","title":"State","type":"string"},"captured_at":{"format":"date-time","title":"Captured At","type":"string"},"retrieved_at":{"format":"date-time","title":"Retrieved At","type":"string"},"original_url":{"anyOf":[{"maxLength":8192,"type":"string"},{"type":"null"}],"default":null,"title":"Original Url"},"archive":{"enum":["commoncrawl","wayback","arquivo"],"title":"Archive","type":"string"}},"required":["captured_at","retrieved_at","archive"],"title":"EvidenceTime","type":"object"},"FieldObservation":{"additionalProperties":false,"properties":{"entity_id":{"title":"Entity Id","type":"string"},"field_id":{"title":"Field Id","type":"string"},"value":{"anyOf":[{},{"type":"null"}],"title":"Value"},"normalized_value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Normalized Value"},"source":{"title":"Source","type":"string"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"observed_at":{"format":"date-time","title":"Observed At","type":"string"},"observation_id":{"title":"Observation Id","type":"string"},"request_hash":{"title":"Request Hash","type":"string"},"join_method":{"anyOf":[{"$ref":"#/components/schemas/JoinMethod"},{"type":"null"}]},"join_confidence":{"anyOf":[{"maximum":1.0,"minimum":0.0,"type":"number"},{"type":"null"}],"default":null,"title":"Join Confidence"},"null_reason":{"anyOf":[{"$ref":"#/components/schemas/NullReason"},{"type":"null"}]},"selected":{"default":true,"title":"Selected","type":"boolean"},"value_complete":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"title":"Value Complete"},"source_record_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Source Record Id"},"source_pointer":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Source Pointer"},"source_response_sha256":{"anyOf":[{"pattern":"^[0-9a-f]{64}$","type":"string"},{"type":"null"}],"default":null,"title":"Source Response Sha256"},"source_time":{"anyOf":[{"$ref":"#/components/schemas/EvidenceTime"},{"type":"null"}],"default":null}},"required":["entity_id","field_id","value","normalized_value","source","source_url","observed_at","observation_id","request_hash","join_method","null_reason"],"title":"FieldObservation","type":"object"},"InputIdentityAgreement":{"additionalProperties":false,"description":"A supplied identifying value and the source fact that agrees with it.","properties":{"field":{"title":"Field","type":"string"},"supplied":{"title":"Supplied","type":"string"},"observed":{"$ref":"#/components/schemas/FieldObservation"}},"required":["field","supplied","observed"],"title":"InputIdentityAgreement","type":"object"},"InputIdentityCandidate":{"additionalProperties":false,"properties":{"name":{"title":"Name","type":"string"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Website"},"native_identity":{"additionalProperties":{"type":"string"},"title":"Native Identity","type":"object"},"agreements":{"default":[],"items":{"$ref":"#/components/schemas/InputIdentityAgreement"},"maxItems":8,"title":"Agreements","type":"array"},"conflicting_fields":{"default":[],"items":{"type":"string"},"title":"Conflicting Fields","type":"array"},"missing_fields":{"default":[],"items":{"type":"string"},"title":"Missing Fields","type":"array"}},"required":["name","native_identity"],"title":"InputIdentityCandidate","type":"object"},"InputIdentityResolution":{"additionalProperties":false,"properties":{"policy":{"const":"name-location.v1","default":"name-location.v1","title":"Policy","type":"string"},"status":{"enum":["matched","ambiguous","needs_context","unresolved","unavailable"],"title":"Status","type":"string"},"reason":{"title":"Reason","type":"string"},"candidates":{"default":[],"items":{"$ref":"#/components/schemas/InputIdentityCandidate"},"maxItems":8,"title":"Candidates","type":"array"},"candidates_considered":{"minimum":0,"title":"Candidates Considered","type":"integer"},"candidates_truncated":{"default":false,"title":"Candidates Truncated","type":"boolean"},"scope":{"const":"observed_source_candidates","default":"observed_source_candidates","title":"Scope","type":"string"},"native_identity":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"default":null,"title":"Native Identity"}},"required":["status","reason","candidates_considered"],"title":"InputIdentityResolution","type":"object"},"JoinMethod":{"enum":["place_id","registrable_domain","e164_phone_locality","address_name","reciprocal_handle","source_declared_link"],"title":"JoinMethod","type":"string"},"LogicalProof":{"additionalProperties":false,"description":"A proof references evidence, never a fabricated observation for a group.\n\nTrue ANY requires a witnessed branch, true NOT a witnessed false child.\nMissing evidence stays unknown under every negation. Record-level validation\nadditionally binds each leaf truth to its actual PredicateEvidence entry.","properties":{"op":{"enum":["predicate","all","any","not"],"title":"Op","type":"string"},"truth":{"enum":["true","false","unknown"],"title":"Truth","type":"string"},"predicate_index":{"anyOf":[{"maximum":1023,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Predicate Index"},"children":{"default":[],"items":{"description":"A nested LogicalProof, with the same shape as LogicalProof."},"maxItems":256,"title":"Children","type":"array"}},"required":["op","truth"],"title":"LogicalProof","type":"object"},"NullReason":{"enum":["not_published","blocked_at_source","challenge_page","unreadable","timeout","join_ambiguous","predicate_unknown","internal_failure"],"title":"NullReason","type":"string"},"PredicateEvidence":{"additionalProperties":false,"properties":{"field_id":{"title":"Field Id","type":"string"},"op":{"$ref":"#/components/schemas/PredicateOp"},"required_value":{"anyOf":[{},{"type":"null"}],"title":"Required Value"},"observed_value":{"anyOf":[{},{"type":"null"}],"title":"Observed Value"},"passed":{"title":"Passed","type":"boolean"},"source_label":{"title":"Source Label","type":"string"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"observed_at":{"format":"date-time","title":"Observed At","type":"string"},"null_reason":{"anyOf":[{"$ref":"#/components/schemas/NullReason"},{"type":"null"}],"default":null},"source_ref":{"anyOf":[{"$ref":"#/components/schemas/PredicateSourceRef"},{"type":"null"}],"default":null},"record_proof":{"anyOf":[{"$ref":"#/components/schemas/RecordCountProof"},{"description":"A nested AcquiredRecordCountProof, with the same shape as AcquiredRecordCountProof."},{"type":"null"}],"default":null,"title":"Record Proof"}},"required":["field_id","op","required_value","observed_value","passed","source_label","source_url","observed_at"],"title":"PredicateEvidence","type":"object"},"PredicateSourceRef":{"additionalProperties":false,"description":"Pointer to a concrete fetch and native record, never a generated group source.","properties":{"observation_id":{"minLength":1,"title":"Observation Id","type":"string"},"request_hash":{"minLength":1,"title":"Request Hash","type":"string"},"native_record_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Native Record Id"},"pointer":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Pointer"},"response_sha256":{"anyOf":[{"pattern":"^[0-9a-f]{64}$","type":"string"},{"type":"null"}],"default":null,"title":"Response Sha256"},"source_time":{"anyOf":[{"$ref":"#/components/schemas/EvidenceTime"},{"type":"null"}],"default":null}},"required":["observation_id","request_hash"],"title":"PredicateSourceRef","type":"object"},"RecordCountProof":{"additionalProperties":false,"properties":{"spec_version":{"const":"record_count_proof.v1","default":"record_count_proof.v1","title":"Spec Version","type":"string"},"scope":{"const":"published_source_records","default":"published_source_records","title":"Scope","type":"string"},"collection_complete":{"title":"Collection Complete","type":"boolean"},"members_seen":{"maximum":10000,"minimum":0,"title":"Members Seen","type":"integer"},"lower_bound":{"maximum":10000,"minimum":0,"title":"Lower Bound","type":"integer"},"upper_bound":{"anyOf":[{"maximum":10000,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Upper Bound"},"matching_pointers":{"items":{"type":"string"},"maxItems":10000,"title":"Matching Pointers","type":"array"},"unresolved_pointers":{"items":{"type":"string"},"maxItems":10000,"title":"Unresolved Pointers","type":"array"},"witnesses":{"items":{"$ref":"#/components/schemas/RecordWitness"},"maxItems":32,"title":"Witnesses","type":"array"},"witnesses_complete":{"title":"Witnesses Complete","type":"boolean"}},"required":["collection_complete","members_seen","lower_bound","matching_pointers","unresolved_pointers","witnesses","witnesses_complete"],"title":"RecordCountProof","type":"object"},"RecordWitness":{"additionalProperties":false,"properties":{"source_pointer":{"title":"Source Pointer","type":"string"},"predicates":{"items":{"description":"A nested PredicateEvidence, with the same shape as PredicateEvidence."},"maxItems":32,"title":"Predicates","type":"array"},"proof":{"$ref":"#/components/schemas/LogicalProof"}},"required":["source_pointer","predicates","proof"],"title":"RecordWitness","type":"object"},"RevisitOutcome":{"additionalProperties":false,"properties":{"target_id":{"title":"Target Id","type":"string"},"status":{"enum":["verified","no_longer_matches","unresolved","unavailable"],"title":"Status","type":"string"},"reason":{"title":"Reason","type":"string"},"evaluated_at":{"format":"date-time","title":"Evaluated At","type":"string"},"predicates":{"default":[],"items":{"$ref":"#/components/schemas/PredicateEvidence"},"title":"Predicates","type":"array"},"match_proof":{"anyOf":[{"$ref":"#/components/schemas/LogicalProof"},{"type":"null"}],"default":null},"input_resolution":{"anyOf":[{"$ref":"#/components/schemas/InputIdentityResolution"},{"type":"null"}],"default":null}},"required":["target_id","status","reason","evaluated_at"],"title":"RevisitOutcome","type":"object"},"RevisitSummary":{"additionalProperties":false,"properties":{"targets":{"minimum":0,"title":"Targets","type":"integer"},"checked":{"minimum":0,"title":"Checked","type":"integer"},"verified":{"minimum":0,"title":"Verified","type":"integer"},"no_longer_matches":{"minimum":0,"title":"No Longer Matches","type":"integer"},"unresolved":{"minimum":0,"title":"Unresolved","type":"integer"},"unavailable":{"minimum":0,"title":"Unavailable","type":"integer"},"not_reached":{"minimum":0,"title":"Not Reached","type":"integer"},"delivered":{"minimum":0,"title":"Delivered","type":"integer"},"missing_required_details":{"additionalProperties":{"type":"integer"},"title":"Missing Required Details","type":"object"}},"required":["targets","checked","verified","no_longer_matches","unresolved","unavailable","not_reached","delivered"],"title":"RevisitSummary","type":"object"},"RevisitPage":{"additionalProperties":false,"properties":{"find_id":{"title":"Find Id","type":"string"},"outcomes":{"items":{"$ref":"#/components/schemas/RevisitOutcome"},"title":"Outcomes","type":"array"},"next_after":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Next After"},"summary":{"$ref":"#/components/schemas/RevisitSummary"}},"required":["find_id","outcomes","summary"],"title":"RevisitPage","type":"object"},"BilledUnit":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"unit_cents":{"minimum":0,"title":"Unit Cents","type":"integer"}},"required":["id","unit_cents"],"title":"BilledUnit","type":"object"},"CapacityQuoteData":{"additionalProperties":false,"properties":{"pricing_version":{"const":"capacity.v1","default":"capacity.v1","title":"Pricing Version","type":"string"},"quote_id":{"title":"Quote Id","type":"string"},"quote_hash":{"title":"Quote Hash","type":"string"},"currency":{"default":"USD","enum":["USD","EUR"],"title":"Currency","type":"string"},"maximum_cents":{"minimum":0,"title":"Maximum Cents","type":"integer"},"expires_at":{"format":"date-time","title":"Expires At","type":"string"},"scope":{"additionalProperties":true,"title":"Scope","type":"object"},"terms":{"additionalProperties":true,"properties":{"unit_cents":{"minimum":0,"type":"integer"},"contact_unit_cents":{"description":"Rate for a result delivered with a requested email (or a phone when no phone rate is set); the maximum assumes every result has a contact.","minimum":0,"type":"integer"},"contact_phone_unit_cents":{"description":"Rate for a result delivered with a requested phone.","minimum":0,"type":"integer"},"check_unit_cents":{"description":"Charge per imported row resolved and checked, matched or not.","minimum":0,"type":"integer"},"required_check_unit_cents":{"description":"Charge per company checked for a detail marked as needed that met every condition but lacked it.","minimum":0,"type":"integer"},"required_check_allowance":{"description":"How many such companies the maximum covers.","minimum":0,"type":"integer"},"related_block_cents":{"description":"Charge per ten related records past related_included_records in one collection on one result.","minimum":0,"type":"integer"},"undelivered_unit_cents":{"description":"Missing-result shortfall refund per unit, excluding unused contact contingency.","minimum":0,"type":"integer"},"retail_rate":{"additionalProperties":true,"properties":{"version":{"type":"string"},"recheck":{"type":"boolean"},"contact_unit_cents":{"type":["integer","null"]}},"type":"object"}},"title":"Terms","type":"object"},"cost_basis":{"enum":["estimated","measured"],"title":"Cost Basis","type":"string"},"cost_profile_version":{"title":"Cost Profile Version","type":"string"},"retained_work_cents":{"const":0,"default":0,"title":"Retained Work Cents","type":"integer"},"existing_execution":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Existing Execution"},"can_authorize":{"default":true,"title":"Can Authorize","type":"boolean"}},"required":["quote_id","quote_hash","maximum_cents","expires_at","scope","terms","cost_basis","cost_profile_version"],"title":"CapacityQuoteData","type":"object"},"CommerceData":{"additionalProperties":false,"properties":{"spec_version":{"const":"commerce.v1","default":"commerce.v1","title":"Spec Version","type":"string"},"find_id":{"title":"Find Id","type":"string"},"payment_status":{"title":"Payment Status","type":"string"},"fulfillment_status":{"title":"Fulfillment Status","type":"string"},"settlement_status":{"enum":["none","pending","settled","attention"],"title":"Settlement Status","type":"string"},"access_state":{"title":"Access State","type":"string"},"access_allowed":{"title":"Access Allowed","type":"boolean"},"next_action":{"enum":["wait","retrieve","contact_support","none"],"title":"Next Action","type":"string"},"currency":{"const":"USD","default":"USD","title":"Currency","type":"string"},"amount_authorized_cents":{"minimum":0,"title":"Amount Authorized Cents","type":"integer"},"amount_captured_cents":{"minimum":0,"title":"Amount Captured Cents","type":"integer"},"amount_refunded_cents":{"minimum":0,"title":"Amount Refunded Cents","type":"integer"},"delivered_rows":{"minimum":0,"title":"Delivered Rows","type":"integer"},"fulfilled_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Fulfilled At"},"access_expires_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Access Expires At"},"cancel_requested":{"title":"Cancel Requested","type":"boolean"},"capacity_offer":{"$ref":"#/components/schemas/CapacityQuoteData"},"billing_model":{"const":"capacity.v1","default":"capacity.v1","title":"Billing Model","type":"string"},"reservation_id":{"title":"Reservation Id","type":"string"},"billed_unit_ids":{"items":{"type":"string"},"maxItems":10000,"title":"Billed Unit Ids","type":"array"},"billed_units":{"items":{"$ref":"#/components/schemas/BilledUnit"},"title":"Billed Units","type":"array"},"shortfall":{"anyOf":[{"$ref":"#/components/schemas/Shortfall"},{"type":"null"}],"default":null}},"required":["find_id","payment_status","fulfillment_status","settlement_status","access_state","access_allowed","next_action","amount_authorized_cents","amount_captured_cents","amount_refunded_cents","delivered_rows","fulfilled_at","access_expires_at","cancel_requested","capacity_offer","reservation_id"],"title":"CommerceData","type":"object"},"ErrorCode":{"enum":["unsupported_query","unsupported_predicate","unsupported_entity_family","ambiguous_geo","capability_pending","source_blocked","challenge_page","unquoted_plan","compiler_unavailable","parse_failed","payments_not_live","capacity","kill_switch","internal_failure","plan_required"],"title":"ErrorCode","type":"string"},"FindOperation":{"additionalProperties":false,"properties":{"operation":{"enum":["extend","refresh","add_facts"],"title":"Operation","type":"string"},"parent_find_id":{"title":"Parent Find Id","type":"string"},"root_find_id":{"title":"Root Find Id","type":"string"},"parent_snapshot_id":{"title":"Parent Snapshot Id","type":"string"},"context_hash":{"title":"Context Hash","type":"string"}},"required":["operation","parent_find_id","root_find_id","parent_snapshot_id","context_hash"],"title":"FindOperation","type":"object"},"FindStatus":{"enum":["queued","planning","running","completed","partial","failed","canceled","expired"],"title":"FindStatus","type":"string"},"Shortfall":{"additionalProperties":false,"description":"A Find that came back short: what was found is delivered, the rest refunded.","properties":{"requested_units":{"maximum":10000,"minimum":2,"title":"Requested Units","type":"integer"},"delivered_units":{"maximum":9999,"minimum":1,"title":"Delivered Units","type":"integer"},"refunded_cents":{"minimum":0,"title":"Refunded Cents","type":"integer"}},"required":["requested_units","delivered_units","refunded_cents"],"title":"Shortfall","type":"object"},"StopReason":{"enum":["complete_target","saturated_discovery","budget_reserved_exhausted","wall_clock","fetch_count","source_blocked","unsupported_predicate","zero_after_filters","user_cancel","capacity"],"title":"StopReason","type":"string"},"Find":{"additionalProperties":false,"properties":{"spec_version":{"const":"find.v1","default":"find.v1","title":"Spec Version","type":"string"},"find_id":{"title":"Find Id","type":"string"},"parent_find_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Find Id"},"query_id":{"title":"Query Id","type":"string"},"guest_id":{"title":"Guest Id","type":"string"},"account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Id"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Project Id"},"status":{"$ref":"#/components/schemas/FindStatus"},"ast_hash":{"title":"Ast Hash","type":"string"},"spec":{"anyOf":[{"$ref":"#/components/schemas/QueryAst"},{"type":"null"}],"default":null},"operation":{"anyOf":[{"$ref":"#/components/schemas/FindOperation"},{"type":"null"}],"default":null},"revisit":{"anyOf":[{"$ref":"#/components/schemas/RevisitSummary"},{"type":"null"}],"default":null},"requested_count":{"minimum":0,"title":"Requested Count","type":"integer"},"accepted_count":{"minimum":0,"title":"Accepted Count","type":"integer"},"stop_reason":{"anyOf":[{"$ref":"#/components/schemas/StopReason"},{"type":"null"}]},"error_code":{"anyOf":[{"$ref":"#/components/schemas/ErrorCode"},{"type":"null"}]},"immutable":{"title":"Immutable","type":"boolean"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"updated_at":{"format":"date-time","title":"Updated At","type":"string"},"expires_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Expires At"},"commerce":{"anyOf":[{"$ref":"#/components/schemas/CommerceData"},{"type":"null"}],"default":null},"queue_position":{"anyOf":[{"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"title":"Queue Position"},"missing_required_details":{"additionalProperties":{"type":"integer"},"title":"Missing Required Details","type":"object"}},"required":["find_id","parent_find_id","query_id","guest_id","account_id","status","ast_hash","requested_count","accepted_count","stop_reason","error_code","immutable","created_at","updated_at","expires_at"],"title":"Find","type":"object"},"AcceptedRow":{"additionalProperties":false,"properties":{"target_evidence":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Target Evidence"},"worded_evidence":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Worded Evidence"},"lineage":{"anyOf":[{"$ref":"#/components/schemas/MatchLineage"},{"type":"null"}],"default":null},"spec_version":{"const":"accepted_row.v1","default":"accepted_row.v1","title":"Spec Version","type":"string"},"entity_id":{"title":"Entity Id","type":"string"},"ordinal":{"minimum":0,"title":"Ordinal","type":"integer"},"cells":{"items":{"$ref":"#/components/schemas/RowCell"},"title":"Cells","type":"array"},"predicates":{"items":{"$ref":"#/components/schemas/PredicateEvidence"},"title":"Predicates","type":"array"},"match_proof":{"anyOf":[{"$ref":"#/components/schemas/LogicalProof"},{"type":"null"}],"default":null},"billable":{"title":"Billable","type":"boolean"},"contact_visibility":{"$ref":"#/components/schemas/ContactVisibility"},"locked":{"default":false,"title":"Locked","type":"boolean"},"details":{"items":{"$ref":"#/components/schemas/RowCell"},"title":"Details","type":"array"}},"required":["entity_id","ordinal","cells","predicates","billable","contact_visibility"],"title":"AcceptedRow","type":"object"},"ContactBadge":{"enum":["Phone on file","Email published","Email not published","Site on file"],"title":"ContactBadge","type":"string"},"ContactVisibility":{"enum":["full","badge","hidden"],"title":"ContactVisibility","type":"string"},"DeliveryReference":{"additionalProperties":false,"properties":{"find_id":{"title":"Find Id","type":"string"},"ast_hash":{"title":"Ast Hash","type":"string"},"snapshot_id":{"title":"Snapshot Id","type":"string"},"generated_at":{"format":"date-time","title":"Generated At","type":"string"}},"required":["find_id","ast_hash","snapshot_id","generated_at"],"title":"DeliveryReference","type":"object"},"DisplayAbsence":{"enum":["Not published","Couldn't check"],"title":"DisplayAbsence","type":"string"},"MatchLineage":{"additionalProperties":false,"description":"Evidence-bound reference within an explicitly continued customer lineage.","properties":{"find_id":{"title":"Find Id","type":"string"},"entity_id":{"title":"Entity Id","type":"string"},"relation":{"const":"same_public_object","default":"same_public_object","title":"Relation","type":"string"}},"required":["find_id","entity_id"],"title":"MatchLineage","type":"object"},"PossibleCell":{"additionalProperties":false,"description":"An identity-only cell. No field observations or paid detail payloads.","properties":{"column_id":{"enum":["identity","link","location"],"title":"Column Id","type":"string"},"label":{"title":"Label","type":"string"},"value":{"maxLength":2000,"minLength":1,"title":"Value","type":"string"}},"required":["column_id","label","value"],"title":"PossibleCell","type":"object"},"PossibleCondition":{"additionalProperties":false,"properties":{"condition_id":{"title":"Condition Id","type":"string"},"label":{"maxLength":400,"minLength":1,"title":"Label","type":"string"},"status":{"enum":["yes","open"],"title":"Status","type":"string"},"reason":{"maxLength":600,"minLength":1,"title":"Reason","type":"string"},"quote":{"anyOf":[{"maxLength":600,"type":"string"},{"type":"null"}],"default":null,"title":"Quote"},"source_url":{"anyOf":[{"maxLength":2000,"type":"string"},{"type":"null"}],"default":null,"title":"Source Url"}},"required":["condition_id","label","status","reason"],"title":"PossibleCondition","type":"object"},"PossibleRow":{"additionalProperties":false,"description":"Not a delivered Match, not a billing unit, and never contact-bearing.","properties":{"spec_version":{"const":"possible_row.v1","default":"possible_row.v1","title":"Spec Version","type":"string"},"entity_id":{"title":"Entity Id","type":"string"},"ordinal":{"minimum":0,"title":"Ordinal","type":"integer"},"cells":{"items":{"$ref":"#/components/schemas/PossibleCell"},"maxItems":3,"minItems":1,"title":"Cells","type":"array"},"conditions":{"items":{"$ref":"#/components/schemas/PossibleCondition"},"minItems":1,"title":"Conditions","type":"array"},"billable":{"const":false,"default":false,"title":"Billable","type":"boolean"}},"required":["entity_id","ordinal","cells","conditions"],"title":"PossibleRow","type":"object"},"RowCell":{"additionalProperties":false,"properties":{"column_id":{"title":"Column Id","type":"string"},"label":{"title":"Label","type":"string"},"value":{"anyOf":[{},{"type":"null"}],"title":"Value"},"display":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display"},"absence":{"anyOf":[{"$ref":"#/components/schemas/DisplayAbsence"},{"type":"null"}],"default":null},"provenance":{"anyOf":[{"$ref":"#/components/schemas/FieldObservation"},{"type":"null"}],"default":null},"badges":{"items":{"$ref":"#/components/schemas/ContactBadge"},"title":"Badges","type":"array"}},"required":["column_id","label","value","display"],"title":"RowCell","type":"object"},"FindRowsPage":{"additionalProperties":false,"properties":{"find_id":{"title":"Find Id","type":"string"},"status":{"$ref":"#/components/schemas/FindStatus"},"accepted_count":{"minimum":0,"title":"Accepted Count","type":"integer"},"rows":{"items":{"$ref":"#/components/schemas/AcceptedRow"},"title":"Rows","type":"array"},"possible":{"items":{"$ref":"#/components/schemas/PossibleRow"},"title":"Possible","type":"array"},"flat_rows":{"items":{"additionalProperties":true,"type":"object"},"title":"Flat Rows","type":"array"},"entitlement":{"title":"Entitlement","type":"string"},"commerce":{"anyOf":[{"$ref":"#/components/schemas/CommerceData"},{"type":"null"}],"default":null},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Next Cursor"},"delivery":{"anyOf":[{"$ref":"#/components/schemas/DeliveryReference"},{"type":"null"}],"default":null}},"required":["find_id","status","accepted_count","rows","entitlement"],"title":"FindRowsPage","type":"object"},"CancelData":{"additionalProperties":false,"properties":{"find_id":{"title":"Find Id","type":"string"},"status":{"$ref":"#/components/schemas/FindStatus"},"cancel_requested":{"default":true,"title":"Cancel Requested","type":"boolean"}},"required":["find_id","status"],"title":"CancelData","type":"object"},"ExportFormat":{"description":"Owned Delivery export formats, including maps from supplied coordinates.","enum":["xlsx","csv","json","html","kml","geojson"],"title":"ExportFormat","type":"string"},"ExportRequest":{"additionalProperties":false,"properties":{"format":{"$ref":"#/components/schemas/ExportFormat"}},"required":["format"],"title":"ExportRequest","type":"object"},"ExportData":{"additionalProperties":false,"properties":{"download_url":{"title":"Download Url","type":"string"},"filename":{"title":"Filename","type":"string"},"expires_in_s":{"default":86400,"title":"Expires In S","type":"integer"},"single_use":{"default":false,"title":"Single Use","type":"boolean"}},"required":["download_url","filename"],"title":"ExportData","type":"object"},"ShareCreateRequest":{"additionalProperties":false,"properties":{"include_contacts":{"default":true,"title":"Include Contacts","type":"boolean"}},"title":"ShareCreateRequest","type":"object"},"ShareRevokeRequest":{"additionalProperties":false,"properties":{"share_id":{"title":"Share Id","type":"string"}},"required":["share_id"],"title":"ShareRevokeRequest","type":"object"},"ShareKind":{"enum":["snapshot"],"title":"ShareKind","type":"string"},"ShareData":{"additionalProperties":false,"properties":{"share_id":{"title":"Share Id","type":"string"},"public_url":{"title":"Public Url","type":"string"},"kind":{"$ref":"#/components/schemas/ShareKind"},"include_contacts":{"title":"Include Contacts","type":"boolean"},"expires_at":{"format":"date-time","title":"Expires At","type":"string"}},"required":["share_id","public_url","kind","include_contacts","expires_at"],"title":"ShareData","type":"object"},"CustomerWebhookListItem":{"additionalProperties":false,"properties":{"hook_id":{"title":"Hook Id","type":"string"},"url":{"title":"Url","type":"string"},"event_name":{"title":"Event Name","type":"string"},"events":{"items":{"enum":["find.completed","monitor.found","collection.records_added"],"type":"string"},"title":"Events","type":"array"},"revoked":{"title":"Revoked","type":"boolean"},"key_rotation_required":{"title":"Key Rotation Required","type":"boolean"}},"required":["hook_id","url","event_name","events","revoked","key_rotation_required"],"title":"CustomerWebhookListItem","type":"object"},"CustomerWebhookListData":{"additionalProperties":false,"properties":{"webhooks":{"items":{"$ref":"#/components/schemas/CustomerWebhookListItem"},"title":"Webhooks","type":"array"}},"required":["webhooks"],"title":"CustomerWebhookListData","type":"object"},"MagicLinkRequest":{"additionalProperties":false,"properties":{"email":{"pattern":"^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$","title":"Email","type":"string"},"ref":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Ref"}},"required":["email"],"title":"MagicLinkRequest","type":"object"},"MagicLinkConsumeRequest":{"additionalProperties":false,"properties":{"token":{"maxLength":256,"minLength":16,"title":"Token","type":"string"}},"required":["token"],"title":"MagicLinkConsumeRequest","type":"object"},"AccountData":{"additionalProperties":false,"properties":{"account_id":{"title":"Account Id","type":"string"},"email":{"title":"Email","type":"string"},"finds":{"items":{"$ref":"#/components/schemas/Find"},"title":"Finds","type":"array"}},"required":["account_id","email","finds"],"title":"AccountData","type":"object"},"AccountDeleteData":{"additionalProperties":false,"properties":{"account_id":{"title":"Account Id","type":"string"},"access_revoked":{"const":true,"default":true,"title":"Access Revoked","type":"boolean"},"private_work_erased":{"const":true,"default":true,"title":"Private Work Erased","type":"boolean"},"recoverable":{"const":false,"default":false,"title":"Recoverable","type":"boolean"},"grace_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Grace Days"}},"required":["account_id"],"title":"AccountDeleteData","type":"object"},"AccountSpendRequest":{"additionalProperties":false,"properties":{"spend_ceiling_cents":{"maximum":100000000,"minimum":0,"title":"Spend Ceiling Cents","type":"integer"}},"required":["spend_ceiling_cents"],"title":"AccountSpendRequest","type":"object"},"AccountSpendData":{"additionalProperties":false,"properties":{"spend_ceiling_cents":{"title":"Spend Ceiling Cents","type":"integer"},"remaining_spend_kind":{"const":"authorization_ceiling","default":"authorization_ceiling","title":"Remaining Spend Kind","type":"string"}},"required":["spend_ceiling_cents"],"title":"AccountSpendData","type":"object"},"AnalyticsEvent":{"additionalProperties":false,"properties":{"name":{"enum":["page_viewed","query_started","support_opened"],"title":"Name","type":"string"},"props":{"additionalProperties":{"type":"string"},"maxProperties":2,"propertyNames":{"enum":["page","channel"]},"title":"Props","type":"object"},"occurred_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"default":null,"title":"Occurred At"}},"required":["name"],"title":"AnalyticsEvent","type":"object"},"Healthz":{"additionalProperties":false,"properties":{"contract":{"const":"finder.cross-source.v1","default":"finder.cross-source.v1","title":"Contract","type":"string"},"db":{"enum":["ok","down"],"title":"Db","type":"string"},"payments_live":{"title":"Payments Live","type":"boolean"},"worker_age_s":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Worker Age S"},"kill_switch":{"title":"Kill Switch","type":"boolean"}},"required":["db","payments_live","worker_age_s","kill_switch"],"title":"Healthz","type":"object"},"Readyz":{"additionalProperties":false,"properties":{"db":{"const":"ok","title":"Db","type":"string"}},"required":["db"],"title":"Readyz","type":"object"},"MeData":{"additionalProperties":false,"properties":{"account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Account Id"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Email"},"guest":{"title":"Guest","type":"boolean"},"spend_ceiling_cents":{"default":0,"minimum":0,"title":"Spend Ceiling Cents","type":"integer"},"amount_spent_cents":{"default":0,"minimum":0,"title":"Amount Spent Cents","type":"integer"},"remaining_spend_cents":{"default":0,"minimum":0,"title":"Remaining Spend Cents","type":"integer"},"authorization_available":{"default":false,"title":"Authorization Available","type":"boolean"},"remaining_spend_kind":{"const":"delegated_authorization_ceiling","default":"delegated_authorization_ceiling","title":"Remaining Spend Kind","type":"string"}},"required":["guest"],"title":"MeData","type":"object"},"KeyCreateRequest":{"additionalProperties":false,"properties":{"name":{"default":"key","maxLength":120,"minLength":1,"title":"Name","type":"string"},"scopes":{"items":{"enum":["specs:read","specs:write","finds:read","finds:write","finds:spend","projects:read","projects:manage","account:read"],"type":"string"},"maxItems":8,"title":"Scopes","type":"array"},"project_id":{"anyOf":[{"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Project Id"},"spend_cap_cents":{"default":0,"maximum":100000000,"minimum":0,"title":"Spend Cap Cents","type":"integer"},"expires_in_days":{"default":90,"maximum":365,"minimum":1,"title":"Expires In Days","type":"integer"}},"title":"KeyCreateRequest","type":"object"},"KeyCreateData":{"additionalProperties":false,"properties":{"key_id":{"title":"Key Id","type":"string"},"prefix":{"title":"Prefix","type":"string"},"name":{"title":"Name","type":"string"},"token":{"title":"Token","type":"string"},"scopes":{"items":{"enum":["specs:read","specs:write","finds:read","finds:write","finds:spend","projects:read","projects:manage","account:read"],"type":"string"},"title":"Scopes","type":"array"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"spend_cap_cents":{"title":"Spend Cap Cents","type":"integer"},"expires_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Expires At"}},"required":["key_id","prefix","name","token","scopes","project_id","spend_cap_cents","expires_at"],"title":"KeyCreateData","type":"object"},"KeyListItem":{"additionalProperties":false,"properties":{"key_id":{"title":"Key Id","type":"string"},"prefix":{"title":"Prefix","type":"string"},"name":{"title":"Name","type":"string"},"revoked":{"title":"Revoked","type":"boolean"},"scopes":{"items":{"enum":["specs:read","specs:write","finds:read","finds:write","finds:spend","projects:read","projects:manage","account:read"],"type":"string"},"title":"Scopes","type":"array"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"spend_cap_cents":{"title":"Spend Cap Cents","type":"integer"},"expires_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Expires At"},"last_used_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Used At"}},"required":["key_id","prefix","name","revoked","scopes","project_id","spend_cap_cents","expires_at","last_used_at"],"title":"KeyListItem","type":"object"},"OptOutRequest":{"additionalProperties":false,"properties":{"website":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Website"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Email"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Phone"},"profile_url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Profile Url"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Name"},"employer":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Employer"}},"title":"OptOutRequest","type":"object"},"SupportTicketRequest":{"additionalProperties":false,"properties":{"kind":{"enum":["correction","report","opt_out","export","delete"],"title":"Kind","type":"string"},"body":{"default":"","title":"Body","type":"string"},"find_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Find Id"},"entity_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Entity Id"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Reason"}},"required":["kind"],"title":"SupportTicketRequest","type":"object"},"SupportTicketData":{"additionalProperties":false,"properties":{"ticket_id":{"title":"Ticket Id","type":"string"},"kind":{"title":"Kind","type":"string"}},"required":["ticket_id","kind"],"title":"SupportTicketData","type":"object"},"OauthTokenRequest":{"additionalProperties":false,"properties":{"grant_type":{"const":"authorization_code","title":"Grant Type","type":"string"},"code":{"title":"Code","type":"string"},"code_verifier":{"title":"Code Verifier","type":"string"},"client_id":{"title":"Client Id","type":"string"},"redirect_uri":{"title":"Redirect Uri","type":"string"}},"required":["grant_type","code","code_verifier","client_id","redirect_uri"],"title":"OauthTokenRequest","type":"object"},"OauthTokenData":{"additionalProperties":false,"properties":{"access_token":{"title":"Access Token","type":"string"},"token_type":{"const":"Bearer","default":"Bearer","title":"Token Type","type":"string"},"expires_in":{"title":"Expires In","type":"integer"}},"required":["access_token","expires_in"],"title":"OauthTokenData","type":"object"},"McpData":{"additionalProperties":false,"properties":{"mcp":{"default":true,"title":"Mcp","type":"boolean"},"transport":{"const":"streamable-http","default":"streamable-http","title":"Transport","type":"string"}},"title":"McpData","type":"object"},"CustomerWebhookRequest":{"additionalProperties":false,"properties":{"url":{"title":"Url","type":"string"},"event_name":{"default":"find.completed","enum":["find.completed","monitor.found","collection.records_added"],"title":"Event Name","type":"string"},"events":{"anyOf":[{"items":{"enum":["find.completed","monitor.found","collection.records_added"],"type":"string"},"maxItems":3,"minItems":1,"type":"array"},{"type":"null"}],"default":null,"title":"Events"}},"required":["url"],"title":"CustomerWebhookRequest","type":"object"},"CustomerWebhookData":{"additionalProperties":false,"properties":{"hook_id":{"title":"Hook Id","type":"string"},"event_name":{"title":"Event Name","type":"string"},"events":{"items":{"enum":["find.completed","monitor.found","collection.records_added"],"type":"string"},"title":"Events","type":"array"},"secret":{"title":"Secret","type":"string"}},"required":["hook_id","event_name","events","secret"],"title":"CustomerWebhookData","type":"object"},"ErrorBody":{"additionalProperties":false,"properties":{"code":{"$ref":"#/components/schemas/ErrorCode"},"message":{"minLength":1,"title":"Message","type":"string"},"details":{"additionalProperties":true,"title":"Details","type":"object"}},"required":["code","message"],"title":"ErrorBody","type":"object"},"ErrorEnvelope":{"additionalProperties":false,"properties":{"error":{"$ref":"#/components/schemas/ErrorBody"}},"required":["error"],"title":"ErrorEnvelope","type":"object"},"SseHello":{"additionalProperties":false,"properties":{"find_id":{"title":"Find Id","type":"string"},"status":{"$ref":"#/components/schemas/FindStatus"},"last_id":{"minimum":0,"title":"Last Id","type":"integer"}},"required":["find_id","status","last_id"],"title":"SseHello","type":"object"},"SseStatus":{"additionalProperties":false,"properties":{"status":{"$ref":"#/components/schemas/FindStatus"},"commerce":{"anyOf":[{"$ref":"#/components/schemas/CommerceData"},{"type":"null"}],"default":null}},"required":["status"],"title":"SseStatus","type":"object"},"SseProgress":{"additionalProperties":false,"properties":{"phase":{"title":"Phase","type":"string"},"done":{"minimum":0,"title":"Done","type":"integer"},"target":{"minimum":0,"title":"Target","type":"integer"},"message":{"title":"Message","type":"string"},"found":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Found"},"checked":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Checked"},"sources":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Sources"},"pages":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Pages"}},"required":["phase","done","target","message"],"title":"SseProgress","type":"object"},"SseRow":{"additionalProperties":false,"properties":{"entity_id":{"title":"Entity Id","type":"string"},"ordinal":{"minimum":0,"title":"Ordinal","type":"integer"},"cells":{"items":{"additionalProperties":true,"type":"object"},"title":"Cells","type":"array"},"locked":{"title":"Locked","type":"boolean"}},"required":["entity_id","ordinal","cells","locked"],"title":"SseRow","type":"object"},"SseRowPatch":{"additionalProperties":false,"properties":{"entity_id":{"title":"Entity Id","type":"string"},"cells":{"items":{"additionalProperties":true,"type":"object"},"title":"Cells","type":"array"}},"required":["entity_id","cells"],"title":"SseRowPatch","type":"object"},"SseGate":{"additionalProperties":false,"properties":{"reason":{"title":"Reason","type":"string"},"shown":{"minimum":0,"title":"Shown","type":"integer"},"target":{"minimum":0,"title":"Target","type":"integer"}},"required":["reason","shown","target"],"title":"SseGate","type":"object"},"SseZero":{"additionalProperties":false,"properties":{"cause":{"title":"Cause","type":"string"}},"required":["cause"],"title":"SseZero","type":"object"},"SseComplete":{"additionalProperties":false,"properties":{"row_count":{"minimum":0,"title":"Row Count","type":"integer"},"stop_reason":{"$ref":"#/components/schemas/StopReason"}},"required":["row_count","stop_reason"],"title":"SseComplete","type":"object"},"SseStopped":{"additionalProperties":false,"properties":{"row_count":{"minimum":0,"title":"Row Count","type":"integer"}},"required":["row_count"],"title":"SseStopped","type":"object"},"SseError":{"additionalProperties":false,"properties":{"code":{"$ref":"#/components/schemas/ErrorCode"},"message":{"title":"Message","type":"string"}},"required":["code","message"],"title":"SseError","type":"object"},"SseHeartbeat":{"additionalProperties":false,"properties":{"ts":{"format":"date-time","title":"Ts","type":"string"}},"required":["ts"],"title":"SseHeartbeat","type":"object"},"SseEventName":{"enum":["hello","status","progress","row","row_patch","gate","zero","complete","stopped","error","heartbeat"],"title":"SseEventName","type":"string"},"SseEvent":{"additionalProperties":false,"properties":{"id":{"minimum":1,"title":"Id","type":"integer"},"event":{"$ref":"#/components/schemas/SseEventName"},"data":{"anyOf":[{"$ref":"#/components/schemas/SseHello"},{"$ref":"#/components/schemas/SseStatus"},{"$ref":"#/components/schemas/SseProgress"},{"$ref":"#/components/schemas/SseRow"},{"$ref":"#/components/schemas/SseRowPatch"},{"$ref":"#/components/schemas/SseGate"},{"$ref":"#/components/schemas/SseZero"},{"$ref":"#/components/schemas/SseComplete"},{"$ref":"#/components/schemas/SseStopped"},{"$ref":"#/components/schemas/SseError"},{"$ref":"#/components/schemas/SseHeartbeat"}],"title":"Data"}},"required":["id","event","data"],"title":"SseEvent","type":"object"},"SpecCreateRequest":{"additionalProperties":false,"oneOf":[{"properties":{"ast":{"not":{"type":"null"}},"source_find_id":{"type":"null"}},"required":["ast"]},{"properties":{"source_find_id":{"type":"string"},"ast":{"type":"null"}},"required":["source_find_id"]}],"properties":{"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"},"ast":{"anyOf":[{"$ref":"#/components/schemas/QueryAst"},{"type":"null"}],"default":null},"source_find_id":{"anyOf":[{"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Source Find Id"},"project_id":{"anyOf":[{"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Project Id"},"context":{"default":"","maxLength":4000,"title":"Context","type":"string"}},"required":["name"],"title":"SpecCreateRequest","type":"object"},"SpecRevisionRequest":{"additionalProperties":false,"properties":{"expected_revision_id":{"title":"Expected Revision Id","type":"string"},"parent_revision_id":{"anyOf":[{"minLength":1,"type":"string"},{"type":"null"}],"default":null,"description":"Branch from this revision of the same request. Leave it out to branch from the current head. expected_revision_id still protects the current head against concurrent edits.","title":"Parent Revision Id"},"ast":{"$ref":"#/components/schemas/QueryAst"},"name":{"anyOf":[{"maxLength":120,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Name"},"context":{"anyOf":[{"maxLength":4000,"type":"string"},{"type":"null"}],"default":null,"title":"Context"}},"required":["expected_revision_id","ast"],"title":"SpecRevisionRequest","type":"object"},"SpecArchiveRequest":{"additionalProperties":false,"properties":{"expected_revision_id":{"title":"Expected Revision Id","type":"string"},"archived":{"default":true,"title":"Archived","type":"boolean"}},"required":["expected_revision_id"],"title":"SpecArchiveRequest","type":"object"},"SpecRevision":{"additionalProperties":false,"properties":{"revision_id":{"title":"Revision Id","type":"string"},"spec_id":{"title":"Spec Id","type":"string"},"revision":{"minimum":1,"title":"Revision","type":"integer"},"parent_revision_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Revision Id"},"ast":{"$ref":"#/components/schemas/QueryAst"},"ast_hash":{"title":"Ast Hash","type":"string"},"name":{"title":"Name","type":"string"},"context":{"title":"Context","type":"string"},"created_at":{"format":"date-time","title":"Created At","type":"string"}},"required":["revision_id","spec_id","revision","parent_revision_id","ast","ast_hash","name","context","created_at"],"title":"SpecRevision","type":"object"},"SavedSpec":{"additionalProperties":false,"properties":{"spec_id":{"title":"Spec Id","type":"string"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Id"},"head_revision_id":{"title":"Head Revision Id","type":"string"},"revision":{"$ref":"#/components/schemas/SpecRevision"},"archived":{"title":"Archived","type":"boolean"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"updated_at":{"format":"date-time","title":"Updated At","type":"string"}},"required":["spec_id","project_id","account_id","head_revision_id","revision","archived","created_at","updated_at"],"title":"SavedSpec","type":"object"},"SpecPage":{"additionalProperties":false,"properties":{"specs":{"items":{"$ref":"#/components/schemas/SavedSpec"},"title":"Specs","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Next Cursor"}},"required":["specs"],"title":"SpecPage","type":"object"},"RevisionPage":{"additionalProperties":false,"properties":{"revisions":{"items":{"$ref":"#/components/schemas/SpecRevision"},"title":"Revisions","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Next Cursor"}},"required":["revisions"],"title":"RevisionPage","type":"object"},"FindLineage":{"additionalProperties":false,"properties":{"find_id":{"title":"Find Id","type":"string"},"parent_find_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Find Id"},"spec_id":{"title":"Spec Id","type":"string"},"revision_id":{"title":"Revision Id","type":"string"},"operation":{"enum":["find","extend","add_facts","refresh"],"title":"Operation","type":"string"}},"required":["find_id","parent_find_id","spec_id","revision_id","operation"],"title":"FindLineage","type":"object"},"LineagePage":{"additionalProperties":false,"properties":{"finds":{"items":{"$ref":"#/components/schemas/FindLineage"},"title":"Finds","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Next Cursor"}},"required":["finds"],"title":"LineagePage","type":"object"},"ProjectCreateRequest":{"additionalProperties":false,"properties":{"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"},"monthly_spend_cap_cents":{"default":0,"maximum":100000000,"minimum":0,"title":"Monthly Spend Cap Cents","type":"integer"}},"required":["name"],"title":"ProjectCreateRequest","type":"object"},"ProjectPatchRequest":{"additionalProperties":false,"properties":{"expected_version":{"minimum":1,"title":"Expected Version","type":"integer"},"name":{"anyOf":[{"maxLength":120,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Name"},"monthly_spend_cap_cents":{"anyOf":[{"maximum":100000000,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Monthly Spend Cap Cents"}},"required":["expected_version"],"title":"ProjectPatchRequest","type":"object"},"ProjectMemberRequest":{"additionalProperties":false,"properties":{"account_id":{"title":"Account Id","type":"string"},"role":{"enum":["editor","viewer"],"title":"Role","type":"string"},"monthly_spend_cap_cents":{"default":0,"maximum":100000000,"minimum":0,"title":"Monthly Spend Cap Cents","type":"integer"}},"required":["account_id","role"],"title":"ProjectMemberRequest","type":"object"},"Project":{"additionalProperties":false,"properties":{"project_id":{"title":"Project Id","type":"string"},"name":{"title":"Name","type":"string"},"owner_account_id":{"title":"Owner Account Id","type":"string"},"version":{"title":"Version","type":"integer"},"monthly_spend_cap_cents":{"title":"Monthly Spend Cap Cents","type":"integer"},"role":{"enum":["owner","editor","viewer"],"title":"Role","type":"string"},"can_spend":{"title":"Can Spend","type":"boolean"},"created_at":{"format":"date-time","title":"Created At","type":"string"}},"required":["project_id","name","owner_account_id","version","monthly_spend_cap_cents","role","can_spend","created_at"],"title":"Project","type":"object"},"ProjectMember":{"additionalProperties":false,"properties":{"account_id":{"title":"Account Id","type":"string"},"role":{"enum":["owner","editor","viewer"],"title":"Role","type":"string"},"monthly_spend_cap_cents":{"title":"Monthly Spend Cap Cents","type":"integer"}},"required":["account_id","role","monthly_spend_cap_cents"],"title":"ProjectMember","type":"object"},"ProjectPage":{"additionalProperties":false,"properties":{"projects":{"items":{"$ref":"#/components/schemas/Project"},"title":"Projects","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Next Cursor"}},"required":["projects"],"title":"ProjectPage","type":"object"},"MemberPage":{"additionalProperties":false,"properties":{"members":{"items":{"$ref":"#/components/schemas/ProjectMember"},"title":"Members","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Next Cursor"}},"required":["members"],"title":"MemberPage","type":"object"},"MemberRevokeData":{"additionalProperties":false,"properties":{"revoked":{"title":"Revoked","type":"boolean"}},"required":["revoked"],"title":"MemberRevokeData","type":"object"},"ExecutionManifest":{"additionalProperties":false,"properties":{"version":{"const":"evidence-bound.v1","default":"evidence-bound.v1","title":"Version","type":"string"},"policy_hash":{"title":"Policy Hash","type":"string"},"decision_root":{"title":"Decision Root","type":"string"},"plan_version":{"title":"Plan Version","type":"string"},"ast_hash":{"title":"Ast Hash","type":"string"},"registry_version":{"title":"Registry Version","type":"string"},"decision_count":{"title":"Decision Count","type":"integer"},"stages":{"additionalProperties":{"type":"integer"},"title":"Stages","type":"object"},"semantic_judgments":{"title":"Semantic Judgments","type":"integer"},"unavailable_judgments":{"title":"Unavailable Judgments","type":"integer"},"qualified_matches":{"title":"Qualified Matches","type":"integer"},"unknown_never_promoted":{"title":"Unknown Never Promoted","type":"boolean"},"replay_verified":{"title":"Replay Verified","type":"boolean"},"replay_scope":{"title":"Replay Scope","type":"string"},"live_sources_can_change":{"title":"Live Sources Can Change","type":"boolean"},"sealed":{"title":"Sealed","type":"boolean"}},"required":["policy_hash","decision_root","plan_version","ast_hash","registry_version","decision_count","stages","semantic_judgments","unavailable_judgments","qualified_matches","unknown_never_promoted","replay_verified","replay_scope","live_sources_can_change","sealed"],"title":"ExecutionManifest","type":"object"},"DeliveryProjection":{"additionalProperties":false,"properties":{"execution_manifest":{"anyOf":[{"$ref":"#/components/schemas/ExecutionManifest"},{"type":"null"}],"default":null},"spec_version":{"const":"delivery.v1","default":"delivery.v1","title":"Spec Version","type":"string"},"find_id":{"title":"Find Id","type":"string"},"ast_hash":{"title":"Ast Hash","type":"string"},"snapshot_id":{"title":"Snapshot Id","type":"string"},"generated_at":{"format":"date-time","title":"Generated At","type":"string"},"lineage":{"anyOf":[{"$ref":"#/components/schemas/FindLineage"},{"type":"null"}],"default":null},"rows":{"items":{"$ref":"#/components/schemas/AcceptedRow"},"title":"Rows","type":"array"}},"required":["find_id","ast_hash","snapshot_id","generated_at","rows"],"title":"DeliveryProjection","type":"object"},"MatchDecision":{"additionalProperties":false,"properties":{"decision_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Decision Hash"},"entity_id":{"title":"Entity Id","type":"string"},"predicates":{"items":{"$ref":"#/components/schemas/PredicateEvidence"},"title":"Predicates","type":"array"},"match_proof":{"anyOf":[{"$ref":"#/components/schemas/LogicalProof"},{"type":"null"}],"default":null},"billable":{"title":"Billable","type":"boolean"},"locked":{"title":"Locked","type":"boolean"}},"required":["entity_id","predicates","billable","locked"],"title":"MatchDecision","type":"object"},"DecisionPage":{"additionalProperties":false,"properties":{"execution_manifest":{"anyOf":[{"$ref":"#/components/schemas/ExecutionManifest"},{"type":"null"}],"default":null},"find_id":{"title":"Find Id","type":"string"},"decisions":{"items":{"$ref":"#/components/schemas/MatchDecision"},"title":"Decisions","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Next Cursor"}},"required":["find_id","decisions"],"title":"DecisionPage","type":"object"},"ReplayCheck":{"additionalProperties":false,"properties":{"available":{"title":"Available","type":"boolean"},"verified":{"title":"Verified","type":"boolean"},"decisions_checked":{"title":"Decisions Checked","type":"integer"},"qualifications_checked":{"title":"Qualifications Checked","type":"integer"},"decision_root":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Decision Root"},"policy_version":{"title":"Policy Version","type":"string"},"message":{"title":"Message","type":"string"}},"required":["available","verified","decisions_checked","qualifications_checked","decision_root","policy_version","message"],"title":"ReplayCheck","type":"object"},"CapacityQuoteRequest":{"additionalProperties":false,"properties":{"ast_hash":{"pattern":"^[0-9a-f]{64}$","title":"Ast Hash","type":"string"},"operation":{"default":"find","enum":["find","extend","add_facts","refresh","retained"],"title":"Operation","type":"string"},"parent_find_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Parent Find Id"},"revision_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Revision Id"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Project Id"},"source_import_id":{"anyOf":[{"maxLength":128,"minLength":8,"type":"string"},{"type":"null"}],"default":null,"title":"Source Import Id"},"source_row_ids":{"items":{"type":"string"},"maxItems":2000,"title":"Source Row Ids","type":"array"},"requested_units":{"default":25,"maximum":10000,"minimum":1,"title":"Requested Units","type":"integer"},"minimum_units":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"title":"Minimum Units"},"selected_entity_ids":{"anyOf":[{"items":{"type":"string"},"maxItems":10000,"minItems":1,"type":"array"},{"type":"null"}],"default":null,"title":"Selected Entity Ids"}},"required":["ast_hash"],"title":"CapacityQuoteRequest","type":"object"},"CapacityAuthorizeRequest":{"additionalProperties":false,"properties":{"quote_id":{"title":"Quote Id","type":"string"},"quote_hash":{"pattern":"^[0-9a-f]{64}$","title":"Quote Hash","type":"string"},"idempotency_key":{"maxLength":128,"minLength":8,"title":"Idempotency Key","type":"string"},"confirm_max_cents":{"minimum":0,"title":"Confirm Max Cents","type":"integer"},"authority_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Authority Id"}},"required":["quote_id","quote_hash","idempotency_key","confirm_max_cents"],"title":"CapacityAuthorizeRequest","type":"object"},"CapacityStartRequest":{"additionalProperties":false,"description":"A list asked in plain words, run only if its price is within confirm_max_cents.","properties":{"q":{"maxLength":2000,"minLength":1,"title":"Q","type":"string"},"requested_units":{"default":25,"maximum":10000,"minimum":1,"title":"Requested Units","type":"integer"},"confirm_max_cents":{"minimum":0,"title":"Confirm Max Cents","type":"integer"},"maximum_price_usd":{"anyOf":[{"minimum":0,"type":"number"},{"type":"null"}],"default":null,"title":"Maximum Price Usd"},"idempotency_key":{"maxLength":128,"minLength":8,"title":"Idempotency Key","type":"string"},"locale":{"default":"en-US","maxLength":35,"minLength":2,"title":"Locale","type":"string"},"callback_url":{"anyOf":[{"maxLength":2048,"type":"string"},{"type":"null"}],"default":null,"title":"Callback Url"}},"required":["q","confirm_max_cents","idempotency_key"],"title":"CapacityStartRequest","type":"object"},"CapacityStartData":{"additionalProperties":false,"properties":{"idempotency_key":{"title":"Idempotency Key","type":"string"},"state":{"enum":["reading","started","needs_edit","above_maximum","failed"],"title":"State","type":"string"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Message"},"read_back":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Read Back"},"maximum_cents":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Maximum Cents"},"find_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Find Id"},"retry_after_seconds":{"anyOf":[{"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"title":"Retry After Seconds"}},"required":["idempotency_key","state"],"title":"CapacityStartData","type":"object"},"CapacityFundingRequest":{"additionalProperties":false,"properties":{"kind":{"enum":["topup","subscription"],"title":"Kind","type":"string"},"amount_cents":{"anyOf":[{"minimum":1000,"type":"integer"},{"type":"null"}],"default":null,"title":"Amount Cents"},"plan_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Plan Id"},"intended_quote_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Intended Quote Id"},"idempotency_key":{"maxLength":128,"minLength":8,"title":"Idempotency Key","type":"string"},"currency":{"anyOf":[{"enum":["usd","eur"],"type":"string"},{"type":"null"}],"default":null,"title":"Currency"}},"required":["kind","idempotency_key"],"title":"CapacityFundingRequest","type":"object"},"CapacityMembershipRequest":{"additionalProperties":false,"properties":{"action":{"enum":["change","cancel","resume"],"title":"Action","type":"string"},"plan_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Plan Id"},"idempotency_key":{"maxLength":128,"minLength":8,"title":"Idempotency Key","type":"string"}},"required":["action","idempotency_key"],"title":"CapacityMembershipRequest","type":"object"},"CapacityAuthorityRequest":{"additionalProperties":false,"properties":{"actor_key":{"title":"Actor Key","type":"string"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Project Id"},"operations":{"items":{"enum":["find","extend","add_facts","refresh","retained"],"type":"string"},"minItems":1,"title":"Operations","type":"array"},"scope_hash":{"anyOf":[{"pattern":"^[0-9a-f]{64}$","type":"string"},{"type":"null"}],"default":null,"title":"Scope Hash"},"quote_id":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Quote Id"},"per_run_cents":{"exclusiveMinimum":0,"title":"Per Run Cents","type":"integer"},"period_cents":{"exclusiveMinimum":0,"title":"Period Cents","type":"integer"},"valid_until":{"format":"date-time","title":"Valid Until","type":"string"}},"required":["actor_key","operations","per_run_cents","period_cents","valid_until"],"title":"CapacityAuthorityRequest","type":"object"},"CalendarSchedule":{"additionalProperties":false,"properties":{"startAt":{"format":"date","title":"Startat","type":"string"},"hour":{"maximum":23,"minimum":0,"title":"Hour","type":"integer"},"minute":{"default":0,"maximum":59,"minimum":0,"title":"Minute","type":"integer"},"timezone":{"maxLength":100,"minLength":1,"title":"Timezone","type":"string"},"type":{"enum":["hours","days","weeks","months","years"],"title":"Type","type":"string"},"interval":{"maximum":1000,"minimum":1,"title":"Interval","type":"integer"},"daysOfWeek":{"default":[],"items":{"maximum":6,"minimum":0,"type":"integer"},"title":"Daysofweek","type":"array"}},"required":["startAt","hour","timezone","type","interval"],"title":"CalendarSchedule","type":"object"},"CapacityScheduleRequest":{"additionalProperties":false,"properties":{"idempotency_key":{"maxLength":128,"minLength":8,"title":"Idempotency Key","type":"string"},"scope":{"$ref":"#/components/schemas/CapacityQuoteRequest"},"cadence_seconds":{"minimum":3600,"title":"Cadence Seconds","type":"integer"},"first_due_at":{"format":"date-time","title":"First Due At","type":"string"},"per_run_cents":{"exclusiveMinimum":0,"title":"Per Run Cents","type":"integer"},"period_cents":{"exclusiveMinimum":0,"title":"Period Cents","type":"integer"},"calendar_schedule":{"anyOf":[{"$ref":"#/components/schemas/CalendarSchedule"},{"type":"null"}],"default":null},"valid_until":{"format":"date-time","title":"Valid Until","type":"string"}},"required":["idempotency_key","scope","cadence_seconds","first_due_at","per_run_cents","period_cents","valid_until"],"title":"CapacityScheduleRequest","type":"object"},"CapacityRefundRequest":{"additionalProperties":false,"properties":{"reservation_id":{"title":"Reservation Id","type":"string"},"unit_ids":{"items":{"type":"string"},"maxItems":10000,"minItems":1,"title":"Unit Ids","type":"array"},"reason":{"maxLength":2000,"minLength":1,"title":"Reason","type":"string"},"idempotency_key":{"maxLength":128,"minLength":8,"title":"Idempotency Key","type":"string"}},"required":["reservation_id","unit_ids","reason","idempotency_key"],"title":"CapacityRefundRequest","type":"object"},"CapacityCustomRequest":{"additionalProperties":false,"properties":{"brief":{"maxLength":4000,"minLength":1,"title":"Brief","type":"string"}},"required":["brief"],"title":"CapacityCustomRequest","type":"object"},"CapacitySchedulePatch":{"additionalProperties":false,"properties":{"expected_version":{"minimum":1,"title":"Expected Version","type":"integer"},"state":{"enum":["active","paused","deleted"],"title":"State","type":"string"}},"required":["expected_version","state"],"title":"CapacitySchedulePatch","type":"object"},"CapacityBalanceLimitRequest":{"additionalProperties":false,"properties":{"monthly_cents":{"anyOf":[{"maximum":100000000,"minimum":0,"type":"integer"},{"type":"null"}],"title":"Monthly Cents"}},"required":["monthly_cents"],"title":"CapacityBalanceLimitRequest","type":"object"},"CapacityLotData":{"additionalProperties":false,"properties":{"lot_id":{"title":"Lot Id","type":"string"},"kind":{"enum":["free","free_monthly","purchased","membership","service_refund","bonus"],"title":"Kind","type":"string"},"available_cents":{"minimum":0,"title":"Available Cents","type":"integer"},"reserved_cents":{"minimum":0,"title":"Reserved Cents","type":"integer"},"settled_cents":{"minimum":0,"title":"Settled Cents","type":"integer"},"expired_cents":{"minimum":0,"title":"Expired Cents","type":"integer"},"expires_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"default":null,"title":"Expires At"},"issued_cents":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Issued Cents"},"issued_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"default":null,"title":"Issued At"}},"required":["lot_id","kind","available_cents","reserved_cents","settled_cents","expired_cents"],"title":"CapacityLotData","type":"object"},"CapacityFreeCycleData":{"additionalProperties":false,"properties":{"first_month":{"title":"First Month","type":"boolean"},"amount_cents":{"minimum":0,"title":"Amount Cents","type":"integer"},"period_start":{"format":"date-time","title":"Period Start","type":"string"},"period_end":{"format":"date-time","title":"Period End","type":"string"}},"required":["first_month","amount_cents","period_start","period_end"],"title":"CapacityFreeCycleData","type":"object"},"CapacityMembershipData":{"additionalProperties":false,"properties":{"plan_id":{"title":"Plan Id","type":"string"},"pending_plan_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Pending Plan Id"},"billed_by":{"default":"card","enum":["card","app_store","google_play","vercel","digitalocean"],"title":"Billed By","type":"string"},"manage_url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Manage Url"},"next_plan":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Next Plan"},"upgrade_pending":{"default":false,"title":"Upgrade Pending","type":"boolean"},"payment_action_url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Payment Action Url"},"change_status":{"anyOf":[{"enum":["pending","running","succeeded","failed","review"],"type":"string"},{"type":"null"}],"default":null,"title":"Change Status"},"change_error":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Change Error"},"status":{"title":"Status","type":"string"},"cancel_at_period_end":{"title":"Cancel At Period End","type":"boolean"},"paid_period_start":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"default":null,"title":"Paid Period Start"},"paid_period_end":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"default":null,"title":"Paid Period End"}},"required":["plan_id","status","cancel_at_period_end"],"title":"CapacityMembershipData","type":"object"},"CapacityTrialEndingData":{"additionalProperties":false,"properties":{"event":{"const":"trial_ending","default":"trial_ending","title":"Event","type":"string"},"expires_at":{"format":"date-time","title":"Expires At","type":"string"},"remaining_free_cents":{"minimum":0,"title":"Remaining Free Cents","type":"integer"}},"required":["expires_at","remaining_free_cents"],"title":"CapacityTrialEndingData","type":"object"},"CapacityFreeAllowanceData":{"additionalProperties":false,"description":"Whether this account's free allowance is active; message is shown while it waits.","properties":{"status":{"enum":["unclaimed","review","approved","granted"],"title":"Status","type":"string"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Message"}},"required":["status"],"title":"CapacityFreeAllowanceData","type":"object"},"CapacityPartnerData":{"additionalProperties":false,"properties":{"share_percent":{"minimum":1,"title":"Share Percent","type":"integer"},"months":{"minimum":1,"title":"Months","type":"integer"},"clearing_days":{"minimum":0,"title":"Clearing Days","type":"integer"},"pending_cents":{"minimum":0,"title":"Pending Cents","type":"integer"},"payable_cents":{"minimum":0,"title":"Payable Cents","type":"integer"},"paid_cents":{"minimum":0,"title":"Paid Cents","type":"integer"},"paying_accounts":{"minimum":0,"title":"Paying Accounts","type":"integer"}},"required":["share_percent","months","clearing_days","pending_cents","payable_cents","paid_cents","paying_accounts"],"title":"CapacityPartnerData","type":"object"},"CapacityReferralData":{"additionalProperties":false,"properties":{"code":{"title":"Code","type":"string"},"link":{"title":"Link","type":"string"},"signed_up":{"minimum":0,"title":"Signed Up","type":"integer"},"rewarded":{"minimum":0,"title":"Rewarded","type":"integer"},"earned_cents":{"minimum":0,"title":"Earned Cents","type":"integer"},"partner":{"anyOf":[{"$ref":"#/components/schemas/CapacityPartnerData"},{"type":"null"}],"default":null}},"required":["code","link","signed_up","rewarded","earned_cents"],"title":"CapacityReferralData","type":"object"},"CapacityReferralVisitRequest":{"additionalProperties":false,"properties":{"ref":{"title":"Ref","type":"string"}},"required":["ref"],"title":"CapacityReferralVisitRequest","type":"object"},"CapacityReferralVisitData":{"additionalProperties":false,"properties":{"attributed":{"title":"Attributed","type":"boolean"}},"required":["attributed"],"title":"CapacityReferralVisitData","type":"object"},"CapacityHistoryEventData":{"additionalProperties":false,"properties":{"event_key":{"title":"Event Key","type":"string"},"kind":{"title":"Kind","type":"string"},"payload":{"additionalProperties":true,"title":"Payload","type":"object"},"created_at":{"format":"date-time","title":"Created At","type":"string"}},"required":["event_key","kind","payload","created_at"],"title":"CapacityHistoryEventData","type":"object"},"CapacityHistoryData":{"additionalProperties":false,"properties":{"events":{"items":{"$ref":"#/components/schemas/CapacityHistoryEventData"},"title":"Events","type":"array"}},"required":["events"],"title":"CapacityHistoryData","type":"object"},"CapacityRefundClaimData":{"additionalProperties":false,"properties":{"claim_id":{"title":"Claim Id","type":"string"},"status":{"title":"Status","type":"string"},"find_id":{"title":"Find Id","type":"string"},"unit_ids":{"items":{"type":"string"},"title":"Unit Ids","type":"array"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"resolved_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Resolved At"},"support_ticket_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Support Ticket Id"}},"required":["claim_id","status","find_id","unit_ids","created_at","resolved_at","support_ticket_id"],"title":"CapacityRefundClaimData","type":"object"},"CapacityRefundClaimsData":{"additionalProperties":false,"properties":{"claims":{"items":{"$ref":"#/components/schemas/CapacityRefundClaimData"},"title":"Claims","type":"array"}},"required":["claims"],"title":"CapacityRefundClaimsData","type":"object"},"CapacityBalanceData":{"additionalProperties":false,"properties":{"currency":{"default":"USD","enum":["USD","EUR"],"title":"Currency","type":"string"},"available_cents":{"minimum":0,"title":"Available Cents","type":"integer"},"reserved_cents":{"minimum":0,"title":"Reserved Cents","type":"integer"},"payment_hold":{"title":"Payment Hold","type":"boolean"},"internal_unlimited":{"title":"Internal Unlimited","type":"boolean"},"hold_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Hold Reason"},"lots":{"anyOf":[{"items":{"$ref":"#/components/schemas/CapacityLotData"},"type":"array"},{"type":"null"}],"default":null,"title":"Lots"},"free_cycle":{"anyOf":[{"$ref":"#/components/schemas/CapacityFreeCycleData"},{"type":"null"}],"default":null},"trial_ending":{"anyOf":[{"$ref":"#/components/schemas/CapacityTrialEndingData"},{"type":"null"}],"default":null},"free_allowance":{"$ref":"#/components/schemas/CapacityFreeAllowanceData"},"membership":{"anyOf":[{"$ref":"#/components/schemas/CapacityMembershipData"},{"type":"null"}],"default":null},"budget_period":{"title":"Budget Period","type":"string"},"monthly_limit_cents":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Monthly Limit Cents"},"period_spent_or_reserved_cents":{"minimum":0,"title":"Period Spent Or Reserved Cents","type":"integer"}},"required":["available_cents","reserved_cents","payment_hold","internal_unlimited","free_allowance","budget_period","period_spent_or_reserved_cents"],"title":"CapacityBalanceData","type":"object"},"CapacityPlanCapabilities":{"additionalProperties":false,"properties":{"schedules":{"title":"Schedules","type":"boolean"},"deliveries":{"title":"Deliveries","type":"boolean"},"tables":{"title":"Tables","type":"boolean"},"automation":{"title":"Automation","type":"boolean"},"chat":{"title":"Chat","type":"boolean"},"route_planner":{"title":"Route Planner","type":"boolean"},"crm":{"title":"Crm","type":"boolean"},"sso":{"title":"Sso","type":"boolean"},"scim":{"title":"Scim","type":"boolean"},"audit_export":{"title":"Audit Export","type":"boolean"}},"required":["schedules","deliveries","tables","automation","chat","route_planner","crm","sso","scim","audit_export"],"title":"CapacityPlanCapabilities","type":"object"},"CapacityEntitlementsData":{"additionalProperties":false,"properties":{"plan":{"enum":["free","starter","pro","team","enterprise"],"title":"Plan","type":"string"},"plan_name":{"title":"Plan Name","type":"string"},"members_limit":{"anyOf":[{"minimum":1,"type":"integer"},{"type":"null"}],"title":"Members Limit"},"members_used":{"minimum":1,"title":"Members Used","type":"integer"},"current_lists_limit":{"anyOf":[{"minimum":1,"type":"integer"},{"type":"null"}],"title":"Current Lists Limit"},"current_lists_used":{"minimum":0,"title":"Current Lists Used","type":"integer"},"finds_at_once":{"minimum":1,"title":"Finds At Once","type":"integer"},"finds_per_hour":{"minimum":1,"title":"Finds Per Hour","type":"integer"},"capabilities":{"$ref":"#/components/schemas/CapacityPlanCapabilities"},"unlock":{"additionalProperties":{"enum":["starter","pro","team","enterprise"],"type":"string"},"title":"Unlock","type":"object"}},"required":["plan","plan_name","members_limit","members_used","current_lists_limit","current_lists_used","finds_at_once","finds_per_hour","capabilities","unlock"],"title":"CapacityEntitlementsData","type":"object"},"CapacityExecutionData":{"additionalProperties":false,"properties":{"reservation_id":{"title":"Reservation Id","type":"string"},"find_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Find Id"},"maximum_cents":{"minimum":0,"title":"Maximum Cents","type":"integer"},"state":{"enum":["reserved","running","committed","released"],"title":"State","type":"string"},"replay":{"title":"Replay","type":"boolean"}},"required":["reservation_id","maximum_cents","state","replay"],"title":"CapacityExecutionData","type":"object"},"CapacityFundingData":{"additionalProperties":false,"properties":{"funding_id":{"title":"Funding Id","type":"string"},"kind":{"enum":["topup","subscription"],"title":"Kind","type":"string"},"state":{"enum":["pending","open","paid","expired","failed"],"title":"State","type":"string"},"currency":{"default":"USD","enum":["USD","EUR"],"title":"Currency","type":"string"},"amount_cents":{"exclusiveMinimum":0,"title":"Amount Cents","type":"integer"},"plan_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Plan Id"},"checkout_url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Checkout Url"},"expires_at":{"format":"date-time","title":"Expires At","type":"string"},"intended_quote_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Intended Quote Id"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Error"},"execution_authorized":{"const":false,"default":false,"title":"Execution Authorized","type":"boolean"},"next_action":{"enum":["review_quote","open_checkout","wait","none"],"title":"Next Action","type":"string"}},"required":["funding_id","kind","state","amount_cents","expires_at","next_action"],"title":"CapacityFundingData","type":"object"},"CapacityMembershipStatusData":{"additionalProperties":false,"properties":{"membership":{"anyOf":[{"$ref":"#/components/schemas/CapacityMembershipData"},{"type":"null"}],"default":null}},"title":"CapacityMembershipStatusData","type":"object"},"SpecLinkRequest":{"additionalProperties":false,"properties":{"revision_id":{"maxLength":160,"minLength":1,"title":"Revision Id","type":"string"},"expected_ast_hash":{"pattern":"^[0-9a-f]{64}$","title":"Expected Ast Hash","type":"string"},"include_context":{"default":false,"title":"Include Context","type":"boolean"},"expires_seconds":{"default":2592000,"maximum":2592000,"minimum":3600,"title":"Expires Seconds","type":"integer"}},"required":["revision_id","expected_ast_hash"],"title":"SpecLinkRequest","type":"object"},"SpecLinkData":{"additionalProperties":false,"properties":{"link_id":{"title":"Link Id","type":"string"},"public_url":{"title":"Public Url","type":"string"},"expires_at":{"format":"date-time","title":"Expires At","type":"string"},"snapshot_hash":{"title":"Snapshot Hash","type":"string"}},"required":["link_id","public_url","expires_at","snapshot_hash"],"title":"SpecLinkData","type":"object"},"SpecLinkRevoked":{"additionalProperties":false,"properties":{"link_id":{"title":"Link Id","type":"string"},"revoked":{"const":true,"default":true,"title":"Revoked","type":"boolean"}},"required":["link_id"],"title":"SpecLinkRevoked","type":"object"},"SharedSpec":{"additionalProperties":false,"properties":{"name":{"title":"Name","type":"string"},"ast":{"$ref":"#/components/schemas/QueryAst"},"ast_hash":{"title":"Ast Hash","type":"string"},"context":{"title":"Context","type":"string"},"snapshot_hash":{"title":"Snapshot Hash","type":"string"},"expires_at":{"format":"date-time","title":"Expires At","type":"string"},"execution_authorized":{"const":false,"default":false,"title":"Execution Authorized","type":"boolean"}},"required":["name","ast","ast_hash","context","snapshot_hash","expires_at"],"title":"SharedSpec","type":"object"},"NotificationPatch":{"additionalProperties":false,"properties":{"read":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"title":"Read"},"archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"title":"Archived"}},"title":"NotificationPatch","type":"object"},"NotificationRead":{"additionalProperties":false,"properties":{"ids":{"items":{"type":"string"},"maxItems":100,"minItems":1,"title":"Ids","type":"array"}},"required":["ids"],"title":"NotificationRead","type":"object"},"WorkspaceNotification":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"kind":{"enum":["completion","mention","monitor","achievement"],"title":"Kind","type":"string"},"title":{"title":"Title","type":"string"},"body":{"title":"Body","type":"string"},"project":{"title":"Project","type":"string"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"route":{"title":"Route","type":"string"},"createdAt":{"title":"Createdat","type":"string"},"read":{"title":"Read","type":"boolean"},"archived":{"title":"Archived","type":"boolean"}},"required":["id","kind","title","body","project","project_id","route","createdAt","read","archived"],"title":"WorkspaceNotification","type":"object"},"WorkspaceNotifications":{"additionalProperties":false,"properties":{"notifications":{"items":{"$ref":"#/components/schemas/WorkspaceNotification"},"title":"Notifications","type":"array"}},"required":["notifications"],"title":"WorkspaceNotifications","type":"object"},"WorkspaceNotificationPage":{"additionalProperties":false,"properties":{"notifications":{"items":{"$ref":"#/components/schemas/WorkspaceNotification"},"title":"Notifications","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"required":["notifications","next_cursor"],"title":"WorkspaceNotificationPage","type":"object"},"WorkspaceSearchHit":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"kind":{"title":"Kind","type":"string"},"title":{"title":"Title","type":"string"},"route":{"title":"Route","type":"string"},"snippet":{"title":"Snippet","type":"string"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Project Id"},"collection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Collection Id"},"record_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Record Id"},"note_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Note Id"},"imported":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"title":"Imported"}},"required":["id","kind","title","route","snippet"],"title":"WorkspaceSearchHit","type":"object"},"WorkspaceSearchPage":{"additionalProperties":false,"properties":{"results":{"items":{"$ref":"#/components/schemas/WorkspaceSearchHit"},"title":"Results","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"required":["results","next_cursor"],"title":"WorkspaceSearchPage","type":"object"},"FileImportInput":{"additionalProperties":false,"properties":{"import_id":{"maxLength":128,"minLength":8,"pattern":"^[A-Za-z0-9_-]+$","title":"Import Id","type":"string"},"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"},"format":{"enum":["csv","xlsx"],"title":"Format","type":"string"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Project Id"},"sheet":{"anyOf":[{"maxLength":31,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Sheet"}},"required":["import_id","name","format"],"title":"FileImportInput","type":"object"},"ImportRejectedRow":{"additionalProperties":false,"description":"A supplied row left out of an import; the other rows still load.","properties":{"row_number":{"title":"Row Number","type":"integer"},"reason":{"title":"Reason","type":"string"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Id"}},"required":["row_number","reason"],"title":"ImportRejectedRow","type":"object"},"WorkspaceImportData":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"account_id":{"title":"Account Id","type":"string"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"name":{"title":"Name","type":"string"},"rows":{"items":{"additionalProperties":true,"type":"object"},"title":"Rows","type":"array"},"created_at":{"title":"Created At","type":"string"},"imported":{"const":true,"title":"Imported","type":"boolean"},"total_rows":{"title":"Total Rows","type":"integer"},"imported_count":{"title":"Imported Count","type":"integer"},"rejected_rows":{"items":{"$ref":"#/components/schemas/ImportRejectedRow"},"title":"Rejected Rows","type":"array"},"max_rows":{"title":"Max Rows","type":"integer"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"}},"required":["id","account_id","project_id","name","rows","created_at","imported","total_rows","imported_count","rejected_rows","max_rows","metadata"],"title":"WorkspaceImportData","type":"object"},"WorkspaceAuditEvent":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"at":{"title":"At","type":"string"},"who":{"title":"Who","type":"string"},"actor_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Account Id"},"actor_key_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Key Id"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"kind":{"enum":["Sign-in","Access","Spending","Exports","Automation","Lists"],"title":"Kind","type":"string"},"what":{"title":"What","type":"string"},"action":{"title":"Action","type":"string"},"target_type":{"title":"Target Type","type":"string"},"target_id":{"title":"Target Id","type":"string"}},"required":["id","at","who","actor_account_id","actor_key_id","project_id","kind","what","action","target_type","target_id"],"title":"WorkspaceAuditEvent","type":"object"},"WorkspaceAuditPage":{"additionalProperties":false,"properties":{"events":{"items":{"$ref":"#/components/schemas/WorkspaceAuditEvent"},"title":"Events","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"retention_months":{"const":12,"default":12,"title":"Retention Months","type":"integer"}},"required":["events","next_cursor"],"title":"WorkspaceAuditPage","type":"object"},"WorkspaceResearchInputRow":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"provided":{"additionalProperties":true,"title":"Provided","type":"object"},"entity_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entity Id"},"status":{"enum":["pending","verified","excluded","not_delivered","unresolved","unavailable"],"title":"Status","type":"string"},"resolution":{"anyOf":[{"$ref":"#/components/schemas/InputIdentityResolution"},{"type":"null"}],"default":null},"qualification_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Qualification Reason"}},"required":["id","provided","entity_id","status"],"title":"WorkspaceResearchInputRow","type":"object"},"WorkspaceResearchInput":{"additionalProperties":false,"properties":{"source_import_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Import Id"},"source_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Source Name"},"provenance":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Provenance"},"input_access":{"anyOf":[{"const":"not_shared","type":"string"},{"type":"null"}],"default":null,"title":"Input Access"},"rows":{"items":{"$ref":"#/components/schemas/WorkspaceResearchInputRow"},"title":"Rows","type":"array"}},"required":["source_import_id","rows"],"title":"WorkspaceResearchInput","type":"object"},"InvestigationParameter":{"additionalProperties":false,"properties":{"name":{"pattern":"^[a-z][a-z0-9_]{0,39}$","title":"Name","type":"string"},"label":{"maxLength":100,"minLength":1,"title":"Label","type":"string"},"paths":{"items":{"type":"string"},"maxItems":8,"minItems":1,"title":"Paths","type":"array"},"value_type":{"enum":["text","integer","number","boolean","url"],"title":"Value Type","type":"string"},"prefix":{"default":"","maxLength":500,"title":"Prefix","type":"string"},"suffix":{"default":"","maxLength":500,"title":"Suffix","type":"string"}},"required":["name","label","paths","value_type"],"title":"InvestigationParameter","type":"object"},"InvestigationFunctionCreate":{"additionalProperties":false,"properties":{"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"},"spec_id":{"maxLength":128,"minLength":1,"title":"Spec Id","type":"string"},"revision_id":{"maxLength":128,"minLength":1,"title":"Revision Id","type":"string"},"parameters":{"items":{"$ref":"#/components/schemas/InvestigationParameter"},"maxItems":8,"minItems":1,"title":"Parameters","type":"array"}},"required":["name","spec_id","revision_id","parameters"],"title":"InvestigationFunctionCreate","type":"object"},"InvestigationBinding":{"additionalProperties":false,"properties":{"field":{"anyOf":[{"maxLength":300,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Field"},"value":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"null"}],"default":null,"title":"Value"}},"title":"InvestigationBinding","type":"object"},"InvestigationBatchPrepare":{"additionalProperties":false,"properties":{"request_id":{"maxLength":128,"minLength":8,"title":"Request Id","type":"string"},"function_id":{"maxLength":128,"minLength":1,"title":"Function Id","type":"string"},"collection_id":{"maxLength":128,"minLength":1,"title":"Collection Id","type":"string"},"record_ids":{"items":{"type":"string"},"maxItems":200,"minItems":1,"title":"Record Ids","type":"array"},"bindings":{"additionalProperties":{"$ref":"#/components/schemas/InvestigationBinding"},"maxProperties":8,"minProperties":1,"title":"Bindings","type":"object"},"reuse_completed":{"default":true,"title":"Reuse Completed","type":"boolean"}},"required":["request_id","function_id","collection_id","record_ids","bindings"],"title":"InvestigationBatchPrepare","type":"object"},"InvestigationBatchApprove":{"additionalProperties":false,"properties":{"quote_hash":{"pattern":"^[0-9a-f]{64}$","title":"Quote Hash","type":"string"},"confirm_max_cents":{"minimum":0,"title":"Confirm Max Cents","type":"integer"}},"required":["quote_hash","confirm_max_cents"],"title":"InvestigationBatchApprove","type":"object"},"InvestigationFunction":{"additionalProperties":false,"properties":{"function_id":{"title":"Function Id","type":"string"},"name":{"title":"Name","type":"string"},"spec_id":{"title":"Spec Id","type":"string"},"revision_id":{"title":"Revision Id","type":"string"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"contract_hash":{"title":"Contract Hash","type":"string"},"parameters":{"items":{"$ref":"#/components/schemas/InvestigationParameter"},"title":"Parameters","type":"array"},"request":{"title":"Request","type":"string"},"output_fields":{"items":{"type":"string"},"title":"Output Fields","type":"array"},"results_per_input":{"title":"Results Per Input","type":"integer"},"created_at":{"format":"date-time","title":"Created At","type":"string"}},"required":["function_id","name","spec_id","revision_id","project_id","contract_hash","parameters","request","output_fields","results_per_input","created_at"],"title":"InvestigationFunction","type":"object"},"InvestigationBatch":{"additionalProperties":false,"properties":{"batch_id":{"title":"Batch Id","type":"string"},"function_id":{"title":"Function Id","type":"string"},"name":{"title":"Name","type":"string"},"collection_id":{"title":"Collection Id","type":"string"},"state":{"title":"State","type":"string"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"maximum_cents":{"title":"Maximum Cents","type":"integer"},"currency":{"title":"Currency","type":"string"},"quote_hash":{"title":"Quote Hash","type":"string"},"expires_at":{"format":"date-time","title":"Expires At","type":"string"},"counts":{"additionalProperties":{"type":"integer"},"title":"Counts","type":"object"},"rows":{"items":{"additionalProperties":true,"type":"object"},"title":"Rows","type":"array"},"works":{"items":{"additionalProperties":true,"type":"object"},"title":"Works","type":"array"},"created_at":{"format":"date-time","title":"Created At","type":"string"}},"required":["batch_id","function_id","name","collection_id","state","reason","maximum_cents","currency","quote_hash","expires_at","counts","rows","works","created_at"],"title":"InvestigationBatch","type":"object"},"InvestigationFunctionPage":{"additionalProperties":false,"properties":{"functions":{"items":{"$ref":"#/components/schemas/InvestigationFunction"},"title":"Functions","type":"array"}},"required":["functions"],"title":"InvestigationFunctionPage","type":"object"},"InvestigationParameterOption":{"additionalProperties":false,"properties":{"path":{"title":"Path","type":"string"},"label":{"title":"Label","type":"string"},"value_type":{"enum":["text","integer","number","boolean","url"],"title":"Value Type","type":"string"},"value":{"title":"Value"}},"required":["path","label","value_type","value"],"title":"InvestigationParameterOption","type":"object"},"InvestigationParameterPage":{"additionalProperties":false,"properties":{"spec_id":{"title":"Spec Id","type":"string"},"revision_id":{"title":"Revision Id","type":"string"},"parameters":{"items":{"$ref":"#/components/schemas/InvestigationParameterOption"},"title":"Parameters","type":"array"}},"required":["spec_id","revision_id","parameters"],"title":"InvestigationParameterPage","type":"object"},"InvestigationInputColumn":{"additionalProperties":false,"properties":{"field":{"title":"Field","type":"string"},"nonempty_rows":{"title":"Nonempty Rows","type":"integer"},"examples":{"items":{},"title":"Examples","type":"array"}},"required":["field","nonempty_rows","examples"],"title":"InvestigationInputColumn","type":"object"},"InvestigationInputCatalog":{"additionalProperties":false,"properties":{"collection_id":{"title":"Collection Id","type":"string"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"fields":{"items":{"$ref":"#/components/schemas/InvestigationInputColumn"},"title":"Fields","type":"array"},"total_rows":{"title":"Total Rows","type":"integer"}},"required":["collection_id","project_id","fields","total_rows"],"title":"InvestigationInputCatalog","type":"object"},"InvestigationBatchPage":{"additionalProperties":false,"properties":{"batches":{"items":{"$ref":"#/components/schemas/InvestigationBatch"},"title":"Batches","type":"array"}},"required":["batches"],"title":"InvestigationBatchPage","type":"object"},"InvestigationResults":{"additionalProperties":false,"properties":{"schema":{"const":"specstream.investigation-delivery.v1","default":"specstream.investigation-delivery.v1","title":"Schema","type":"string"},"batch_id":{"title":"Batch Id","type":"string"},"inputs_are_not_evidence_for_child_results":{"const":true,"default":true,"title":"Inputs Are Not Evidence For Child Results","type":"boolean"},"inputs":{"items":{"additionalProperties":true,"type":"object"},"title":"Inputs","type":"array"},"deliveries":{"items":{"additionalProperties":true,"type":"object"},"title":"Deliveries","type":"array"}},"required":["batch_id","inputs","deliveries"],"title":"InvestigationResults","type":"object"},"ResearchRuleCondition":{"additionalProperties":false,"properties":{"field":{"maxLength":300,"minLength":1,"title":"Field","type":"string"},"operator":{"default":"equals","enum":["equals","not_equals","present","empty"],"title":"Operator","type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"null"}],"default":null,"title":"Value"}},"required":["field"],"title":"ResearchRuleCondition","type":"object"},"ResearchRulePrepare":{"additionalProperties":false,"properties":{"request_id":{"maxLength":128,"minLength":8,"title":"Request Id","type":"string"},"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"},"collection_id":{"maxLength":128,"minLength":1,"title":"Collection Id","type":"string"},"function_id":{"maxLength":128,"minLength":1,"title":"Function Id","type":"string"},"bindings":{"additionalProperties":{"$ref":"#/components/schemas/InvestigationBinding"},"maxProperties":8,"minProperties":1,"title":"Bindings","type":"object"},"conditions":{"default":[],"items":{"$ref":"#/components/schemas/ResearchRuleCondition"},"maxItems":8,"title":"Conditions","type":"array"},"trigger":{"default":"first_ready","enum":["first_ready","input_changed"],"title":"Trigger","type":"string"},"include_existing":{"default":false,"title":"Include Existing","type":"boolean"},"reuse_completed":{"default":true,"title":"Reuse Completed","type":"boolean"},"batch_size":{"default":20,"maximum":200,"minimum":1,"title":"Batch Size","type":"integer"},"per_batch_cents":{"maximum":100000000,"minimum":1,"title":"Per Batch Cents","type":"integer"},"total_cents":{"maximum":100000000,"minimum":1,"title":"Total Cents","type":"integer"},"valid_until":{"format":"date-time","title":"Valid Until","type":"string"}},"required":["request_id","name","collection_id","function_id","bindings","per_batch_cents","total_cents","valid_until"],"title":"ResearchRulePrepare","type":"object"},"ResearchRuleApprove":{"additionalProperties":false,"properties":{"review_hash":{"pattern":"^[0-9a-f]{64}$","title":"Review Hash","type":"string"},"confirm_total_cents":{"maximum":100000000,"minimum":1,"title":"Confirm Total Cents","type":"integer"}},"required":["review_hash","confirm_total_cents"],"title":"ResearchRuleApprove","type":"object"},"ResearchRulePatch":{"additionalProperties":false,"properties":{"expected_version":{"minimum":1,"title":"Expected Version","type":"integer"},"state":{"enum":["active","paused","deleted"],"title":"State","type":"string"}},"required":["expected_version","state"],"title":"ResearchRulePatch","type":"object"},"ResearchRuleView":{"additionalProperties":false,"properties":{"rule_id":{"title":"Rule Id","type":"string"},"name":{"title":"Name","type":"string"},"collection_id":{"title":"Collection Id","type":"string"},"function_id":{"title":"Function Id","type":"string"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"definition":{"$ref":"#/components/schemas/ResearchRulePrepare"},"request":{"title":"Request","type":"string"},"state":{"title":"State","type":"string"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"version":{"title":"Version","type":"integer"},"review_hash":{"title":"Review Hash","type":"string"},"review_expires_at":{"format":"date-time","title":"Review Expires At","type":"string"},"currency":{"title":"Currency","type":"string"},"committed_maximum_cents":{"title":"Committed Maximum Cents","type":"integer"},"remaining_cents":{"title":"Remaining Cents","type":"integer"},"last_checked_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Checked At"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"counts":{"additionalProperties":{"type":"integer"},"title":"Counts","type":"object"},"rows":{"items":{"additionalProperties":true,"type":"object"},"title":"Rows","type":"array"},"rows_offset":{"title":"Rows Offset","type":"integer"},"next_rows_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next Rows Offset"},"runs":{"items":{"additionalProperties":true,"type":"object"},"title":"Runs","type":"array"},"total_runs":{"title":"Total Runs","type":"integer"},"automatic_execution":{"default":false,"title":"Automatic Execution","type":"boolean"},"original_deliveries_unchanged":{"const":true,"default":true,"title":"Original Deliveries Unchanged","type":"boolean"}},"required":["rule_id","name","collection_id","function_id","project_id","definition","request","state","reason","version","review_hash","review_expires_at","currency","committed_maximum_cents","remaining_cents","last_checked_at","created_at","counts","rows","rows_offset","next_rows_offset","runs","total_runs"],"title":"ResearchRuleView","type":"object"},"ResearchRulePage":{"additionalProperties":false,"properties":{"rules":{"items":{"additionalProperties":true,"type":"object"},"title":"Rules","type":"array"}},"required":["rules"],"title":"ResearchRulePage","type":"object"},"ResearchRuleResults":{"additionalProperties":false,"properties":{"rule_id":{"title":"Rule Id","type":"string"},"original_deliveries_unchanged":{"const":true,"default":true,"title":"Original Deliveries Unchanged","type":"boolean"},"inputs_are_not_qualification_evidence":{"const":true,"default":true,"title":"Inputs Are Not Qualification Evidence","type":"boolean"},"runs":{"items":{"additionalProperties":true,"type":"object"},"title":"Runs","type":"array"},"current_inputs":{"items":{"additionalProperties":true,"type":"object"},"title":"Current Inputs","type":"array"}},"required":["rule_id","runs","current_inputs"],"title":"ResearchRuleResults","type":"object"},"PlacementMonthlyData":{"additionalProperties":false,"properties":{"period_id":{"title":"Period Id","type":"string"},"free_limit":{"title":"Free Limit","type":"integer"},"free_used":{"title":"Free Used","type":"integer"},"free_reserved":{"title":"Free Reserved","type":"integer"},"free_remaining":{"description":"Unused free rows, excluding approved in-flight holds","title":"Free Remaining","type":"integer"},"cached_rows_count_toward_free":{"title":"Cached Rows Count Toward Free","type":"boolean"}},"required":["period_id","free_limit","free_used","free_reserved","free_remaining","cached_rows_count_toward_free"],"title":"PlacementMonthlyData","type":"object"},"PlacementQuoteData":{"additionalProperties":false,"properties":{"quote_id":{"title":"Quote Id","type":"string"},"quote_hash":{"title":"Quote Hash","type":"string"},"import_id":{"title":"Import Id","type":"string"},"expires_at":{"format":"date-time","title":"Expires At","type":"string"},"rows_needing_placement":{"title":"Rows Needing Placement","type":"integer"},"cached_rows":{"title":"Cached Rows","type":"integer"},"free_rows":{"title":"Free Rows","type":"integer"},"monthly_free_rows":{"description":"Rows covered by this month's unused allowance","title":"Monthly Free Rows","type":"integer"},"charged_rows":{"title":"Charged Rows","type":"integer"},"unit_cents":{"title":"Unit Cents","type":"integer"},"total_cents":{"title":"Total Cents","type":"integer"},"monthly":{"$ref":"#/components/schemas/PlacementMonthlyData"}},"required":["quote_id","quote_hash","import_id","expires_at","rows_needing_placement","cached_rows","free_rows","monthly_free_rows","charged_rows","unit_cents","total_cents","monthly"],"title":"PlacementQuoteData","type":"object"},"PlacementStartInput":{"additionalProperties":false,"properties":{"quote_id":{"title":"Quote Id","type":"string"},"quote_hash":{"title":"Quote Hash","type":"string"},"confirm_max_cents":{"minimum":0,"title":"Confirm Max Cents","type":"integer"},"request_id":{"maxLength":128,"minLength":8,"pattern":"^[A-Za-z0-9_-]+$","title":"Request Id","type":"string"}},"required":["quote_id","quote_hash","confirm_max_cents","request_id"],"title":"PlacementStartInput","type":"object"},"PlacementRowData":{"additionalProperties":false,"properties":{"row_id":{"title":"Row Id","type":"string"},"status":{"enum":["placed","not_found","ambiguous"],"title":"Status","type":"string"},"latitude":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Latitude"},"longitude":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Longitude"},"precision":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Precision"},"match_quality":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Match Quality"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Source"},"cached":{"title":"Cached","type":"boolean"},"charged_cents":{"title":"Charged Cents","type":"integer"}},"required":["row_id","status","cached","charged_cents"],"title":"PlacementRowData","type":"object"},"PlacementStatusData":{"additionalProperties":false,"properties":{"placement_id":{"title":"Placement Id","type":"string"},"import_id":{"title":"Import Id","type":"string"},"state":{"enum":["pending","running","completed","failed"],"title":"State","type":"string"},"rows_total":{"title":"Rows Total","type":"integer"},"rows_processed":{"title":"Rows Processed","type":"integer"},"placed":{"title":"Placed","type":"integer"},"not_found":{"title":"Not Found","type":"integer"},"ambiguous":{"title":"Ambiguous","type":"integer"},"charged_cents":{"description":"Settled total; remains zero until the job finishes","title":"Charged Cents","type":"integer"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"rows":{"items":{"$ref":"#/components/schemas/PlacementRowData"},"title":"Rows","type":"array"},"monthly":{"$ref":"#/components/schemas/PlacementMonthlyData"}},"required":["placement_id","import_id","state","rows_total","rows_processed","placed","not_found","ambiguous","charged_cents","error_code","rows","monthly"],"title":"PlacementStatusData","type":"object"},"TeachWebSource":{"additionalProperties":false,"properties":{"url":{"maxLength":4096,"minLength":8,"title":"Url","type":"string"},"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"},"name_column":{"default":"name","maxLength":80,"minLength":1,"title":"Name Column","type":"string"},"examples":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"maxItems":8,"minItems":3,"title":"Examples","type":"array"},"exclude":{"items":{"type":"string"},"maxItems":16,"title":"Exclude","type":"array"},"project_id":{"anyOf":[{"maxLength":128,"type":"string"},{"type":"null"}],"default":null,"title":"Project Id"}},"required":["url","name","examples"],"title":"TeachWebSource","type":"object"},"PreviewWebSource":{"additionalProperties":false,"properties":{"source_id":{"maxLength":128,"minLength":8,"title":"Source Id","type":"string"}},"required":["source_id"],"title":"PreviewWebSource","type":"object"},"SaveWebSourceList":{"additionalProperties":false,"properties":{"preview_id":{"maxLength":128,"minLength":8,"title":"Preview Id","type":"string"},"preview_hash":{"pattern":"^[0-9a-f]{64}$","title":"Preview Hash","type":"string"},"import_id":{"maxLength":128,"minLength":8,"pattern":"^[A-Za-z0-9_-]+$","title":"Import Id","type":"string"},"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"},"mapping":{"additionalProperties":{"type":"string"},"title":"Mapping","type":"object"}},"required":["preview_id","preview_hash","import_id","name"],"title":"SaveWebSourceList","type":"object"},"WebSourceCell":{"additionalProperties":false,"properties":{"source_url":{"title":"Source Url","type":"string"},"response_sha256":{"pattern":"^[0-9a-f]{64}$","title":"Response Sha256","type":"string"},"pointer":{"title":"Pointer","type":"string"},"association":{"enum":["anchor","same_element","within_record","positional_example"],"title":"Association","type":"string"}},"required":["source_url","response_sha256","pointer","association"],"title":"WebSourceCell","type":"object"},"WebSourceRow":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"provided":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"null"}]},"title":"Provided","type":"object"},"cells":{"additionalProperties":{"$ref":"#/components/schemas/WebSourceCell"},"title":"Cells","type":"object"},"missing":{"items":{"type":"string"},"title":"Missing","type":"array"},"example":{"default":false,"title":"Example","type":"boolean"}},"required":["id","provided","cells"],"title":"WebSourceRow","type":"object"},"WebSourceFieldExplanation":{"additionalProperties":false,"description":"How one column is read, in words, with the page pattern as a technical tag.","properties":{"column":{"title":"Column","type":"string"},"relationship":{"enum":["anchor","same_element","within_record","positional_example"],"title":"Relationship","type":"string"},"how":{"title":"How","type":"string"},"on_change":{"title":"On Change","type":"string"},"pattern":{"default":"","title":"Pattern","type":"string"},"found":{"default":0,"title":"Found","type":"integer"},"missing":{"default":0,"title":"Missing","type":"integer"}},"required":["column","relationship","how","on_change"],"title":"WebSourceFieldExplanation","type":"object"},"WebSourceExplanation":{"additionalProperties":false,"description":"What the customer reviews before saving: what was learned, from what, and what a\nchanged page does to it.","properties":{"example_rows":{"title":"Example Rows","type":"integer"},"inferred_rows":{"title":"Inferred Rows","type":"integer"},"left_out":{"items":{"type":"string"},"title":"Left Out","type":"array"},"fields":{"items":{"$ref":"#/components/schemas/WebSourceFieldExplanation"},"title":"Fields","type":"array"},"on_change":{"title":"On Change","type":"string"},"page_kept_until":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Page Kept Until"}},"required":["example_rows","inferred_rows","fields","on_change"],"title":"WebSourceExplanation","type":"object"},"WebSourcePreview":{"additionalProperties":false,"properties":{"source_id":{"title":"Source Id","type":"string"},"preview_id":{"title":"Preview Id","type":"string"},"preview_hash":{"pattern":"^[0-9a-f]{64}$","title":"Preview Hash","type":"string"},"name":{"title":"Name","type":"string"},"source_url":{"title":"Source Url","type":"string"},"source_sha256":{"pattern":"^[0-9a-f]{64}$","title":"Source Sha256","type":"string"},"fetched_at":{"title":"Fetched At","type":"string"},"headers":{"items":{"type":"string"},"title":"Headers","type":"array"},"name_column":{"title":"Name Column","type":"string"},"rows":{"items":{"$ref":"#/components/schemas/WebSourceRow"},"title":"Rows","type":"array"},"count":{"title":"Count","type":"integer"},"missing_cells":{"title":"Missing Cells","type":"integer"},"reuse":{"enum":["local_relationships","same_snapshot_only"],"title":"Reuse","type":"string"},"notice":{"title":"Notice","type":"string"},"explanation":{"anyOf":[{"$ref":"#/components/schemas/WebSourceExplanation"},{"type":"null"}],"default":null},"qualification_authority":{"const":false,"default":false,"title":"Qualification Authority","type":"boolean"}},"required":["source_id","preview_id","preview_hash","name","source_url","source_sha256","fetched_at","headers","name_column","rows","count","missing_cells","reuse","notice"],"title":"WebSourcePreview","type":"object"},"WebSourceInfo":{"additionalProperties":false,"properties":{"source_id":{"title":"Source Id","type":"string"},"name":{"title":"Name","type":"string"},"source_url":{"title":"Source Url","type":"string"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Project Id"},"created_at":{"title":"Created At","type":"string"},"reuse":{"enum":["local_relationships","same_snapshot_only"],"title":"Reuse","type":"string"},"name_column":{"title":"Name Column","type":"string"},"headers":{"items":{"type":"string"},"title":"Headers","type":"array"},"fields":{"items":{"$ref":"#/components/schemas/WebSourceFieldExplanation"},"title":"Fields","type":"array"}},"required":["source_id","name","source_url","created_at","reuse","name_column","headers"],"title":"WebSourceInfo","type":"object"},"WebSourceList":{"additionalProperties":false,"properties":{"sources":{"items":{"$ref":"#/components/schemas/WebSourceInfo"},"title":"Sources","type":"array"}},"required":["sources"],"title":"WebSourceList","type":"object"},"CombineCollectionsInput":{"additionalProperties":false,"properties":{"request_id":{"maxLength":128,"minLength":8,"pattern":"^[A-Za-z0-9_-]+$","title":"Request Id","type":"string"},"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"},"collection_ids":{"items":{"type":"string"},"maxItems":20,"minItems":2,"title":"Collection Ids","type":"array"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Project Id"}},"required":["request_id","name","collection_ids"],"title":"CombineCollectionsInput","type":"object"},"CopyCollectionInput":{"additionalProperties":false,"properties":{"request_id":{"maxLength":128,"minLength":8,"pattern":"^[A-Za-z0-9_-]+$","title":"Request Id","type":"string"},"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Project Id"}},"required":["request_id","name"],"title":"CopyCollectionInput","type":"object"},"CollectionFilter":{"additionalProperties":false,"properties":{"record_ids":{"anyOf":[{"items":{"type":"string"},"maxItems":2000,"type":"array"},{"type":"null"}],"default":null,"title":"Record Ids"},"source_collection_ids":{"anyOf":[{"items":{"type":"string"},"maxItems":20,"type":"array"},{"type":"null"}],"default":null,"title":"Source Collection Ids"},"bbox":{"anyOf":[{"maxItems":4,"minItems":4,"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array"},{"type":"null"}],"default":null,"title":"Bbox"}},"title":"CollectionFilter","type":"object"},"YourField":{"additionalProperties":false,"properties":{"key":{"maxLength":96,"minLength":10,"title":"Key","type":"string"},"label":{"maxLength":80,"minLength":1,"title":"Label","type":"string"},"type":{"enum":["choice","check","text"],"title":"Type","type":"string"},"options":{"anyOf":[{"items":{"type":"string"},"maxItems":20,"minItems":1,"type":"array"},{"type":"null"}],"default":null,"title":"Options"}},"required":["key","label","type"],"title":"YourField","type":"object"},"WorkspaceCollection":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Project Id"},"kind":{"enum":["find","import","snapshot","combined"],"title":"Kind","type":"string"},"imported":{"title":"Imported","type":"boolean"},"rows":{"items":{"additionalProperties":true,"type":"object"},"title":"Rows","type":"array"},"columns":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"title":"Columns","type":"array"},"created_at":{"title":"Created At","type":"string"},"total":{"title":"Total","type":"integer"},"duplicates":{"default":0,"title":"Duplicates","type":"integer"},"source_collection_ids":{"items":{"type":"string"},"title":"Source Collection Ids","type":"array"},"account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Account Id"},"source_snapshot_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Source Snapshot Id"},"find_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Find Id"},"import_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Import Id"},"source_preview_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Source Preview Id"},"source_program_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Source Program Id"},"combined_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Combined Id"},"combined":{"default":false,"title":"Combined","type":"boolean"},"immutable":{"default":false,"title":"Immutable","type":"boolean"},"selection":{"default":false,"title":"Selection","type":"boolean"},"ast_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Ast Hash"},"ast":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Ast"},"execution_manifest":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Execution Manifest"},"yourFields":{"items":{"$ref":"#/components/schemas/YourField"},"title":"Yourfields","type":"array"},"yourFieldsVersion":{"default":0,"minimum":0,"title":"Yourfieldsversion","type":"integer"}},"required":["id","name","kind","imported","rows","created_at","total"],"title":"WorkspaceCollection","type":"object"},"WorkspaceCollectionPage":{"additionalProperties":false,"properties":{"collections":{"items":{"additionalProperties":true,"type":"object"},"title":"Collections","type":"array"},"next_after":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Next After"}},"required":["collections"],"title":"WorkspaceCollectionPage","type":"object"},"ScheduleDeliverySettings":{"additionalProperties":false,"properties":{"notify":{"default":true,"title":"Notify","type":"boolean"},"slack":{"anyOf":[{"maxLength":81,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Slack"},"sendTo":{"anyOf":[{"maxLength":64,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Sendto"},"webhook":{"anyOf":[{"maxLength":2048,"type":"string"},{"type":"null"}],"default":null,"title":"Webhook"}},"title":"ScheduleDeliverySettings","type":"object"},"ScheduleDeliveryInput":{"additionalProperties":false,"properties":{"notify":{"default":true,"title":"Notify","type":"boolean"},"slack":{"anyOf":[{"maxLength":81,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Slack"},"sendTo":{"anyOf":[{"maxLength":64,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Sendto"},"webhook":{"anyOf":[{"maxLength":2048,"type":"string"},{"type":"null"}],"default":null,"title":"Webhook"},"expected_version":{"minimum":1,"title":"Expected Version","type":"integer"}},"required":["expected_version"],"title":"ScheduleDeliveryInput","type":"object"},"ScheduleDeliveryData":{"additionalProperties":false,"properties":{"schedule_id":{"title":"Schedule Id","type":"string"},"version":{"minimum":1,"title":"Version","type":"integer"},"delivery":{"$ref":"#/components/schemas/ScheduleDeliverySettings"},"webhook_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Webhook Secret"}},"required":["schedule_id","version","delivery"],"title":"ScheduleDeliveryData","type":"object"},"WorkspaceViewSorting":{"additionalProperties":false,"properties":{"columnKey":{"maxLength":128,"minLength":1,"title":"Columnkey","type":"string"},"order":{"title":"Order","type":"integer"}},"required":["columnKey","order"],"title":"WorkspaceViewSorting","type":"object"},"WorkspaceSavedView":{"additionalProperties":false,"properties":{"id":{"maxLength":128,"minLength":1,"title":"Id","type":"string"},"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"},"view":{"default":"table","enum":["table","list","map","relationships","compare","history"],"title":"View","type":"string"},"query":{"default":"","maxLength":2000,"title":"Query","type":"string"},"status":{"default":"all","maxLength":80,"minLength":1,"title":"Status","type":"string"},"area":{"anyOf":[{"items":{"maxItems":2,"minItems":2,"prefixItems":[{"type":"number"},{"type":"number"}],"type":"array"},"maxItems":2,"minItems":2,"type":"array"},{"type":"null"}],"default":null,"title":"Area"},"hiddenColumns":{"items":{"type":"string"},"maxItems":128,"title":"Hiddencolumns","type":"array"},"sorting":{"anyOf":[{"$ref":"#/components/schemas/WorkspaceViewSorting"},{"type":"null"}],"default":null}},"required":["id","name"],"title":"WorkspaceSavedView","type":"object"},"WorkspaceViewSave":{"additionalProperties":false,"properties":{"expected_version":{"minimum":0,"title":"Expected Version","type":"integer"},"view":{"$ref":"#/components/schemas/WorkspaceSavedView"}},"required":["expected_version","view"],"title":"WorkspaceViewSave","type":"object"},"WorkspaceViewList":{"additionalProperties":false,"properties":{"collection_id":{"title":"Collection Id","type":"string"},"version":{"title":"Version","type":"integer"},"views":{"items":{"$ref":"#/components/schemas/WorkspaceSavedView"},"title":"Views","type":"array"}},"required":["collection_id","version","views"],"title":"WorkspaceViewList","type":"object"},"WorkspaceStarItem":{"additionalProperties":false,"properties":{"id":{"maxLength":128,"minLength":1,"title":"Id","type":"string"},"name":{"maxLength":240,"minLength":1,"title":"Name","type":"string"},"route":{"maxLength":512,"minLength":1,"title":"Route","type":"string"}},"required":["id","name","route"],"title":"WorkspaceStarItem","type":"object"},"WorkspaceStarWrite":{"additionalProperties":false,"properties":{"expected_version":{"minimum":0,"title":"Expected Version","type":"integer"},"item":{"$ref":"#/components/schemas/WorkspaceStarItem"},"starred":{"title":"Starred","type":"boolean"}},"required":["expected_version","item","starred"],"title":"WorkspaceStarWrite","type":"object"},"WorkspaceStarList":{"additionalProperties":false,"properties":{"version":{"title":"Version","type":"integer"},"starred":{"items":{"$ref":"#/components/schemas/WorkspaceStarItem"},"title":"Starred","type":"array"}},"required":["version","starred"],"title":"WorkspaceStarList","type":"object"},"WorkspaceNoteScope":{"additionalProperties":false,"properties":{"project_id":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Project Id"},"collection_id":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Collection Id"},"record_id":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Record Id"}},"title":"WorkspaceNoteScope","type":"object"},"WorkspaceNoteAdd":{"additionalProperties":false,"properties":{"project_id":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Project Id"},"collection_id":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Collection Id"},"record_id":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Record Id"},"expected_version":{"minimum":0,"title":"Expected Version","type":"integer"},"id":{"maxLength":128,"minLength":1,"title":"Id","type":"string"},"text":{"maxLength":8000,"minLength":1,"title":"Text","type":"string"}},"required":["expected_version","id","text"],"title":"WorkspaceNoteAdd","type":"object"},"WorkspaceNoteResolve":{"additionalProperties":false,"properties":{"project_id":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Project Id"},"collection_id":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Collection Id"},"record_id":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Record Id"},"expected_version":{"minimum":1,"title":"Expected Version","type":"integer"},"resolved":{"title":"Resolved","type":"boolean"}},"required":["expected_version","resolved"],"title":"WorkspaceNoteResolve","type":"object"},"WorkspaceNoteEdit":{"additionalProperties":false,"properties":{"project_id":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Project Id"},"collection_id":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Collection Id"},"record_id":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Record Id"},"expected_version":{"minimum":1,"title":"Expected Version","type":"integer"},"text":{"maxLength":8000,"minLength":1,"title":"Text","type":"string"}},"required":["expected_version","text"],"title":"WorkspaceNoteEdit","type":"object"},"WorkspaceNoteDelete":{"additionalProperties":false,"properties":{"project_id":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Project Id"},"collection_id":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Collection Id"},"record_id":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Record Id"},"expected_version":{"minimum":1,"title":"Expected Version","type":"integer"}},"required":["expected_version"],"title":"WorkspaceNoteDelete","type":"object"},"WorkspaceNote":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"text":{"title":"Text","type":"string"},"author":{"title":"Author","type":"string"},"authorId":{"title":"Authorid","type":"string"},"at":{"title":"At","type":"string"},"createdAt":{"title":"Createdat","type":"string"},"resolved":{"title":"Resolved","type":"boolean"},"projectId":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Projectid"},"resolvedBy":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Resolvedby"},"resolvedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Resolvedat"}},"required":["id","text","author","authorId","at","createdAt","resolved"],"title":"WorkspaceNote","type":"object"},"WorkspaceNotes":{"additionalProperties":false,"properties":{"version":{"title":"Version","type":"integer"},"notes":{"items":{"$ref":"#/components/schemas/WorkspaceNote"},"title":"Notes","type":"array"}},"required":["version","notes"],"title":"WorkspaceNotes","type":"object"},"PushDeviceInput":{"additionalProperties":false,"properties":{"platform":{"enum":["apns","fcm"],"title":"Platform","type":"string"},"token":{"maxLength":4096,"minLength":16,"title":"Token","type":"string"},"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"}},"required":["platform","token","name"],"title":"PushDeviceInput","type":"object"},"WebPushKeys":{"additionalProperties":false,"properties":{"p256dh":{"maxLength":128,"minLength":80,"title":"P256Dh","type":"string"},"auth":{"maxLength":64,"minLength":20,"title":"Auth","type":"string"}},"required":["p256dh","auth"],"title":"WebPushKeys","type":"object"},"WebPushSubscriptionInput":{"additionalProperties":false,"properties":{"endpoint":{"maxLength":4096,"minLength":10,"title":"Endpoint","type":"string"},"keys":{"$ref":"#/components/schemas/WebPushKeys"},"expirationTime":{"anyOf":[{"anyOf":[{"type":"integer"},{"type":"number"}],"ge":0},{"type":"null"}],"default":null,"title":"Expirationtime"},"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"}},"required":["endpoint","keys","name"],"title":"WebPushSubscriptionInput","type":"object"},"PushDevice":{"additionalProperties":false,"properties":{"device_id":{"title":"Device Id","type":"string"},"platform":{"enum":["apns","fcm","web_push"],"title":"Platform","type":"string"},"name":{"title":"Name","type":"string"},"active":{"title":"Active","type":"boolean"},"created_at":{"title":"Created At","type":"string"},"updated_at":{"title":"Updated At","type":"string"}},"required":["device_id","platform","name","active","created_at","updated_at"],"title":"PushDevice","type":"object"},"PushDevicePage":{"additionalProperties":false,"properties":{"devices":{"items":{"$ref":"#/components/schemas/PushDevice"},"title":"Devices","type":"array"}},"required":["devices"],"title":"PushDevicePage","type":"object"},"PushCapabilities":{"additionalProperties":false,"properties":{"apns":{"title":"Apns","type":"boolean"},"fcm":{"title":"Fcm","type":"boolean"},"web_push":{"title":"Web Push","type":"boolean"},"vapid_public_key":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Vapid Public Key"}},"required":["apns","fcm","web_push"],"title":"PushCapabilities","type":"object"},"PushDeviceRevoked":{"additionalProperties":false,"properties":{"revoked":{"const":true,"default":true,"title":"Revoked","type":"boolean"}},"title":"PushDeviceRevoked","type":"object"},"YourFieldsSave":{"additionalProperties":false,"properties":{"expected_version":{"minimum":0,"title":"Expected Version","type":"integer"},"fields":{"items":{"$ref":"#/components/schemas/YourField"},"maxItems":30,"title":"Fields","type":"array"}},"required":["expected_version","fields"],"title":"YourFieldsSave","type":"object"},"YourFieldValue":{"additionalProperties":false,"description":"Set one field on many records at once; an empty value clears it.","properties":{"expected_version":{"minimum":0,"title":"Expected Version","type":"integer"},"record_ids":{"items":{"type":"string"},"maxItems":2000,"minItems":1,"title":"Record Ids","type":"array"},"key":{"maxLength":96,"minLength":10,"title":"Key","type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"null"}],"default":null,"title":"Value"}},"required":["expected_version","record_ids","key"],"title":"YourFieldValue","type":"object"},"YourFields":{"additionalProperties":false,"properties":{"collection_id":{"title":"Collection Id","type":"string"},"version":{"title":"Version","type":"integer"},"fields":{"items":{"$ref":"#/components/schemas/YourField"},"title":"Fields","type":"array"},"values":{"additionalProperties":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"boolean"}]},"type":"object"},"title":"Values","type":"object"}},"required":["collection_id","version","fields","values"],"title":"YourFields","type":"object"},"StorePurchaseRequest":{"additionalProperties":false,"properties":{"provider":{"enum":["app_store","google_play"],"title":"Provider","type":"string"},"product_id":{"maxLength":200,"minLength":1,"title":"Product Id","type":"string"},"purchase_token":{"maxLength":100000,"minLength":1,"title":"Purchase Token","type":"string"}},"required":["provider","product_id","purchase_token"],"title":"StorePurchaseRequest","type":"object"},"StoreRestoreRequest":{"additionalProperties":false,"properties":{"purchases":{"items":{"$ref":"#/components/schemas/StorePurchaseRequest"},"maxItems":50,"minItems":1,"title":"Purchases","type":"array"}},"required":["purchases"],"title":"StoreRestoreRequest","type":"object"},"StoreCardTransferRequest":{"additionalProperties":false,"properties":{"plan_id":{"maxLength":100,"minLength":1,"title":"Plan Id","type":"string"},"idempotency_key":{"maxLength":200,"minLength":8,"title":"Idempotency Key","type":"string"}},"required":["plan_id","idempotency_key"],"title":"StoreCardTransferRequest","type":"object"},"AppleStoreNotification":{"additionalProperties":false,"properties":{"signedPayload":{"maxLength":200000,"minLength":1,"title":"Signedpayload","type":"string"}},"required":["signedPayload"],"title":"AppleStoreNotification","type":"object"},"DestinationSyncInput":{"additionalProperties":false,"properties":{"connection_id":{"maxLength":128,"minLength":5,"title":"Connection Id","type":"string"},"collectionId":{"maxLength":128,"minLength":5,"title":"Collectionid","type":"string"},"destination_sha256":{"pattern":"^[0-9a-f]{64}$","title":"Destination Sha256","type":"string"},"keepSending":{"default":true,"title":"Keepsending","type":"boolean"}},"required":["connection_id","collectionId","destination_sha256"],"title":"DestinationSyncInput","type":"object"},"DestinationSyncUpdate":{"additionalProperties":false,"properties":{"keepSending":{"title":"Keepsending","type":"boolean"}},"required":["keepSending"],"title":"DestinationSyncUpdate","type":"object"},"CloudImportInput":{"additionalProperties":false,"properties":{"connection_id":{"maxLength":128,"minLength":5,"title":"Connection Id","type":"string"},"import_id":{"maxLength":128,"minLength":8,"pattern":"^[A-Za-z0-9_-]+$","title":"Import Id","type":"string"},"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Project Id"},"link":{"maxLength":4096,"minLength":10,"title":"Link","type":"string"},"keepUpdated":{"default":true,"title":"Keepupdated","type":"boolean"},"mapping":{"additionalProperties":{"type":"string"},"maxProperties":100,"title":"Mapping","type":"object"},"source_sha256":{"anyOf":[{"pattern":"^[0-9a-f]{64}$","type":"string"},{"type":"null"}],"default":null,"title":"Source Sha256"},"identity_column":{"anyOf":[{"maxLength":200,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Identity Column"},"sheet_id":{"anyOf":[{"maxLength":200,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Sheet Id"}},"required":["connection_id","import_id","name","link"],"title":"CloudImportInput","type":"object"},"CloudImportPreview":{"additionalProperties":false,"properties":{"connection_id":{"maxLength":128,"minLength":5,"title":"Connection Id","type":"string"},"link":{"maxLength":4096,"minLength":10,"title":"Link","type":"string"},"sheet_id":{"anyOf":[{"maxLength":200,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Sheet Id"}},"required":["connection_id","link"],"title":"CloudImportPreview","type":"object"},"CloudImportUpdate":{"additionalProperties":false,"properties":{"keepUpdated":{"title":"Keepupdated","type":"boolean"}},"required":["keepUpdated"],"title":"CloudImportUpdate","type":"object"},"ConnectedToolData":{"additionalProperties":false,"properties":{"result":{"additionalProperties":true,"title":"Result","type":"object"}},"required":["result"],"title":"ConnectedToolData","type":"object"},"DestinationRequest":{"additionalProperties":false,"properties":{"selection":{"additionalProperties":true,"title":"Selection","type":"object"}},"required":["selection"],"title":"DestinationRequest","type":"object"},"NativeExportRequest":{"additionalProperties":false,"properties":{"find_id":{"maxLength":128,"minLength":5,"title":"Find Id","type":"string"},"entity_id":{"maxLength":2048,"minLength":1,"title":"Entity Id","type":"string"},"destination_sha256":{"pattern":"^[0-9a-f]{64}$","title":"Destination Sha256","type":"string"}},"required":["find_id","entity_id","destination_sha256"],"title":"NativeExportRequest","type":"object"},"SendToDestinationInput":{"additionalProperties":false,"properties":{"find_id":{"maxLength":128,"minLength":5,"title":"Find Id","type":"string"},"entity_ids":{"items":{"type":"string"},"maxItems":2000,"minItems":1,"title":"Entity Ids","type":"array"},"destination_sha256":{"pattern":"^[0-9a-f]{64}$","title":"Destination Sha256","type":"string"}},"required":["find_id","entity_ids","destination_sha256"],"title":"SendToDestinationInput","type":"object"},"RelationshipSelection":{"additionalProperties":false,"properties":{"expected_version":{"minimum":0,"title":"Expected Version","type":"integer"},"field_id":{"maxLength":200,"minLength":1,"title":"Field Id","type":"string"},"label":{"maxLength":120,"minLength":1,"title":"Label","type":"string"}},"required":["expected_version","field_id","label"],"title":"RelationshipSelection","type":"object"},"RelationshipData":{"additionalProperties":false,"properties":{"collection_id":{"title":"Collection Id","type":"string"},"version":{"title":"Version","type":"integer"},"field_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Field Id"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"groups":{"items":{"additionalProperties":true,"type":"object"},"title":"Groups","type":"array"},"missing":{"title":"Missing","type":"integer"}},"required":["collection_id","version","field_id","label","groups","missing"],"title":"RelationshipData","type":"object"},"ActivityPage":{"additionalProperties":false,"properties":{"items":{"items":{"additionalProperties":true,"type":"object"},"title":"Items","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Next Cursor"}},"required":["items"],"title":"ActivityPage","type":"object"},"ResultReportInput":{"additionalProperties":false,"properties":{"request_id":{"maxLength":128,"minLength":8,"title":"Request Id","type":"string"},"record_id":{"maxLength":2048,"minLength":1,"title":"Record Id","type":"string"},"check":{"maxLength":500,"minLength":1,"title":"Check","type":"string"},"truth":{"maxLength":1200,"minLength":1,"title":"Truth","type":"string"},"link":{"anyOf":[{"maxLength":2048,"type":"string"},{"type":"null"}],"default":null,"title":"Link"}},"required":["request_id","record_id","check","truth"],"title":"ResultReportInput","type":"object"},"ResultReportData":{"additionalProperties":false,"properties":{"claim_id":{"title":"Claim Id","type":"string"},"status":{"title":"Status","type":"string"},"automatic_refund":{"default":false,"title":"Automatic Refund","type":"boolean"},"support_ticket_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Support Ticket Id"}},"required":["claim_id","status"],"title":"ResultReportData","type":"object"},"InvitationData":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"email":{"title":"Email","type":"string"},"role":{"title":"Role","type":"string"},"status":{"title":"Status","type":"string"},"project_id":{"title":"Project Id","type":"string"}},"required":["id","email","role","status","project_id"],"title":"InvitationData","type":"object"},"FileImportCommand":{"additionalProperties":false,"properties":{"import_id":{"maxLength":128,"minLength":8,"pattern":"^[A-Za-z0-9_-]+$","title":"Import Id","type":"string"},"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"},"format":{"pattern":"^(csv|xlsx)$","title":"Format","type":"string"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Project Id"},"sheet":{"anyOf":[{"maxLength":31,"type":"string"},{"type":"null"}],"default":null,"title":"Sheet"},"content":{"anyOf":[{"maxLength":20000000,"type":"string"},{"type":"null"}],"default":null,"title":"Content"},"content_base64":{"anyOf":[{"maxLength":26666668,"type":"string"},{"type":"null"}],"default":null,"title":"Content Base64"},"mapping":{"anyOf":[{"additionalProperties":{"type":"string"},"maxProperties":100,"type":"object"},{"type":"null"}],"default":null,"title":"Mapping"}},"required":["import_id","name","format"],"title":"FileImportCommand","type":"object"},"RequestTemplate":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"record_type":{"title":"Record Type","type":"string"},"category":{"title":"Category","type":"string"},"request":{"title":"Request","type":"string"}},"required":["id","record_type","category","request"],"title":"RequestTemplate","type":"object"},"RequestTemplateList":{"additionalProperties":false,"properties":{"version":{"const":"request_templates.v1","default":"request_templates.v1","title":"Version","type":"string"},"templates":{"items":{"$ref":"#/components/schemas/RequestTemplate"},"title":"Templates","type":"array"}},"title":"RequestTemplateList","type":"object"},"PasskeyLabel":{"additionalProperties":false,"properties":{"label":{"maxLength":120,"minLength":1,"title":"Label","type":"string"}},"required":["label"],"title":"PasskeyLabel","type":"object"},"PasskeyComplete":{"additionalProperties":false,"properties":{"challenge_id":{"maxLength":128,"minLength":1,"title":"Challenge Id","type":"string"},"credential":{"additionalProperties":true,"title":"Credential","type":"object"}},"required":["challenge_id","credential"],"title":"PasskeyComplete","type":"object"},"PasskeyRegistration":{"additionalProperties":false,"properties":{"challenge_id":{"maxLength":128,"minLength":1,"title":"Challenge Id","type":"string"},"credential":{"additionalProperties":true,"title":"Credential","type":"object"},"label":{"maxLength":120,"minLength":1,"title":"Label","type":"string"}},"required":["challenge_id","credential","label"],"title":"PasskeyRegistration","type":"object"},"PasskeyData":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"label":{"title":"Label","type":"string"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"last_used_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"default":null,"title":"Last Used At"}},"required":["id","label","created_at"],"title":"PasskeyData","type":"object"},"PasskeyList":{"additionalProperties":false,"properties":{"passkeys":{"items":{"$ref":"#/components/schemas/PasskeyData"},"title":"Passkeys","type":"array"}},"required":["passkeys"],"title":"PasskeyList","type":"object"},"SecurityChallenge":{"additionalProperties":false,"properties":{"challenge_id":{"title":"Challenge Id","type":"string"},"public_key":{"additionalProperties":true,"title":"Public Key","type":"object"}},"required":["challenge_id","public_key"],"title":"SecurityChallenge","type":"object"},"SecuritySuccess":{"additionalProperties":false,"properties":{"ok":{"default":true,"title":"Ok","type":"boolean"}},"title":"SecuritySuccess","type":"object"},"SSODomainInput":{"additionalProperties":false,"properties":{"domain":{"maxLength":253,"minLength":3,"title":"Domain","type":"string"}},"required":["domain"],"title":"SSODomainInput","type":"object"},"SSOConfigInput":{"additionalProperties":false,"properties":{"provider":{"enum":["Okta","Microsoft Entra ID","Google Workspace","OneLogin","JumpCloud","Another SAML 2.0 provider"],"title":"Provider","type":"string"},"metadata_url":{"maxLength":2048,"minLength":10,"title":"Metadata Url","type":"string"}},"required":["provider","metadata_url"],"title":"SSOConfigInput","type":"object"},"SSOPolicyInput":{"additionalProperties":false,"properties":{"require_sso":{"title":"Require Sso","type":"boolean"},"scim_enabled":{"title":"Scim Enabled","type":"boolean"}},"required":["require_sso","scim_enabled"],"title":"SSOPolicyInput","type":"object"},"SSOStartInput":{"additionalProperties":false,"properties":{"domain":{"maxLength":253,"minLength":3,"title":"Domain","type":"string"},"enroll":{"default":false,"title":"Enroll","type":"boolean"}},"required":["domain"],"title":"SSOStartInput","type":"object"},"SSOStartData":{"additionalProperties":false,"properties":{"url":{"title":"Url","type":"string"}},"required":["url"],"title":"SSOStartData","type":"object"},"SSODomain":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"domain":{"title":"Domain","type":"string"},"txt_record":{"title":"Txt Record","type":"string"},"verified_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Verified At"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"},"metadata_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Metadata Url"},"require_sso":{"title":"Require Sso","type":"boolean"},"scim_enabled":{"title":"Scim Enabled","type":"boolean"},"config_version":{"title":"Config Version","type":"integer"},"acs_url":{"title":"Acs Url","type":"string"},"entity_id":{"title":"Entity Id","type":"string"},"scim_url":{"title":"Scim Url","type":"string"}},"required":["id","domain","txt_record","verified_at","provider","metadata_url","require_sso","scim_enabled","config_version","acs_url","entity_id","scim_url"],"title":"SSODomain","type":"object"},"SSODomains":{"additionalProperties":false,"properties":{"domains":{"items":{"$ref":"#/components/schemas/SSODomain"},"title":"Domains","type":"array"}},"required":["domains"],"title":"SSODomains","type":"object"},"SCIMCredential":{"additionalProperties":false,"properties":{"credential_id":{"title":"Credential Id","type":"string"},"token":{"title":"Token","type":"string"},"scim_url":{"title":"Scim Url","type":"string"}},"required":["credential_id","token","scim_url"],"title":"SCIMCredential","type":"object"},"SCIMProjectMapping":{"additionalProperties":false,"properties":{"group_id":{"default":"","maxLength":128,"title":"Group Id","type":"string"},"project_id":{"maxLength":128,"minLength":1,"title":"Project Id","type":"string"},"role":{"default":"viewer","enum":["viewer","editor"],"title":"Role","type":"string"},"monthly_spend_cap_cents":{"default":0,"maximum":100000000,"minimum":0,"title":"Monthly Spend Cap Cents","type":"integer"}},"required":["project_id"],"title":"SCIMProjectMapping","type":"object"},"SCIMMappings":{"additionalProperties":false,"properties":{"mappings":{"items":{"$ref":"#/components/schemas/SCIMProjectMapping"},"maxItems":100,"title":"Mappings","type":"array"}},"required":["mappings"],"title":"SCIMMappings","type":"object"},"SCIMGroup":{"additionalProperties":false,"properties":{"group_id":{"title":"Group Id","type":"string"},"display_name":{"title":"Display Name","type":"string"},"members":{"title":"Members","type":"integer"}},"required":["group_id","display_name","members"],"title":"SCIMGroup","type":"object"},"SCIMCredentialState":{"additionalProperties":false,"properties":{"credential_id":{"title":"Credential Id","type":"string"},"created_at":{"title":"Created At","type":"string"}},"required":["credential_id","created_at"],"title":"SCIMCredentialState","type":"object"},"SCIMProvisioning":{"additionalProperties":false,"properties":{"mappings":{"items":{"$ref":"#/components/schemas/SCIMProjectMapping"},"title":"Mappings","type":"array"},"groups":{"items":{"$ref":"#/components/schemas/SCIMGroup"},"title":"Groups","type":"array"},"credential":{"anyOf":[{"$ref":"#/components/schemas/SCIMCredentialState"},{"type":"null"}]},"users":{"title":"Users","type":"integer"}},"required":["mappings","groups","credential","users"],"title":"SCIMProvisioning","type":"object"},"AccountPhotoData":{"additionalProperties":false,"properties":{"version":{"title":"Version","type":"integer"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"required":["version","url"],"title":"AccountPhotoData","type":"object"},"WorkspaceRecordChange":{"additionalProperties":false,"properties":{"recordId":{"title":"Recordid","type":"string"},"field":{"title":"Field","type":"string"},"label":{"title":"Label","type":"string"},"before":{"title":"Before","type":"string"},"after":{"title":"After","type":"string"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Source"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Url"},"currentRecordId":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Currentrecordid"},"sourceCollectionId":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Sourcecollectionid"},"sourceRecordId":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Sourcerecordid"}},"required":["recordId","field","label","before","after"],"title":"WorkspaceRecordChange","type":"object"},"WorkspaceFieldComparison":{"additionalProperties":false,"properties":{"recordId":{"title":"Recordid","type":"string"},"field":{"title":"Field","type":"string"},"label":{"title":"Label","type":"string"},"status":{"enum":["changed","added","unchanged","unresolved","unavailable"],"title":"Status","type":"string"},"before":{"anyOf":[{},{"type":"null"}],"default":null,"title":"Before"},"after":{"anyOf":[{},{"type":"null"}],"default":null,"title":"After"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Source"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Url"},"sourceCollectionId":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Sourcecollectionid"},"sourceRecordId":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Sourcerecordid"}},"required":["recordId","field","label","status"],"title":"WorkspaceFieldComparison","type":"object"},"WorkspaceCollectionChanges":{"additionalProperties":false,"properties":{"collectionId":{"title":"Collectionid","type":"string"},"checkedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Checkedat"},"runId":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Runid"},"monitorId":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Monitorid"},"status":{"enum":["changed","unchanged","unresolved","unavailable","not_checked"],"title":"Status","type":"string"},"changes":{"items":{"$ref":"#/components/schemas/WorkspaceRecordChange"},"title":"Changes","type":"array"},"comparisons":{"items":{"$ref":"#/components/schemas/WorkspaceFieldComparison"},"title":"Comparisons","type":"array"},"records":{"items":{"additionalProperties":true,"type":"object"},"title":"Records","type":"array"},"summary":{"additionalProperties":{"type":"integer"},"title":"Summary","type":"object"},"parentSnapshotId":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Parentsnapshotid"},"checks":{"items":{"additionalProperties":true,"type":"object"},"title":"Checks","type":"array"}},"required":["collectionId","status"],"title":"WorkspaceCollectionChanges","type":"object"},"NativeAuthStart":{"additionalProperties":false,"properties":{"provider":{"maxLength":20,"minLength":1,"title":"Provider","type":"string"},"code_challenge":{"maxLength":43,"minLength":43,"title":"Code Challenge","type":"string"},"email":{"anyOf":[{"maxLength":320,"type":"string"},{"type":"null"}],"default":null,"title":"Email"},"ref":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Ref"},"enroll":{"default":false,"title":"Enroll","type":"boolean"},"purpose":{"default":"signin","enum":["signin","connection"],"title":"Purpose","type":"string"}},"required":["provider","code_challenge"],"title":"NativeAuthStart","type":"object"},"NativeAuthRedeem":{"additionalProperties":false,"properties":{"handoff_id":{"maxLength":43,"minLength":43,"title":"Handoff Id","type":"string"},"code_verifier":{"maxLength":128,"minLength":43,"title":"Code Verifier","type":"string"}},"required":["handoff_id","code_verifier"],"title":"NativeAuthRedeem","type":"object"},"NativeAuthStartData":{"additionalProperties":false,"properties":{"handoff_id":{"title":"Handoff Id","type":"string"},"callback_url":{"title":"Callback Url","type":"string"},"authorization_url":{"title":"Authorization Url","type":"string"}},"required":["handoff_id","callback_url","authorization_url"],"title":"NativeAuthStartData","type":"object"},"NativeAuthRedeemData":{"additionalProperties":false,"properties":{"ok":{"title":"Ok","type":"boolean"},"pending_provider":{"title":"Pending Provider","type":"boolean"},"connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Connection Id"},"purpose":{"default":"signin","enum":["signin","connection"],"title":"Purpose","type":"string"}},"required":["ok","pending_provider"],"title":"NativeAuthRedeemData","type":"object"},"ReconciliationScope":{"additionalProperties":false,"properties":{"collection_id":{"maxLength":128,"minLength":1,"title":"Collection Id","type":"string"},"record_ids":{"anyOf":[{"items":{"type":"string"},"maxItems":5000,"minItems":1,"type":"array"},{"type":"null"}],"default":null,"title":"Record Ids"}},"required":["collection_id"],"title":"ReconciliationScope","type":"object"},"ReconciliationRule":{"additionalProperties":false,"properties":{"left_field":{"maxLength":160,"minLength":1,"title":"Left Field","type":"string"},"right_field":{"maxLength":160,"minLength":1,"title":"Right Field","type":"string"},"mode":{"default":"edit","enum":["exact","edit"],"title":"Mode","type":"string"},"threshold_bps":{"default":8500,"maximum":10000,"minimum":5000,"title":"Threshold Bps","type":"integer"},"normalization":{"default":"nfkc_casefold_space","enum":["literal","nfkc_casefold_space"],"title":"Normalization","type":"string"}},"required":["left_field","right_field"],"title":"ReconciliationRule","type":"object"},"ReconciliationGroup":{"additionalProperties":false,"properties":{"rules":{"items":{"$ref":"#/components/schemas/ReconciliationRule"},"maxItems":6,"minItems":1,"title":"Rules","type":"array"}},"required":["rules"],"title":"ReconciliationGroup","type":"object"},"ReconciliationVeto":{"additionalProperties":false,"properties":{"left_field":{"maxLength":160,"minLength":1,"title":"Left Field","type":"string"},"right_field":{"maxLength":160,"minLength":1,"title":"Right Field","type":"string"},"normalization":{"default":"nfkc_casefold_space","enum":["literal","nfkc_casefold_space"],"title":"Normalization","type":"string"}},"required":["left_field","right_field"],"title":"ReconciliationVeto","type":"object"},"ReconciliationFill":{"additionalProperties":false,"properties":{"right_field":{"maxLength":160,"minLength":1,"title":"Right Field","type":"string"},"output_field":{"maxLength":120,"minLength":1,"title":"Output Field","type":"string"}},"required":["right_field","output_field"],"title":"ReconciliationFill","type":"object"},"ReconciliationPrepare":{"additionalProperties":false,"properties":{"request_id":{"maxLength":128,"minLength":8,"title":"Request Id","type":"string"},"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"},"project_id":{"anyOf":[{"maxLength":128,"type":"string"},{"type":"null"}],"default":null,"title":"Project Id"},"left":{"$ref":"#/components/schemas/ReconciliationScope"},"right":{"$ref":"#/components/schemas/ReconciliationScope"},"groups":{"items":{"$ref":"#/components/schemas/ReconciliationGroup"},"maxItems":4,"minItems":1,"title":"Groups","type":"array"},"vetoes":{"default":[],"items":{"$ref":"#/components/schemas/ReconciliationVeto"},"maxItems":6,"title":"Vetoes","type":"array"},"fill":{"items":{"$ref":"#/components/schemas/ReconciliationFill"},"maxItems":12,"minItems":1,"title":"Fill","type":"array"},"assignment":{"default":"one_to_one","enum":["one_to_one","many_to_one"],"title":"Assignment","type":"string"},"include_private_fields":{"default":false,"title":"Include Private Fields","type":"boolean"}},"required":["request_id","name","left","right","groups","fill"],"title":"ReconciliationPrepare","type":"object"},"ReconciliationChoice":{"additionalProperties":false,"properties":{"left_record_id":{"maxLength":128,"minLength":1,"title":"Left Record Id","type":"string"},"right_record_id":{"maxLength":128,"minLength":1,"title":"Right Record Id","type":"string"}},"required":["left_record_id","right_record_id"],"title":"ReconciliationChoice","type":"object"},"ReconciliationApply":{"additionalProperties":false,"properties":{"comparison_hash":{"pattern":"^[0-9a-f]{64}$","title":"Comparison Hash","type":"string"},"import_id":{"maxLength":128,"minLength":8,"pattern":"^[A-Za-z0-9_-]+$","title":"Import Id","type":"string"},"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"},"choices":{"items":{"$ref":"#/components/schemas/ReconciliationChoice"},"maxItems":5000,"minItems":1,"title":"Choices","type":"array"}},"required":["comparison_hash","import_id","name","choices"],"title":"ReconciliationApply","type":"object"},"ReconciliationField":{"additionalProperties":false,"properties":{"field":{"title":"Field","type":"string"},"present":{"title":"Present","type":"integer"},"comparable":{"title":"Comparable","type":"integer"},"examples":{"items":{},"title":"Examples","type":"array"}},"required":["field","present","comparable","examples"],"title":"ReconciliationField","type":"object"},"ReconciliationFields":{"additionalProperties":false,"properties":{"collection_id":{"title":"Collection Id","type":"string"},"name":{"title":"Name","type":"string"},"records":{"title":"Records","type":"integer"},"fields":{"items":{"$ref":"#/components/schemas/ReconciliationField"},"title":"Fields","type":"array"}},"required":["collection_id","name","records","fields"],"title":"ReconciliationFields","type":"object"},"ReconciliationAgreement":{"additionalProperties":false,"properties":{"left_field":{"title":"Left Field","type":"string"},"right_field":{"title":"Right Field","type":"string"},"mode":{"enum":["exact","edit"],"title":"Mode","type":"string"},"normalization":{"enum":["literal","nfkc_casefold_space"],"title":"Normalization","type":"string"},"minimum_bps":{"title":"Minimum Bps","type":"integer"},"score_bps":{"title":"Score Bps","type":"integer"},"edits":{"title":"Edits","type":"integer"}},"required":["left_field","right_field","mode","normalization","minimum_bps","score_bps","edits"],"title":"ReconciliationAgreement","type":"object"},"ReconciliationEvidenceGroup":{"additionalProperties":false,"properties":{"group":{"title":"Group","type":"integer"},"comparisons":{"items":{"$ref":"#/components/schemas/ReconciliationAgreement"},"title":"Comparisons","type":"array"}},"required":["group","comparisons"],"title":"ReconciliationEvidenceGroup","type":"object"},"ReconciliationGuard":{"additionalProperties":false,"properties":{"left_field":{"title":"Left Field","type":"string"},"right_field":{"title":"Right Field","type":"string"}},"required":["left_field","right_field"],"title":"ReconciliationGuard","type":"object"},"ReconciliationContradiction":{"additionalProperties":false,"properties":{"left_field":{"title":"Left Field","type":"string"},"right_field":{"title":"Right Field","type":"string"},"left_value":{"title":"Left Value"},"right_value":{"title":"Right Value"}},"required":["left_field","right_field","left_value","right_value"],"title":"ReconciliationContradiction","type":"object"},"ReconciliationCandidate":{"additionalProperties":false,"properties":{"right_record_id":{"title":"Right Record Id","type":"string"},"right_name":{"title":"Right Name","type":"string"},"score_bps":{"title":"Score Bps","type":"integer"},"groups":{"items":{"$ref":"#/components/schemas/ReconciliationEvidenceGroup"},"title":"Groups","type":"array"},"right_values":{"additionalProperties":true,"title":"Right Values","type":"object"},"references":{"additionalProperties":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"title":"References","type":"object"},"unknown_guards":{"items":{"$ref":"#/components/schemas/ReconciliationGuard"},"title":"Unknown Guards","type":"array"},"reference_candidate_for":{"title":"Reference Candidate For","type":"integer"}},"required":["right_record_id","right_name","score_bps","groups","right_values","references","unknown_guards","reference_candidate_for"],"title":"ReconciliationCandidate","type":"object"},"ReconciliationBlocked":{"additionalProperties":false,"properties":{"right_record_id":{"title":"Right Record Id","type":"string"},"right_name":{"title":"Right Name","type":"string"},"contradictions":{"items":{"$ref":"#/components/schemas/ReconciliationContradiction"},"title":"Contradictions","type":"array"}},"required":["right_record_id","right_name","contradictions"],"title":"ReconciliationBlocked","type":"object"},"ReconciliationIncomplete":{"additionalProperties":false,"properties":{"group":{"title":"Group","type":"integer"},"fields":{"items":{"type":"string"},"title":"Fields","type":"array"}},"required":["group","fields"],"title":"ReconciliationIncomplete","type":"object"},"ReconciliationRow":{"additionalProperties":false,"properties":{"left_record_id":{"title":"Left Record Id","type":"string"},"name":{"title":"Name","type":"string"},"left_values":{"additionalProperties":true,"title":"Left Values","type":"object"},"references":{"additionalProperties":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"title":"References","type":"object"},"status":{"enum":["one_candidate","ambiguous","needs_fields","no_candidate"],"title":"Status","type":"string"},"candidates":{"items":{"$ref":"#/components/schemas/ReconciliationCandidate"},"title":"Candidates","type":"array"},"incomplete_groups":{"items":{"$ref":"#/components/schemas/ReconciliationIncomplete"},"title":"Incomplete Groups","type":"array"},"blocked_candidates":{"items":{"$ref":"#/components/schemas/ReconciliationBlocked"},"title":"Blocked Candidates","type":"array"},"candidate_count":{"title":"Candidate Count","type":"integer"}},"required":["left_record_id","name","left_values","references","status","candidates","incomplete_groups","blocked_candidates","candidate_count"],"title":"ReconciliationRow","type":"object"},"ReconciliationView":{"additionalProperties":false,"properties":{"comparison_id":{"title":"Comparison Id","type":"string"},"comparison_hash":{"title":"Comparison Hash","type":"string"},"name":{"title":"Name","type":"string"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"request":{"$ref":"#/components/schemas/ReconciliationPrepare"},"created_at":{"title":"Created At","type":"string"},"scopes":{"additionalProperties":true,"title":"Scopes","type":"object"},"summary":{"additionalProperties":{"type":"integer"},"title":"Summary","type":"object"},"metrics":{"additionalProperties":{"type":"integer"},"title":"Metrics","type":"object"},"rows":{"items":{"$ref":"#/components/schemas/ReconciliationRow"},"title":"Rows","type":"array"},"qualification_authority":{"const":false,"default":false,"title":"Qualification Authority","type":"boolean"},"metric":{"const":"normalized_levenshtein_v1","default":"normalized_levenshtein_v1","title":"Metric","type":"string"}},"required":["comparison_id","comparison_hash","name","project_id","request","created_at","scopes","summary","metrics","rows"],"title":"ReconciliationView","type":"object"},"ReconciliationHistory":{"additionalProperties":false,"properties":{"comparisons":{"items":{"additionalProperties":true,"type":"object"},"title":"Comparisons","type":"array"}},"required":["comparisons"],"title":"ReconciliationHistory","type":"object"},"ReconciliationReceipt":{"additionalProperties":false,"properties":{"import_id":{"title":"Import Id","type":"string"},"name":{"title":"Name","type":"string"},"comparison_id":{"title":"Comparison Id","type":"string"},"rows":{"items":{"additionalProperties":true,"type":"object"},"title":"Rows","type":"array"},"qualification_authority":{"const":false,"default":false,"title":"Qualification Authority","type":"boolean"}},"required":["import_id","name","comparison_id","rows"],"title":"ReconciliationReceipt","type":"object"}},"securitySchemes":{"apiKey":{"type":"apiKey","in":"header","name":"Authorization","description":"Send Bearer <your SpecStream API key>. Create one in the workspace under Agents and API keys."},"purchaseToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Send Bearer <token>, the token returned with the 202. It reads only that purchase."}}}}