Skip to content
Stainless
Search
Ctrl
K
Auto
Light
Dark
Feedback
Dashboard
Documentation and guides
Changelog
Feedback
Dashboard
Go
HTTP
HTTP
TypeScript
TypeScript
Python
Python
Java
Java
Kotlin
Kotlin
Go
Go
Ruby
Ruby
CLI Tool
CLI Tool
PHP
PHP
C#
C#
Documentation and guides
Changelog
API Reference
API Reference
Overview
Projects
Overview
Retrieve
Update
List
Create
Generate Commit Message
Branches
Overview
Create
Retrieve
List
Delete
Rebase
Reset
Configs
Overview
Retrieve
Guess
Builds
Overview
List
Create
Retrieve
Compare
Diagnostics
Overview
List
Target Outputs
Overview
Retrieve
Orgs
Overview
List
Retrieve
User
Overview
Retrieve
API Reference
Copy Markdown
Open in
Claude
Open in
ChatGPT
Open in
Cursor
Copy Markdown
View as Markdown
Shared
Models
Expand
Collapse
type
Commit
struct{…}
Repo
CommitRepo
Branch
string
Host
string
Name
string
Owner
string
Sha
string
Stats
CommitStats
Additions
int64
Deletions
int64
Total
int64
TreeOid
string
type
FileInputUnion
interface{…}
One of the following:
FileInputContent
Content
string
File content
FileInputURL
URL
string
URL to fetch file content from
type
Target
string
One of the following:
const
TargetNode
Target
=
"node"
const
TargetTypescript
Target
=
"typescript"
const
TargetPython
Target
=
"python"
const
TargetGo
Target
=
"go"
const
TargetJava
Target
=
"java"
const
TargetKotlin
Target
=
"kotlin"
const
TargetRuby
Target
=
"ruby"
const
TargetTerraform
Target
=
"terraform"
const
TargetCli
Target
=
"cli"
const
TargetPhp
Target
=
"php"
const
TargetCsharp
Target
=
"csharp"
const
TargetSql
Target
=
"sql"
const
TargetOpenAPI
Target
=
"openapi"
On this page
Overview
Shared
What can I help you with?
Suggestions
Create a build
Generate commit messages
Compare builds