VSOnline
visualstudio · Developer Tools
Public APIs for managing VS Codespaces
Authentication
No authentication requiredFree to use with no key needed.
Sample Requests
GET
GET /tunnelauth
https://api.apis.guru/v2/specs/visualstudio.com/v1/tunnelauth?id=1&pb=example&name=test&port=1&cluster=example
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/visualstudio.com/v1/tunnelauth?id=1&pb=example&name=test&port=1&cluster=example"
import requests
params = {
"id": "1",
"pb": "example",
"name": "test",
"port": "1",
"cluster": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/visualstudio.com/v1/tunnelauth",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/visualstudio.com/v1/tunnelauth');
url.searchParams.set('id', '1');
url.searchParams.set('pb', 'example');
url.searchParams.set('name', 'test');
url.searchParams.set('port', '1');
url.searchParams.set('cluster', 'example');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/visualstudio.com/v1/tunnelauth")
q := baseURL.Query()
q.Set("id", "1")
q.Set("pb", "example")
q.Set("name", "test")
q.Set("port", "1")
q.Set("cluster", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/visualstudio.com/v1/tunnelauth")
uri.query = URI.encode_www_form({
"id" => "1",
"pb" => "example",
"name" => "test",
"port" => "1",
"cluster" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/visualstudio.com/v1/tunnelauth?" . http_build_query([
"id" => "1",
"pb" => "example",
"name" => "test",
"port" => "1",
"cluster" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET
GET /health
https://api.apis.guru/v2/specs/visualstudio.com/v1/health
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/visualstudio.com/v1/health"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/visualstudio.com/v1/health",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/visualstudio.com/v1/health'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/visualstudio.com/v1/health"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/visualstudio.com/v1/health")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/visualstudio.com/v1/health";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET
GET /warmup
https://api.apis.guru/v2/specs/visualstudio.com/v1/warmup
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/visualstudio.com/v1/warmup"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/visualstudio.com/v1/warmup",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/visualstudio.com/v1/warmup'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/visualstudio.com/v1/warmup"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/visualstudio.com/v1/warmup")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/visualstudio.com/v1/warmup";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with VSOnline?
VSOnline is a Developer Tools API. Developers commonly use developer tools APIs for:
- automating code review and quality checks
- integrating CI/CD pipelines and build systems
- managing feature flags and A/B tests
- monitoring errors and application performance
- generating and validating test data
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. VSOnline is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide