All pages
Powered by GitBook
1 of 1

Probe Run

Export Probe Run Test Cases

post

Export Probe Run Test Cases. Supported formats CSV and JSON.

Authorizations
Path parameters
idinteger · int32Required

Probe Run id.

workspaceIdstringRequired
Body

Request payload to export Test Cases for a Probe Run.

formatstring | nullableRequired

Format of the export. Supported formats: 'json', 'csv'.

Responses
200
OK
Responsestring · binary
400
Bad Request
401
Unauthorized
403
Forbidden
500
Internal Server Error
post
POST /api/workspaces/{workspaceId}/probe-run/{id}/test-cases/export HTTP/1.1
Host: 
X-Api-Key: YOUR_API_KEY
Content-Type: application/*+json
Accept: */*
Content-Length: 137

{
  "filters": {
    "redTeam": [],
    "result": [
      "FAILED"
    ],
    "search": "CTLO",
    "strategy": [
      "One Shot w/ Retry"
    ],
    "variation": [
      "LeetSpeak"
    ]
  },
  "format": "json"
}
binary