{"openapi":"3.1.0","info":{"title":"Isonyma API","description":"\nIsonyma flags account farms that abuse free credits and trials.\n\nSend one HTTP call at signup, credit grant and first LLM call. Every response\nexplains itself in one line with dollars at risk. Shadow mode is the default:\nnothing is blocked until you switch it on. Integration guide for coding agents:\n/agent.md\n","version":"0.1.0"},"paths":{"/v0/events":{"post":{"summary":"Send an event, get a recommendation","description":"Call at signup, at credit grant and at the first LLM call of an account. Use a 300 ms timeout and continue normally on any error (fail-open).","operationId":"post_event_v0_events_post","parameters":[{"name":"idempotency-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","maxLength":255,"pattern":"^[\\x21-\\x7e]{1,255}$"},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionOut"}}}},"401":{"description":"Missing, malformed or revoked API key"},"422":{"description":"Invalid event"},"429":{"description":"Rate limit"}}}},"/v0/decisions/{decision_id}":{"get":{"summary":"Get one decision from the log","operationId":"get_decision_v0_decisions__decision_id__get","parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","title":"Decision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionOut"}}}},"401":{"description":"Missing, malformed or revoked API key"},"404":{"description":"No such decision for this account"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v0/decisions":{"get":{"summary":"List decisions, newest first","operationId":"list_decisions_v0_decisions_get","parameters":[{"name":"account_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Account Id"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Since"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionList"}}}},"401":{"description":"Missing, malformed or revoked API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v0/labels":{"post":{"summary":"Tell Isonyma which accounts you banned, or checked and found normal","description":"Send a label whenever you ban an account for abuse (banned) or clear one that Isonyma flagged or lift a ban (normal). Up to 1,000 per call, one result per account; resending is harmless. Bans are remembered: accounts that share a device, card or phone with a banned one, or come back after the ban, are held.","operationId":"post_labels_v0_labels_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabelsIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabelsOut"}}}},"401":{"description":"Missing, malformed or revoked API key"},"413":{"description":"Body over 256 KiB"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v0/backfill":{"post":{"summary":"Load existing accounts (up to 1,000 per call)","description":"For accounts that existed before the integration: totals so far, hashed signals and bans. Use the CLI's backfill command (see /agent.md): it hashes locally and calls this endpoint, then /v0/backfill/complete. Resending a batch is harmless.","operationId":"post_backfill_v0_backfill_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BackfillIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BackfillOut"}}}},"401":{"description":"Missing, malformed or revoked API key"},"413":{"description":"Body over 1 MiB"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v0/backfill/complete":{"post":{"summary":"Finish a backfill: link all accounts and return the money-leak report","operationId":"complete_backfill_v0_backfill_complete_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportOut"}}}},"401":{"description":"Missing, malformed or revoked API key"}}}},"/v0/report":{"get":{"summary":"Where money leaks: farm clusters ranked by dollars","operationId":"get_report_v0_report_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportOut"}}}},"401":{"description":"Missing, malformed or revoked API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v0/presets":{"post":{"summary":"Register your product's prompt presets so they never link accounts","description":"Prompt DNA hashes of the prompts your product itself suggests or fills in, and of your server's own request setups. Compute them with isonymaPresetHashes() from the snippet or the CLI's presets command (see /agent.md). Presets apply to test and live keys alike. Resending is harmless.","operationId":"post_presets_v0_presets_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresetsIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresetsOut"}}}},"401":{"description":"Missing, malformed or revoked API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v0/digest":{"get":{"summary":"The weekly digest: the report's numbers plus the last 7 days","operationId":"get_digest_v0_digest_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DigestOut"}}}},"401":{"description":"Missing, malformed or revoked API key"}}}},"/v0/slack":{"put":{"summary":"Connect Slack: the weekly digest goes to this channel, the first one right now","description":"The webhook URL is a secret: Isonyma stores it only encrypted. Use a live key; the digest covers live data. Replaces an earlier webhook.","operationId":"put_slack_v0_slack_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlackIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlackOut"}}}},"401":{"description":"Missing, malformed or revoked API key"},"403":{"description":"Test key"},"422":{"description":"Slack refused"},"502":{"description":"Slack unreachable"}}},"delete":{"summary":"Disconnect Slack: no more digests; the webhook is deleted","operationId":"delete_slack_v0_slack_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlackOut"}}}},"401":{"description":"Missing, malformed or revoked API key"},"403":{"description":"Test key"}}}},"/v0/ping":{"get":{"summary":"Check an API key","operationId":"ping_v0_ping_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PingOut"}}}},"401":{"description":"Missing, malformed or revoked API key"}}}},"/v0/doctor":{"post":{"summary":"Report a doctor run (pass or fail only)","description":"Sent by the doctor CLI unless --no-telemetry. Contains no code or file paths.","operationId":"doctor_report_v0_doctor_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoctorReportIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoctorReportOut"}}}},"401":{"description":"Missing, malformed or revoked API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/healthz":{"get":{"summary":"Liveness, no key needed","operationId":"healthz_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthOut"}}}}}}}},"components":{"schemas":{"BackfillIn":{"properties":{"records":{"items":{"$ref":"#/components/schemas/BackfillRecord"},"type":"array","maxItems":1000,"minItems":1,"title":"Records"}},"type":"object","required":["records"],"title":"BackfillIn"},"BackfillOut":{"properties":{"accepted":{"type":"integer","title":"Accepted","description":"Accounts stored or updated."},"skipped_wrong_key_env":{"type":"integer","title":"Skipped Wrong Key Env","description":"Accounts that exist as the other kind of data (test vs live)."},"signals":{"type":"integer","title":"Signals","description":"Signal values stored that were new for their account."}},"type":"object","required":["accepted","skipped_wrong_key_env","signals"],"title":"BackfillOut"},"BackfillRecord":{"properties":{"account_id":{"type":"string","maxLength":128,"minLength":1,"title":"Account Id","examples":["usr_8f2c1"]},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"Signup time."},"credits_usd":{"anyOf":[{"type":"number","maximum":99999999.0,"minimum":0.0},{"type":"string"}],"title":"Credits Usd","default":"0"},"llm_usd":{"anyOf":[{"type":"number","maximum":99999999.0,"minimum":0.0},{"type":"string"}],"title":"Llm Usd","description":"LLM cost so far.","default":"0"},"signals":{"$ref":"#/components/schemas/SignalsIn"},"label":{"anyOf":[{"type":"string","enum":["banned","normal"]},{"type":"null"}],"title":"Label","description":"banned if you already banned it for abuse or fraud."}},"additionalProperties":true,"type":"object","required":["account_id"],"title":"BackfillRecord","description":"One existing account, with totals so far. Signals hashed by the Isonyma CLI or snippet."},"ClusterOut":{"properties":{"id":{"type":"string","title":"Id","examples":["cls_9b2f0c1e4d5a4b6c8e7f6a5b4c3d2e1f"]},"size":{"type":"integer","title":"Size","description":"Accounts in the cluster at decision time."}},"type":"object","required":["id","size"],"title":"ClusterOut"},"DecisionList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/DecisionOut"},"type":"array","title":"Data"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["data"],"title":"DecisionList"},"DecisionOut":{"properties":{"decision_id":{"type":"string","title":"Decision Id","examples":["dcs_3f1c0e5d9b7a4c2e8f6a1b2c3d4e5f60"]},"recommendation":{"type":"string","enum":["allow","review","hold"],"title":"Recommendation"},"applied":{"type":"boolean","title":"Applied","description":"Whether Isonyma asked you to act on it. Always false in shadow mode."},"mode":{"type":"string","enum":["shadow","enforce"],"title":"Mode"},"summary":{"type":"string","title":"Summary","description":"One line explaining the decision, with dollars when relevant."},"reasons":{"items":{"$ref":"#/components/schemas/ReasonOut"},"type":"array","title":"Reasons"},"usd_at_risk":{"type":"number","title":"Usd At Risk"},"account_id":{"type":"string","title":"Account Id"},"event_type":{"type":"string","enum":["signup","credit_grant","llm_call"],"title":"Event Type"},"test":{"type":"boolean","title":"Test"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"engine_version":{"type":"string","title":"Engine Version"},"latency_ms":{"type":"integer","title":"Latency Ms"},"warnings":{"items":{"type":"string"},"type":"array","title":"Warnings"},"cluster":{"anyOf":[{"$ref":"#/components/schemas/ClusterOut"},{"type":"null"}],"description":"Group of linked accounts this account belongs to, if any."}},"type":"object","required":["decision_id","recommendation","applied","mode","summary","reasons","usd_at_risk","account_id","event_type","test","created_at","engine_version","latency_ms"],"title":"DecisionOut"},"DigestOut":{"properties":{"text":{"type":"string","title":"Text","description":"The digest as posted to Slack (Slack mrkdwn)."},"accounts":{"type":"integer","title":"Accounts"},"farm_clusters":{"type":"integer","title":"Farm Clusters"},"farm_accounts":{"type":"integer","title":"Farm Accounts"},"usd_in_farms":{"type":"number","title":"Usd In Farms"},"new_accounts_7d":{"type":"integer","title":"New Accounts 7D"},"flagged_7d":{"type":"integer","title":"Flagged 7D"},"held_7d":{"type":"integer","title":"Held 7D"}},"type":"object","required":["text","accounts","farm_clusters","farm_accounts","usd_in_farms","new_accounts_7d","flagged_7d","held_7d"],"title":"DigestOut"},"DoctorCheck":{"properties":{"name":{"type":"string","maxLength":64,"title":"Name"},"ok":{"type":"boolean","title":"Ok"}},"type":"object","required":["name","ok"],"title":"DoctorCheck"},"DoctorReportIn":{"properties":{"passed":{"type":"boolean","title":"Passed"},"checks":{"items":{"$ref":"#/components/schemas/DoctorCheck"},"type":"array","maxItems":32,"title":"Checks"},"cli_version":{"type":"string","maxLength":32,"title":"Cli Version","default":""}},"type":"object","required":["passed"],"title":"DoctorReportIn"},"DoctorReportOut":{"properties":{"recorded":{"type":"boolean","title":"Recorded"},"first_pass":{"type":"boolean","title":"First Pass"}},"type":"object","required":["recorded","first_pass"],"title":"DoctorReportOut"},"EventIn":{"properties":{"type":{"type":"string","enum":["signup","credit_grant","llm_call"],"title":"Type","description":"Which moment in the account's life this is."},"account_id":{"type":"string","maxLength":128,"minLength":1,"title":"Account Id","description":"Your internal user or account id. Never an email or phone number.","examples":["usr_8f2c1"]},"occurred_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Occurred At","description":"When it happened (ISO 8601). Defaults to the time we received it."},"amount_usd":{"anyOf":[{"type":"number","maximum":99999999.0,"minimum":0.0},{"type":"string"},{"type":"null"}],"title":"Amount Usd","description":"Value at stake: credits granted, or estimated LLM cost of the call."},"signals":{"$ref":"#/components/schemas/SignalsIn","description":"Signals hashed on your side by the Isonyma snippet. All optional."},"test":{"type":"boolean","title":"Test","description":"Marks a test event, for example from doctor.","default":false}},"additionalProperties":true,"type":"object","required":["type","account_id"],"title":"EventIn"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HealthOut":{"properties":{"ok":{"type":"boolean","title":"Ok"},"version":{"type":"string","title":"Version"}},"type":"object","required":["ok","version"],"title":"HealthOut"},"LabelIn":{"properties":{"account_id":{"type":"string","maxLength":128,"minLength":1,"title":"Account Id","examples":["usr_8f2c1"]},"label":{"type":"string","enum":["banned","normal"],"title":"Label","description":"banned: you banned this account for abuse or fraud (not for billing or self-deactivation). normal: you checked it and it is a real user, or you lifted a ban."},"occurred_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Occurred At","description":"When you labeled it. Defaults to now. Not in the future."}},"type":"object","required":["account_id","label"],"title":"LabelIn"},"LabelOut":{"properties":{"account_id":{"type":"string","title":"Account Id"},"label":{"type":"string","enum":["banned","normal"],"title":"Label","description":"The account's label after this call."},"applied":{"type":"boolean","title":"Applied","description":"This label is now the account's current label."},"skipped":{"anyOf":[{"type":"string","enum":["older_than_current","wrong_key_env"]},{"type":"null"}],"title":"Skipped","description":"Why it was not applied: a newer label exists, or the account was sent with the other kind of key (test vs live)."},"known":{"type":"boolean","title":"Known","description":"Isonyma has seen events for this account. Labels for unseen accounts are remembered and apply from their first event."},"cluster":{"anyOf":[{"$ref":"#/components/schemas/ClusterOut"},{"type":"null"}]},"banned_in_cluster":{"type":"integer","title":"Banned In Cluster","description":"Banned accounts in its cluster, itself included."}},"type":"object","required":["account_id","label","applied","known","banned_in_cluster"],"title":"LabelOut"},"LabelsIn":{"properties":{"labels":{"items":{"$ref":"#/components/schemas/LabelIn"},"type":"array","maxItems":1000,"minItems":1,"title":"Labels"}},"type":"object","required":["labels"],"title":"LabelsIn"},"LabelsOut":{"properties":{"data":{"items":{"$ref":"#/components/schemas/LabelOut"},"type":"array","title":"Data"},"summary":{"type":"string","title":"Summary","description":"One line on what these labels changed."}},"type":"object","required":["data","summary"],"title":"LabelsOut"},"PingOut":{"properties":{"ok":{"type":"boolean","title":"Ok","default":true},"tenant":{"type":"string","title":"Tenant"},"mode":{"type":"string","enum":["shadow","enforce"],"title":"Mode"},"key_env":{"type":"string","enum":["live","test"],"title":"Key Env"}},"type":"object","required":["tenant","mode","key_env"],"title":"PingOut"},"PresetsIn":{"properties":{"prompt_tpl_hashes":{"items":{"type":"string","pattern":"^[0-9a-f]{32}$"},"type":"array","maxItems":1000,"title":"Prompt Tpl Hashes"},"prompt_harness_hashes":{"items":{"type":"string","pattern":"^[0-9a-f]{32}$"},"type":"array","maxItems":100,"title":"Prompt Harness Hashes"},"prompt_shape_hashes":{"items":{"type":"string","pattern":"^[0-9a-f]{32}$"},"type":"array","maxItems":6000,"title":"Prompt Shape Hashes","description":"Shapes of the preset prompts."}},"type":"object","title":"PresetsIn","description":"Prompt DNA hashes of your product's own presets (suggested prompts, templates):\nthey never link accounts. Compute them with isonymaPresetHashes() from the snippet."},"PresetsOut":{"properties":{"stored":{"type":"integer","title":"Stored","description":"New presets stored (resending is harmless)."}},"type":"object","required":["stored"],"title":"PresetsOut"},"ReasonOut":{"properties":{"code":{"type":"string","title":"Code","description":"Stable machine code."},"text":{"type":"string","title":"Text","description":"Plain English explanation."}},"type":"object","required":["code","text"],"title":"ReasonOut"},"ReportCluster":{"properties":{"cluster":{"$ref":"#/components/schemas/ClusterOut"},"usd":{"type":"number","title":"Usd","description":"Credits plus LLM spend of all its accounts."},"banned":{"type":"integer","title":"Banned","description":"Accounts in it that you banned."},"summary":{"type":"string","title":"Summary","examples":["47 accounts share one card, $1,240.00"]}},"type":"object","required":["cluster","usd","banned","summary"],"title":"ReportCluster"},"ReportOut":{"properties":{"summary":{"type":"string","title":"Summary","description":"One line: how much money went to farm clusters.","examples":["312 accounts in 41 farm clusters took $4,210.00 (18% of all credits and LLM spend). Largest: 47 accounts share one card, $1,240.00."]},"recall_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recall Note","description":"How many of the accounts you banned Isonyma found in farms."},"accounts":{"type":"integer","title":"Accounts"},"usd_total":{"type":"number","title":"Usd Total"},"farm_clusters":{"type":"integer","title":"Farm Clusters"},"farm_accounts":{"type":"integer","title":"Farm Accounts"},"usd_in_farms":{"type":"number","title":"Usd In Farms"},"top":{"items":{"$ref":"#/components/schemas/ReportCluster"},"type":"array","title":"Top"},"reclustered":{"type":"boolean","title":"Reclustered","description":"Clusters were recomputed for this report (after backfill).","default":false},"data_warnings":{"items":{"type":"string"},"type":"array","title":"Data Warnings","description":"Problems in the loaded data, such as placeholders."}},"type":"object","required":["summary","accounts","usd_total","farm_clusters","farm_accounts","usd_in_farms","top"],"title":"ReportOut"},"SignalsIn":{"properties":{"email_hash":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{32}$"},{"type":"null"}],"title":"Email Hash"},"email_stem_hash":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{32}$"},{"type":"null"}],"title":"Email Stem Hash"},"email_domain_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Email Domain Sha256"},"email_shape":{"anyOf":[{"type":"string","pattern":"^([LDS]\\d{1,3}){1,20}$"},{"type":"null"}],"title":"Email Shape"},"email_tagged":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Email Tagged"},"ip_hash":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{32}$"},{"type":"null"}],"title":"Ip Hash"},"ip_net_hash":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{32}$"},{"type":"null"}],"title":"Ip Net Hash"},"ip_version":{"anyOf":[{"type":"integer","enum":[4,6]},{"type":"null"}],"title":"Ip Version"},"ip_country":{"anyOf":[{"type":"string","pattern":"^[A-Z]{2}$"},{"type":"null"}],"title":"Ip Country"},"asn":{"anyOf":[{"type":"integer","maximum":4294967295.0,"minimum":1.0},{"type":"null"}],"title":"Asn"},"user_agent_hash":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{32}$"},{"type":"null"}],"title":"User Agent Hash"},"ua_family":{"anyOf":[{"type":"string","enum":["HeadlessChrome","PhantomJS","Puppeteer","Playwright","Selenium","python-requests","python-httpx","aiohttp","curl","wget","Go-http-client","okhttp","axios","node-fetch","undici","Postman","Insomnia","Scrapy","Java","libwww-perl","Edge","Opera","Firefox","Chrome","Safari","other"]},{"type":"null"}],"title":"Ua Family"},"ua_automation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Ua Automation"},"device_hash":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{32}$"},{"type":"null"}],"title":"Device Hash"},"card_hash":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{32}$"},{"type":"null"}],"title":"Card Hash"},"phone_hash":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{32}$"},{"type":"null"}],"title":"Phone Hash"},"prompt_tpl_hash":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{32}$"},{"type":"null"}],"title":"Prompt Tpl Hash","description":"Prompt DNA: keyed hash of the normalized prompt template (numbers, quotes, URLs masked). Computed by the snippet; prompt text never leaves your server."},"prompt_harness_hash":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{32}$"},{"type":"null"}],"title":"Prompt Harness Hash","description":"Prompt DNA: keyed hash of the request setup (model, parameters, tools)."},"prompt_shape_hashes":{"anyOf":[{"items":{"type":"string","pattern":"^[0-9a-f]{32}$"},"type":"array","maxItems":8},{"type":"null"}],"title":"Prompt Shape Hashes","description":"Fuzzy Prompt DNA: keyed hashes of the template's shapes (head, tail, MinHash bands). Computed by the snippet; they catch one script that fills in free text or is edited slightly."},"client":{"anyOf":[{"type":"string","pattern":"^[a-z]{1,8}-[0-9]{1,3}(\\.[0-9]{1,3}){0,2}$"},{"type":"null"}],"title":"Client"}},"additionalProperties":true,"type":"object","title":"SignalsIn","description":"Signals hashed on your side by the Isonyma snippet (isonymaEvent does it for you).\n\nRaw identifiers (email, IP, phone, user agent, device or card ids) are rejected:\nthey must never leave your servers."},"SlackIn":{"properties":{"webhook_url":{"type":"string","maxLength":300,"pattern":"^https://hooks\\.slack\\.com/services/[A-Za-z0-9]+/[A-Za-z0-9]+/[A-Za-z0-9]+$","title":"Webhook Url","examples":["https://hooks.slack.com/services/T000/B000/XXXXXXXX"]}},"type":"object","required":["webhook_url"],"title":"SlackIn","description":"A Slack incoming webhook (Slack app > Incoming Webhooks > Add New Webhook)."},"SlackOut":{"properties":{"connected":{"type":"boolean","title":"Connected"},"sent":{"type":"boolean","title":"Sent","description":"The current digest was posted to the channel just now."}},"type":"object","required":["connected","sent"],"title":"SlackOut"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}