Skip to main content
POST
Save

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Authorization
string
header
required

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.

Body

application/json

The ReportingServiceSaveRequest message.

conversationId
string

The conversation and surface are both required to address a rendered surface; neither identifies one alone.

displayName
string

The displayName field.

prompt
string

The question this surface answered. The surface records its program but not the words behind it, so the caller supplies them; without it the report has nothing to compare against when deciding its program has gone stale.

surfaceId
string

The surfaceId field.

Response

200 - application/json

Successful response

The ReportingServiceSaveResponse message.

report
Report · object | null

Report is a saved report: the question, the program that answers it, and the parameters a re-run may vary.