# Bot Bazaar Fly.io Machine Config Linter

> Bot Bazaar Fly.io Machine Config Linter is a paid API for AI agents from bot-bazaar.fly.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Validates a Fly.io VM size preset against a $15/month budget guard, checking shared-cpu-1x 256MB sizing, auto_stop_machines settings, and always-on vs idle cost estimates.

## Facts

- Endpoint: GET https://bot-bazaar.fly.dev/v1/x402/fly-toml-lint?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bot-bazaar-fly-io-machine-config-linter-fe39277a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vOvFznHE_RdMbCaHl_JV5

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability bot-bazaar-fly-io-machine-config-linter-fe39277a
```

Example prompt: Can you check if using a shared-cpu-1x Fly.io machine is within the $15/month budget guard — specifically looking at always-on vs idle spend and whether auto_stop_machines is configured properly?

## When to prefer this

Use this endpoint when you need to quickly validate a Fly.io machine size preset against a fixed monthly budget cap before deploying, especially when optimizing for cost by comparing always-on vs auto-stop idle pricing. Ideal for AI agents that autonomously provision or audit Fly.io infrastructure and need a lightweight, opinionated lint check rather than full Terraform or infrastructure-as-code validation.

## Known failure modes

- Invalid or unrecognized vm_size preset string — returns validation error
- Missing required vm_size query parameter — endpoint may return default or error
- VM size outside Fly.io supported presets — lint fails with unrecognized size message
- Network timeout reaching bot-bazaar.fly.dev — transient 5xx error

## How this service works

Validate Fly.io machine sizing (shared-cpu-1x 256MB), auto_stop_machines, and monthly always-on vs idle spend against a $15 budget guard.

## Output

Returns a validation report indicating whether the specified Fly.io VM size preset (e.g. shared-cpu-1x 256MB) passes the $15/month budget guard, along with a breakdown of estimated always-on vs idle monthly spend, and a compliance check on the auto_stop_machines configuration.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "vm_size": {
       "type": "string",
       "description": "Fly VM size preset"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bot-bazaar-fly-io-machine-config-linter-fe39277a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bot-bazaar.fly.dev](https://www.zero.xyz/host/bot-bazaar.fly.dev/llms.txt)
