How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Gradle Tests API

Endpoints related to retrieving details of tests of the Develocity instance. To access these endpoints the user requires the `Access build data via the API` permission.The Develocity installation also needs to have the Test Failure Analytics feature enabled.

Gradle Tests API is one of 9 APIs that Gradle publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Tests. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 3 operations across 3 paths, and defines 24 schemas. It is described by OpenAPI 3.2.0, at version 2026.2.0.

Requests are made against a single base URL, https://develocity.example.com.

3 operations 3 paths 24 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2026.2.0
Base URL
https://develocity.example.com/api
Authentication
HTTP Bearer
Contact
Terms of Service
Resource Areas
1

Authentication & Security 1

Gradle Tests API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (Bearer <>) (DevelocityAccessKeyOrToken). By default, every request must be authenticated.

  • DevelocityAccessKeyOrToken — All requests require a Develocity access key or token as a bearer token. Given an access key of l3an7wk3j4ze5v4mi7rvgjf2p7g44nvlswg4cpvdonjs7rzd4kmq, the requi…

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 3 GET. Each is listed below with its method, path, parameters, and response codes.

Tests 3

Endpoints related to retrieving details of tests of the Develocity instance. To access these endpoints the user requires the Access build data via the API permission. The Develoci…

GET
/api/tests/build/{id}
Get tests executed in the given build.
GetBuildTests 2 params → 200400500
GET
/api/tests/cases
Get a list of test cases.
GetTestCases 1 param → 200400500
GET
/api/tests/containers
Get a list of test containers.
GetTestContainers 1 param → 200400500

Schemas 24

The contract defines 24 schemas that model the data the API accepts and returns. The most detailed are TestOutcomeDistribution (6 properties), TestWorkUnit (5 properties), BuildScanIdsByOutcome (5 properties), BuildTestOrContainer (5 properties). Each schema is shown below with its type and property counts.

BuildTestsQuery
object
3 properties
BuildTestWorkUnit
object
A work unit that ran tests in a build.
4 properties 4 required
BuildTestOrContainerExecution
object
2 properties 2 required
BuildTestOrContainer
object
5 properties 5 required
TestCasesQuery
object
5 properties 3 required
BuildTestsResponse
object
Test execution data for a build.
2 properties 2 required
TestContainersQuery
object
4 properties 2 required
NpmWorkUnit
object
An npm work unit.
2 properties 2 required
ApiProblem
object
Response detailing why a request was rejected. Adheres to the [RFC-7807](https://datatracker.ietf.org/doc/html/rfc7807) standard (colloquially known as "Proble…
4 properties 3 required
BazelWorkUnit
object
A Bazel work unit.
2 properties 2 required
MavenWorkUnit
object
A Maven work unit.
4 properties 4 required
BuildScanIdsByOutcome
object
Build Scan IDs for builds that contain tests with outcomes.
5 properties 5 required
TestOutcome
string
TestWorkUnitOutcome
string
TestWorkUnit
object
Contains a work unit. Only one of the properties is set, representing the build tool used for the build.
5 properties
TestsResponse
object
A list of test containers or test cases.
1 property 1 required
BuildTestsSummary
object
A summary of test execution data for a build.
3 properties 3 required
TestIncludeFields
string
GradleWorkUnit
object
A Gradle work unit.
2 properties 2 required
TestOutcomeDistribution
object
A distribution of outcomes.
6 properties 6 required
BuildTestOrContainerDuration
object
Various types of test durations captured for a given test.
3 properties
TestOrContainer
object
A test or test container.
4 properties 2 required
BuildTestOrContainerOutcome
object
3 properties 1 required
SbtWorkUnit
object
An sbt work unit.
2 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

gradle-tests-api-openapi.yml Raw ↑

Other APIs Gradle publishes across the network.

Gradle Auth API
Gradle BuildCache API
Gradle Builds API
Gradle Comparison API
Gradle Failures API
Gradle Meta API
Gradle Projects API
Gradle TestDistribution API
Where this information came from

This is an independent, third-party profile of Gradle Tests API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.