Skip to main content

jobHeaders

ParallelModel TypeScript SDK


Function: jobHeaders()

jobHeaders(compute, input?, output?, input2?): Record<string, string>

Defined in: transport.ts:125

Builds compute-size and optional encryption-key headers for a job request.

Parameters​

compute​

string

Compute-size identifier used in the job request header.

input?​

string

Base64-encoded 32-byte key for the input blob or job artifact.

output?​

string

Base64-encoded 32-byte key for the output artifact.

input2?​

string

Base64-encoded 32-byte key for the test dataset.

Returns​

Record<string, string>

The compute-size and supplied encryption-key headers.