v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-224341,4072.0 MB
Function Commit

Get Commit Content

GetCommitContent retrieves a commit and all its file contents in a single unary response. This is a non-streaming alternative to GetCommit for REST API consumers.

get/api/v1/functions/{function_id}/commits/{id}

Path parameters

function_idstring required

The function ID (KSUID).

idstring required

The commit reference to retrieve. Accepts a KSUID, "HEAD", or a tag reference like "refs/tags/v1.0".

Response

FunctionsServiceGetCommitContentResponse contains a commit and all its file contents.

filesobject

Map of filename to file content bytes.