Skip to main content
GET
/
apiKey
/
v3
/
test-targets
/
{testTargetId}
/
test-reports
Retrieve paginated information about test reports
curl --request GET \
  --url https://app.octomind.dev/api/apiKey/v3/test-targets/{testTargetId}/test-reports \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "id": "826c15af-644b-4b28-89b4-f50ff34e46b7",
      "testTargetId": "3435918b-3d29-4ebd-8c68-9a540532f45a",
      "createdAt": "2024-09-06T13:01:51.686Z",
      "updatedAt": "2024-09-06T13:01:51.686Z",
      "executionUrl": "https://en.wikipedia.org/",
      "status": "WAITING",
      "context": {
        "source": "github",
        "issueNumber": 123,
        "ref": "refs/heads/main",
        "sha": "abc123def456",
        "repo": "my-repo",
        "owner": "repo-owner",
        "triggeredBy": {
          "type": "USER",
          "userId": "user123"
        },
        "nodeId": "node-123"
      },
      "breakpoint": "DESKTOP",
      "browser": "CHROMIUM",
      "testResults": [
        {
          "id": "333d3f57-00cf-4ce9-8d34-89093a08681a",
          "testCaseVersionId": "9876fedc-ba98-7654-3210-fedcba987654",
          "testTargetId": "3435918b-3d29-4ebd-8c68-9a540532f45a",
          "testReportId": "826c15af-644b-4b28-89b4-f50ff34e46b7",
          "createdAt": "2024-09-06T13:01:51.686Z",
          "updatedAt": "2024-09-06T13:03:12.345Z",
          "status": "PASSED",
          "errorMessage": null,
          "traceUrl": "https://storage.googleapis.com/automagically-traces/7a1b2c3d-4e5f-6g7h-8i9j-0k1l2m3n4o5p-trace.zip"
        }
      ]
    }
  ],
  "key": {
    "createdAt": "2024-09-06T13:01:51.686Z"
  },
  "hasNextPage": true
}

Authorizations

X-API-Key
string
header
required

Path Parameters

testTargetId
string<uuid>
required

ID of the test target for which to fetch the history for

Query Parameters

key
object
filter
object[]

Response

Test Reports information

data
object[]
key
object
hasNextPage
boolean

If the query in question has another page to retrieve