Freestyle Git API

APIs for managing git repositories and accessing git objects like commits, trees, blobs, tags, and refs.

Business capability
Software Construction Management BC-4200.40

Operations 38

GET /git/v1/repo List Repositories #
POST /git/v1/repo Create a Repository #
GET /git/v1/repo/{repo_id}/default-branch Get Repository Default Branch #
PUT /git/v1/repo/{repo_id}/default-branch Set Repository Default Branch #
GET /git/v1/repo/{repo_id}/github-sync Get GitHub Sync Configuration #
POST /git/v1/repo/{repo_id}/github-sync Configure GitHub Sync for Repository #
DELETE /git/v1/repo/{repo_id}/github-sync Remove GitHub Sync Configuration #
GET /git/v1/repo/{repo_id}/visibility Get Repository Visibility #
PUT /git/v1/repo/{repo_id}/visibility Set Repository Visibility #
GET /git/v1/repo/{repo} Get Repository Information #
DELETE /git/v1/repo/{repo} Delete a Repository #
POST /git/v1/repo/{repo}/commits Create a Commit with Files #
GET /git/v1/repo/{repo}/compare Compare Two Commits #
GET /git/v1/repo/{repo}/contents/{path} Get the Contents of a File or Directory #
GET /git/v1/repo/{repo}/git/blobs/{hash} Get a Blob Object #
GET /git/v1/repo/{repo}/git/commits List Commits for a Repository #
POST /git/v1/repo/{repo}/git/commits Create a Commit From Git Objects #
GET /git/v1/repo/{repo}/git/commits/{hash} Get a Commit Object #
GET /git/v1/repo/{repo}/git/refs/heads/ List Branches in a Repo #
POST /git/v1/repo/{repo}/git/refs/heads/{*branch} Create a New Branch #
GET /git/v1/repo/{repo}/git/refs/heads/{branch} Get a Branch Reference #
GET /git/v1/repo/{repo}/git/refs/tags/ List All Tags in a Repository #
GET /git/v1/repo/{repo}/git/refs/tags/{tag} Get a Tag by Name #
GET /git/v1/repo/{repo}/git/tags/{hash} Get an Annotated Tag Object by SHA (advanced) #
GET /git/v1/repo/{repo}/git/trees/{hash} Get a Tree Object #
GET /git/v1/repo/{repo}/repair List Repair Jobs for a Repository #
POST /git/v1/repo/{repo}/repair Schedule a Repo-repair Job #
GET /git/v1/repo/{repo}/repair/{job_id} Get the Status of a Repair Job #
DELETE /git/v1/repo/{repo}/repair/{job_id} Cancel a Running Repair Job #
GET /git/v1/repo/{repo}/search/commits Search Commit Messages #
GET /git/v1/repo/{repo}/search/diffs Search File Content Changes Across Commits #
GET /git/v1/repo/{repo}/search/files Search for Files by Name #
GET /git/v1/repo/{repo}/tarball Download a Tarball of a Repo #
GET /git/v1/repo/{repo}/trigger List Git Triggers for a Repository #
POST /git/v1/repo/{repo}/trigger Create a Git Trigger #
DELETE /git/v1/repo/{repo}/trigger/{trigger} Delete a Git Trigger #
GET /git/v1/repo/{repo}/zip Download a Zip of a Repo #

Documentation

📖
Documentation
https://docs.freestyle.sh/v2/vms/about
📖
Documentation
https://docs.freestyle.sh/v2/vms/lifecycle
📖
Documentation
https://docs.freestyle.sh/v2/vms/configuration
📖
Documentation
https://docs.freestyle.sh/v2/vms/templates-snapshots
📖
Documentation
https://docs.freestyle.sh/v2/vms/ssh-access
📖
Documentation
https://docs.freestyle.sh/v2/git/about
📖
Documentation
https://docs.freestyle.sh/v2/git/repos
📖
Documentation
https://docs.freestyle.sh/v2/git/search
📖
Documentation
https://docs.freestyle.sh/v2/git/hooks
📖
Documentation
https://docs.freestyle.sh/v2/git/github-sync
📖
Documentation
https://docs.freestyle.sh/v2/git/advanced/database-api
📖
Documentation
https://docs.freestyle.sh/v2/about
📖
Documentation
https://docs.freestyle.sh/v2/domains
📖
Documentation
https://docs.freestyle.sh/v2/domains/deploy-to-custom-domain
📖
Documentation
https://docs.freestyle.sh/v2/serverless/runs/about
📖
Documentation
https://docs.freestyle.sh/v2/serverless/runs/code-playground
📖
Documentation
https://docs.freestyle.sh/v2/serverless/runs/egress
📖
Documentation
https://docs.freestyle.sh/v2/serverless/runs/errors
📖
Documentation
https://docs.freestyle.sh/v2/serverless/deployments/about
📖
Documentation
https://docs.freestyle.sh/v2/serverless/deployments/configuration
📖
Documentation
https://docs.freestyle.sh/v2/serverless/deployments/cron-jobs
📖
Documentation
https://docs.freestyle.sh/v2/serverless/deployments/guides/nextjs
📖
Documentation
https://docs.freestyle.sh/v2/serverless/deployments/guides/vite
📖
Documentation
https://docs.freestyle.sh/v2/serverless/deployments/guides/static

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/freestyle-sh-git-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

freestyle-sh-git-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Freestyle Git API
  version: 0.1.0
  description: Multi-tenant Git hosting for AI agents — repos, commits, branches, tags, trees, blobs, search across files/commits/diffs, GitHub Sync, repair jobs, triggers, and tarball/zip downloads.
  contact:
    name: Ben
    email: ben@freestyle.sh
  license:
    name: Closed Source
servers:
- url: https://api.freestyle.sh
  description: Production
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (98 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/freestyle-sh/refs/heads/main/openapi/freestyle-sh-git-api-openapi.yml