Noveum docs

Quickstart: your first scored call

Go from sign-in to a scored NovaSynth voice test with an MCP client or curl, with no dashboard setup.

This guide takes you from nothing to a first scored test call. You do not need a project, persona, scenario, or connection in the dashboard. One request creates them. NovaSynth then calls your voice agent, records the call, transcribes it, and scores it.

You can follow it with an MCP client such as Claude, Cursor, or VS Code, or with curl. Both use the same API and the same rules. An interactive MCP client signs in with your Noveum account, so it needs no API key; curl and headless clients use a scoped key.

What you need

  • A Noveum account with the Owner, Admin, or AI Engineer role. The first call sets up an evaluation pipeline, and the Developer role cannot run evaluations.
  • A voice agent you can reach by phone number or in a LiveKit room. The examples use a phone number.
  • Credits for a short call. Before the call starts, Noveum checks that your balance covers maxCallDurationS plus 30 seconds of calling, and returns 429 if it does not.
  • For the curl path only: curl and jq in a Unix-like shell.

Step 1: Connect

MCP client: sign in

Add https://noveum.ai/api/mcp to your MCP client. The client opens a Noveum sign-in and consent screen the first time it connects, so you do not create or paste a key. The MCP server page covers OAuth, scopes, and per-client setup.

curl and headless clients: create a scoped key

  1. Open Settings > API Keys and create a key.
  2. Under Access, choose Custom and grant only these permissions. A key never gets more access than the person who created it.
AreaPermissionsWhy
NovaSynthView, RunCreate the call and read its result
ETL jobsCreate and edit, RunIngest the recording and transcript
EvaluationsCreate and edit, RunScore the call
DatasetsCreate and editStore the call for scoring
  1. Copy the key as soon as it is created. The dashboard shows the full key only once; afterwards it shows only the last four characters, and a lost key has to be replaced with a new one.

The Create and edit permissions are needed only for the first call, which creates the shared ingestion and evaluation resources.

Keep the key in your environment, not in source control:

Code
export NOVEUM_API_KEY="replace-with-your-key"
export NOVEUM_API_BASE="https://noveum.ai/api"

A headless MCP client that cannot complete a sign-in sends the same key as a header:

Code
{
  "mcpServers": {
    "noveum": {
      "url": "https://noveum.ai/api/mcp",
      "headers": { "Authorization": "Bearer replace-with-your-key" }
    }
  }
}

Step 2: Start a test call

From an MCP client

The test_voice_agent prompt runs the whole flow. Give it the endpoint, the caller's goal, and the scenario. It starts the call, polls until the evaluation finishes, and reports the score, pass result, transcript summary, and recording link. A plain request works too, for example: "Use Noveum to call +14155550123 as a customer booking a table for two, and tell me the score."

That covers Steps 2 and 3 for an MCP client. Continue with Step 4.

With curl

Send the endpoint to call, a persona to play, and a scenario to follow. Replace the phone number with your agent's number in E.164 form. It must start with phoneCountryCode.

Code
CALL=$(curl --fail-with-body --silent --show-error \
  --request POST "$NOVEUM_API_BASE/v1/developer/calls" \
  --header "Authorization: Bearer $NOVEUM_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
    "endpoint": {
      "type": "phone",
      "phoneNumber": "+14155550123",
      "phoneCountryCode": "+1"
    },
    "persona": {
      "name": "Busy customer",
      "goal": "Book a table for two tomorrow at 7 pm"
    },
    "scenario": {
      "name": "Simple booking",
      "description": "Ask for a table for two tomorrow evening, accept the first free time, and confirm the booking."
    },
    "maxCallDurationS": 120
  }')
echo "$CALL" | jq
CALL_ID=$(echo "$CALL" | jq -r .callId)

A successful request returns 202 Accepted:

Code
{
  "callId": "cm4c9x2k10000ab12cd34ef56",
  "projectId": "__dev_api__",
  "direction": "outbound",
  "batchId": "cm4c9x2jz0000gh78ij90kl12",
  "status": "queued",
  "statusUrl": "https://noveum.ai/api/v1/developer/calls/cm4c9x2k10000ab12cd34ef56",
  "resultsUrl": "https://noveum.ai/api/v1/developer/calls/cm4c9x2k10000ab12cd34ef56",
  "estimatedCost": { "credits": 250, "usdEstimate": 2.5 }
}

Without a projectId, the call runs in a project named Developer API with the ID __dev_api__. Noveum creates it on first use, with a dataset, an ingestion job, and an evaluation job that uses the default scorers. Pass "projectId": "proj_123" to run in an existing project instead. Use the exact ID from GET /api/v1/projects, because some project IDs are slugs. That project must be a voice project with a saved NovaSynth agent configuration and system prompt.

Calls default to "eval": true and voice mode. maxCallDurationS defaults to 300 seconds.

Use LiveKit instead of a phone number

Swap the endpoint object for a LiveKit one. Everything else stays the same.

Code
{
  "type": "livekit",
  "livekitUrl": "wss://your-project.livekit.cloud",
  "livekitApiKey": "your-livekit-key",
  "livekitApiSecret": "your-livekit-secret",
  "livekitAgentName": "support-agent"
}

Step 3: Wait for the score

The call finishes first. Then Noveum ingests the recording and transcript, and then it scores the call. Poll the result until the score arrives or something fails. The loop stops on a failed request, such as a 401 from an expired key, and gives up after 20 minutes:

