---
title: "Get the artifact transform execution list of a Gradle build."
method: GET
path: "/api/builds/{id}/gradle-artifact-transform-executions"
tags: ["Builds", "Develocity"]
---

# Get the artifact transform execution list of a Gradle build.

`GET /api/builds/{id}/gradle-artifact-transform-executions`

## Request

- Base URL: `https://develocity.example.com`
- URL: `https://develocity.example.com/api/builds/{id}/gradle-artifact-transform-executions`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/develocity/apis/develocity-api/docs/api/builds/:id/gradle-artifact-transform-executions/get.ts> (a function with typed inputs; its response is checked against the schema)

This model is Gradle specific and cannot be requested for another build tool.

## Response `200`

The artifact transform execution list of a Gradle build.

- GradleArtifactTransformExecutions
  - `artifactTransformExecutions` GradleArtifactTransformExecutionEntry[], nullable: A list of executed artifact transforms with performance related information. `null` if artifact transform execution capturing is not supported.
    - `artifactTransformExecutionName` string, required: Artifact transform execution name.
    - `transformActionType` string, required: The fully qualified class name of the artifact transform action.
    - `inputArtifactName` string, required: The name of the input artifact transformed by this transform.
    - `changedAttributes` GradleArtifactTransformAttribute[], required: The list of changed attributes merged from all transform execution requests.
      - `name` string, required: The name of the attribute.
      - `from` string, required: The input attribute value.
      - `to` string, required: The requested attributed value.
    - `outcome` 'failed' | 'success' | 'from_cache' | 'up_to_date' | 'unknown' | 'skipped', required: The outcome of this artifact transform execution: * `failed` - Artifact transform execution which failed * `success` - Artifact transform execution which was successfully executed * `from_cache` - Artifact transform execution which was taken from cache * `up_to_date` - Artifact transform execution which was up-to-date * `unknown` - Artifact transform execution whose outcome is unknown * `skipped` - Artifact transform execution which was skipped. **This is not emitted anymore, replaced by `up_to_date`.**
    - `avoidanceOutcome` 'avoided_up_to_date' | 'avoided_from_local_cache' | 'avoided_from_remote_cache' | 'executed_cacheable' | 'executed_not_cacheable' | 'executed_unknown_cacheability' | 'avoided_unknown_cachebility' | 'avoided_unknown_reason' | 'skipped', required: The avoidance outcome of this artifact transform execution with respect to performance: * `avoided_up_to_date` - Artifact transform execution whose execution is avoided due to build incrementalism * `avoided_from_local_cache` - Artifact transform execution whose execution is avoided due to reusing a local build cache entry * `avoided_from_remote_cache` - Artifact transform execution whose execution is avoided due to reusing a remote build cache entry * `avoided_unknown_reason` - Artifact transform execution which was avoided for an unknown reason * `executed_cacheable` - Artifact transform execution which is executed but is cacheable * `executed_not_cacheable` - Artifact transform execution which is executed but is not cacheable * `executed_unknown_cacheability` - Artifact transform execution which is executed and whose cacheability can not be determined * `skipped` - Skipped artifact transform execution. **This is not emitted anymore, replaced by `up_to_date`.**
    - `duration` integer, required: The artifact transform execution duration in milliseconds.
    - `fingerprintingDuration` integer: The artifact transform execution fingerprinting duration in milliseconds. This duration is part of the complete artifact transform execution duration. `null` if the artifact transform is not fingerprinted.
    - `avoidanceSavings` integer: The artifact transform execution avoidance savings in milliseconds, which can be negative. Negative values indicate that it takes more time to reuse outputs than it did to create them originally. `null` if the information is not available.
    - `nonCacheabilityCategory` 'build_cache_not_enabled' | 'disabled_to_ensure_correctness' | 'not_cacheable' | 'unknown', nullable: The category of the non-cacheability reason: * `build_cache_not_enabled` - Caching is not enabled for the build * `disabled_to_ensure_correctness` - The artifact transform failed validation * `not_cacheable` - Caching is not enabled for this artifact transform * `unknown` - Reason for disabled caching is not known `null` when the artifact transform execution is cacheable
    - `nonCacheabilityReason` string, nullable: The human-readable reason for a non-cacheable artifact transform execution. `null` when the artifact transform execution is cacheable.
    - `cacheArtifactSize` integer, nullable: The number of bytes of the produced or consumed cache artifact. For an artifact transform execution where the outputs are successfully stored to a local or remote cache, this is the size of the stored cache artifact. For an artifact transform execution execution where the outputs are successfully loaded from a local or remote cache, this is the size of the loaded cache artifact. `null` if the an artifact transform execution is not cacheable, or if the attempt to store or load the artifact from cache does not succeed.
    - `cacheArtifactRejectedReason` 'artifact_size_too_large', nullable: The reason why the cache artifact is rejected: * `artifact_size_too_large` - The size of the artifact is larger than the remote build cache can accept. The value is `null` if the transform execution is not cacheable, or if the attempt to store the artifact does not succeed.
    - `skipReasonMessage` string, nullable: The detailed reason why the transform execution is skipped. `null` if the transform execution is not skipped.
    - `cacheKey` string, nullable: The build cache key. `null` if no build cache key was computed.

## Other responses

- `400`: The request cannot be fulfilled due to a problem.
- `404`: The referenced resource either does not exist or the permissions to know about it are missing.
- `500`: The server encountered an unexpected error.
- `503`: The server is not ready to handle the request.

---

[API](https://skmtc.dev/develocity/apis/develocity-api.md) - [All operations](https://skmtc.dev/develocity/apis/develocity-api/llms.txt) - [OpenAPI document](https://skmtc.dev/develocity/apis/develocity-api/revisions/b49835fbf065?raw)
