Microservices
List organization microservices
Returns a paginated list of microservices visible to the target organization (own or delegated according to caller’s permissions), enriched with its enablement status and associated configuration when present. Enablement resolution is strictly performed with the organization_id sent in the path.
GET
/
v1
/
organizations
/
{organization_id}
/
microservices
List organization microservices
curl --request GET \
--url https://api.flexxible.net/v1/organizations/{organization_id}/microservices \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.flexxible.net/v1/organizations/{organization_id}/microservices"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.flexxible.net/v1/organizations/{organization_id}/microservices', 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.flexxible.net/v1/organizations/{organization_id}/microservices",
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.flexxible.net/v1/organizations/{organization_id}/microservices"
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.flexxible.net/v1/organizations/{organization_id}/microservices")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.flexxible.net/v1/organizations/{organization_id}/microservices")
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{
"has_next": false,
"data": [
{
"id": "65f0d9f2b3c4d5e6f7080911",
"organization_id": "507f1f77bcf86cd799439011",
"name": "Antivirus Scan",
"description": "Escaneo programado de antivirus",
"category": "security",
"created_at": "2026-05-15T10:00:00Z",
"archived_at": null,
"type": "standard",
"context": "organization",
"is_ai_enhanced": false,
"enabled": true,
"enabled_configuration": {
"enabled_at": "2026-05-15T10:30:00Z",
"efficiency": 95,
"workspace_group_execution": "l1",
"individual_execution": "l3",
"end_user_execution_workspace_group_ids": [
"65f0d9f2b3c4d5e6f7080931",
"65f0d9f2b3c4d5e6f7080932"
]
}
},
{
"id": "65f0d9f2b3c4d5e6f7080912",
"organization_id": "507f1f77bcf86cd799439011",
"name": "Patch Baseline",
"description": "Control de parches pendientes",
"category": "maintenance",
"created_at": "2026-05-16T12:00:00Z",
"archived_at": null,
"type": "standard",
"context": "organization",
"is_ai_enhanced": true,
"enabled": false,
"enabled_configuration": null
}
]
}{
"error": {
"message": "Formato de filtros inválido",
"code": "bad_request",
"details": "El parámetro filters debe ser una cadena JSON válida."
}
}{
"error": {
"message": "No autorizado",
"code": "unauthorized"
}
}{
"error": {
"message": "No encontrado",
"code": "not_found"
}
}{
"error": {
"message": "Error interno del servidor",
"code": "internal_error"
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Language to resolve the multilingual fields of the response to a single value per field.
Maximum string length:
10Path Parameters
Identifier of the target organization querying the catalog; enablement is verified against this same identifier.
Required string length:
24Pattern:
^[0-9a-f]{24}$Query Parameters
Page number.
Required range:
x >= 1Number of items per page.
Required range:
1 <= x <= 100Response fields to be included, separated by commas.
Maximum string length:
2048JSON expression of filters on filterable resource fields.
Maximum string length:
5120⌘I
List organization microservices
curl --request GET \
--url https://api.flexxible.net/v1/organizations/{organization_id}/microservices \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.flexxible.net/v1/organizations/{organization_id}/microservices"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.flexxible.net/v1/organizations/{organization_id}/microservices', 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.flexxible.net/v1/organizations/{organization_id}/microservices",
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.flexxible.net/v1/organizations/{organization_id}/microservices"
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.flexxible.net/v1/organizations/{organization_id}/microservices")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.flexxible.net/v1/organizations/{organization_id}/microservices")
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{
"has_next": false,
"data": [
{
"id": "65f0d9f2b3c4d5e6f7080911",
"organization_id": "507f1f77bcf86cd799439011",
"name": "Antivirus Scan",
"description": "Escaneo programado de antivirus",
"category": "security",
"created_at": "2026-05-15T10:00:00Z",
"archived_at": null,
"type": "standard",
"context": "organization",
"is_ai_enhanced": false,
"enabled": true,
"enabled_configuration": {
"enabled_at": "2026-05-15T10:30:00Z",
"efficiency": 95,
"workspace_group_execution": "l1",
"individual_execution": "l3",
"end_user_execution_workspace_group_ids": [
"65f0d9f2b3c4d5e6f7080931",
"65f0d9f2b3c4d5e6f7080932"
]
}
},
{
"id": "65f0d9f2b3c4d5e6f7080912",
"organization_id": "507f1f77bcf86cd799439011",
"name": "Patch Baseline",
"description": "Control de parches pendientes",
"category": "maintenance",
"created_at": "2026-05-16T12:00:00Z",
"archived_at": null,
"type": "standard",
"context": "organization",
"is_ai_enhanced": true,
"enabled": false,
"enabled_configuration": null
}
]
}{
"error": {
"message": "Formato de filtros inválido",
"code": "bad_request",
"details": "El parámetro filters debe ser una cadena JSON válida."
}
}{
"error": {
"message": "No autorizado",
"code": "unauthorized"
}
}{
"error": {
"message": "No encontrado",
"code": "not_found"
}
}{
"error": {
"message": "Error interno del servidor",
"code": "internal_error"
}
}