• About
    • For Developers
  • API Reference
    • Changelog
  • Guides
    • Account creation
    • Agents async API
    • Links
LogoLogo
API Referencequestion-answers

Beta
POST
https://api.devrev.ai/question-answers.list
POST
/question-answers.list
1curl -X POST https://api.devrev.ai/question-answers.list \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{}'
Try it
1{
2 "question_answers": [
3 {
4 "id": "string",
5 "answer": "string",
6 "applies_to_parts": [
7 {
8 "display_id": "string",
9 "id": "string",
10 "name": "string",
11 "owned_by": [
12 {
13 "display_id": "string",
14 "id": "string",
15 "display_name": "string",
16 "display_picture": {
17 "display_id": {},
18 "id": {},
19 "file": {}
20 },
21 "email": "string",
22 "full_name": "string",
23 "state": "active"
24 }
25 ],
26 "sync_metadata": {
27 "external_reference": "string",
28 "origin_system": "string"
29 }
30 }
31 ],
32 "created_by": {
33 "display_id": "string",
34 "id": "string",
35 "display_name": "string",
36 "display_picture": {
37 "display_id": "string",
38 "id": "string",
39 "file": {
40 "type": "string",
41 "name": "string",
42 "size": 1
43 }
44 },
45 "email": "string",
46 "full_name": "string",
47 "state": "active"
48 },
49 "created_date": "2023-01-01T12:00:00.000Z",
50 "display_id": "string",
51 "modified_by": {
52 "display_id": "string",
53 "id": "string",
54 "display_name": "string",
55 "display_picture": {
56 "display_id": "string",
57 "id": "string",
58 "file": {
59 "type": "string",
60 "name": "string",
61 "size": 1
62 }
63 },
64 "email": "string",
65 "full_name": "string",
66 "state": "active"
67 },
68 "modified_date": "2023-01-01T12:00:00.000Z",
69 "question": "string",
70 "sources": [
71 {
72 "display_id": "string",
73 "id": "string",
74 "display_name": "string"
75 }
76 ],
77 "status": "archived",
78 "suggested_answer": "string",
79 "suggested_for_deletion": true,
80 "topic": "string",
81 "verified": true
82 }
83 ],
84 "total": 1,
85 "next_cursor": "string",
86 "prev_cursor": "string"
87}
Lists a collection of question-answers.
Was this page helpful?
Previous

Update Question Answer

Next
Built with
Update Question Answer

Authentication

AuthorizationBearer
Bearer authentication of the form `Bearer <token>`, where token is your auth token.

Request

This endpoint expects an object.
applies_to_articleslist of stringsOptional
Filters for question-answer belonging to any of the provided articles.
applies_to_partslist of stringsOptional
Filters for question-answer belonging to any of the provided parts.
created_bylist of stringsOptional
Filters for question-answers created by any of the provided users.
cursorstringOptionalformat: "text"
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. If "after", then entries after the provided cursor will be returned, or if no cursor is provided, then from the beginning. If "before", then entries before the provided cursor will be returned, or if no cursor is provided, then from the end. Entries will always be returned in the specified sort-by order.
Allowed values:
owned_bylist of stringsOptional
Filters for question-answers owned by any of the provided users.

Response

List question-answers response.
question_answerslist of objects
The question-answers entries matching the request.
totalinteger
Total number of question-answer items for the request.
next_cursorstring or nullformat: "text"
The cursor used to iterate subsequent results in accordance to the sort order. If not set, then no later elements exist.
prev_cursorstring or nullformat: "text"
The cursor used to iterate preceding results in accordance to the sort order. If not set, then no prior elements exist.

Errors

The cursor used to iterate preceding results in accordance to the sort order. If not set, then no prior elements exist.
The cursor to resume iteration from. If not provided, then iteration starts from the beginning.

Lists a collection of question-answers.

Filters for question-answer belonging to any of the provided articles.

Filters for question-answer belonging to any of the provided parts.

Filters for question-answers created by any of the provided users.

The maximum number of question-answers to return. The default is ‘50’.

Filters for question-answers owned by any of the provided users.

The iteration mode to use. If “after”, then entries after the provided cursor will be returned, or if no cursor is provided, then from the beginning. If “before”, then entries before the provided cursor will be returned, or if no cursor is provided, then from the end. Entries will always be returned in the specified sort-by order.

Bearer authentication of the form Bearer <token>, where token is your auth token.

List question-answers response.

The question-answers entries matching the request.

List Question Answers (POST)

Total number of question-answer items for the request.