Retrieve
Download the output of a build target
get/v0/build_target_outputs
Download the output of a build target
Query Parameters
build_idstring
Build ID
targetenum
"node" OR "typescript" OR "python" OR 8 more
SDK language target name
typeenum
"source" OR "dist" OR "wheel"
outputenum
optional
"url" OR "git"
Output format: url (download URL) or git (temporary access token)
Returns
UnionMember0object
UnionMember1object
curl https://api.stainless.com/v0/build_target_outputs \
-H "Authorization: Bearer $STAINLESS_API_KEY" \
-d '{}'
200 Example
{
"output": "url",
"target": "node",
"type": "source",
"url": "url"
}