{"uid":"cap_2aKcpmNPbHtcoBasU4_xP","slug":"optical-band-gap-fit-audit-e516df48","name":"Optical Band-Gap Fit Audit","description":"Evaluate supplied absorption observations under a declared band-gap model with fit-window sensitivity. No universal band-gap or integrated-device performance claim. New modular adapter: retained result recovery for 24 hours, minimal receipt metadata for 90 days. Existing live route unchanged.","url":"https://www.mahastrategies.com/api/v1/compute/materials/optical-bandgap-fit?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"energyEV":{"type":"array","maxItems":128,"minItems":1},"dataClass":{"enum":["public","synthetic"],"type":"string"},"transition":{"enum":["direct-allowed","indirect-allowed"],"type":"string"},"fitEndIndex":{"type":"integer","maximum":127,"minimum":2},"fitStartIndex":{"type":"integer","maximum":125,"minimum":0},"absorptionPerM":{"type":"array","maxItems":128,"minItems":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.109003","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.109003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.109003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.109003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AcB6l1t-QuowdBvXjMgkt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.109003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Evaluates absorption spectrum observations against a declared band-gap model (direct or indirect allowed) over a specified fit window to audit the quality of the fit.","exampleAgentPrompt":"Can you audit the band-gap fit for my absorption data? I have 64 energy points from 1.2 to 2.8 eV and corresponding absorption coefficients, the transition type is direct-allowed, and I want the fit window from index 10 to 50. The data is synthetic.","exampleUseCases":[{"title":"Semiconductor thin-film band-gap audit","prompt":"I have absorption coefficient measurements for a thin-film perovskite sample — 128 energy values in eV and matching absorption per meter values. Can you run a direct-allowed band-gap fit audit on it using fit indices 5 through 100, treating it as public data?"},{"title":"Indirect band-gap extraction check","prompt":"I need to verify the indirect-allowed band-gap fit for my silicon sample. I have 80 absorption observations paired with energy values, and I want the fit evaluated from index 0 to 75 on synthetic data — can you audit the fit quality and sensitivity?"},{"title":"Fit-window sensitivity analysis for solar cell material","prompt":"Can you audit how sensitive the direct-allowed band-gap fit is for my CIGS absorber layer data? I have 50 energy points in eV and their absorption coefficients, and I want to test the fit window from index 8 to 45 on public data."}],"resultDescription":"Returns the results of fitting the supplied absorption observations to the declared band-gap model (direct-allowed or indirect-allowed) over the specified energy index window, including fit quality metrics and fit-window sensitivity information. Results are retained for 24 hours; minimal receipt metadata is retained for 90 days.","failureModes":["Mismatched array lengths between energyEV and absorptionPerM — validation error returned","fitStartIndex >= fitEndIndex or out of array bounds — invalid window error","Fewer than 1 or more than 128 data points — schema validation failure","Invalid transition type or data class enum value — rejected request","Insufficient data points in fit window for reliable regression — low-confidence or error result"],"whenToPreferThis":"Choose this endpoint when you need to formally audit or validate a band-gap model fit against experimental or synthetic absorption spectra with explicit control over the fit window. It is specifically designed for per-observation-level fit quality evaluation with sensitivity analysis, not for device-level performance prediction or universal band-gap lookup. Prefer this over general curve-fitting tools when you need materials-science-specific Tauc-plot-style auditing with retained results and structured receipt metadata.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:35.765Z","isFirstParty":false,"canonicalSlug":"optical-band-gap-fit-audit-e516df48"}