Skip to main content
POST
/
v1
/
agent-steps
cURL
curl --request POST \
  --url https://api.nuvia.ai/v1/agent-steps
{
  "_id": {},
  "name": "<string>",
  "slug": "<string>",
  "description": "<string>",
  "order": 123,
  "agent": {
    "_id": {},
    "name": "<string>",
    "agent_flow": {
      "_id": {},
      "name": "<string>",
      "url": "<string>",
      "specialist_url": "<string>"
    },
    "prompts": {
      "service_prompt": "<string>",
      "name": "<string>",
      "role": "<string>",
      "mission": "<string>",
      "personality": [
        {}
      ],
      "communication_style": [
        {}
      ],
      "rules": [
        {}
      ]
    },
    "company": {
      "_id": {},
      "name": "<string>",
      "channels": [],
      "agent_flows": [
        {
          "_id": {},
          "name": "<string>",
          "url": "<string>",
          "specialist_url": "<string>"
        }
      ],
      "description": "<string>",
      "general_config": {}
    },
    "model_config": {},
    "general_config": {},
    "specialist_config": {},
    "knowledge_base": [
      {}
    ],
    "avatar_color": "<string>",
    "avatar_initials": "<string>",
    "personality_presets": [],
    "steps": "<array>"
  },
  "company": {
    "_id": {},
    "name": "<string>",
    "channels": [],
    "agent_flows": [
      {
        "_id": {},
        "name": "<string>",
        "url": "<string>",
        "specialist_url": "<string>"
      }
    ],
    "description": "<string>",
    "general_config": {}
  },
  "mentions": [
    {}
  ],
  "general_config": {
    "disable_followups": true
  }
}

Response

201 - application/json
_id
object
required
name
string
required
slug
string
required
deprecated
description
string
required
order
number
required
type
enum<string>
required
Available options:
INITIAL,
DEFAULT,
CLOSED,
SUCCESS
agent
object
required
company
object
required
mentions
object[]
general_config
object
meta_event_name
enum<string> | null
Available options:
ViewContent,
LeadSubmitted,
QualifiedLead,
AddToCart,
InitiateCheckout,
Purchase