v1

latestOpenAPI 3.0.02026-07-1371613.5 KB

Create or update an agent

post/agents

Request body

idstring
namestring
descriptionstring
imagestring
privacy'public' | 'private' | 'team'
isAutonomousboolean
promptstring
welcomestring
model'gpt-3.5-turbo' | 'gpt-3.5-turbo-16k' | 'gpt-4' | 'palm-2' | 'llama-2-13b-chat' | 'llama-2-70b-chat' | 'codellama-13b-instruct' | 'codellama-13b-python' | 'mistral-7b' | 'zephyr-7b' | 'mistrallite-7b' | 'llava-13b' | 'fuyu-8b' | 'causallm-14b'

Name of the LLM model to use.

collectionsstring[]

Response

The result of the agent creation or update.

okboolean
agentIdstring