List Projects
curl --request GET \
--url https://api.example.com/api/v1/projects/import requests
url = "https://api.example.com/api/v1/projects/"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/v1/projects/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/projects/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/projects/"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/v1/projects/")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/projects/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"id": "proj-1",
"name": "SaaS Platform",
"slug": "saas-platform",
"description": "Plataforma SaaS principal",
"repo_url": "https://github.com/acme/saas",
"is_active": true,
"environments": [
{
"id": "env-1",
"name": "development",
"environment": "development",
"git_branch": "develop",
"env_var_count": 2,
"cli_profiles": [
{"tool": "gh", "account": "dev-personal", "status": "connected"},
{"tool": "aws", "account": "acme-dev", "region": "us-east-1", "status": "connected"}
]
}
],
"skills": [
{"id": "sk-1", "name": "Context Injection", "category": "context-injection", "is_enabled": true}
],
"switch_count": 5,
"last_switch": "2026-04-04T05:15:29",
"created_at": "2026-04-04T07:15:29"
}
]
Projects
List Projects
Listar todos los proyectos activos del usuario.
GET
/
api
/
v1
/
projects
/
List Projects
curl --request GET \
--url https://api.example.com/api/v1/projects/import requests
url = "https://api.example.com/api/v1/projects/"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/v1/projects/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/projects/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/projects/"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/v1/projects/")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/projects/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"id": "proj-1",
"name": "SaaS Platform",
"slug": "saas-platform",
"description": "Plataforma SaaS principal",
"repo_url": "https://github.com/acme/saas",
"is_active": true,
"environments": [
{
"id": "env-1",
"name": "development",
"environment": "development",
"git_branch": "develop",
"env_var_count": 2,
"cli_profiles": [
{"tool": "gh", "account": "dev-personal", "status": "connected"},
{"tool": "aws", "account": "acme-dev", "region": "us-east-1", "status": "connected"}
]
}
],
"skills": [
{"id": "sk-1", "name": "Context Injection", "category": "context-injection", "is_enabled": true}
],
"switch_count": 5,
"last_switch": "2026-04-04T05:15:29",
"created_at": "2026-04-04T07:15:29"
}
]
[
{
"id": "proj-1",
"name": "SaaS Platform",
"slug": "saas-platform",
"description": "Plataforma SaaS principal",
"repo_url": "https://github.com/acme/saas",
"is_active": true,
"environments": [
{
"id": "env-1",
"name": "development",
"environment": "development",
"git_branch": "develop",
"env_var_count": 2,
"cli_profiles": [
{"tool": "gh", "account": "dev-personal", "status": "connected"},
{"tool": "aws", "account": "acme-dev", "region": "us-east-1", "status": "connected"}
]
}
],
"skills": [
{"id": "sk-1", "name": "Context Injection", "category": "context-injection", "is_enabled": true}
],
"switch_count": 5,
"last_switch": "2026-04-04T05:15:29",
"created_at": "2026-04-04T07:15:29"
}
]
⌘I