Code
DEADLINE=$((SECONDS + 1200))
while :; do
  if ! RESULT=$(curl --fail-with-body --silent --show-error \
    --header "Authorization: Bearer $NOVEUM_API_KEY" \
    "$NOVEUM_API_BASE/v1/developer/calls/$CALL_ID"); then
    echo "Request failed: $RESULT" >&2
    break
  fi
  CALL_STATUS=$(echo "$RESULT" | jq -r .status)
  INGESTION_STATUS=$(echo "$RESULT" | jq -r .ingestion.status)
  EVAL_STATUS=$(echo "$RESULT" | jq -r '.eval.status // "pending"')
  echo "call: $CALL_STATUS, ingestion: $INGESTION_STATUS, eval: $EVAL_STATUS"
  case "$CALL_STATUS:$INGESTION_STATUS:$EVAL_STATUS" in
    failed:*|expired:*|cancelled:*|*:failed:*|*:skipped:*) break ;;
    completed:completed:completed|completed:completed:failed) break ;;
  esac
  if [ "$SECONDS" -ge "$DEADLINE" ]; then
    echo "Stopped waiting after 20 minutes. Check the call later with the same CALL_ID." >&2
    break
  fi
  sleep 3
done
echo "$RESULT" | jq '{status, durationSeconds, error, eval}'

A scored call looks like this:

Code
{
  "status": "completed",
  "durationSeconds": 74.2,
  "error": null,
  "eval": {
    "status": "completed",
    "score": 8.4,
    "passed": true,
    "summary": "The agent confirmed a table for two at 7 pm and repeated the booking details.",
    "scorerResults": {
      "toxicity_scorer": {
        "scorerName": "toxicity",
        "scorerType": "safety",
        "score": 10,
        "passed": true,
        "status": "completed",
        "metadata": null,
        "reasoning": "No toxic language from the agent.",
        "error": null
      }
    },
    "error": null
  }
}

That is your first scored run. score is the average of the scorer scores, out of 10. passed is false when any scorer fails. scorerResults has one entry per scorer; the example shows one. The full response also has:

  • transcript: the turns of the conversation, each with role, displayName, content, and startMs;
  • recordingUrl and recordingUrlExpiresAt: a signed recording link that expires, so store the call ID rather than the link;
  • ingestion: whether the recording and transcript were stored;
  • createdAt and completedAt.

The call status moves through queued, dispatching, running, and then one of completed, failed, expired, or cancelled. The evaluation status moves through pending, building_item, posted_to_dataset, and eval_running before completed or failed.

Step 4: Review it in the dashboard

Open the Developer API project, or the project you passed, and go to NovaSynth. The call appears as a run with its recording, transcript, and evaluation. See Run synthetic tests for the review screens.

Call the MCP tools directly

The tools behind the test_voice_agent prompt are:

ToolAPI route
postApiV1DeveloperCallsPOST /api/v1/developer/calls
getApiV1DeveloperCallsByIdGET /api/v1/developer/calls/{id}

Pass the request JSON from Step 2 inside a body argument. The MCP endpoint speaks JSON-RPC over HTTP, so you can try it with curl and the key from Step 1:

Code
curl --fail-with-body --silent --show-error \
  --request POST "https://noveum.ai/api/mcp" \
  --header "Authorization: Bearer $NOVEUM_API_KEY" \
  --header "Content-Type: application/json" \
  --header "Accept: application/json, text/event-stream" \
  --data '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "postApiV1DeveloperCalls",
      "arguments": {
        "body": {
          "endpoint": {
            "type": "phone",
            "phoneNumber": "+14155550123",
            "phoneCountryCode": "+1"
          },
          "persona": {
            "name": "Busy customer",
            "goal": "Book a table for two tomorrow at 7 pm"
          },
          "scenario": {
            "name": "Simple booking",
            "description": "Ask for a table for two tomorrow evening, accept the first free time, and confirm the booking."
          },
          "maxCallDurationS": 120
        }
      }
    }
  }'

The tool result carries the same JSON as the 202 response above. Poll with getApiV1DeveloperCallsById and { "id": "<callId>" } the same way as Step 3. Stop when the call fails, or when ingestion and evaluation have both finished. If your client still shows old tools after a Noveum update, reconnect the server.

Troubleshooting

ResponseCauseFix
400 with a validation messageThe body does not match the schema, the phone number is not E.164, or mode is textFix the field named in the message. Only voice mode is supported.
401The key is missing, wrong, or expiredCheck NOVEUM_API_KEY and the Bearer prefix.
403The key lacks a permission from Step 1Add the missing permission from the Step 1 table to the key, or set "eval": false to skip scoring. The key's creator must be an Owner, Admin, or AI Engineer.
409 about agent configuration or system promptThe projectId you passed has no NovaSynth agent configuration, or it is a chatbot projectSave a voice agent configuration with a system prompt in that project, or leave out projectId.
409 about evaluationThe project's evaluation job is disabled or has no scorersConfigure NovaSynth evaluation for the project, or set "eval": false.
429Not enough credits for the estimated callShorten maxCallDurationS or add credits.
501The endpoint type is not supported yet, or you sent webhookUse a phone or LiveKit endpoint, and poll instead of using a webhook.

Next steps

  • Developer Calls API: batches of up to 100 calls, inbound calls where your bot dials Noveum, saved connections, and config export and replay.
  • Personas and scenarios: every field you can send inline, such as languages, voices, and planned interruptions.
  • Run synthetic tests: run saved persona and scenario pairs from the dashboard.