Skip to content
FeedbackDashboard

Target Outputs

Download build target output
client.builds.targetOutputs.retrieve(TargetOutputRetrieveParams { build_id, target, type, 2 more } query, RequestOptionsoptions?): TargetOutputRetrieveResponse
GET/v0/build_target_outputs
ModelsExpand Collapse
TargetOutputRetrieveResponse = URL { output, target, type, 2 more } | Git { token, output, ref, 3 more }
One of the following:
URL { output, target, type, 2 more }
output: "url"
target: Target
One of the following:
"node"
"typescript"
"python"
"go"
"java"
"kotlin"
"ruby"
"terraform"
"cli"
"php"
"csharp"
"sql"
"openapi"
type: "source" | "dist" | "wheel" | 4 more
One of the following:
"source"
"dist"
"wheel"
"openapi-with-transforms"
"openapi-with-code-samples"
"openapi-sdk-spec"
"file"
url: string

URL for direct download

path?: string

The path of the file, which is only present when using with the type "file" option.

Git { token, output, ref, 3 more }
token: string

Temporary GitHub access token

output: "git"
ref: string

Git reference (commit SHA, branch, or tag)

target: Target
One of the following:
"node"
"typescript"
"python"
"go"
"java"
"kotlin"
"ruby"
"terraform"
"cli"
"php"
"csharp"
"sql"
"openapi"
type: "source" | "dist" | "wheel" | 4 more
One of the following:
"source"
"dist"
"wheel"
"openapi-with-transforms"
"openapi-with-code-samples"
"openapi-sdk-spec"
"file"
url: string

URL to git remote