Retrieves a paginated list of registered sub-tenants for the tenant. Accepts both public and secret keys.
GET
/
v1
/
gateway
/
sub-tenants
JavaScript
import Triglit from 'triglit';
const client = new Triglit({
apiKey: 'My API Key',
});
// Automatically fetches more pages as needed.
for await (const subTenant of client.subTenants.list()) {
console.log(subTenant.id);
}
Chave de API do tenant (publishable key ou secret key)
Headers
X-API-Key
string
required
Chave de API do tenant (publishable key ou secret key)
Query Parameters
pageSize
number
Number of sub-tenants per page
Example:
20
page
number
Page number (zero-based)
Example:
0
Response
List of registered sub-tenants
data
object[]
required
List of registered sub-tenants
Show child attributes
page
number
required
Current page number (zero-based)
Example:
0
lastPage
number
required
Last page number available (zero-based)
Example:
2
Was this page helpful?
⌘I
JavaScript
import Triglit from 'triglit';
const client = new Triglit({
apiKey: 'My API Key',
});
// Automatically fetches more pages as needed.
for await (const subTenant of client.subTenants.list()) {
console.log(subTenant.id);
}
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Triglit","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/link-6698b820/S7xnxc7dpr66xedq/logo/light.png?fit=max\u0026auto=format\u0026n=S7xnxc7dpr66xedq\u0026q=85\u0026s=b372f772171ff2d132f4167de7594b3b","dark":"https://mintcdn.com/link-6698b820/S7xnxc7dpr66xedq/logo/dark.png?fit=max\u0026auto=format\u0026n=S7xnxc7dpr66xedq\u0026q=85\u0026s=9028ef28c87a2536969e992847c04daf"},"favicon":"/logo/icon.png","api":{"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml"},"navbar":{"links":[{"label":"Suporte","href":"mailto:suporte@triglit.com"}],"primary":{"type":"button","label":"Dashboard","href":"https://triglit.com/apps"}},"footer":{"socials":{"github":"https://github.com/triglit"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"]},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"link-6698b820","hasAudioNarration":false,"actualSubdomain":"link-6698b820","customDomains":["docs.triglit.com"],"gitSource":{"type":"github","owner":"gepetojj","repo":"triglit","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ae941bf8e17361c5bf9beb6:success","clientVersion":"0.0.4342","searchFilterCounts":[{"language":"default","tag":"Referência da API","count":35},{"language":"default","tag":"SDKs","count":18},{"language":"default","tag":"Documentação","count":14},{"language":"default","tag":"Triggers","count":10},{"language":"default","tag":"React SDK","count":9},{"language":"default","tag":"TypeScript SDK","count":8},{"language":"default","tag":"Workflows","count":8},{"language":"default","tag":"Sub-Tenants","count":7},{"language":"default","tag":"Conceitos","count":6},{"language":"default","tag":"Workflow Versions","count":6}]},"assistantConfig":{"enableAskAiButton":true,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[]}
{"page":{"pagePath":"api-reference/sub-tenants/list-registered-sub-tenants","slug":"/api-reference/sub-tenants/list-registered-sub-tenants","pageMetadata":{"title":"List registered sub-tenants","description":"Retrieves a paginated list of registered sub-tenants for the tenant. Accepts both public and secret keys.","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml get /v1/gateway/sub-tenants","href":"/api-reference/sub-tenants/list-registered-sub-tenants","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Retrieves a paginated list of registered sub-tenants for the tenant. Accepts both public and secret keys.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"List registered sub-tenants","description":"Retrieves a paginated list of registered sub-tenants for the tenant. Accepts both public and secret keys.","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml get /v1/gateway/sub-tenants","href":"/api-reference/sub-tenants/list-registered-sub-tenants","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Retrieves a paginated list of registered sub-tenants for the tenant. Accepts both public and secret keys.","operationId":"publicsubtenants_listSubTenants_v1","parameters":["8354f0bc-1d11-4f29-a6a5-6a370439b018","fab51acd-151b-4c85-b04e-98bbb6a1f029","27bda732-c992-4dff-9934-9972e7f87f99"],"responses":{"200":"a7003e96-ef7f-4aa4-83d1-ee20b3857277","401":"4cbef79b-449f-48f9-b6f8-5ca8bb1760a4","403":"6a5e9e71-30c4-4b94-94bc-30dc42dc14b0"},"security":["0a136a36-9425-4a02-9e43-0c0079d48ee0"],"summary":"List registered sub-tenants","tags":["Sub-Tenants"],"x-codeSamples":[{"lang":"JavaScript","source":"import Triglit from 'triglit';\n\nconst client = new Triglit({\n apiKey: 'My API Key',\n});\n\n// Automatically fetches more pages as needed.\nfor await (const subTenant of client.subTenants.list()) {\n console.log(subTenant.id);\n}"}],"method":"get","type":"path","servers":[],"path":"/v1/gateway/sub-tenants","baseUrlOptions":[],"title":"List registered sub-tenants","codeSamples":[{"lang":"JavaScript","source":"import Triglit from 'triglit';\n\nconst client = new Triglit({\n apiKey: 'My API Key',\n});\n\n// Automatically fetches more pages as needed.\nfor await (const subTenant of client.subTenants.list()) {\n console.log(subTenant.id);\n}"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"8354f0bc-1d11-4f29-a6a5-6a370439b018":{"name":"pageSize","required":false,"in":"query","description":"Number of sub-tenants per page","schema":{"example":20,"type":"number","isRequired":false,"description":"Number of sub-tenants per page","uniqueKey":"","typeLabel":"number"}},"fab51acd-151b-4c85-b04e-98bbb6a1f029":{"name":"page","required":false,"in":"query","description":"Page number (zero-based)","schema":{"example":0,"type":"number","isRequired":false,"description":"Page number (zero-based)","uniqueKey":"","typeLabel":"number"}},"27bda732-c992-4dff-9934-9972e7f87f99":{"name":"X-API-Key","in":"header","description":"Chave de API do tenant (publishable key ou secret key)","required":true,"schema":{"type":"string","isRequired":true,"description":"Chave de API do tenant (publishable key ou secret key)","uniqueKey":"","typeLabel":"string"}}},"responses":{"a7003e96-ef7f-4aa4-83d1-ee20b3857277":{"description":"List of registered sub-tenants","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"description":"List of registered sub-tenants","type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique registration identifier","example":"st_abc123def456","isRequired":true,"uniqueKey":"data.items.[INDEX].id","typeLabel":"string"},"tenantId":{"type":"string","description":"Tenant identifier","example":"tenant_123","isRequired":true,"uniqueKey":"data.items.[INDEX].tenantId","typeLabel":"string"},"subTenantId":{"type":"string","description":"The actual sub-tenant identifier used in workflows/runs/metrics","example":"production","isRequired":true,"uniqueKey":"data.items.[INDEX].subTenantId","typeLabel":"string"},"name":{"type":"string","description":"Display name for the sub-tenant","example":"Production Environment","isRequired":true,"uniqueKey":"data.items.[INDEX].name","typeLabel":"string"},"isRegistered":{"type":"boolean","description":"Whether this sub-tenant is registered (always true for this DTO)","example":true,"isRequired":true,"uniqueKey":"data.items.[INDEX].isRegistered","typeLabel":"boolean"},"createdAt":{"type":"string","description":"Creation timestamp","example":"2024-01-15T10:30:00.000Z","isRequired":true,"uniqueKey":"data.items.[INDEX].createdAt","typeLabel":"string"},"updatedAt":{"type":"string","description":"Last update timestamp","example":"2024-01-15T10:30:00.000Z","isRequired":true,"uniqueKey":"data.items.[INDEX].updatedAt","typeLabel":"string"},"description":{"type":"string","description":"Optional description","example":"Main production environment for customer workflows","uniqueKey":"data.items.[INDEX].description","typeLabel":"string"}},"required":["id","tenantId","subTenantId","name","isRegistered","createdAt","updatedAt"],"uniqueKey":"data.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data","typeLabel":"object[]"},"page":{"type":"number","description":"Current page number (zero-based)","example":0,"isRequired":true,"uniqueKey":"page","typeLabel":"number"},"lastPage":{"type":"number","description":"Last page number available (zero-based)","example":2,"isRequired":true,"uniqueKey":"lastPage","typeLabel":"number"}},"required":["data","page","lastPage"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":[{"id":"st_abc123def456","tenantId":"tenant_123","subTenantId":"production","name":"Production Environment","isRegistered":true,"createdAt":"2024-01-15T10:30:00.000Z","updatedAt":"2024-01-15T10:30:00.000Z","description":"Main production environment for customer workflows"}],"page":0,"lastPage":2}}},"exampleType":"generated"}},"exampleType":"generated"},"4cbef79b-449f-48f9-b6f8-5ca8bb1760a4":{"description":"API key não fornecida, inválida ou não encontrada.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"6a5e9e71-30c4-4b94-94bc-30dc42dc14b0":{"description":"Tipo de chave não permitido para este endpoint.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"0a136a36-9425-4a02-9e43-0c0079d48ee0":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Chave de API do tenant (publishable key ou secret key)","scopes":[]}}},"servers":{},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Chave de API do tenant (publishable key ou secret key)","scopes":[]},"schema":{"title":"X-API-Key","type":"string","description":"Chave de API do tenant (publishable key ou secret key)","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-API-Key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml"},"subdomain":"link-6698b820","siteName":"Triglit","title":"List registered sub-tenants - Triglit","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T14:48:10.731Z","originalFileLocation":"api-reference/sub-tenants/list-registered-sub-tenants.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Retrieves a paginated list of registered sub-tenants for the tenant. Accepts both public and secret keys.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Triglit\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/link-6698b820/_ug_oC0qNED_p6IO/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/link-6698b820/_ug_oC0qNED_p6IO/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/link-6698b820/_ug_oC0qNED_p6IO/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/link-6698b820/_ug_oC0qNED_p6IO/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/link-6698b820/_ug_oC0qNED_p6IO/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/link-6698b820/_ug_oC0qNED_p6IO/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/link-6698b820/_ug_oC0qNED_p6IO/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/link-6698b820/_ug_oC0qNED_p6IO/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/link-6698b820/_ug_oC0qNED_p6IO/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"List registered sub-tenants - Triglit\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieves a paginated list of registered sub-tenants for the tenant. Accepts both public and secret keys.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Triglit\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.triglit.com/api-reference/sub-tenants/list-registered-sub-tenants\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://link-6698b820.mintlify.site/_mintlify/api/og/v2?division=Sub-Tenants\u0026amp;title=List+registered+sub-tenants\u0026amp;description=Retrieves+a+paginated+list+of+registered+sub-tenants+for+the+tenant.+Accepts+both+public+and+secret+keys.\u0026amp;theme=2c7dd60891e746dbba789b5a\u0026amp;signature=d90f2bd69055b4eb7c5f03cd11f6e164834a8d4e325b2758d67a6a1ff58afd90\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"List registered sub-tenants - Triglit\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieves a paginated list of registered sub-tenants for the tenant. Accepts both public and secret keys.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://link-6698b820.mintlify.site/_mintlify/api/og/v2?division=Sub-Tenants\u0026amp;title=List+registered+sub-tenants\u0026amp;description=Retrieves+a+paginated+list+of+registered+sub-tenants+for+the+tenant.+Accepts+both+public+and+secret+keys.\u0026amp;theme=2c7dd60891e746dbba789b5a\u0026amp;signature=d90f2bd69055b4eb7c5f03cd11f6e164834a8d4e325b2758d67a6a1ff58afd90\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/link-6698b820/_ug_oC0qNED_p6IO/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Triglit\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.triglit.com/api-reference/sub-tenants/list-registered-sub-tenants\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/sub-tenants/list-registered-sub-tenants.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.triglit.com/#organization\",\"name\":\"Triglit\",\"url\":\"https://docs.triglit.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/link-6698b820/S7xnxc7dpr66xedq/logo/light.png?fit=max\u0026auto=format\u0026n=S7xnxc7dpr66xedq\u0026q=85\u0026s=b372f772171ff2d132f4167de7594b3b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.triglit.com#website\",\"name\":\"Triglit\",\"url\":\"https://docs.triglit.com\",\"publisher\":{\"@id\":\"https://docs.triglit.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.triglit.com/api-reference/sub-tenants/list-registered-sub-tenants#webpage\",\"url\":\"https://docs.triglit.com/api-reference/sub-tenants/list-registered-sub-tenants\",\"name\":\"List registered sub-tenants\",\"description\":\"Retrieves a paginated list of registered sub-tenants for the tenant. Accepts both public and secret keys.\",\"dateModified\":\"2026-01-07T14:48:10.731Z\",\"isPartOf\":{\"@id\":\"https://docs.triglit.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.triglit.com/api-reference/sub-tenants/list-registered-sub-tenants#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.triglit.com/api-reference/sub-tenants/list-registered-sub-tenants#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Triglit\",\"item\":\"https://docs.triglit.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List registered sub-tenants\",\"item\":\"https://docs.triglit.com/api-reference/sub-tenants/list-registered-sub-tenants\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.triglit.com/api-reference/sub-tenants/list-registered-sub-tenants#apireference\",\"headline\":\"List registered sub-tenants\",\"name\":\"List registered sub-tenants\",\"description\":\"Retrieves a paginated list of registered sub-tenants for the tenant. Accepts both public and secret keys.\",\"url\":\"https://docs.triglit.com/api-reference/sub-tenants/list-registered-sub-tenants\",\"mainEntityOfPage\":{\"@id\":\"https://docs.triglit.com/api-reference/sub-tenants/list-registered-sub-tenants#webpage\"},\"dateModified\":\"2026-01-07T14:48:10.731Z\",\"publisher\":{\"@id\":\"https://docs.triglit.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.triglit.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Triglit\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Triglit\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/sub-tenants/list-registered-sub-tenants.md","siteName":"Triglit","nav":{"global":null,"tabs":[{"tab":"Documentação","pages":[{"title":"Documentação","href":""}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks"}]},{"tab":"Referência da API","groups":[{"group":"Visão Geral","pages":[{"title":"Introdução à API","href":"/api-reference/introduction"},{"title":"Autenticação na API","href":"/api-reference/authentication"},{"title":"Node Registry","href":"/api-reference/node-registry"}]},{"group":"Triggers","pages":[{"title":"List triggers","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml get /v1/gateway/triggers","href":"/api-reference/triggers/list-triggers"},{"title":"Create a new trigger","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml post /v1/gateway/triggers","href":"/api-reference/triggers/create-a-new-trigger"},{"title":"List triggers by workflow version","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml get /v1/gateway/triggers/workflow-version/{workflowVersionId}","href":"/api-reference/triggers/list-triggers-by-workflow-version"},{"title":"Get trigger by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml get /v1/gateway/triggers/{triggerId}","href":"/api-reference/triggers/get-trigger-by-id"},{"title":"Delete trigger","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml delete /v1/gateway/triggers/{triggerId}","href":"/api-reference/triggers/delete-trigger"},{"title":"Update trigger","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml patch /v1/gateway/triggers/{triggerId}","href":"/api-reference/triggers/update-trigger"},{"title":"Trigger webhook triggers by event","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml post /v1/gateway/triggers/webhook/by-event","href":"/api-reference/triggers/trigger-webhook-triggers-by-event"},{"title":"Ingest event intelligently","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml post /v1/gateway/triggers/ingest","href":"/api-reference/triggers/ingest-event-intelligently"},{"title":"Trigger webhook","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml post /v1/gateway/triggers/{triggerId}/webhook","href":"/api-reference/triggers/trigger-webhook"},{"title":"Resume workflow execution","description":"Resumes a paused workflow execution with input data. Requires secret key authentication.","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml post /v1/gateway/triggers/resume","href":"/api-reference/triggers/resume-workflow-execution"}]},{"group":"Sub-Tenants","pages":[{"title":"List registered sub-tenants","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml get /v1/gateway/sub-tenants","href":"/api-reference/sub-tenants/list-registered-sub-tenants"},{"title":"Create a registered sub-tenant","description":"Creates a new registered sub-tenant with a name and optional description. The sub-tenant ID can be provided or will be auto-generated. Requires secret key authentication.","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml post /v1/gateway/sub-tenants","href":"/api-reference/sub-tenants/create-a-registered-sub-tenant"},{"title":"List all sub-tenants (registered and arbitrary)","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml get /v1/gateway/sub-tenants/combined","href":"/api-reference/sub-tenants/list-all-sub-tenants-registered-and-arbitrary"},{"title":"Get registration by sub-tenant ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml get /v1/gateway/sub-tenants/by-id/{subTenantId}","href":"/api-reference/sub-tenants/get-registration-by-sub-tenant-id"},{"title":"Get a registered sub-tenant","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml get /v1/gateway/sub-tenants/{id}","href":"/api-reference/sub-tenants/get-a-registered-sub-tenant"},{"title":"Delete a sub-tenant registration","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml delete /v1/gateway/sub-tenants/{id}","href":"/api-reference/sub-tenants/delete-a-sub-tenant-registration"},{"title":"Update a registered sub-tenant","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml patch /v1/gateway/sub-tenants/{id}","href":"/api-reference/sub-tenants/update-a-registered-sub-tenant"}]},{"group":"Workflows","pages":[{"title":"List workflows","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml get /v1/gateway/workflows","href":"/api-reference/workflows/list-workflows"},{"title":"Create a new workflow","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml post /v1/gateway/workflows","href":"/api-reference/workflows/create-a-new-workflow"},{"title":"Get workflow by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml get /v1/gateway/workflows/{workflowId}","href":"/api-reference/workflows/get-workflow-by-id"},{"title":"Delete workflow","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml delete /v1/gateway/workflows/{workflowId}","href":"/api-reference/workflows/delete-workflow"},{"title":"Update workflow","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml patch /v1/gateway/workflows/{workflowId}","href":"/api-reference/workflows/update-workflow"},{"title":"Toggle workflow status","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml patch /v1/gateway/workflows/{workflowId}/toggle-status","href":"/api-reference/workflows/toggle-workflow-status"},{"title":"List workflow versions","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml get /v1/gateway/workflows/{workflowId}/versions","href":"/api-reference/workflows/list-workflow-versions"},{"title":"Get workflow version by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml get /v1/gateway/workflows/versions/{versionId}","href":"/api-reference/workflows/get-workflow-version-by-id"}]},{"group":"Workflow Versions","pages":[{"title":"List workflow versions","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml get /v1/gateway/workflow-versions","href":"/api-reference/workflow-versions/list-workflow-versions"},{"title":"Create a new workflow version","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml post /v1/gateway/workflow-versions","href":"/api-reference/workflow-versions/create-a-new-workflow-version"},{"title":"Get workflow version by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml get /v1/gateway/workflow-versions/{versionId}","href":"/api-reference/workflow-versions/get-workflow-version-by-id"},{"title":"Delete workflow version","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml delete /v1/gateway/workflow-versions/{versionId}","href":"/api-reference/workflow-versions/delete-workflow-version"},{"title":"Update workflow version","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml patch /v1/gateway/workflow-versions/{versionId}","href":"/api-reference/workflow-versions/update-workflow-version"},{"title":"Publish workflow version","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml post /v1/gateway/workflow-versions/{versionId}/publish","href":"/api-reference/workflow-versions/publish-workflow-version"}]},{"group":"Custom Nodes","pages":[{"title":"Get node registry","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/triglit/openapi.documented.yml get /v1/gateway/custom-nodes/registry","href":"/api-reference/custom-nodes/get-node-registry"}]}]}]},"basePath":"","title":"List registered sub-tenants - Triglit","deploymentId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","buildId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CyAr6xD1.js","snippetPresets-BSqedH3o.js","utils-DXfQSZU_.js","style-to-object-BY3JEAdk.js","utils-DiMyLQC-.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-DvPCxzT8.js","conditional-requirements-CFM0id0Q.js","cloneDeep-dx7iM-7h.js","_Uint8Array-DpQIK2Aw.js","isObject-FP1Yky1u.js","Page-wigwbDGe.js","api-description-markdown-DHZIfeWZ.js","DynamicMarkdown-D8KwOkxZ.js","CodeSnippet-C87it1Zg.js","use-playground-group-access-DyECiQ2v.js","SectionHeading-uish4Ed2.js","ApiExamples-B2sy5qvP.js","usePlaygroundInputsStore-BDc5FJKB.js","shallow-DxZq5uhD.js","isEqual-Bl_IuwU4.js","CodeSnippets-D1UoeS-I.js","MethodPill-DR7O5MCP.js","getPastedJson-D2WQib0m.js","Check2Icon-CUuzblYS.js","axios-CsQoIw0U.js","Markdown-K6_WYP3x.js","AssistantPageLink-BrppVW5v.js","dist-OmDnwAnM.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}