Run an autopilot test by test id

Run an autopilot test

Securitybearer
Request
path Parameters
testId
required
number
workspaceId
required
number

The Workspace ID associated to the Account

Responses
201
400

Malformed data and/or validation errors

401

Invalid Authorization

403

You are not allowed to perform this action

404

Record Not Found

409

There is a conflict in the business rules with this request

500

Internal server error

default

Response Code: 412

You must accept the Drata terms and conditions to use the API

post/workspaces/{workspaceId}/autopilot/{testId}/retest
Request samples
Response samples
application/json
{
  • "statusCode": 0,
  • "message": { },
  • "code": 0,
  • "debugInfo": { }
}