curl --request GET \
--url https://api.quiva.ai/hub/coworker/env \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.quiva.ai/hub/coworker/env"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.quiva.ai/hub/coworker/env', 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.quiva.ai/hub/coworker/env",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.quiva.ai/hub/coworker/env"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.quiva.ai/hub/coworker/env")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.quiva.ai/hub/coworker/env")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"scope": "organisation",
"vars": [
{
"key": "<string>",
"value": "<string>",
"secret": true,
"description": "<string>",
"server": "<string>",
"consumers": [
"mcp"
],
"updated_at": "2023-11-07T05:31:56Z",
"updated_by": "<string>"
}
],
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}List declared environment variables
Reads are not role-gated at either scope: no value returned here is a credential — a literal is config by construction, and a SECRET::<name>:: reference is an opaque handle that resolves only against the caller’s own secrets bucket.
Values are returned exactly as stored: never resolved (no endpoint anywhere turns a reference into plaintext for a browser) and never redacted (the UI PUTs the row straight back on an unrelated edit, so a mask would be saved as a literal and destroy the reference).
A failed read answers 502, never an empty list — an empty list is a claim the UI cannot un-show. Subject: microstrate.hub.get.coworker-env.
curl --request GET \
--url https://api.quiva.ai/hub/coworker/env \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.quiva.ai/hub/coworker/env"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.quiva.ai/hub/coworker/env', 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.quiva.ai/hub/coworker/env",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.quiva.ai/hub/coworker/env"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.quiva.ai/hub/coworker/env")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.quiva.ai/hub/coworker/env")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"scope": "organisation",
"vars": [
{
"key": "<string>",
"value": "<string>",
"secret": true,
"description": "<string>",
"server": "<string>",
"consumers": [
"mcp"
],
"updated_at": "2023-11-07T05:31:56Z",
"updated_by": "<string>"
}
],
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Query Parameters
user addresses the caller's personal manifest; anything else — including an unrecognised value — resolves to organisation. A user request from a token that carries no user identity is a 400, never widened to the organisation. Forwarded as x-param-query-scope.
organisation, user