Get Report List by Question
Endpoint
POST /v1/ai_chat/get_report_list_by_question_and_related_infoTry it out in API Playground →
Description
This API enables users to retrieve a curated list of relevant reports by submitting a natural language question. The system analyzes the question's intent and returns matching reports filtered by specified criteria such as date range, market, sector, and report type. This endpoint is ideal for quickly discovering pertinent financial documents and research materials without needing to know exact report titles or identifiers.
Request
Headers
Content-Type
string
Yes
application/json
X-API-KEY
string
Yes
Your API key
Request Body Parameters
keywords
string
Yes
The question posed by the user
report_type_list
array[string]
No
List of report types to narrow down search results
start_date
string
No
Start date for the search, formatted as YYYY-MM-DD
end_date
string
No
End date for the search, formatted as YYYY-MM-DD
market
array[string]
No
List of markets to filter search results
sector_list
array[string]
No
List of sectors to narrow down search results
exchange_list
array[string]
No
List of exchanges to filter search results
country_list
array[string]
No
List of countries to narrow down search results
Note: Options for
market,exchange_list,country_list, andsector_listare included in Appendix B: Metainfo.
Example Request
Response
Response Fields
Top-Level Fields
status_code
integer
HTTP status code (200 for success)
data
object
Container object holding response data
message
string
Response status message
Data Object
table_data
array
Array of report objects matching the query
total_data
object
Summary statistics about the search results
Report Object (data.table_data[])
report_id
string
Unique identifier for the report
file_hash
string
Hash value of the report file
report_title
string
Title of the report
snippet
string
Relevant text excerpt from the report
report_type_id_list
array[string]
List of report type IDs
attachment_id
string
Unique identifier for the attachment
page
integer
Page number where the relevant information is found
perm_id_list
array[string]
List of permanent entity identifiers
report_url
string
S3 URL path to the report file
reported_at
string
Date when the report was published, formatted as YYYY-MM-DD
score
integer
Relevance score (0-100) indicating match quality
Total Data Object (data.total_data)
total_company
integer
Total number of unique companies in results
total_document
integer
Total number of documents found
total_document_type
integer
Total number of unique document types
dataset
string
Dataset identifier
max_score
integer
Highest relevance score in results
min_score
integer
Lowest relevance score in results
latest_report_date
string
Most recent report date, formatted as YYYY-MM-DD
oldest_report_date
string
Oldest report date in results, formatted as YYYY-MM-DD
Example Response
Error Handling
All endpoints follow the standard error response format. When an error occurs, the API returns an appropriate HTTP status code along with a structured error response.
For detailed information about error codes, response formats, and troubleshooting guidelines, please refer to Appendix A: Error Code Reference.
Last updated