How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Sourcebot Git API

Git history, diff, and file content endpoints.

Sourcebot Git API is one of 5 APIs that Sourcebot publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Git. The published artifact set on APIs.io includes an OpenAPI specification and authentication docs.

This API exposes 7 operations across 7 paths, and defines 11 schemas. It is described by OpenAPI 3.2.0, at version v5.1.3.

Requests are made against a single base URL, https://app.sourcebot.dev.

7 operations 7 paths 11 schemas 6 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
v5.1.3
Base URL
https://app.sourcebot.dev
Authentication
HTTP Bearer, API Key
Resource Areas
1

Authentication & Security 2

Sourcebot Git API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (bearerToken). An API key is passed in the header as X-Sourcebot-Api-Key (apiKeyHeader). By default, every request must be authenticated, though some operations may also be called without credentials.

  • bearerToken — Bearer authentication header of the form Bearer , where is your API key.
  • apiKeyHeader — Header of the form X-Sourcebot-Api-Key: , where is your API key.

Paths & Operations 7

Across 7 paths, the API surfaces 7 operations — 6 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Git 7

Git history, diff, and file content endpoints.

GET
/api/source
Get file contents
getFileSource 3 params → 200400404500
GET
/api/blame
Get file blame
getFileBlame 3 params → 200400404500
POST
/api/tree
Get a file tree
getFileTree body → 200400404500
GET
/api/diff
Get diff between two commits
getDiff 4 params → 200400404500
GET
/api/commits
List commits
listCommits 9 params → 200400404500
GET
/api/commit
Get commit details
getCommit 2 params → 200400404500
GET
/api/commits/authors
List commit authors
listCommitAuthors 5 params → 200400404500

Schemas 11

The contract defines 11 schemas that model the data the API accepts and returns. The most detailed are PublicFileSourceResponse (10 properties), PublicCommitDetail (8 properties), PublicCommit (7 properties), PublicFileTreeNode (4 properties). Each schema is shown below with its type and property counts.

PublicFileTreeNode
object
4 properties 4 required
PublicCommit
object
7 properties 7 required
PublicGetTreeRequest
object
3 properties 3 required
PublicListCommitsResponse
array
PublicFileBlameResponse
object
2 properties 2 required
PublicCommitAuthor
object
3 properties 3 required
PublicListCommitAuthorsResponse
array
PublicGetDiffResponse
object
1 property 1 required
PublicApiServiceError
object
Structured error response returned by Sourcebot public API endpoints.
3 properties 3 required
PublicCommitDetail
object
8 properties 8 required
PublicFileSourceResponse
object
10 properties 6 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

sourcebot-git-api-openapi.yml Raw ↑

Other APIs Sourcebot publishes across the network.

Sourcebot Enterprise (EE) API
Sourcebot Repositories API
Sourcebot Search & Navigation API
Sourcebot System API
Where this information came from

This is an independent, third-party profile of Sourcebot Git API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.