{"slug":"api-zfinia-com-x402-v1-dockerfile-layer-audit-0e6a61","title":"Audit one Dockerfile for what its layers will cost and what its build records","host":"api.zfinia.com","method":"POST","resource":"https://api.zfinia.com/x402/v1/dockerfile-layer-audit","category":"image","description":"Audit one Dockerfile for what its layers will cost and what its build records. Line continuations are joined first, which is what makes the layer questions answerable at all. Reports a package index updated in a layer of its own, so a later install uses a cached index months stale; a dependency inst","price_listed":0.14,"price_asked":0.14,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":2486,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"dockerfile":"FROM node:20\nARG NPM_TOKEN=abc123\nRUN apt-get update\nRUN apt-get install -y curl git\nRUN curl -fsSL https://example.test/install.sh | sh\nWORKDIR /app\nCOPY . .\nRUN npm ci\nEXPOSE 8080\nCMD [\"node\", \"server.js\"]\n"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"dockerfile":{"maxLength":131072,"type":"string"},"require_non_root_user":{"type":"boolean"}},"required":["dockerfile"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-04","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.14,"price_match":true,"latency_ms":2486,"error":null}],"description_full":"Audit one Dockerfile for what its layers will cost and what its build records. Line continuations are joined first, which is what makes the layer questions answerable at all. Reports a package index updated in a layer of its own, so a later install uses a cached index months stale; a dependency install after a copy of the whole context, so that layer rebuilds on every source change; a download piped into a shell; and a credential-shaped build variable, recorded in the image history.","last_updated":"2026-10-04T08:27:16.004Z","schemes":["exact"]}