Get Run Provenance
GetRunProvenance explains a run: what it read, what its program looked at, and the program itself. A2UIService.GetSurfaceProvenance answers the same question for a surface, but needs a live one — and a rerun is headless, so a report would become less explainable every time it refreshed.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
Response
Successful response
The ReportingServiceGetRunProvenanceResponse message.
The programCommitId field.
The programFunctionId field.
The parameters this run was bound to, as JSON. "{}" for a program that takes none — a real answer, distinct from absent.
The programSource field.
What each part of the report shows, read off the run's own copy of the surface rather than a live one.
What the program looked at, derived from its source.
False when the program's source could not be read, which is what makes an empty steps list mean "unknown" rather than "it read nothing".