POST
/
agents
curl --request POST \
  --url https://app.docs.bynesoft.com/api/users/agents \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "templateId": "<string>",
  "exeLayers": [
    "<string>"
  ],
  "guardRails": [
    "<string>"
  ],
  "modelType": "GPT-4o"
}'
{
  "id": "<string>",
  "name": "<string>",
  "templateId": "<string>",
  "dateCreated": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

application/json
name
string
required
Required string length: 1 - 50
templateId
string
required
exeLayers
string[]
required
description
string | null
Required string length: 1 - 250
guardRails
string[] | null
modelType
string
default:GPT-4o

Choose GPT-4o, GPT-4 or custom LLM as a model type

Response

200
application/json
Successful Response
id
string
required
name
string
required
templateId
string
required
dateCreated
string
required