curl --location 'https://api.weya.live/backend/api/video-agents?page=1&limit=10&search=sales' \
--header 'x-api-key: YOUR_API_KEY'
{
"status": true,
"code": 200,
"message": "Fetched successfully",
"errorMessage": null,
"data": {
"agents": [
{
"_id": "6891a23bc456def789123456",
"agent_name": "Sales Video Agent",
"enable_input_video": false,
"createdAt": "2026-07-21T09:15:00.000Z",
"updatedAt": "2026-07-21T09:15:00.000Z"
}
],
"pagination": {
"total": 1,
"page": 1,
"limit": 10,
"totalPages": 1,
"hasNextPage": false,
"hasPrevPage": false
}
}
}
Video Agents
Get Video Agents
List your video agents with pagination and search.
GET
/
api
/
video-agents
curl --location 'https://api.weya.live/backend/api/video-agents?page=1&limit=10&search=sales' \
--header 'x-api-key: YOUR_API_KEY'
{
"status": true,
"code": 200,
"message": "Fetched successfully",
"errorMessage": null,
"data": {
"agents": [
{
"_id": "6891a23bc456def789123456",
"agent_name": "Sales Video Agent",
"enable_input_video": false,
"createdAt": "2026-07-21T09:15:00.000Z",
"updatedAt": "2026-07-21T09:15:00.000Z"
}
],
"pagination": {
"total": 1,
"page": 1,
"limit": 10,
"totalPages": 1,
"hasNextPage": false,
"hasPrevPage": false
}
}
}
Overview
List the video agents created by the user who owns the API key, with summary fields. Use Get Video Agent By ID for an agent’s full configuration.Prerequisites
- An API key for your workspace
Request
curl --location 'https://api.weya.live/backend/api/video-agents?page=1&limit=10&search=sales' \
--header 'x-api-key: YOUR_API_KEY'
Response
{
"status": true,
"code": 200,
"message": "Fetched successfully",
"errorMessage": null,
"data": {
"agents": [
{
"_id": "6891a23bc456def789123456",
"agent_name": "Sales Video Agent",
"enable_input_video": false,
"createdAt": "2026-07-21T09:15:00.000Z",
"updatedAt": "2026-07-21T09:15:00.000Z"
}
],
"pagination": {
"total": 1,
"page": 1,
"limit": 10,
"totalPages": 1,
"hasNextPage": false,
"hasPrevPage": false
}
}
}
The video agents on this page:
_id, agent_name, enable_input_video, createdAt and updatedAt.Error Handling
- 401 Unauthorized – Missing or invalid 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.
Was this page helpful?

