Skip to navigation

Commits for one project

One project, one branch. For several projects or branches in a single call use /api/v1/commits.

Authentication

X-API-Keystring

Create one in the app under Settings → API keys. It is shown once and stored only as a hash, so it cannot be recovered — losing it means issuing a new one.

A key reads the endpoints below and nothing else. It is not a session: it cannot create or delete projects, change settings, or issue another API key. It sees exactly what its owner sees, re-checked on every request, so removing someone’s access to a project removes it from their key on the very next call.

OR
AuthorizationBearer

The same key, sent as Authorization: Bearer <key>.

Path parameters

projectIdintegerRequired

Query parameters

fromstringOptional

ISO-8601. 2026-09-01 or 2026-09-01T14:30:00Z.

tostringOptional

ISO-8601.

branchstringOptional

Defaults to HEAD.

limitintegerOptional<=1000Defaults to 100

Response

OK. An empty repository is commits: [], not an error.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
502
Bad Gateway Error