{
  "openapi": "3.0.3",
  "info": {
    "title": "FatBaby Spreadsheet & Data API",
    "version": "1.0.0",
    "description": "Sync XLSX/CSV/JSON convert, merge, split, and validate. Auth: Bearer fb_live_… API key."
  },
  "servers": [
    {
      "url": "https://thefatbaby.com/api"
    }
  ],
  "paths": {
    "/v1/sheets/xlsx-info": {
      "post": {
        "summary": "xlsx-info",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "402": {
            "description": "Insufficient credits"
          }
        }
      }
    },
    "/v1/sheets/xlsx-to-csv": {
      "post": {
        "summary": "xlsx-to-csv",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "402": {
            "description": "Insufficient credits"
          }
        }
      }
    },
    "/v1/sheets/csv-to-xlsx": {
      "post": {
        "summary": "csv-to-xlsx",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "402": {
            "description": "Insufficient credits"
          }
        }
      }
    },
    "/v1/sheets/xlsx-to-json": {
      "post": {
        "summary": "xlsx-to-json",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "402": {
            "description": "Insufficient credits"
          }
        }
      }
    },
    "/v1/sheets/json-to-xlsx": {
      "post": {
        "summary": "json-to-xlsx",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "402": {
            "description": "Insufficient credits"
          }
        }
      }
    },
    "/v1/sheets/merge-sheets": {
      "post": {
        "summary": "merge-sheets",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "402": {
            "description": "Insufficient credits"
          }
        }
      }
    },
    "/v1/sheets/split-sheets": {
      "post": {
        "summary": "split-sheets",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "402": {
            "description": "Insufficient credits"
          }
        }
      }
    },
    "/v1/sheets/validate": {
      "post": {
        "summary": "validate",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "402": {
            "description": "Insufficient credits"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "fb_live_"
      }
    }
  }
}