Skip to content

BuildRecordSource

The text of one source file of a recorded build, so the build can be re-opened or compared. It matches its BuildRecordItem by kind, name and file name.

Kind: an object, used in responses.

Every field is present in a response; empty ones are null.

FieldTypeDescription
kindBuildRecordFileKindWhich part of the request the file was sent in.
namestringThe definition’s name, as on the matching item.
fileNamestring | nullThe file name the request gave; null for prompts and JSON files.
contentstringThe file’s text exactly as the server read it (lines joined with \n).
{
"kind": "Agent",
"name": "...",
"fileName": "...",
"content": "..."
}