Fetch Deployments - API
This API lets you fetch all of your Deployments.
HTTP method and endpoint
GET
|
https://api.videosdk.live/ai/v1/ai-deploymentsHeaders Parameters
REQUIRED
values : YOUR_TOKEN_WITHOUT_ANY_PREFIX
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-deployments
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-deployments?page=1&perPage=10`;
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
RESPONSE
{
  "data": [
    {
      "id": "64fff228-fd76-463f-86eb-99b7c08b268e",
      "name": "name-ai-deployment",
      "tag": "verson-1.0",
      "description": "Description of the deployment",
      "status": "available",
      "created_at": "2025-06-06T13:50:08.553Z"
    }
  ],
  "pageInfo": {
    "totalItems": 3,
    "currentPage": 1,
    "perPage": 1,
    "total": 3
  }
}
Got a Question? Ask us on discord