question-answers

List Question Answers

GET
Lists a collection of question-answers.

Query parameters

applies_to_articlesstringOptional
Filters for question-answer belonging to any of the provided articles.
applies_to_partsstringOptional
Filters for question-answer belonging to any of the provided parts.
created_bystringOptional
Filters for question-answers created by any of the provided users.
cursorstringOptional
The cursor to resume iteration from. If not provided, then iteration starts from the beginning.
limitintegerOptional
The maximum number of question-answers to return. The default is '50'.
modeenumOptional
The iteration mode to use, otherwise if not set, then "after" is used.
Allowed values: afterbefore
owned_bystringOptional
Filters for question-answers owned by any of the provided users.

Response

This endpoint returns an object
question_answers
list of objects
The question-answers entries matching the request.
total
integer
Total number of question-answer items for the request.
next_cursor
stringOptional
The cursor used to iterate subsequent results in accordance to the sort order. If not set, then no later elements exist.
prev_cursor
stringOptional
The cursor used to iterate preceding results in accordance to the sort order. If not set, then no prior elements exist.
GET
1curl https://api.devrev.ai/question-answers.list \
2 -H "Authorization: <apiKey>"
200Retrieved
1{
2 "question_answers": [
3 {
4 "id": "id",
5 "answer": "answer",
6 "created_date": "2023-01-01T12:00:00Z",
7 "display_id": "display_id",
8 "modified_date": "2023-01-01T12:00:00Z",
9 "question": "question",
10 "suggested_answer": "suggested_answer",
11 "suggested_for_deletion": true,
12 "topic": "topic",
13 "verified": true
14 }
15 ],
16 "total": 1,
17 "next_cursor": "next_cursor",
18 "prev_cursor": "prev_cursor"
19}