Skip to content
FeedbackDashboard

Target Outputs

Download build target output
builds.target_outputs.retrieve(TargetOutputRetrieveParams**kwargs) -> TargetOutputRetrieveResponse
GET/v0/build_target_outputs
ModelsExpand Collapse
One of the following:
class URL:
output: Literal["url"]
target: Target
One of the following:
"node"
"typescript"
"python"
"go"
"java"
"kotlin"
"ruby"
"terraform"
"cli"
"php"
"csharp"
"sql"
"openapi"
type: Literal["source", "dist", "wheel", 4 more]
One of the following:
"source"
"dist"
"wheel"
"openapi-with-transforms"
"openapi-with-code-samples"
"openapi-sdk-spec"
"file"
url: str

URL for direct download

path: Optional[str]

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

class Git:
token: str

Temporary GitHub access token

output: Literal["git"]
ref: str

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: Literal["source", "dist", "wheel", 4 more]
One of the following:
"source"
"dist"
"wheel"
"openapi-with-transforms"
"openapi-with-code-samples"
"openapi-sdk-spec"
"file"
url: str

URL to git remote