{"api":"v1","generated_at":"2026-09-23T17:21:35.431Z","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/api-onhub-ai-v1-chat-completions-035f8c","pinned_page":"https://tollindex.com/e/api-onhub-ai-v1-chat-completions-035f8c/at/2026-09-23T16-56Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-09-23T16:56:13.490Z","snapshot_stamp":"2026-09-23T16-56Z","endpoint":{"slug":"api-onhub-ai-v1-chat-completions-035f8c","canonical_url":"https://api.onhub.ai/v1/chat/completions","resource":"https://api.onhub.ai/v1/chat/completions","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Text completion using the model selected in the request body.","service_name":null,"declared_category":null,"declared_tags":[],"route_template":null,"registry_updated":"2026-09-22T22:53:04.206Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"chat completions","category":"inference","first_observed_by_toll":"2026-09-23T04:43:35.820Z","last_observed_by_toll":"2026-09-23T16:56:13.490Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-23T04:43:35.820Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.002 USDC","amount_units":0.002,"decimals_known":true,"pay_to":"0x53884EF9A486b805bfa5e4F55290Ff66dca7C457","scheme":"exact"}],"counters":{"observed_at":"2026-09-23T16:56:13.490Z","calls_30d":9,"unique_payers_30d":2,"last_called_at":"2026-09-22T22:53:03.397Z"},"validation":{"latest":{"observed_at":"2026-09-23T05:16:04.307Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-09-23"},"uptime":[{"days":7,"observed":2,"passed":2,"ratio":1},{"days":30,"observed":2,"passed":2,"ratio":1},{"days":90,"observed":2,"passed":2,"ratio":1}],"history_90d":[{"observed_at":"2026-09-23T05:16:04.307Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-23","state_changed":false},{"observed_at":"2026-09-23T05:05:21.178Z","state":"pass","failed_checks":[],"run_id":"new-after-daily-2026-09-22","state_changed":true}]},"seller":{"wallet":"0x53884EF9A486b805bfa5e4F55290Ff66dca7C457","page":"https://tollindex.com/seller/0x53884EF9A486b805bfa5e4F55290Ff66dca7C457","endpoints":22,"hosts":3},"reports":0,"registry_record":{"cdp":[{"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0x53884EF9A486b805bfa5e4F55290Ff66dca7C457","amount":"2000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":300}],"quality":{"lastCalledAt":"2026-09-22T22:53:03.397Z","l30DaysTotalCalls":9,"l30DaysUniquePayers":2},"resource":"https://api.onhub.ai/v1/chat/completions","extensions":{"bazaar":{"info":{"input":{"body":{"messages":[{"role":"user","content":"Say hello in one sentence."}]},"type":"http","method":"POST","bodyType":"json"},"output":{"type":"json","example":{"model":"openai/gpt-oss-20b","object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"Hello."},"finish_reason":"stop"}]}}},"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":["messages"],"properties":{"model":{"type":"string","description":"Optional; must match the model in the selected route."},"stream":{"type":"boolean","const":false,"default":false},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","user","assistant"],"type":"string"},"content":{"type":"string"}},"additionalProperties":false},"minItems":1},"max_tokens":{"type":"integer","default":1024,"maximum":2048,"minimum":1},"temperature":{"type":"number","maximum":2,"minimum":0},"enable_thinking":{"type":"boolean","description":"For reasoning-capable Workers AI models. Defaults to false for GPT-OSS chat reliability."},"reasoning_effort":{"enum":["low","medium","high",null],"type":["string","null"],"description":"For reasoning-capable Workers AI models."}},"additionalProperties":false},"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":["object","model","choices"],"properties":{"model":{"type":"string"},"object":{"type":"string","const":"chat.completion"},"choices":{"type":"array","items":{"type":"object","required":["message"],"properties":{"message":{"type":"object","required":["role","content"],"properties":{"role":{"type":"string","const":"assistant"},"content":{"type":"string"}}}}},"minItems":1}}}}}}}},"builder-code":{"info":{"a":"onhub","s":["cdp_sdk_server"]},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"a":{"type":"string","pattern":"^[a-z0-9_]{1,32}$","description":"App builder code"},"s":{"type":"array","items":{"type":"string","pattern":"^[a-z0-9_]{1,32}$"},"maxItems":11,"description":"Service builder codes"},"w":{"type":"string","pattern":"^[a-z0-9_]{1,32}$","description":"Wallet builder code"}},"additionalProperties":false}},"eip2612GasSponsoring":{},"erc20ApprovalGasSponsoring":{}},"description":"Text completion using the model selected in the request body.","lastUpdated":"2026-09-22T22:53:04.206Z","x402Version":2}]}}