Returns the answer to a question about a specified entity. The answer is generated from calls or emails associated with the entity within the specified time period. A maximum of 60 calls and 500 emails are used to answer the question. A call to this API consumes Gong credits according to the number of emails and calls used to generate the answer. Supported entities are Accounts, Deals, Contacts, or Leads that exist in your CRM. The response includes:
- The answer
- Details of emails and calls used to generate the answer
The ID of the workspace whose calls and emails are used to answer the question. Use the Workspaces API to look up workspace IDs.
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).
The question to answer.
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 answer
Number of emails searched to generate the answer
The generated answer. The answer is composed of one or more answerItems, each representing a portion of the response along with the calls and emails used to generate it.
The generated answer. The answer is composed of one or more answerItems, each representing a portion of the response along with the calls and emails used to generate it.
An array of items that make up the answer. Each item contains part of the generated response and metadata describing the calls and emails used as sources.
Evidence from emails used. Includes the relevant emails and the supporting excerpts identified.
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.
Evidence from calls used to generate this answer item. Includes the relevant calls and supporting excerpts.
Evidence from calls used to generate this answer item. Includes the relevant calls and supporting excerpts.
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
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.