Skip to main content
PATCH
/
v3
/
ai-sdr
/
knowledge-bases
/
{id}
Update a knowledge base
curl --request PATCH \
  --url https://api.reply.io/v3/ai-sdr/knowledge-bases/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "instructions": "Updated: reference Q3 launch deck instead of internal v2."
}
'
{
  "id": 4821,
  "name": "Product knowledge base v3",
  "instructions": "Reference internal launch deck before answering pricing questions.",
  "updatedAt": "2026-05-10T14:32:11Z",
  "ownerUserId": 1234
}

Documentation Index

Fetch the complete documentation index at: https://docs.reply.io/llms.txt

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

Authorizations

Authorization
string
header
required

Authenticate every request with a Bearer token. Pass your Reply API key in the Authorization header:

Authorization: Bearer <your-api-key>

Get your API key from the Reply dashboard: Settings → API Key.

Path Parameters

id
integer<int64>
required

Knowledge base id

Required range: x >= 1

Body

application/json

Partial update for a knowledge base. Send only the fields you want to change; absent fields retain their current value. At least one field must be present.

name
string

Updated display name (non-empty)

Required string length: 1 - 128
instructions
string

Updated instructions. Empty string allowed (clears the instructions).

Maximum string length: 2000

Response

Knowledge base updated successfully

Detailed representation of a knowledge base.

id
integer<int64>
read-only

Unique identifier for the knowledge base

name
string

Display name of the knowledge base

instructions
string

Free-form instructions applied when the knowledge base is referenced by AI SDR generations.

updatedAt
string<date-time>
read-only

Timestamp of the last modification

ownerUserId
integer | null
read-only

User ID of the owner. null when the owner has been removed from the team.