GET
/
apiKey
/
v2
/
test-targets
/
{testTargetId}
/
test-reports
curl --request GET \
  --url https://app.octomind.dev/api/apiKey/v2/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": "manual",
        "description": "manual trigger",
        "triggeredBy": {
          "type": "USER",
          "userId": "2e2bb27b-a19c-47ce-a9b6-cd1bd31622dc"
        }
      },
      "testResults": [
        {
          "id": "826c15af-644b-4b28-89b4-f50ff34e46b7",
          "testTargetId": "3435918b-3d29-4ebd-8c68-9a540532f45a",
          "testCaseId": "5b844cf1-d597-4048-9e74-7c0f9ce3e2ee",
          "createdAt": "2024-09-06T13:01:51.686Z",
          "updatedAt": "2024-09-06T13:01:51.686Z",
          "status": "WAITING",
          "errorMessage": "TimeoutError: locator.click: Timeout 30000ms exceeded. Call log: - waiting for getByText('run locally')",
          "traceUrl": "https://storage.googleapis.com/automagically-traces/826c15af-644b-4b28-89b4-f50ff34e46b7-trace.zip"
        }
      ]
    }
  ],
  "key": {
    "createdAt": "2024-09-06T13:01:51.686Z"
  },
  "hasNextPage": true
}

Authorizations

X-API-Key
string
header
required

Path Parameters

testTargetId
string
required

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

Query Parameters

key
object
filter
object[]

Response

200
application/json
Test Reports information
data
object[]
key
object
hasNextPage
boolean

If the query in question has another page to retrieve