curl --request GET \
--url https://api.devin.ai/v1/knowledge \
--header 'Authorization: Bearer <token>'
{
"knowledge": [
{
"id": "note-xxx",
"name": "Getting the weather",
"body": "Navigate to weather.com",
"trigger_description": "When the user asks about the weather",
"parent_folder_id": "folder-xxx",
"created_at": "2024-01-01T00:00:00Z"
}
],
"folders": [
{
"id": "folder-xxx",
"name": "Fetching data",
"description": "Knowledge related to what websites or APIs Devin should use to complete certain tasks",
"created_at": "2024-01-01T00:00:00Z"
}
]
}
curl --request GET \
--url https://api.devin.ai/v1/knowledge \
--header 'Authorization: Bearer <token>'
{
"knowledge": [
{
"id": "note-xxx",
"name": "Getting the weather",
"body": "Navigate to weather.com",
"trigger_description": "When the user asks about the weather",
"parent_folder_id": "folder-xxx",
"created_at": "2024-01-01T00:00:00Z"
}
],
"folders": [
{
"id": "folder-xxx",
"name": "Fetching data",
"description": "Knowledge related to what websites or APIs Devin should use to complete certain tasks",
"created_at": "2024-01-01T00:00:00Z"
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
List of all knowledge and folders
The response is of type object
.