agents
Create Agent
Create a new agent. Accepts AgentCreate Schema as input. A can only be used by using it with an Agent. Tools used in the Schema must be created before.
post/agent
Request
- Base URL: https://api.overfit.de (the document declares no server; this is the origin it was published from)
- URL: https://api.overfit.de/agent
- Auth: one of:
- OpenID Connect (https://auth.okns.de/realms/overfit-products/.well-known/openid-configuration)
- API key in header X-API-Key
Request body
Example request
{
"agent_data": {
"agent_type": "DEFAULT"
},
"description": "An agent designed to provide details about screwdrivers.",
"generative_model": "gpt-3.5-turbo",
"name": "Screwdriver Agent",
"public": false,
"temperature": 0.7,
"tools": [
"tl_1EbVewEDVUf0oyAxzsi6LW",
"tl_1EbVewEDVUf0oyother7yy"
]
}Response
Successful Response
Example response
{
"agent_type": "DEFAULT",
"description": "This agent specializes in screwdrivers.",
"generative_model": "gpt-3.5-turbo",
"id": "agt_1EbVewEDVUf0oyAxzsi6LW",
"name": "Screwdriver Agent",
"public": false,
"sub": "ecd8dfc1-1d93-42be-b77c-0d4331886e6c",
"temperature": 0.7,
"time_created": "2023-01-01T00:00:00",
"tools": []
}Changes
No recorded changes to this operation across all 1 revision of this API.