Get details of the Box Doc Gen job.
This operation is performed by calling function getDocgenJobByIdV2025R0.
See the endpoint docs at API Reference.
await client.docgen.getDocgenJobByIdV2025R0(docgenJobItemFromList.id);
string
GetDocgenJobByIdV2025R0OptionalsInputThis function returns a value of type DocGenJobV2025R0.
Details of the Box Doc Gen job.
Lists all Box Doc Gen jobs for a user.
This operation is performed by calling function getDocgenJobsV2025R0.
See the endpoint docs at API Reference.
await client.docgen.getDocgenJobsV2025R0({
limit: 10000,
} satisfies GetDocgenJobsV2025R0QueryParams);
GetDocgenJobsV2025R0QueryParams
GetDocgenJobsV2025R0HeadersInput
undefined | CancellationToken
This function returns a value of type DocGenJobsFullV2025R0.
A list of Box Doc Gen jobs.
Lists Box Doc Gen jobs in a batch.
This operation is performed by calling function getDocgenBatchJobByIdV2025R0.
See the endpoint docs at API Reference.
await client.docgen.getDocgenBatchJobByIdV2025R0(docgenBatch.id);
string
GetDocgenBatchJobByIdV2025R0OptionalsInputThis function returns a value of type DocGenJobsV2025R0.
Returns a list of Box Doc Gen jobs in a Box Doc Gen batch.
Generates a document using a Box Doc Gen template.
This operation is performed by calling function createDocgenBatchV2025R0.
See the endpoint docs at API Reference.
await client.docgen.createDocgenBatchV2025R0({
file: new FileReferenceV2025R0({ id: uploadedFile.id }),
inputSource: 'api',
destinationFolder: new DocGenBatchCreateRequestV2025R0DestinationFolderField({
id: folder.id,
}),
outputType: 'pdf',
documentGenerationData: [
{
generatedFileName: 'test',
userInput: { ['abc']: 'xyz' },
} satisfies DocGenDocumentGenerationDataV2025R0,
],
} satisfies DocGenBatchCreateRequestV2025R0);
DocGenBatchCreateRequestV2025R0
CreateDocgenBatchV2025R0OptionalsInputThis function returns a value of type DocGenBatchBaseV2025R0.
The created Batch ID.