Services
Get a service
Section titled “Get a service”GET /v1/services/{id} · scope services:read
A 404 here means both “does not exist” and “exists but this credential cannot see it”. That is deliberate: a 403 would confirm the service’s existence and turn the API into an enumeration oracle.
curl https://api.truo.cloud/v1/services/svc_10432 \ -H "Authorization: Bearer $TRUO_TOKEN"truo services get svc_10432await truo.services.get("svc_10432");truo_services({ "action": "get", "id": "svc_10432"})operationId: services.get
List the services in the account
Section titled “List the services in the account”GET /v1/services · scope services:read
Returns only the services this credential can see: the key’s allowlist and the owning user’s per-service permissions both apply. It is the entry point for obtaining the service_id values used by every other resource.
curl https://api.truo.cloud/v1/services \ -H "Authorization: Bearer $TRUO_TOKEN"truo services listawait truo.services.list();truo_services({ "action": "list"})operationId: services.list