AgentSession

Query change references with their newest test impact analysis

Lists a workspace's change references of one type that a live test impact analysis names, one row per reference with its newest such analysis, newest first. A page may hold fewer items than limit, or none, and still return a cursor; the list ends only when cursor is absent. Each page continues after the last row of the previous one, so a reference analyzed again while you page moves to the head and shows on a fresh first page, and a reference whose listed analysis is deleted may appear again further down with an older one. Empty when generative AI is not enabled for the workspace.

get/testImpact/references

Query parameters

workspace_idstring required

The ID of the workspace to list references for

reference_typestring required

The kind of change reference to list, one of the ChangeReference type values, e.g. pull_request.

application_idstring

Consider only analyses scoped to this application, so each row carries the reference's newest analysis in this application.

limitinteger

The maximum number of references to return, 50 when not given

cursorstring

The cursor returned with the previous page

Response

Query results

cursorstring

Cursor for the next page, absent on the last page

Changes

Changed in 1 of the 34 revisions of this API.1