{
  "format": "delx/intent-card/v1",
  "id": "ms-to-hms-api",
  "intent": "MS To HMS for an agent workflow",
  "title": "MS To HMS API for agents",
  "description": "Convert milliseconds to HH:MM:SS. Call when you format agent durations for humans. Returns hms string and parts 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": [
    "MS To HMS API",
    "MS To HMS for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-07",
  "canonical_url": "https://commerce.delx.ai/intents/ms-to-hms-api",
  "machine_url": "https://commerce.delx.ai/intents/ms-to-hms-api.json",
  "recommendation": {
    "tool_name": "util_ms_to_hms",
    "service_name": "Delx MS To HMS",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/ms-to-hms",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "ms": {
          "description": "Input field: ms.",
          "type": "integer"
        }
      },
      "required": [
        "ms"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "ms": 61001
    },
    "example_output": {
      "schema": "delx/util-ms-to-hms/v1",
      "hms": "00:01:01",
      "ms": 61001,
      "hours": 0,
      "minutes": 1,
      "seconds": 1
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/ms-to-hms -m POST -H 'x-delx-source: intent-card-ms-to-hms-api' --max-amount 0.001 -b '{\"ms\":61001}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-ms-to-hms-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/ms-to-hms"
  }
}
