/
OP
openindex
/
OpenIndex.ai API
Search skmtc…
⌘K
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Subscribe
v1
latest
OpenAPI 3.0.0
2026-07-13
7
16
13.5 KB
Create or update an agent
post
/agents
Request body
AgentRequest
required
id
string
name
string
description
string
image
string
privacy
'public'
|
'private'
|
'team'
isAutonomous
boolean
prompt
string
welcome
string
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.
params
ModelParameters
Model parameters
tools
Tool[]
collections
string[]
Response
The result of the agent creation or update.
AgentResponse
required
ok
boolean
agentId
string