{"api":"v1","generated_at":"2026-09-15T22:55:14.439Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/glim-sh-api-v1-detect-ai-2ada9a","pinned_page":"https://tollindex.com/e/glim-sh-api-v1-detect-ai-2ada9a/at/2026-09-15T21-20Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-09-15T21:20:12.737Z","snapshot_stamp":"2026-09-15T21-20Z","endpoint":{"slug":"glim-sh-api-v1-detect-ai-2ada9a","canonical_url":"https://glim.sh/api/v1/detect/ai","resource":"https://glim.sh/api/v1/detect/ai","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Detect AI-generated text: overall verdict with confidence, AI/human/AI-assisted fractions, and a segment-by-segment breakdown with per-segment humanizer flags. Price scales with length: $0.06 per 100 words, rounded up; minimum $0.06","service_name":"glim.sh","declared_category":null,"declared_tags":["twitter","reddit","web","github","search"],"route_template":null,"registry_updated":"2026-08-29T06:35:19.474Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"detect ai","category":"inference","first_observed_by_toll":"2026-09-10T19:08:24.178Z","last_observed_by_toll":"2026-09-15T21:20:12.737Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-10T19:08:24.178Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","asset_name":null,"symbol":"USDC","decimals":6,"amount_display":"0.06 USDC","amount_units":0.06,"decimals_known":true,"pay_to":"9MkM5Ra48KFcSv9HDQ8sb3C3r5HjouEwGQ6sp1cx1vde","scheme":"exact"},{"registry":"cdp","ordinal":1,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.06 USDC","amount_units":0.06,"decimals_known":true,"pay_to":"0xC751344Ee09B5159160173F77D4a1169bCd386A1","scheme":"exact"},{"registry":"cdp","ordinal":2,"network":"eip155:143","asset":"0x754704bc059f8c67012fed69bc8a327a5aafb603","asset_name":"USDC","symbol":null,"decimals":null,"amount_display":"60000 smallest units, decimals unknown","amount_units":null,"decimals_known":false,"pay_to":"0xC751344Ee09B5159160173F77D4a1169bCd386A1","scheme":"exact"}],"counters":{"observed_at":"2026-09-15T21:20:12.737Z","calls_30d":12,"unique_payers_30d":3,"last_called_at":"2026-08-29T06:35:24.594Z"},"validation":{"latest":{"observed_at":"2026-09-15T04:16:55.192Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-09-15"},"uptime":[{"days":7,"observed":5,"passed":5,"ratio":1},{"days":30,"observed":5,"passed":5,"ratio":1},{"days":90,"observed":5,"passed":5,"ratio":1}],"history_90d":[{"observed_at":"2026-09-15T04:16:55.192Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-15","state_changed":false},{"observed_at":"2026-09-14T04:14:41.695Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-14","state_changed":false},{"observed_at":"2026-09-13T04:14:08.390Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-13","state_changed":false},{"observed_at":"2026-09-12T06:29:32.116Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-12","state_changed":false},{"observed_at":"2026-09-11T09:58:30.102Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-11","state_changed":true}]},"seller":{"wallet":"9MkM5Ra48KFcSv9HDQ8sb3C3r5HjouEwGQ6sp1cx1vde","page":"https://tollindex.com/seller/9MkM5Ra48KFcSv9HDQ8sb3C3r5HjouEwGQ6sp1cx1vde","endpoints":37,"hosts":3},"reports":0,"registry_record":{"cdp":[{"tags":["twitter","reddit","web","github","search"],"type":"http","accepts":[{"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","extra":{"feePayer":"BENrLoUbndxoNMUS5JXApGMtNykLjFXXixMtpDwDR9SP"},"payTo":"9MkM5Ra48KFcSv9HDQ8sb3C3r5HjouEwGQ6sp1cx1vde","amount":"60000","scheme":"exact","network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","maxTimeoutSeconds":300},{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0xC751344Ee09B5159160173F77D4a1169bCd386A1","amount":"60000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":300},{"asset":"0x754704Bc059F8C67012fEd69BC8A327a5aafb603","extra":{"name":"USDC","version":"2"},"payTo":"0xC751344Ee09B5159160173F77D4a1169bCd386A1","amount":"60000","scheme":"exact","network":"eip155:143","maxTimeoutSeconds":300}],"quality":{"lastCalledAt":"2026-08-29T06:35:24.594Z","l30DaysTotalCalls":12,"l30DaysUniquePayers":3},"resource":"https://glim.sh/api/v1/detect/ai","extensions":{"bazaar":{"info":{"input":{"body":{"text":"Detection quality depends on length, so pass at least a paragraph of the text you want scored rather than a single sentence."},"type":"http","method":"POST","bodyType":"json"},"output":{"type":"json","example":{"version":"4.0","cost_usd":0.12,"headline":"AI Detected","segments":[{"text":"I found the answer by the way...\nJust a simple wrong sequence of sentences in...","label":"Human","score":0.1847,"preview":"I found the answer by the way... Just a simple wrong sequence...","word_end":42,"end_index":232,"confidence":"High","word_count":42,"word_start":1,"start_index":0,"is_humanized":false,"token_length":56,"humanizer_score":0,"ai_assistance_score":0.1847},{"text":"Gives this answer:\nYes, I'm Claude 3.5 Sonnet.\nMy knowledge cutoff is April 2...","label":"AI-Generated","score":0.8038,"preview":"Gives this answer: Yes, I'm Claude 3.5 Sonnet. My knowledge...","word_end":179,"end_index":1081,"confidence":"High","word_count":137,"word_start":43,"start_index":233,"is_humanized":false,"token_length":205,"humanizer_score":0.0191,"ai_assistance_score":0.8038}],"tier_used":"premium","confidence":"High","prediction":"We believe that this text is a mix of AI and human-written content.","word_count":179,"fraction_ai":0.7854,"fraction_human":0.2146,"num_ai_segments":1,"prediction_short":"Mixed","num_human_segments":1,"fraction_ai_assisted":0,"num_ai_assisted_segments":0}}},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["text"],"properties":{"text":{"type":"string","minLength":50,"description":"Text to analyze, plain text, 50+ characters, max 20,000. Detection reliability improves with length; very short texts return lower-confidence verdicts."}},"description":"Input for POST /api/v1/detect/ai"},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["headline","prediction","prediction_short","fraction_ai","fraction_ai_assisted","fraction_human","num_ai_segments","num_ai_assisted_segments","num_human_segments","confidence","version","word_count","tier_used","cost_usd","segments"],"properties":{"version":{"type":"string","description":"Detector model version that produced this verdict (e.g. '4.0')"},"cost_usd":{"type":"number","description":"Amount charged for this call, in USD"},"headline":{"type":"string","description":"Short verdict, e.g. 'AI Generated', 'AI Detected', 'Human Written'"},"segments":{"type":"array","items":{"type":"object","required":["label","score","ai_assistance_score","confidence","text","word_start","word_end","word_count","token_length","start_index","end_index","preview"],"properties":{"text":{"type":"string","description":"Full text of this segment, sliced from the text you submitted"},"label":{"type":"string","description":"Detector verdict for this segment (e.g. 'AI-Generated', 'Human')"},"score":{"type":"number","description":"AI-assistance score for this segment, 0-1"},"preview":{"type":"string","description":"Opening excerpt of the segment"},"word_end":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991,"description":"1-based word position where this segment ends"},"end_index":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991,"description":"Character offset just past this segment's last word in the text you submitted (exclusive)"},"confidence":{"type":"string","description":"Detector confidence for this segment: High, Medium, or Low"},"word_count":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},"word_start":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991,"description":"1-based word position where this segment starts"},"start_index":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991,"description":"Character offset of this segment's first word in the text you submitted"},"is_humanized":{"type":"boolean","description":"True when this segment reads as AI output passed through a paraphrasing/'humanizer' tool. Absent means not evaluated, not false."},"token_length":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991,"description":"Tokens in this segment, as counted by the detector"},"humanizer_score":{"type":"number","description":"Humanizer likelihood, 0-1."},"ai_assistance_score":{"type":"number","description":"Same value as score, under the upstream detector's field name"}}},"description":"Per-segment breakdown, in reading order"},"tier_used":{"type":"string","const":"premium","description":"Deprecated: always 'premium' - every call runs the single remaining (highest-accuracy) detection class. Retained for backward compatibility."},"confidence":{"type":"string","description":"Confidence carrying the overall verdict: High, Medium, or Low"},"prediction":{"type":"string","description":"One-sentence verdict in plain English"},"word_count":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991,"description":"Words analyzed"},"fraction_ai":{"type":"number","description":"Fraction of the text judged AI-generated, 0-1"},"fraction_human":{"type":"number","description":"Fraction judged human-written, 0-1"},"num_ai_segments":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991,"description":"Segments labeled AI-Generated"},"prediction_short":{"type":"string","description":"Verdict class: AI, Mixed, or Human"},"num_human_segments":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991,"description":"Segments labeled Human"},"fraction_ai_assisted":{"type":"number","description":"Fraction judged AI-assisted, 0-1"},"num_ai_assisted_segments":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991,"description":"Segments labeled AI-Assisted"}}}}}}}}},"description":"Detect AI-generated text: overall verdict with confidence, AI/human/AI-assisted fractions, and a segment-by-segment breakdown with per-segment humanizer flags. Price scales with length: $0.06 per 100 words, rounded up; minimum $0.06","lastUpdated":"2026-08-29T06:35:19.474Z","serviceName":"glim.sh","x402Version":2}]}}