POST
/
knowledge
curl --request POST \
  --url https://api.devin.ai/v1/knowledge \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "body": "<string>",
  "name": "<any>",
  "parent_folder_id": "<string>",
  "trigger_description": "<string>"
}'
{
  "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"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Information about a piece of knowledge

Response

200
application/json
Knowledge created. Returns the newly created knowledge.

Information about a piece of knowledge