Get Surface Provenance
GetSurfaceProvenance returns, in plain terms, what the surface’s report was built from: every record its program touched, in the order it touched them.
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.
Path Parameters
The conversationId field.
The surfaceId field.
Response
A2UIServiceGetSurfaceProvenanceResponse returns what a surface was built from: the steps its program ran, and the sources its components report.
A2UIServiceGetSurfaceProvenanceResponse returns what a surface was built from: the steps its program ran, and the sources its components report.
The program's identity: code mode invokes by explicit commit, so the commit — not the function — is what a refresh re-executes.
The program that produced a reporting surface. Flat rather than a nested ref: these five fields are read together by one drawer and nothing else, and a saved report's ProgramRef is the type worth converging on later. All empty for a surface carrying no report components, and for reports emitted before the report-program requirement was enabled for the tenant.
The JSON parameters the program ran with. Empty when the invocation has aged out of retention.
The run that produced this surface.
The program's source, read from the pinned commit. Empty when the commit has aged out of code-mode retention — the report still renders, but what produced it is no longer recoverable.
The sources field.
Whether the caller may see the ids each step named. False withholds every A2UIProvenanceStep.objects on the same boundary that withholds program_source: those ids are the program's parameters by another name.
Everything the surface's program did, in the order it does it.
False when neither the pinned program nor the conversation transcript could be read, so no record of what was looked at survives. Distinguishes that from a record that was read and genuinely contains no steps.
Deprecated: raw tool names, superseded by steps. Still populated for clients on the previous shape.
False when the backing session or its transcript steps are gone.