{"uid":"cap_-L0eWmAPdpvoFpgc6_1yE","slug":"delx-commerce-authorization-scheme-identify-c681748f","name":"Delx Commerce — Authorization Scheme Identify","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/authorization-scheme-identify?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"header":{"type":"string","maxLength":8192,"description":"Header supplied to Authorization Scheme Identify; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"scheme":"bearer","credential_present":true,"credential_redacted":true},"schema":"delx/util-authorization-scheme-identify/v1","status":"pass","evidence":{"retained":false,"input_sha256":"69801a4a366ce7b9c8daab76826fd6fa433c35c9f108dd4b62f2fdeb0dcdcd60","external_calls":0},"operation":"web_reliability:authorization_scheme_identify"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6aUilkm36ZLhPGH_JL5UN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Identifies the authentication scheme (e.g. Bearer, Basic, API Key) present in an HTTP Authorization header string","exampleAgentPrompt":"What authentication scheme is being used in this Authorization header? 'Bearer eyJhbGciOiJSUzI1NiJ9.abc123...' — tell me the scheme and whether a credential is actually present.","exampleUseCases":[{"title":"Validating API gateway auth headers","prompt":"I have this raw Authorization header from an incoming request: 'Basic dXNlcjpwYXNz' — can you tell me what scheme it uses and whether a credential is actually present in it?"},{"title":"Debugging a misconfigured auth token","prompt":"This Authorization header came back from our proxy and I'm not sure if it's a bearer token or something else: 'Token abc.def.ghi' — what scheme is this and is the credential there?"},{"title":"Auditing third-party request credentials","prompt":"Before I forward this API call, check the Authorization header 'Bearer ' and tell me whether a credential is actually present or if it's empty."}],"resultDescription":"Returns a JSON object with the detected scheme name (e.g. 'bearer', 'basic'), a boolean indicating whether a credential is present, a redacted credential flag, the SHA-256 hash of the input for auditability, a count of external calls made (always 0), and a retention flag (always false). Includes operation name and schema version for traceability.","failureModes":["Header exceeds 8192 character limit — request rejected","Malformed or missing header value — scheme may return as unknown or null","Empty string input — credential_present returns false","Unrecognized or non-standard auth scheme — scheme field may not match expected enum values","Network or payment failure via x402 — 402 response requiring USDC payment on Base or Solana"],"whenToPreferThis":"Use this endpoint when you need to programmatically identify the HTTP Authorization scheme from a raw header string without sending credentials to an external service for validation. It is ideal for security-sensitive pipelines where you need zero data retention guarantees and a verifiable audit trail (SHA-256 of input, external_calls=0). Prefer it over manual regex parsing when you need a structured, schema-versioned result. It is purpose-built for AI agent workflows that handle third-party or user-supplied headers and need to branch logic based on auth type.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:41.302Z","isFirstParty":false,"canonicalSlug":"delx-commerce-authorization-scheme-identify-c681748f"}