GET
/
apiKey
/
v2
/
test-targets
/
{testTargetId}
/
notifications
Retrieve notifications
curl --request GET \
  --url https://app.octomind.dev/api/apiKey/v2/test-targets/{testTargetId}/notifications \
  --header 'X-API-Key: <api-key>'
[
  {
    "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",
    "payload": {
      "testCaseId": "5deeef76-f37a-418b-8101-7d69529fa561"
    },
    "type": "VALIDATION_PASSED",
    "ack": "IN_WEB_APP"
  }
]

Authorizations

X-API-Key
string
header
required

Path Parameters

testTargetId
string<uuid>
required

The ID of the test target

Response

List of notifications

id
string<uuid>
required

Unique identifier for the event.

Example:

"826c15af-644b-4b28-89b4-f50ff34e46b7"

testTargetId
string<uuid>
required

The unique identifier of the test target this event belongs to.

Example:

"3435918b-3d29-4ebd-8c68-9a540532f45a"

createdAt
string<date-time>
required

The timestamp when the event was created.

Example:

"2024-09-06T13:01:51.686Z"

updatedAt
string<date-time>
required

The timestamp when the event was last updated.

Example:

"2024-09-06T13:01:51.686Z"

payload
object
required

JSON payload containing event-specific data.

Example:
{
"testCaseId": "5deeef76-f37a-418b-8101-7d69529fa561"
}
type
enum<string>
required

The type of event that occurred.

Available options:
VALIDATION_PASSED,
VALIDATION_FAILED,
DISCOVERY_FINISHED,
PROPOSAL_SUCCESS,
PROPOSAL_FAILED,
REPORT_EXECUTION_FINISHED
Example:

"VALIDATION_PASSED"

ack
enum<string> | null

Optional acknowledgment status of the event.

Available options:
IN_WEB_APP
Example:

"IN_WEB_APP"