Practice reviews

List scripts executed in a review

Changed on
get/workspaces/{workspaceSlug}/practices/reviews/{reviewId}/practice-scripts

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /workspaces/{workspaceSlug}/practices/reviews/{reviewId}/practice-scripts
  • Auth: HTTP bearer

Path parameters

workspaceSlugstring required

Workspace slug

reviewIdstring uuid required

Response

OK

attemptinteger required
durationMsinteger nullable required
errorstring nullable required
finishedAtstring date-time required
jobIdstring uuid required
noResultCause'EVIDENCE_NOT_READ' | 'SESSION_ENDED' | 'null' nullable required

Why a run that stopped as OFF_FORMAT has no result, when the runner's counts or the built-in's contract prove it. Absent otherwise; then the stop reason stands alone.

practiceIdstring required
practiceVersionIdstring required
reviewModelCallsinteger nullable required

Model calls of the practice's review sessions, as the runner counted them. Not the calls the proxy billed: those are counted for the whole review. Absent when the runner did not record them.

scriptKind'BUILTIN' | 'CUSTOM' required
status'OK' | 'WITHHELD' | 'FAILED' | 'NOT_REACHED' | 'NOT_FINISHED' required
stopReason'UNAVAILABLE' | 'BUDGET' | 'DEADLINE' | 'TOO_LARGE' | 'OFF_FORMAT' | 'REFUSED' | 'ERROR' | 'CANCELLED' | 'INVALID_SCRIPT' | 'INVALID_CANDIDATE' | 'null' nullable required

Changes