Contents

Read Test Result Information

Get a specific test result Xcode Cloud created when it performed a build with a test action.

URL

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

Path Parameters

NameTypeDescription
id Requiredstring

The opaque resource ID that uniquely identifies the Test Results resource.

Query Parameters

NameTypeDescription
fields[ciTestResults] Optional[string]

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

Response Codes

StatusReasonTypeDescription
200OK
Content-Type: application/json
CiTestResultResponse

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 retrieves result information for a test Xcode Cloud performed. Use the data provided in the response to display test result information on a dashboard, create reports, or create a new issue in your issue tracker for a failing test.

Example Request and Response