{"uid":"cap_Wf3L_V0H13LLPGlVnpkNd","slug":"agentshelf-mime-type-validator-2947fd7f","name":"AgentShelf MIME Type Validator","description":"Call when an agent needs whether a string is a type/subtype media type. Exact $0.004 USDC. Prefer unpaid POST /v1/sandbox/check-mime first.","url":"https://agentshelf.syntexa.ch/v1/check-mime?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"description":"JSON value for schema-check SKUs. Omit it on string checks such as email or IBAN."},"value":{"type":"string","examples":["text/plain"],"maxLength":20000,"minLength":1,"description":"Value to check. The route description names the format: email, phone, IBAN, postal code, VAT, national id, or similar."},"schema":{"description":"JSON Schema document for schema-check SKUs. Omit it on string checks."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2n9rJRImJCbPxAU1jwBPA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates whether a given string is a valid MIME type (type/subtype media type format)","exampleAgentPrompt":"Can you check whether 'application/vnd.ms-excel' is a valid MIME type?","exampleUseCases":[{"title":"Validate user-submitted content type","prompt":"A user just submitted 'text/plain; charset=utf-8' as their file's content type — is that actually a valid MIME type string?"},{"title":"Sanitize API request header value","prompt":"Before I set the Content-Type header, check if 'application/json' is a properly formatted MIME type."},{"title":"Validate file upload metadata","prompt":"Someone uploaded a file and claimed the MIME type is 'img/jpeg' — can you verify if that's a real, valid media type?"}],"resultDescription":"Returns a boolean or structured result indicating whether the input string conforms to the type/subtype MIME media type format, allowing agents to determine validity before using the value in headers or metadata.","failureModes":["Empty string input rejected (minLength:1 enforced)","String exceeds 20,000 character limit","Malformed request body returns error","Payment of $0.004 USDC required or request is rejected with 402"],"whenToPreferThis":"Use this endpoint when you need a quick, offline-style MIME type format validation without LLM overhead. Prefer the free sandbox endpoint POST /v1/sandbox/check-mime first; fall back to this paid endpoint when the sandbox is unavailable or when operating in production. Best for validating Content-Type values, file metadata, or user-supplied media type strings before using them in HTTP headers or APIs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:13.145Z","isFirstParty":false,"canonicalSlug":"agentshelf-mime-type-validator-2947fd7f"}