download_build_artifacts
Download multiple build artifacts from a TeamCity build using paths, with options for base64, text, or stream output. Returns per-artifact payloads or stream metadata.
Instructions
Download multiple build artifacts, with base64, text, or streaming output. Returns per-artifact payloads or stream metadata; returns 404 if the build or any path is unknown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buildId | No | Build ID (internal TeamCity ID) | |
| buildNumber | No | Human-readable build number (requires buildTypeId) | |
| buildTypeId | No | Build configuration ID (required when using buildNumber) | |
| artifactPaths | Yes | Artifact paths or names to download | |
| encoding | No | Response encoding: 'base64' (default), 'text', or 'stream' | base64 |
| maxSize | No | Maximum artifact size (bytes) allowed before aborting | |
| outputDir | No | Optional absolute directory to write streamed artifacts; defaults to temp files when streaming |