---
title: "Create or update NovaSynth agent config"
method: PUT
path: "/api/v1/novasynth/agent-config"
tags: ["NovaSynth"]
---

# Create or update NovaSynth agent config

`PUT /api/v1/novasynth/agent-config`

## Request

- Base URL: `https://dev.noveum.ai`
- URL: `https://dev.noveum.ai/api/v1/novasynth/agent-config`
- Auth: API key in cookie `apiKeyCookie` and HTTP bearer

Upserts config and may trigger first-time dataset/eval auto-setup.

## Query parameters

- `projectId` string, required

## Request body

- object
  - `projectId` string
  - `agentName` string
  - `systemPrompt` string, required
  - `additionalInstructions` string
  - `agentType` 'voice' | 'chatbot' | 'phone'
  - `language` string
  - `contactNumber` string
  - `isInbound` boolean
  - `conversationSyncEnabled` boolean
  - `mockToolsEnabled` boolean
  - `mockToolDefinitions` object[]
    - `tool_name` string, required
    - `mock_response` string, required
  - `promptSyncEnabled` boolean

## Response `200`

Success

- object

## Other responses

- `201`: Created
- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `409`: Conflict
- `422`: Unprocessable entity
- `500`: Internal server error

---

[API](https://skmtc.dev/noveum/apis/noveum-api.md) · [All operations](https://skmtc.dev/noveum/apis/noveum-api/llms.txt) · [OpenAPI document](https://skmtc.dev/noveum/apis/noveum-api/revisions/1745e27f38d0?raw)
