{
 "openapi": "3.1.0",
 "info": {
  "title": "Huang Goodman technology",
  "version": "2026.11.30",
  "description": "Mathematics, verification and company intelligence. No key. Data CC BY 4.0, credit POPS4.",
  "contact": {
   "name": "Huang Goodman",
   "email": "info@pops4.com",
   "url": "https://huanggoodman.com/tools"
  }
 },
 "servers": [
  {
   "url": "https://www.pops4.com"
  }
 ],
 "paths": {
  "/tansaku/examine": {
   "post": {
    "operationId": "examineTable",
    "summary": "Relations, missing figures and errors in a table",
    "description": "Finds sums, differences and power relations; works out ? cells; points at figures that break. Agreement is not proof of truth.",
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "required": [
         "columns"
        ],
        "properties": {
         "columns": {
          "type": "array",
          "maxItems": 12,
          "items": {
           "type": "array",
           "items": {
            "type": [
             "number",
             "string",
             "null"
            ]
           }
          },
          "description": "Columns of equal length. \"?\" asks for a figure; null is blank."
         },
         "names": {
          "type": "array",
          "items": {
           "type": "string"
          }
         }
        }
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "JSON answer, with what it could not determine",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "429": {
      "description": "Busy. Wait a minute."
     }
    }
   }
  },
  "/tansaku/really": {
   "post": {
    "operationId": "howManyReally",
    "summary": "How many sources, suppliers or systems are really separate",
    "description": "Only knows the links you state.",
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "required": [
         "items"
        ],
        "properties": {
         "items": {
          "type": "array",
          "maxItems": 60,
          "items": {
           "type": "object",
           "required": [
            "name"
           ],
           "properties": {
            "name": {
             "type": "string"
            },
            "rests_on": {
             "type": "array",
             "items": {},
             "description": "Strings; a list inside means any one of them will do."
            }
           }
          }
         },
         "links": {
          "type": "object",
          "additionalProperties": {
           "type": "array",
           "items": {}
          }
         },
         "candidates": {
          "type": "array",
          "items": {
           "type": "object"
          }
         }
        }
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "JSON answer, with what it could not determine",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "429": {
      "description": "Busy. Wait a minute."
     }
    }
   }
  },
  "/tansaku/another": {
   "post": {
    "operationId": "isAnotherWorthAsking",
    "summary": "Whether another model’s answer is worth paying for",
    "description": "Needs 100 or more past questions with known answers.",
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "required": [
         "answers",
         "truth"
        ],
        "properties": {
         "answers": {
          "type": "object",
          "additionalProperties": {
           "type": "array",
           "items": {
            "type": "string"
           }
          }
         },
         "truth": {
          "type": "array",
          "minItems": 100,
          "maxItems": 1500,
          "items": {
           "type": "string"
          }
         }
        }
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "JSON answer, with what it could not determine",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "429": {
      "description": "Busy. Wait a minute."
     }
    }
   }
  },
  "/tansaku/law": {
   "get": {
    "operationId": "findLaw",
    "summary": "The rule in a list of whole numbers",
    "parameters": [
     {
      "name": "terms",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "25 to 30 whole numbers, commas between"
     }
    ],
    "responses": {
     "200": {
      "description": "JSON answer, with what it could not determine",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "429": {
      "description": "Busy. Wait a minute."
     }
    }
   }
  },
  "/tansaku/claims": {
   "get": {
    "operationId": "checkPaperClaims",
    "summary": "Whether an abstract’s numbers are in the paper",
    "parameters": [
     {
      "name": "arxiv",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "arXiv id"
     }
    ],
    "responses": {
     "200": {
      "description": "JSON answer, with what it could not determine",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "429": {
      "description": "Busy. Wait a minute."
     }
    }
   }
  },
  "/tansaku/ask": {
   "get": {
    "operationId": "readCompanyFiling",
    "summary": "Four figures from the newest annual report, confirmed or blank",
    "parameters": [
     {
      "name": "cik",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "SEC company number"
     }
    ],
    "responses": {
     "200": {
      "description": "JSON answer, with what it could not determine",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "429": {
      "description": "Busy. Wait a minute."
     }
    }
   }
  },
  "/boards/ask.json": {
   "get": {
    "operationId": "findCompany",
    "summary": "A company by name, ticker or brand",
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "Name, ticker or brand"
     }
    ],
    "responses": {
     "200": {
      "description": "JSON answer, with what it could not determine",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "429": {
      "description": "Busy. Wait a minute."
     }
    }
   }
  },
  "/boards/company/{ticker}.json": {
   "get": {
    "operationId": "getCompany",
    "summary": "A company’s figures, each linked",
    "parameters": [
     {
      "name": "ticker",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "Ticker or SEC company number"
     }
    ],
    "responses": {
     "200": {
      "description": "JSON answer, with what it could not determine",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "429": {
      "description": "Busy. Wait a minute."
     }
    }
   }
  },
  "/boards/work/{ticker}.json": {
   "get": {
    "operationId": "getWork",
    "summary": "Debt terms and analyst reports",
    "parameters": [
     {
      "name": "ticker",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "Ticker"
     }
    ],
    "responses": {
     "200": {
      "description": "JSON answer, with what it could not determine",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "429": {
      "description": "Busy. Wait a minute."
     }
    }
   }
  },
  "/boards/fees/{adviser}.json": {
   "get": {
    "operationId": "getAdviserFees",
    "summary": "What an adviser was paid",
    "parameters": [
     {
      "name": "adviser",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "For example goldman-sachs"
     }
    ],
    "responses": {
     "200": {
      "description": "JSON answer, with what it could not determine",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "429": {
      "description": "Busy. Wait a minute."
     }
    }
   }
  },
  "/boards/now/changes.json": {
   "get": {
    "operationId": "getChanges",
    "summary": "Events since a cursor",
    "parameters": [
     {
      "name": "cursor",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "Cursor from the last call"
     }
    ],
    "responses": {
     "200": {
      "description": "JSON answer, with what it could not determine",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "429": {
      "description": "Busy. Wait a minute."
     }
    }
   }
  }
 }
}