Skip to main content
POST
cURL

Authorizations

Authorization
string
header
default:YOUR_API_KEY
required

Your API key, tav_…

Headers

API-Version
enum<string>

The API version. Without it: 1.

Available options:
1

Body

application/json
name
string
required

The function name its agents call it by. One per account.

Pattern: ^[A-Za-z0-9_-]{1,64}$
instruction
string
required

When its agents should use it

Required string length: 1 - 1000
text
string
required

What its agents answer from

Required string length: 1 - 50000
fileName
string

The file the text came from, if any (when adding)

Maximum string length: 255

Response

Success

data
object
required
code
integer
required
message
string