Skip to content
Docs

upload_artifact

Upload a cache artifact.

ParameterTypeRequiredDescription
contentLengthnumberYesThe artifact size in bytes
xArtifactDurationnumberNoThe time taken to generate the uploaded artifact in milliseconds.
xArtifactClientCistringNoThe continuous integration or delivery environment where this artifact was generated.
xArtifactClientInteractiveintegerNo1 if the client is an interactive shell. Otherwise 0 Minimum: 0. Maximum: 1.
xArtifactTagstringNoThe base64 encoded tag for this artifact. The value is sent back to clients when the artifact is downloaded as the header x-artifact-tag
xArtifactShastringNoThe SHA of the source control revision that generated this artifact.
xArtifactDirtyHashstringNoA hash representing uncommitted changes in the working directory when this artifact was generated.
hashstringYesThe artifact hash
teamIdstringNoTeam ID to use for this operation.
slugstringNoTeam slug to use for this operation. Use instead of teamId.
requestBodystringYesProvide this binary value as a base64 string.

Was this helpful?

supported.