API Documentation
- Introduction
- Knowledge Base
- Connectors
- Generative
- Assets
- LLMs
- User
- Agents
- Guardrails
- Execution layers
Agents
Post Create Agent
Create Agent.
POST
/
agents
Copy
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"
}'
Copy
{
"id": "<string>",
"name": "<string>",
"templateId": "<string>",
"dateCreated": "<string>"
}
Authorizations
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
Copy
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"
}'
Copy
{
"id": "<string>",
"name": "<string>",
"templateId": "<string>",
"dateCreated": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.