POST
/
agents
/
{agentId}
/
kb
curl --request POST \
  --url https://eu-voiceglow-runtime-vbmbkqccuq-ey.a.run.app/v3/agents/{agentId}/kb \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "content": "<string>",
  "metadata": {
    "description": "<string>"
  },
  "tags": [
    "<string>"
  ],
  "sourceType": "doc",
  "refreshRate": "never",
  "url": "<string>"
}'
{
  "success": true,
  "message": "<string>",
  "data": "<any>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

agentId
string
required

Body

application/json
name
string
required
sourceType
enum<string>
required
Available options:
doc,
url
content
string
metadata
object
tags
string[]
refreshRate
enum<string>
default:
never
Available options:
1h,
6h,
12h,
24h,
7d,
never
url
string

Response

200
application/json
Successful response
success
boolean
required
message
string
required
data
any