Skip to main content
POST
/
v2
/
agents
Create New Agent
curl --request POST \
  --url https://api.eden.art/v2/agents \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '{
  "name": "<string>",
  "key": "<string>",
  "description": "<string>",
  "image": "<string>",
  "public": true,
  "models": [
    {
      "lora": "<string>",
      "use_when": "<string>"
    }
  ],
  "persona": "<string>",
  "isPersonaPublic": true,
  "greeting": "<string>",
  "knowledge": "<string>",
  "voice": "<string>",
  "suggestions": [
    {
      "label": "<string>",
      "prompt": "<string>"
    }
  ],
  "tools": {},
  "llm_settings": {
    "model_profile": "low",
    "thinking_policy": "auto",
    "thinking_effort_cap": "low",
    "thinking_effort_instructions": "<string>"
  }
}'
{
  "agentId": "<string>"
}

Authorizations

X-Api-Key
string
header
required

Body

application/json
name
string
required
key
string
required
description
string
required
image
string
required
public
boolean
models
object[]
persona
string
isPersonaPublic
boolean
greeting
string
knowledge
string
voice
string
suggestions
object[]
tools
object
llm_settings
object

Response

200 - */*

Default Response

agentId
string
I