---
title: "List knowledge"
method: GET
path: "/v1/knowledge"
tags: ["Knowledge"]
---

# List knowledge

`GET /v1/knowledge`

Gets all knowledge and folders in your current organization. This endpoint will not return system knowledge (repo indexes or built-in knowledge) managed by Cognition.

## Response `200`

List of all knowledge and folders

- object
  - `knowledge` KnowledgeResponse[], required
    - `body` string, required — The content of the knowledge. Devin will read this when the knowledge gets triggered
    - `name` unknown, required
    - `parent_folder_id` string — The id of the folder that this knowledge is located in. Null if the knowledge is not located in any folder
    - `trigger_description` string, required — The description of when this knowledge should be used by Devin
    - `pinned_repo` string, nullable — Pin knowledge to specific repositories. Valid values: - null: No pinning (default) - "all": Pin to all repositories - "owner/repo": Pin to specific repository
    - `id` string, required — The id of the knowledge
    - `created_at` string, date-time, required — Creation timestamp (ISO 8601)
  - `folders` KnowledgeFolderResponse[], required
    - `id` string — The id of the folder
    - `name` string — The name of the folder
    - `description` string — The description of the folder, assists the auto-organization of knowledge
    - `created_at` string, date-time — Creation timestamp (ISO 8601)

## Other responses

- `401` — Unauthorized - Invalid or missing API key

---

[API](https://skmtc.dev/devin/apis/devin-external-api.md) · [All operations](https://skmtc.dev/devin/apis/devin-external-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/devin/devin-external-api/revisions/bb0fabac5cbe/schema)
