メインコンテンツへスキップ
POST
/
v3beta1
/
enterprise
/
knowledge
/
notes
Create an enterprise-level note
curl --request POST \
  --url https://api.devin.ai/v3beta1/enterprise/knowledge/notes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "body": "<string>",
  "name": "<string>",
  "trigger": "<string>"
}
'
{
  "access_type": "enterprise",
  "body": "<string>",
  "created_at": 123,
  "folder_id": "<string>",
  "is_enabled": true,
  "name": "<string>",
  "note_id": "<string>",
  "org_id": "<string>",
  "trigger": "<string>",
  "updated_at": 123
}

権限

Enterprise レベルで ManageAccountKnowledge 権限が付与されたサービスユーザーが必要です。

承認

Authorization
string
header
必須

Service User credential (prefix: cog_)

ボディ

application/json
body
string
必須
name
string
必須
trigger
string
必須

レスポンス

Successful Response

access_type
enum<string>
必須
利用可能なオプション:
enterprise,
org
body
string
必須
created_at
integer
必須
folder_id
string | null
必須
is_enabled
boolean
必須
name
string
必須
note_id
string
必須
org_id
string | null
必須
trigger
string
必須
updated_at
integer
必須