Create a Q&A data source
Data Sources
Create a Q&A data source
Add a question and answer pair to train your agent. Q&A data sources are perfect for handling specific, frequently asked questions.
POST
Create a Q&A data source
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Details for the Q&A data source.
Question for the Q&A data source
Example:
"What are your business hours?"
Answer for the Q&A data source
Example:
"We are open Monday to Friday, 9 AM to 6 PM EST."
Unique identifier of the agent
Example:
"clx1234567890abcdef"
Flag indicating if the answer is generated by AI
Example:
false
Optional related message ID
Example:
"msg_1234567890"

