Freestyle · Schema

Freestyle Repository

Schema for a Freestyle Git repository resource. Covers the CreateRepositoryRequest accepted by POST /git/v1/repo and the repository record returned by GET /git/v1/repo/{repo}.

Artificial IntelligenceAgentsSandboxVMsMicroVMVersion ControlCode ExecutionJavaScriptTypeScriptServerlessHostingDeveloper ToolsInfrastructure

Properties

Name Type Description
id string Freestyle repo ID (UUID).
name string
visibility string
defaultBranch string
createdAt string
modifiedAt string
size integer Size of the repository in bytes.
githubSync object
View JSON Schema on GitHub

JSON Schema

freestyle-repository-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.com/schemas/freestyle/freestyle-repository-schema.json",
  "title": "Freestyle Repository",
  "description": "Schema for a Freestyle Git repository resource. Covers the CreateRepositoryRequest accepted by POST /git/v1/repo and the repository record returned by GET /git/v1/repo/{repo}.",
  "type": "object",
  "definitions": {
    "CreateRepositoryRequest": {
      "type": "object",
      "description": "Request body for creating a Freestyle Git repository. Freestyle Git is multi-tenant hosted Git designed for AI agents — every repo gets a branchable filesystem with commits, diffs, rollback, and review.",
      "properties": {
        "name": { "type": "string", "description": "Human-readable name for the repository." },
        "visibility": {
          "type": "string",
          "enum": ["public", "private"],
          "default": "private"
        },
        "source": {
          "$ref": "#/definitions/CreateRepoSource",
          "description": "Optional source to import from (existing Git URL, GitHub repo, or template)."
        },
        "defaultBranch": { "type": "string", "default": "main" }
      }
    },
    "CreateRepoSource": {
      "type": "object",
      "description": "Source for a new repo — import from external Git URL or seed empty.",
      "properties": {
        "type": { "type": "string", "enum": ["empty", "git-url", "github", "template"] },
        "url": { "type": "string" },
        "branch": { "type": "string" }
      }
    },
    "Repository": {
      "type": "object",
      "required": ["id", "name"],
      "properties": {
        "id": { "type": "string", "description": "Freestyle repo ID (UUID)." },
        "name": { "type": "string" },
        "visibility": { "type": "string", "enum": ["public", "private"] },
        "defaultBranch": { "type": "string" },
        "createdAt": { "type": "string", "format": "date-time" },
        "modifiedAt": { "type": "string", "format": "date-time" },
        "size": { "type": "integer", "description": "Size of the repository in bytes." },
        "githubSync": { "$ref": "#/definitions/GithubSync" }
      }
    },
    "GithubSync": {
      "type": "object",
      "description": "GitHub bidirectional sync configuration for a Freestyle repo.",
      "properties": {
        "githubRepo": { "type": "string", "description": "owner/repo on GitHub" },
        "direction": { "type": "string", "enum": ["pull", "push", "both"] },
        "branch": { "type": "string" }
      }
    },
    "Commit": {
      "type": "object",
      "required": ["sha", "message"],
      "properties": {
        "sha": { "type": "string" },
        "message": { "type": "string" },
        "author": {
          "type": "object",
          "properties": {
            "name": { "type": "string" },
            "email": { "type": "string" },
            "date": { "type": "string", "format": "date-time" }
          }
        },
        "parents": {
          "type": "array",
          "items": { "type": "object", "properties": { "sha": { "type": "string" } } }
        }
      }
    },
    "Branch": {
      "type": "object",
      "required": ["name", "sha"],
      "properties": {
        "name": { "type": "string" },
        "sha": { "type": "string" },
        "isDefault": { "type": "boolean" }
      }
    }
  },
  "$ref": "#/definitions/Repository"
}

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/freestyle-repository"
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. See our Privacy Policy and Terms.

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