{
  "format": "delx/intent-card/v1",
  "id": "ext-from-mime-api",
  "intent": "Ext From MIME for an agent workflow",
  "title": "Ext From MIME API for agents",
  "description": "Guess extension from MIME type. Call when you name agent-generated files from content-type. Returns ext, mime, known for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.",
  "keywords": [
    "Ext From MIME API",
    "Ext From MIME for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-07",
  "canonical_url": "https://commerce.delx.ai/intents/ext-from-mime-api",
  "machine_url": "https://commerce.delx.ai/intents/ext-from-mime-api.json",
  "recommendation": {
    "tool_name": "util_ext_from_mime",
    "service_name": "Delx Ext From MIME",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/ext-from-mime",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "mime": {
          "description": "Input field: mime.",
          "type": "string"
        }
      },
      "required": [
        "mime"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "mime": "image/png"
    },
    "example_output": {
      "schema": "delx/util-ext-from-mime/v1",
      "ext": "png",
      "mime": "image/png",
      "known": true
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/ext-from-mime -m POST -H 'x-delx-source: intent-card-ext-from-mime-api' --max-amount 0.001 -b '{\"mime\":\"image/png\"}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-ext-from-mime-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/ext-from-mime"
  }
}
