Contents

List All Test Results for an Xcode Cloud Test Action

List all test results for a specific test action Xcode Cloud performed as part of a build.

URL

GET https://api.appstoreconnect.apple.com/v1/ciBuildActions/{id}/testResults

Path Parameters

NameTypeDescription
id Requiredstring

The opaque resource ID that uniquely identifies the Build Actions resource.

Query Parameters

NameTypeDescription
fields[ciTestResults] Optional[string]

Additional fields to include for each Test Results resource returned by the response.

limit Optionalinteger

The number of Test Results resources to return.

Response Codes

StatusReasonTypeDescription
200OK
Content-Type: application/json
CiTestResultsResponse

The request completed successfully.

400Bad Request
Content-Type: application/json
ErrorResponse

An error occurred with your request.

401Unauthorized
Content-Type: application/json
ErrorResponse

403Forbidden
Content-Type: application/json
ErrorResponse

Request not authorized.

404Not Found
Content-Type: application/json
ErrorResponse

Resource not found.

429
Content-Type: application/json
ErrorResponse

Discussion

The example request below lists the test results for an Xcode Cloud build that performed a test action. Use the information provided in the response to display test results on a dashboard, create a new task for a failing test in your issue tracker, and so on.

Example Request and Response

See Also

Getting Build Actions