List effective product readiness
curl --request GET \
--url https://api.matrices.com/v1/agents/{agentId}/accounts \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.matrices.com/v1/agents/{agentId}/accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.matrices.com/v1/agents/{agentId}/accounts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.matrices.com/v1/agents/{agentId}/accounts"
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))
}{
"items": [
{
"connectable": true,
"name": "<string>",
"namespace": "<string>",
"source": "managed",
"state": "ready",
"accessPreset": "default",
"connection": {
"connectionId": "<string>",
"kind": "token",
"name": "<string>",
"ownerType": "workspace",
"status": "ready",
"namespace": "<string>",
"products": [
{
"namespace": "<string>",
"presets": [
"default"
]
}
],
"provider": "google",
"remoteAccount": "<string>",
"remoteResource": {
"id": "<string>",
"kind": "workspace",
"name": "<string>"
},
"remoteSubject": "<string>",
"remoteTenant": "<string>"
}
}
]
}{
"error": "<string>",
"message": "<string>",
"attemptsRemaining": 123,
"code": "<string>",
"retryAfterSeconds": 123
}{
"error": "<string>",
"message": "<string>",
"attemptsRemaining": 123,
"code": "<string>",
"retryAfterSeconds": 123
}{
"error": "<string>",
"message": "<string>",
"attemptsRemaining": 123,
"code": "<string>",
"retryAfterSeconds": 123
}Agents
List effective product readiness
GET
/
v1
/
agents
/
{agentId}
/
accounts
List effective product readiness
curl --request GET \
--url https://api.matrices.com/v1/agents/{agentId}/accounts \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.matrices.com/v1/agents/{agentId}/accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.matrices.com/v1/agents/{agentId}/accounts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.matrices.com/v1/agents/{agentId}/accounts"
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))
}{
"items": [
{
"connectable": true,
"name": "<string>",
"namespace": "<string>",
"source": "managed",
"state": "ready",
"accessPreset": "default",
"connection": {
"connectionId": "<string>",
"kind": "token",
"name": "<string>",
"ownerType": "workspace",
"status": "ready",
"namespace": "<string>",
"products": [
{
"namespace": "<string>",
"presets": [
"default"
]
}
],
"provider": "google",
"remoteAccount": "<string>",
"remoteResource": {
"id": "<string>",
"kind": "workspace",
"name": "<string>"
},
"remoteSubject": "<string>",
"remoteTenant": "<string>"
}
}
]
}{
"error": "<string>",
"message": "<string>",
"attemptsRemaining": 123,
"code": "<string>",
"retryAfterSeconds": 123
}{
"error": "<string>",
"message": "<string>",
"attemptsRemaining": 123,
"code": "<string>",
"retryAfterSeconds": 123
}{
"error": "<string>",
"message": "<string>",
"attemptsRemaining": 123,
"code": "<string>",
"retryAfterSeconds": 123
}