{"api":"v1","generated_at":"2026-10-01T02:28:03.774Z","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-magentlab-com-api-calc-bars-9ffb59","pinned_page":"https://tollindex.com/e/api-magentlab-com-api-calc-bars-9ffb59/at/2026-09-30T22-14Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-09-30T22:14:11.940Z","snapshot_stamp":"2026-09-30T22-14Z","endpoint":{"slug":"api-magentlab-com-api-calc-bars-9ffb59","canonical_url":"https://api.magentlab.com/api/calc/bars","resource":"https://api.magentlab.com/api/calc/bars","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Swift 2002 Behavioural Activity Rating Scale (BARS): caller-assigned integer 1-7 (difficult or unable to rouse; asleep but responds normally to verbal or physical contact; drowsy, appears sedated; quiet and awake, normal activity; signs of overt physical or verbal activity, calms with instructions; extremely or continuously active, not requiring restraint; violent, requires restraint). Returns score, max 7, and a stable label. Not RASS and not a diagnosis. magent does not observe the patient.","service_name":"magent","declared_category":null,"declared_tags":["bars","agitation","activity","emergency","calculator"],"route_template":null,"registry_updated":"2026-09-28T14:52:02.150Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"calc bars","category":"other","first_observed_by_toll":"2026-09-28T13:51:25.436Z","last_observed_by_toll":"2026-09-30T22:14:11.940Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-28T13:51:25.437Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.005 USDC","amount_units":0.005,"decimals_known":true,"pay_to":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"counters":{"observed_at":"2026-09-30T22:14:11.940Z","calls_30d":2,"unique_payers_30d":1,"last_called_at":"2026-09-28T14:52:02.000Z"},"validation":{"latest":{"observed_at":"2026-09-30T08:08:21.415Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-09-30"},"uptime":[{"days":7,"observed":4,"passed":4,"ratio":1},{"days":30,"observed":4,"passed":4,"ratio":1},{"days":90,"observed":4,"passed":4,"ratio":1}],"history_90d":[{"observed_at":"2026-09-30T08:08:21.415Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T20:18:31.662Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-28T17:24:55.391Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-28","state_changed":false},{"observed_at":"2026-09-28T16:46:08.306Z","state":"pass","failed_checks":[],"run_id":"new-after-daily-2026-09-28","state_changed":true}]},"seller":{"wallet":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","page":"https://tollindex.com/seller/0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","endpoints":844,"hosts":1},"reports":0,"registry_record":{"cdp":[{"tags":["bars","agitation","activity","emergency","calculator"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/bars","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600}],"quality":{"lastCalledAt":"2026-09-28T14:52:02Z","l30DaysTotalCalls":2,"l30DaysUniquePayers":1},"resource":"https://api.magentlab.com/api/calc/bars","extensions":{"bazaar":{"info":{"input":{"body":{"items":[{"bars":4},{"bars":4}]},"type":"http","method":"POST"},"output":{"type":"json","example":{"path":"/api/calc/bars","count":2,"items":[{"bars":4,"score":4,"formula":"bars","citation":{"id":"swift-2002","doi":"10.1016/s0022-3956(01)00052-8","pmid":"11777497","title":"Validation of the Behavioural Activity Rating Scale (BARS): a novel measure of activity in agitated patients","source":"J Psychiatr Res. 2002;36(2):87-95","authors":"Swift RH, Harrigan EP, Cappelleri JC, Kramer D, Chandler LP"},"max_score":7,"bars_label":"quiet_and_awake","components":[{"factor":"bars","points":4,"present":true}],"disclaimer":"Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.","formula_expression":"BARS = caller-assigned integer 1, 2, 3, 4, 5, 6, or 7 (Swift 2002); max 7"},{"bars":4,"score":4,"formula":"bars","citation":{"id":"swift-2002","doi":"10.1016/s0022-3956(01)00052-8","pmid":"11777497","title":"Validation of the Behavioural Activity Rating Scale (BARS): a novel measure of activity in agitated patients","source":"J Psychiatr Res. 2002;36(2):87-95","authors":"Swift RH, Harrigan EP, Cappelleri JC, Kramer D, Chandler LP"},"max_score":7,"bars_label":"quiet_and_awake","components":[{"factor":"bars","points":4,"present":true}],"disclaimer":"Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.","formula_expression":"BARS = caller-assigned integer 1, 2, 3, 4, 5, 6, or 7 (Swift 2002); max 7"}]}},"iconUrl":"https://api.magentlab.com/favicon.ico"},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"body":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"type":"object","required":["bars"],"properties":{"bars":{"type":"integer","description":"Swift 2002 Behavioural Activity Rating Scale integer 1, 2, 3, 4, 5, 6, or 7 as assigned by the caller (1 difficult or unable to rouse; 2 asleep but responds normally to verbal or physical contact; 3 drowsy, appears sedated; 4 quiet and awake, normal level of activity; 5 signs of overt physical or verbal activity, calms with instructions; 6 extremely or continuously active, not requiring restraint; 7 violent, requires restraint). magent does not observe the patient."}}},"maxItems":25,"minItems":1}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"type":"string","const":"POST"},"headers":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}}}},"description":"Swift 2002 Behavioural Activity Rating Scale (BARS): caller-assigned integer 1-7 (difficult or unable to rouse; asleep but responds normally to verbal or physical contact; drowsy, appears sedated; quiet and awake, normal activity; signs of overt physical or verbal activity, calms with instructions; extremely or continuously active, not requiring restraint; violent, requires restraint). Returns score, max 7, and a stable label. Not RASS and not a diagnosis. magent does not observe the patient.","lastUpdated":"2026-09-28T14:52:02.15Z","serviceName":"magent","x402Version":2}]}}