POST
/
api
/
projects
/
{projectName}
/
skills

Path Parameters

projectName
string
required

The name of the project where agent resides

Body

application/json
skill
object

Response

200 - application/json
name
string
type
string

Type of skill (text2sql | knowledge_base).

source
string

Used to store a knowledge_base object when type is set to knowledge_base.

database
string

Used to store a data source connection when type is set to text2sql.

tables
string[]

Used to store table(s) names when type is set to text2sql.

description
string

Skill description is important for an agent to decide which skill to use.