Passer au contenu principal
GET
/
v3
/
organizations
/
{org_id}
/
knowledge
/
folders
Obtenir la structure des dossiers de Knowledge avec le nombre de notes.
curl --request GET \
  --url https://api.devin.ai/v3/organizations/{org_id}/knowledge/folders \
  --header 'Authorization: Bearer <token>'
{
  "folders": [
    {
      "folder_id": "<string>",
      "name": "<string>",
      "note_count": 123,
      "path": "<string>",
      "parent_folder_id": "<string>"
    }
  ],
  "root_note_count": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.devin.ai/llms.txt

Use this file to discover all available pages before exploring further.

Autorisations

Nécessite un utilisateur de service disposant de l’autorisation ManageKnowledge au niveau de l’organisation.

Autorisations

Authorization
string
header
requis

Identifiant de compte de service (préfixe : cog_)

Réponse

200 - application/json

Réponse réussie

Réponse pour l’endpoint de structure des dossiers.

folders
FolderSummary · object[]
requis
root_note_count
integer
requis