Lathe · Schema

GitHubBindingIn

AuthenticationPostgreSQLRedisNATSSeaweedFSApplicationDedicated machineFlat-rate Pricing

Properties

Name Type Description
repo string owner/name, as GitHub spells it. It must be a repository the Lathe app is installed on for this account.
workflow string The workflow file that builds and pushes the image, e.g. .github/workflows/ci.yml. Required for source="actions"; unused for source="lathe".
branch string The branch whose runs count; the repository's default branch when empty.
image string The reference the workflow pushes to, e.g. ghcr.io/you/app:main. Empty keeps the one the app already runs. Each deploy resolves it to a digest and runs that, so what is running can be named and gone b
auto boolean True: a green run deploys this app, and your workflow needs no step of ours. False: the runs are tracked and shown, and your own workflow calls the deploy endpoint.
source string "actions": your own workflow builds it, watched for a green run. "lathe": we build it - a commit becomes an image on a box of ours, no workflow and no registry of your own needed.
target string The Dockerfile stage a build of ours stops at, e.g. "runtime" for `FROM python:3.14-slim AS runtime`. Empty builds the last stage in the file, which is what a single-stage Dockerfile and the usual bui
build_env boolean True: the app's own environment variables are given to the build as well as to the running container, which is what a front-end bundle and an install from a private package registry need. False: the b
check_command string A command that must exit 0 inside the built image before it deploys - `npm test`, `pytest -q`, `tsc --noEmit`. Run in the image itself, with the app's variables, and with no access to the box it runs
check_target string The Dockerfile stage the check runs in, when it is not the one that deploys: a `test` stage that adds the test tooling to the image that ships. Built with the same variables, never pushed. Empty: the
check_env object Variables for the check and nothing else - not the build, not the running app: the URL of a database to run the tests against is what they are for. Names are letters, digits and underscores. Left out
paths string Space-separated globs a push must touch for this app to be built at all, e.g. "apps/web/** packages/ui/**". Empty builds every push. What a monorepo needs: a push to one app does not rebuild the other
pr_builds boolean Build and check every pull request into the branch as well, from the repository itself (never a fork), and report it as a check run on the pull request; a pull request's build is never deployed. A pus
View JSON Schema on GitHub

JSON Schema

lathe-live-git-hub-binding-in-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lathe-live/json-schema/lathe-live-git-hub-binding-in-schema.json",
  "title": "GitHubBindingIn",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lathe-live-openapi.json#/components/schemas/GitHubBindingIn",
  "properties": {
    "repo": {
      "type": "string",
      "title": "Repo",
      "description": "owner/name, as GitHub spells it. It must be a repository the Lathe app is installed on for this account."
    },
    "workflow": {
      "type": "string",
      "title": "Workflow",
      "description": "The workflow file that builds and pushes the image, e.g. .github/workflows/ci.yml. Required for source=\"actions\"; unused for source=\"lathe\".",
      "default": ""
    },
    "branch": {
      "type": "string",
      "title": "Branch",
      "description": "The branch whose runs count; the repository's default branch when empty.",
      "default": ""
    },
    "image": {
      "type": "string",
      "title": "Image",
      "description": "The reference the workflow pushes to, e.g. ghcr.io/you/app:main. Empty keeps the one the app already runs. Each deploy resolves it to a digest and runs that, so what is running can be named and gone back to. source=\"actions\" only: a build of ours goes to a registry of ours, and an image sent with source=\"lathe\" is ignored rather than refused, so GET then PUT of the same body moves an app between the two ways of building without having to empty this field.",
      "default": ""
    },
    "auto": {
      "type": "boolean",
      "title": "Auto",
      "description": "True: a green run deploys this app, and your workflow needs no step of ours. False: the runs are tracked and shown, and your own workflow calls the deploy endpoint.",
      "default": true
    },
    "source": {
      "type": "string",
      "title": "Source",
      "description": "\"actions\": your own workflow builds it, watched for a green run. \"lathe\": we build it - a commit becomes an image on a box of ours, no workflow and no registry of your own needed.",
      "default": "actions"
    },
    "target": {
      "type": "string",
      "title": "Target",
      "description": "The Dockerfile stage a build of ours stops at, e.g. \"runtime\" for `FROM python:3.14-slim AS runtime`. Empty builds the last stage in the file, which is what a single-stage Dockerfile and the usual builder-then-runtime pair want; name one when the last stage is not the one that should run. source=\"lathe\" only.",
      "default": ""
    },
    "build_env": {
      "type": "boolean",
      "title": "Build Env",
      "description": "True: the app's own environment variables are given to the build as well as to the running container, which is what a front-end bundle and an install from a private package registry need. False: the build is given none of them, for an app whose variables are credentials a build has no use for - they would be written onto the build machine, and into the image config for any name the Dockerfile declares as an ARG. source=\"lathe\" only.",
      "default": true
    },
    "check_command": {
      "type": "string",
      "title": "Check Command",
      "description": "A command that must exit 0 inside the built image before it deploys - `npm test`, `pytest -q`, `tsc --noEmit`. Run in the image itself, with the app's variables, and with no access to the box it runs on. Empty: a green build deploys. A check that fails is a build that made an image and did not deploy; the build page has what it printed. source=\"lathe\" only.",
      "default": ""
    },
    "check_target": {
      "type": "string",
      "title": "Check Target",
      "description": "The Dockerfile stage the check runs in, when it is not the one that deploys: a `test` stage that adds the test tooling to the image that ships. Built with the same variables, never pushed. Empty: the check runs in the image that deploys. source=\"lathe\" only.",
      "default": ""
    },
    "check_env": {
      "anyOf": [
        {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Check Env",
      "description": "Variables for the check and nothing else - not the build, not the running app: the URL of a database to run the tests against is what they are for. Names are letters, digits and underscores. Left out (null) keeps the ones already set, since their values are never read back; {} clears them. source=\"lathe\" only."
    },
    "paths": {
      "type": "string",
      "title": "Paths",
      "description": "Space-separated globs a push must touch for this app to be built at all, e.g. \"apps/web/** packages/ui/**\". Empty builds every push. What a monorepo needs: a push to one app does not rebuild the other three, and a README does not redeploy anything. A commit whose files cannot be compared is built, never skipped. source=\"lathe\" only.",
      "default": ""
    },
    "pr_builds": {
      "type": "boolean",
      "title": "Pr Builds",
      "description": "Build and check every pull request into the branch as well, from the repository itself (never a fork), and report it as a check run on the pull request; a pull request's build is never deployed. A push to the branch whose files are exactly those of a build that already passed - the merge of a pull request that was up to date with the branch - deploys that build's image instead of building it again. source=\"lathe\" only.",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "repo"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/lathe-live-git-hub-binding-in"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.