Skip to main content
PATCH

Overview

Update a video agent created by the user who owns the API key. Send only the fields you want to change; other settings keep their values. Nested objects such as callSetting are merged, not replaced. Fields not listed below are ignored.

Prerequisites

Request

string
required
Your workspace API key. Create one from the profile menu in the dashboard → API Keys.
string
required
ID of the video agent.

Request Parameters

All fields are optional. They are described in Create Video Agent.

Response

object
The updated video agent with its full configuration.

Error Handling

Errors return status: false, with the reason in errorMessage.
  • 400 Bad Request – agent_name or systemMessage is empty, a field has an invalid value, or id isn’t a valid ID.
  • 401 Unauthorized – Missing or invalid API key.
  • 404 Not Found – Video agent not found: it doesn’t exist, was deleted, or wasn’t created by the user who owns the API key.
  • 429 Too Many Requests – More than 1,000 video agent requests in 15 minutes from your IP address.
  • 500 Internal Server Error – Unexpected server error.