Skip to main content
POST
Add FAQ, URL, or file knowledge

Authorizations

Authorization
string
header
required

Create an API key in GreenTick Developer settings. Send it as Authorization: Bearer gt_live_… (Bearer prefix required).

Headers

Idempotency-Key
string

When set, a repeated write with the same key and route replays the stored response.

Maximum string length: 200

Path Parameters

id
string
required

Resource id

Body

application/json
type
enum<string>
required
Available options:
faq,
url,
file
question
string
answer
string
url
string
mimeType
string

Response

Success

success
boolean
required
Example:

true

data
any
tool
string
blockedTools
string[]
next
string