Generations

Fetch one file from a generation

Raw file content, for generations whose output was too large to inline (files_omitted true). The generation's files_index lists valid paths.

GET
/generations/{generation_id}/file

Raw file content, for generations whose output was too large to inline (files_omitted true). The generation's files_index lists valid paths.

AuthorizationBearer <token>

API key from the console, ak_....

In: header

Path Parameters

generation_id*string

Query Parameters

path*string

Repo-relative path inside the generated package.

Response Body

text/plain

application/json

application/json

curl -X GET "https://example.com/generations/string/file?path=string"
"string"