Fetch one file from a generation
Raw file content, for generations whose target was too large to inline (files_omitted true). The generation's files_index lists valid paths.
Raw file content, for generations whose target was too large to inline (files_omitted true). The generation's files_index lists valid paths.
Authorization
apiKey Organization API key from the console (ak_...), or an OAuth access token with user:org:read, the organization selected during consent, and the capability required by the operation.
In: header
Path Parameters
Unique identifier for a generation.
^gen_[a-z0-9]{16}$Query Parameters
Repo-relative path inside the generated package.
Response Body
text/plain
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/generations/gen_7h2p5d9c3m8w1k6q/file?path=string""string"Retrieve a generation GET
Includes the generated files when the generation succeeded.
List Definition Revisions GET
Immutable snapshots of the complete resolved document graph this Definition observed, newest first. Content is available from the revision and document endpoints and is never embedded in a list response.