---
title: "Get the performance profile overview of a Gradle build."
method: GET
path: "/api/builds/{id}/gradle-build-profile-overview"
tags: ["Builds", "GradleEnterprise", "Develocity"]
---

# Get the performance profile overview of a Gradle build.

`GET /api/builds/{id}/gradle-build-profile-overview`

## Request

- Base URL: `https://develocity.example.com`
- URL: `https://develocity.example.com/api/builds/{id}/gradle-build-profile-overview`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/develocity/apis/develocity-api/docs/api/builds/:id/gradle-build-profile-overview/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 performance profile overview of a Gradle build.

- GradleBuildProfileOverview: The performance profile overview of a Gradle build.
  - `breakdown` GradleBuildTimeBreakdown, required: The build time breakdown of a Gradle build.
    - `total` integer, required: Total duration of the build in milliseconds.
    - `initialization` integer, required: The elapsed time from the very start of the build to the moment when any kind of configuration starts in milliseconds.
    - `configuration` integer, nullable: The elapsed time to build plugins, execute build scripts, configure projects and create the task execution plan in milliseconds. `null` if the build failed before the configuration phase.
    - `execution` integer: The elapsed time from the start of the execution of the first task of the main build to the end of the execution of the last task of the main build in milliseconds. `null` if the build failed before the execution phase.
    - `endOfBuild` integer, nullable: The elapsed time from the end of the execution of the last task of the main build to the end of the build in milliseconds. `null` if there was no end of build phase. `null` if the build failed before the end of build phase.
  - `memoryUsage` GradleBuildDaemonJvmMemoryUsage: Memory usage stats of the Gradle Daemon JVM while running the build.
    - `totalGarbageCollectionTime` integer, required: The total garbage collection time.
    - `memoryPools` MemoryPoolUsage[]: A list of all the heap memory pools of the JVM build process and their peak usage.
      - `name` string, required: The name of the memory pool.
      - `peakMemory` integer, required: The peak memory usage of this memory pool while running the build, in bytes.
      - `maxMemory` integer, required: The maximum amount of memory in bytes that can be used for memory management. `-1` if the maximum memory size is undefined.

## 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)
