Get test entities by test ID
Gets a list of tested items (entities) for a test by test ID. An entity is a tested item that can have its own outcome. For example, for a test that makes sure that all S3 buckets are versioned, an individual S3 bucket would be an entity.
Linking an entity back to the root cause. This endpoint returns the failing items; the why lives on the parent test. Call GET /v1/tests/{testId} for the same testId to read failureDescription (why the test fails) and remediationDescription (how to fix it). Each entity’s responseType (for example, AWS account, S3 bucket, User account) plus displayName identify the specific resource in the source system that’s out of compliance — use those to correlate back to your integration data. There is no per-entity evidence download endpoint — failing entities are the evidence, and the pair (test.failureDescription, entity.responseType + entity.displayName) is the full remediation payload the API exposes. For deeper detail on the underlying resource (owner, tags, source-system link), open the entity in the Tests page in the Vanta Dashboard.
See the Find failing tests guide for an end-to-end walkthrough.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Query Parameters
The status of the test entities. Defaults to FAILING. Possible values: FAILING, DEACTIVATED
FAILING, DEACTIVATED Controls the maximum number of items returned in one response from the API.
1 <= x <= 100A marker or pointer, telling the API where to start fetching items for the subsequent page in a paginated dataset. Note that the requested page will not include the item that corresponds to this cursor but will start from the one immediately after this cursor.
Response
Ok
Related topics
Reactivate test entityDeactivate test entityGet test snapshot detail for an evidence rowGet test by IDFind failing tests