Get a brief for an account, deal, contact, or lead that exists in your CRM. Briefs are set up in the Gong Agent Studio and you must provide the name of the brief you want to generate. A call to this API consumes Gong credits according to the number of emails and calls used to generate the brief. The brief is generated from calls or emails associated with the entity within the specified time period. The response includes:
- The brief
- Details of emails and calls used to generate the brief
The ID of the workspace the brief belongs to. Use the Workspaces API to look up workspace IDs.
The name of the brief to generate. Briefs are configured in the Agent Studio > AI Briefer.
The object type of the entity in the CRM.
The CRM Id of the entity the question is asked about.
Specifies the time period during which associated calls and emails must have occurred to be used to generate the answer. The calls and emails must be associated with the specified entity.
Required when timePeriod is CUSTOM_RANGE Specifies the date and time (UTC) on or after which calls (based on call start time) and emails must have occurred to be included when generating the answer. Date and time (in ISO-8601 format: '2024-10-18T08:00:00Z', where Z stands for UTC).
Relevant only when timePeriod is CUSTOM_RANGE Specifies the date and time (UTC) before which calls (based on call start time) and emails must have occurred to be included when generating the answer. Date and time (in ISO-8601 format: '2024-10-18T08:00:00Z', where Z stands for UTC).
Successful response
The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.
Number of calls searched to generate the brief
Number of emails searched to generate the brief
The sections defined for the brief
The sections defined for the brief
The title of the brief section.
The content displayed for this section.
Evidence from calls and emails used to generate this section of the brief. Includes the relevant calls and emails and the supporting excerpts identified in them. Only relevant when briefSectionType is Conversations.
Evidence from calls used to generate this section of the brief. Includes the relevant calls and the supporting excerpts identified in them.
Evidence from calls used to generate this section of the brief. Includes the relevant calls and the supporting excerpts identified in them.
Details of the call that contains supporting evidence for the answer.
The Gong ID of the call.
The title of the call.
The date and time the call was recorded in the ISO-8601 format (e.g., '2018-02-18T02:30:00-07:00' or '2018-02-18T08:00:00Z', where Z stands for UTC).
Link to the call page in Gong
Evidence from emails used to generate this section in the brief. Includes the relevant emails and the supporting excerpts identified in them.
Evidence from emails used. Includes the relevant emails and the supporting excerpts identified.
Details of the emails that contain supporting evidence.
Details of the emails that contain supporting evidence.
The Gong ID of the email. This Id can be used to view the email in Gong by adding it to a Gong URL.
The subject of the email.
The date and time the email message was sent in the ISO-8601 format, for example: '2024-01-17T16:20:05-03:00' or '2016-02-16T03:57:04.834+05:30' or '2020-11-20T21:30:07.233692Z', where Z stands for UTC.
The section type. Determines the source of the data, and what type of data is included in the section.
Evidence from results of a web search used to generate the brief for this section.
Evidence from results of a web search used to generate the brief for this section.
The domain of the website. This domain might be a Gong or a third-party URL that redirects (HTTP 302) to the original website.
The title of the web page.
The web page URL
Result returned from MCP connections defined for this brief section. Only relevant when briefSectionType is McpConnection.
Connection result for each MCP connection
Connection result for each MCP connection
The name given to the MCP connection in Gong
The status of the MCP connection
Set of server names that were invoked during the execution.
Overall execution status
Overall error message (dropped when status is SUCCESS)
Malformed request
The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.
Error messages.
Access denied
The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.
Error messages.
Payment Required
The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.
Error messages.
Forbidden
The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.
Error messages.
NotFound
The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.
Error messages.
API request limit exceeded
The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.
Error messages.
Failed to complete the operation due to an unexpected error
The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.
Error messages.