Pular para o conteúdo principal
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
}

Permissões

Requer um usuário de serviço com a permissão ManageAccountKnowledge em nível de Enterprise.

Autorizações

Authorization
string
header
obrigatório

Service User credential (prefix: cog_)

Corpo

application/json
body
string
obrigatório
name
string
obrigatório
trigger
string
obrigatório

Resposta

Successful Response

access_type
enum<string>
obrigatório
Opções disponíveis:
enterprise,
org
body
string
obrigatório
created_at
integer
obrigatório
folder_id
string | null
obrigatório
is_enabled
boolean
obrigatório
name
string
obrigatório
note_id
string
obrigatório
org_id
string | null
obrigatório
trigger
string
obrigatório
updated_at
integer
obrigatório