Update Agent
Updates an existing agent scoped to the API key’s company.
Overview
The update agent endpoint allows you to modify agent configuration without recreating it. This supports partial updates, meaning you only need to provide the fields you want to change. This is useful for refining agent questions, updating evaluation criteria, or adjusting voice settings.Use Cases
- Refine Questions: Update interview questions based on feedback
- Adjust Settings: Change voice, duration, or interview type
- Update Criteria: Modify evaluation criteria as requirements evolve
- Iterative Improvement: Continuously improve agent configurations
Partial Updates
You can update any combination of fields:Fields That Can Be Updated
name: Agent display nametype: Agent type (ONLINE, PHONE)focus: Agent focus (GENERIC, SCREENING, OUTREACH, LANGUAGE_TEST)language: Interview language codeduration: Interview duration in minutes (max 180)questions: Array of interview questionsinstructions: Additional instructions for the interviewvoiceId: Voice ID for the AI interviewcefrLevel: CEFR level for language test agentsbackgroundSound: Ambient background sound during calls (OFFICEorOFF)
Company Isolation
You can only update agents that belong to your API key’s company. Attempting to update an agent from another company will result in a403 Forbidden error.
Phone Agents
If you update an agent’stype to PHONE, you must also provide a companyPhoneNumberId in the same request.
Background Sound
UsebackgroundSound to change the ambient noise played during calls for this agent. Accepted values are "OFFICE" (subtle office noise, default) and "OFF" (silence).
backgroundSound keeps the existing value on the agent.Impact on Existing Interviews
Error Scenarios
- 404 Not Found: Agent doesn’t exist or has been deleted
- 403 Forbidden: Agent belongs to a different company
- 400 Bad Request: Invalid field values or validation errors
Related Resources
Agents Resource Guide
Get Agent
Create Agent
Authorizations
API key for authentication using Bearer scheme
Path Parameters
Query Parameters
Required for ATS API keys to specify which company to access. Ignored for standard company API keys.
Body
Agent name
2 - 100"Updated Senior Developer Interview"
Type of the agent
UNDEFINED, ONLINE, PHONE "ONLINE"
Focus of the agent. GENERIC: For jobless interviews where candidates don't need job assignments. SCREENING: Initial candidate screening and assessment. OUTREACH: Candidate outreach and engagement. LANGUAGE_TEST: Language proficiency assessment.
GENERIC, SCREENING, OUTREACH, LANGUAGE_TEST "SCREENING"
List of questions for the interview
50["What is your experience with React?"]Additional instructions for the interview
2000"Focus on system design and communication"
Language of the interview
UNDEFINED, EN, JA, ZH, DE, HI, FR, KO, PT, IT, ES, ID, NL, TR, FIL, PL, SV, BG, RO, AR, CS, EL, FI, HR, MS, SK, DA, TA, UK, RU, HU, NO, VI "EN"
Duration of the interview in minutes
1 <= x <= 18045
Voice ID for the AI interview (null clears existing voice)
ALEX, PETER, MIRIAM, SUE, VIERA, CASANDRA, SILVIA, MICHAEL, LUKE, EMMA, SARAH, EVA CEFR level for language test agents
A1, A2, B1, B2, C1, C2 "B2"
ID of the company phone number assignment to use for calls from this agent (CompanyPhoneNumber.id)
"123e4567-e89b-12d3-a456-426614174000"
Custom metadata (merged with existing metadata, max 10KB, 5 levels deep, 50 keys)
{ "department": "Engineering" }Ambient background sound during calls (OFFICE or OFF). Omit to keep the existing value, set null to clear override.
OFF, OFFICE "OFFICE"
Response
Agent ID
"123e4567-e89b-12d3-a456-426614174000"
Agent name
"Frontend Developer Interview"
Type of the agent
UNDEFINED, ONLINE, PHONE "ONLINE"
Focus of the agent. GENERIC: For jobless interviews where candidates don't need job assignments. SCREENING: Initial candidate screening and assessment. OUTREACH: Candidate outreach and engagement. LANGUAGE_TEST: Language proficiency assessment.
GENERIC, SCREENING, OUTREACH, LANGUAGE_TEST "SCREENING"
Language of the interview
UNDEFINED, EN, JA, ZH, DE, HI, FR, KO, PT, IT, ES, ID, NL, TR, FIL, PL, SV, BG, RO, AR, CS, EL, FI, HR, MS, SK, DA, TA, UK, RU, HU, NO, VI "EN"
Duration of the interview in minutes
30
Agent creation timestamp (UTC)
"2025-11-20T10:30:00Z"
Agent last update timestamp (UTC)
"2025-11-20T10:30:00Z"
List of questions for the interview
["What is your experience with React?"]Additional instructions for the interview
"Focus on technical skills and previous project experience"
Voice ID for the AI interview
ALEX, PETER, MIRIAM, SUE, VIERA, CASANDRA, SILVIA, MICHAEL, LUKE, EMMA, SARAH, EVA Company ID that owns the agent
"123e4567-e89b-12d3-a456-426614174000"
Custom metadata
{ "department": "Sales" }CEFR level for language test agents
A1, A2, B1, B2, C1, C2 "B1"
Ambient background sound during calls (OFFICE or OFF). Null means no override is set and the default applies.
OFF, OFFICE "OFFICE"