Fetch AI Workers - API
This API lets you fetch all of your AI Workers.
HTTP method and endpoint
GET
|
https://api.videosdk.live/ai/v1/ai-workersHeaders Parameters
REQUIRED
values : YOURTOKENWITHOUTANYPREFIX
This will be a JWT token generate using VideoSDK ApiKey and Secret.
Note that the token will not include any prefix such as "Basic " or "Bearer ". Just pass a token as value.
You can generate a new token by refering this Guide: Generate Auth token
GET
|
https://api.videosdk.live/ai/v1/ai-workers
NodeJS
import fetch from 'node-fetch';
const options = {
method: "GET",
headers: {
"Authorization": "$YOUR_TOKEN",
"Content-Type": "application/json",
},
};
const url= `https://api.videosdk.live/ai/v1/ai-workers?page=undefined&perPage=undefined`;
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
RESPONSE
{
"data": [
{
"id": "64fff228-fd76-463f-86eb-99b7c08b268e",
"deploymentId": "43d89ab1-39c4-4ea3-b5f4-e62d275ec1fd",
"name": "name-ai-worker",
"description": "Description of the AI Worker",
"status": "available",
"created_at": "2025-06-06T13:50:08.553Z",
"updated_at": "2025-06-06T13:50:08.553Z"
}
],
"pageInfo": {
"totalItems": 3,
"currentPage": 1,
"perPage": 1,
"total": 3
}
}
Got a Question? Ask us on discord