{"uid":"cap_l-oC8cru7WwnQI-hCH-CW","slug":"mindpulse-sleep-mental-health-advisor-1fd61029","name":"MindPulse Sleep & Mental Health Advisor","description":"Sleep and mental health for mental-health and wellness agents. Returns a CBT-I protocol, the sleep-mood connection, and when to seek specialist help.","url":"https://mindpulse.theaslangroupllc.com/api/mind/sleep","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"lang":{"type":"string","description":"en | es | fr | de | zh | ja | ko | pt | ar | hi"},"concern":{"type":"string","description":"insomnia | oversleeping | nightmares | sleep-apnea | restless-legs | jet-lag | shift-work"},"symptoms":{"type":"string","description":"trouble falling asleep | waking at 3am | tired despite 8hrs | snoring"},"mental_health_context":{"type":"string","description":"anxiety | depression | ptsd | none"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"errors":{"type":"object","description":"Documented error responses, keyed by HTTP status code","additionalProperties":{"type":"object","required":["description"],"properties":{"example":{"type":"object"},"description":{"type":"string"}}}},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"diagnosis_likely":"chronic insomnia","cbt_i_recommended":true,"sleep_hygiene_tips":["Consistent wake time — even weekends","No screens 60 min before bed"],"when_to_see_doctor":"Snoring + daytime sleepiness — sleep apnea screen"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.08","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.08/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ycitLCr1AAXi2BgV4LrmC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.08","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a CBT-I protocol, the sleep-mood connection explanation, and guidance on when to seek specialist help for sleep-related mental health concerns.","exampleAgentPrompt":"I've been struggling with insomnia for a few weeks and I think it's making my depression worse — can you walk me through what CBT-I involves, explain how my sleep problems and mood are connected, and let me know whether I should be seeing a specialist?","exampleUseCases":[{"title":"Anxiety management with sleep improvement","prompt":"My anxiety spikes at night and keeps me awake, which then makes me feel worse during the day — can you explain how my sleep and anxiety are connected, and walk me through some CBT-I techniques I can actually use tonight?"},{"title":"Determine when specialist referral needed","prompt":"I've tried improving my sleep on my own for months but nothing's working and my mood keeps getting worse — help me understand if this is something I should see a sleep specialist about, and what exactly I should tell them?"},{"title":"Sleep hygiene guidance for mental wellness","prompt":"I know my terrible sleep schedule is hurting my mental health but I'm not sure where to start — can you explain why sleep matters so much for mood and give me a structured plan based on CBT-I principles I can follow?"}],"resultDescription":"Returns structured content including a CBT-I (Cognitive Behavioral Therapy for Insomnia) protocol outline, an explanation of the bidirectional sleep-mood connection, and criteria or guidance for when to escalate to a sleep specialist or mental health professional.","failureModes":["Endpoint may return generic guidance if no specific sleep concern context is provided","Service may be unavailable or return a payment error if USDC balance is insufficient (x402 payment required)","Response may not account for medical contraindications or comorbidities not described in the query"],"whenToPreferThis":"Use this endpoint when a user needs evidence-based guidance on sleep issues in a mental health context — specifically when CBT-I protocol information, sleep-mood connection education, or specialist referral criteria are needed. Prefer this over generic wellness endpoints when the concern explicitly involves insomnia or sleep-related mood disruption.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:38:07.310Z","isFirstParty":false}