Get tenant settings
Responses
- 200Current tenant settings
v1.0.0
Administrative endpoints for tenant settings, API keys, policies, features, scorecards, role bundles, database management, and system info.
Base URL: https://shoehorn.example.com/api/v1
Content-Type: application/json
Free-form JSON object (no fixed schema).
keysarray<APIKey>idstring<uuid>namestringprefixstringFirst 8 chars of token (shp_svc_)
scopesarray<string>last_usedstring<date-time>expires_atstring<date-time>created_atstring<date-time>revokedbooleanContent-Type: application/json
namestring*scopesarray<string>*expires_atstring<date-time>idstringnamestringtokenstringFull token (shp_svc_...) - shown only at creation
scopesarray<string>idstringrequiredReturns pre-seeded platform policies (config-only, not user-created).
Changes one of the two configurable policies, governance-auto-actions or api-key-expiration. The id is the policy key or a stored row's id. Every other policy is always on and cannot be changed.
idstringrequiredContent-Type: application/json
enabledbooleanenforcementstringStored but never acted on. Setting it changes nothing.
Content-Type: application/json
keystring*namestring*descriptionstringenabledbooleanDefault: false
keystringrequiredkeystringrequiredkeystringrequiredtenantIdstringrequiredkeystringrequiredtenantIdstringrequiredContent-Type: application/json
namestring*descriptionstringweightnumber*idstringrequiredidstringrequiredidstringrequiredidstringrequiredbundleIdstringrequiredbundleIdstringrequiredbundleIdstringrequireduserIdstringrequireduserIdstringrequiredReturns the active license for the calling tenant. Beta tenants also get `beta_ends_at`, `beta_grace_ends_at`, and `is_read_only` populated when applicable.
editionstring*"free""beta""standard""airgapped"typestring"selfhosted""saas""partner"clustersintegerPer-license cluster-limit override (0 = use tier default)
licenseestringissued_atstring<date-time>expires_atstring<date-time>nullableactivated_atstring<date-time>nullablekey_prefixstringresource_limitsobject*clustersinteger*0 = unlimited
nodesinteger*0 = unlimited
resource_usagearray<object>resourcestring"clusters""nodes"usedintegerlimitinteger0 = unlimited
percentintegerwarningsarray<object>typestring"expired""expiring_soon""resource_high""resource_exceeded"messagestringlevelstring"warning""error"is_expiredboolean*is_validboolean*has_licenseboolean*beta_ends_atstring<date-time>nullableFor Beta licenses: when the 6-month free period ends. Floored at 2026-11-10 for legacy Beta licenses so existing customers don't flip read-only the day per-cluster pricing took over.
beta_grace_ends_atstring<date-time>nullableFor Beta licenses: when the 30-day post-end grace expires. Set only after the first license-status read past beta_ends_at has marked the grace start. After this timestamp the auto-disconnect job runs.
is_read_onlyboolean*True while a Beta tenant is inside the 30-day grace window. UI mutations return 423 BETA_ENDED_READ_ONLY. Catalog reads and agent traffic stay live; license activation also keeps working so the tenant can switch to Standard without restoring writes first.
Agents that registered a cluster past the tenant's licensed cluster count park here. Returns an empty array when nothing is pending.
cluster_idstring*namestring*first_attempted_atstring<date-time>*last_attempted_atstring<date-time>*attemptsinteger*Removes the row from the pending list. Bookkeeping only: this does not grant capacity and does not stop the agent. To raise capacity, request a new signed license. To stop the agent from re-parking, remove it from the cluster.
cluster_idstringrequiredReturns the most recent audit-log entries for the caller's tenant (role changes, API-key actions, license and workflow events). Read-only.
limitintegerMaximum entries to return (clamped to 100).
itemsarray<ActivityItem>eventTypestringAudit event type, e.g. role.updated
actorstringactorTypestringactionstringstatusstring"success""failure""partial"errorMessagestringcreatedAtstring<date-time>No operations match this filter.
v1.0.0
Aggregate statistics across the catalog, search usage, ownership, lifecycle, and language breakdowns.
Base URL: https://shoehorn.example.com/api/v1
total_entitiesintegerby_typeobjectby_lifecycleobjectby_tierobjectperiod"7d" | "30d" | "90d"requiredNo operations match this filter.
v1.0.0
Authentication status for CLI and programmatic clients.
Base URL: https://shoehorn.example.com/api/v1
Returns the current authentication state for CLI sessions.
authenticatedbooleanuserobjectemailstringnamestringtenant_idstringexpires_atstring<date-time>No operations match this filter.
v1.0.0
Per-service documentation discovered from repositories.
Base URL: https://shoehorn.example.com/api/v1
idstringrequiredNo operations match this filter.
v1.0.0
Entity CRUD operations, status, changelog, workloads, scorecards, and governance.
Base URL: https://shoehorn.example.com/api/v1
Returns a paginated list of catalog entities.
limitintegercursorstringtype"service" | "library" | "api" | "website" | "tool" | "infrastructure" | "platform" | "mobile-app" | "data-pipeline" | "ml-model" | "documentation"lifecycle"experimental" | "development" | "production" | "deprecated"ownerstringtier"tier1" | "tier2" | "tier3" | "tier4"entitiesarray<Entity>idstring<uuid>service_idstringHuman-readable identifier
namestringtypestringlifecyclestringownerstringdescriptionstringtierstringtagsarray<string>linksarray<Link>titlestringurlstring<uri>iconstringsourcestring"kubernetes""manifest""api""github""manual"created_atstring<date-time>updated_atstring<date-time>paginationPaginationtotalintegerpageintegerpageSizeintegernextCursorstringidstringrequiredidstring<uuid>service_idstringHuman-readable identifier
namestringtypestringlifecyclestringownerstringdescriptionstringtierstringtagsarray<string>linksarray<Link>titlestringurlstring<uri>iconstringsourcestring"kubernetes""manifest""api""github""manual"created_atstring<date-time>updated_atstring<date-time>idstringrequiredContent-Type: application/json
namestringdescriptionstringownerstringlifecyclestringtierstringtagsarray<string>idstringrequiredcontentstringformatstring"markdown""html"idstringrequiredidstringrequiredentriesarray<ChangelogEntry>idstringtimestampstring<date-time>actionstringfieldstringold_valuestringnew_valuestringactorstringidstringrequiredidstringrequiredReturns associated cloud and infrastructure resources for an entity.
idstringrequiredidstringrequiredinstancesarray<WorkloadInstance>cluster_idstringnamespacestringnamestringkindstring"Deployment""StatefulSet""DaemonSet""CronJob""Job"replicasintegerready_replicasintegerimagestringlast_seenstring<date-time>idstringrequiredidstringrequiredidstringrequiredidstringrequiredidstringrequiredidstringrequiredidstringrequiredidstringrequiredidstringrequiredidstringrequiredNo operations match this filter.
v1.0.0
Workflow engine for scaffolding, automation, and self-service actions. Molds are templates; runs are workflow executions.
Base URL: https://shoehorn.example.com/api/v1
Returns available workflow templates.
categorystringpublishedbooleanContent-Type: application/json
namestring*slugstring*descriptionstringcategorystringiconstringparametersarray<MoldParameter>namestring*typestring*"string""number""boolean""select""multi-select"labelstringdescriptionstringrequiredbooleanDefault: false
defaultanyoptionsarray<string>Options for select/multi-select types
actionsarray<MoldAction>namestring*typestring*"github-action""api-call""script""approval"configobjectrequires_approvalbooleanDefault: false
slugstringrequiredslugstringrequiredContent-Type: application/json
namestringdescriptionstringcategorystringparametersarray<MoldParameter>namestring*typestring*"string""number""boolean""select""multi-select"labelstringdescriptionstringrequiredbooleanDefault: false
defaultanyoptionsarray<string>Options for select/multi-select types
actionsarray<MoldAction>namestring*typestring*"github-action""api-call""script""approval"configobjectrequires_approvalbooleanMakes the mold visible to all users.
slugstringrequiredslugstringrequiredmold_slugstringstatus"pending" | "running" | "completed" | "failed" | "cancelled" | "awaiting_approval"limitintegercursorstringCreates and starts a new workflow run from a mold.
Content-Type: application/json
mold_slugstring*parametersobject*User-provided parameter values
runIdstringrequiredrunIdstringrequiredApproves a workflow that is in awaiting_approval state.
runIdstringrequiredrunIdstringrequiredrunIdstringrequiredNo operations match this filter.
v1.0.0
Governance actions, dashboard metrics, and documentation health.
Base URL: https://shoehorn.example.com/api/v1
Returns aggregate metrics for governance actions across all entities.
total_actionsintegerby_statusobjectopenintegerin_progressintegerresolvedintegerdismissedintegerwont_fixintegerby_priorityobjectcriticalintegerhighintegermediumintegerlowintegerReturns documentation coverage and freshness metrics.
status"open" | "in_progress" | "resolved" | "dismissed" | "wont_fix"priority"critical" | "high" | "medium" | "low"typestringentity_idstringassigned_tostringoverduebooleanOnly overdue actions when true.
closedbooleanOnly closed actions (resolved, dismissed, wont_fix) when true. Can't be combined with a filter that only matches active actions.
actionablebooleanOnly open and in_progress actions when true.
limitintegercursorstringactionsarray<GovernanceAction>idstring<uuid>titlestringdescriptionstringtypestringstatusstring"open""in_progress""resolved""dismissed""wont_fix"prioritystring"critical""high""medium""low"entity_idstringentity_namestringassigned_tostringcreated_bystringdue_datestring<date>resolution_notesstringcreated_atstring<date-time>updated_atstring<date-time>paginationobjecttotalintegernextCursorstringContent-Type: application/json
titlestring*descriptionstringtypestring*prioritystring*"critical""high""medium""low"entity_idstringassigned_tostringdue_datestring<date>Transition many actions to a single status in one request. Actions already in a final state are skipped.
Content-Type: application/json
idsarray<string>*statusstring*"open""in_progress""resolved""dismissed""wont_fix"requestedintegerupdatedintegeridstringrequiredUpdate status, priority, assignee, or add notes.
idstringrequiredContent-Type: application/json
statusstring"open""in_progress""resolved""dismissed""wont_fix"prioritystring"critical""high""medium""low"assigned_tostringresolution_notesstringdue_datestring<date>idstringrequiredNo operations match this filter.
v1.0.0
Identity provider groups and their role mappings. Group membership comes from the IdP; role mappings live in Shoehorn.
Base URL: https://shoehorn.example.com/api/v1
Returns all identity provider groups known to the system.
groupsarray<Group>namestringproviderstring"zitadel""okta""entra-id""keycloak"member_countintegerrolesarray<string>Returns roles assigned to a specific IdP group.
groupNamestringrequiredrolesarray<string>Maps a role to an IdP group. All users in the group receive this role.
groupNamestringrequiredContent-Type: application/json
rolestring*groupNamestringrequiredroleNamestringrequiredNo operations match this filter.
v1.0.0
Search-index health and reindex status.
Base URL: https://shoehorn.example.com/api/v1
No operations match this filter.
v1.0.0
Integration management, webhooks, and sync operations.
Base URL: https://shoehorn.example.com/api/v1
integrationsarray<Integration>idstring<uuid>namestringtypestring"github""gitlab""pagerduty""opsgenie""datadog""custom"statusstring"active""inactive""error"configobjectlast_syncstring<date-time>created_atstring<date-time>Content-Type: application/json
namestring*typestring*configobject*Returns user-created integration configurations (as opposed to system integrations).
configsarray<Integration>idstring<uuid>namestringtypestring"github""gitlab""pagerduty""opsgenie""datadog""custom"statusstring"active""inactive""error"configobjectlast_syncstring<date-time>created_atstring<date-time>idstringrequiredidstringrequiredContent-Type: application/json
namestringconfigobjectstatusstringidstringrequiredForces an immediate data pull from the integration source.
idstringrequiredidstringrequiredidstringrequiredContent-Type: application/json
urlstring<uri>*eventsarray<string>*secretstringwebhookIdstringrequiredContent-Type: application/json
urlstring<uri>eventsarray<string>activebooleanwebhookIdstringrequiredEndpoint that receives GitHub webhook events. Verified using the webhook secret signature (X-Hub-Signature-256 header).
No operations match this filter.
v1.0.0
K8s agent registration, workload push, and heartbeat. (Network flow push is deprecated.)
Base URL: https://shoehorn.example.com/api/v1
agentsarray<Agent>cluster_idstringdisplay_namestringenvironmentstringregionstringstatusstring"active""stale""offline"last_heartbeatstring<date-time>agent_versionstringnode_countintegerworkload_countintegercreated_atstring<date-time>Registers a cluster and returns an agent token for push operations.
Content-Type: application/json
cluster_idstring*display_namestring*environmentstringregionstringcluster_idstringtokenstringBearer token for push API
cluster_idstringrequiredcluster_idstringrequiredGenerates a new token and invalidates the previous one.
cluster_idstringrequiredtokenstringRevokes the agent token without deleting the agent record.
cluster_idstringrequiredCalled by the K8s agent to push discovered workloads. Authenticated via agent bearer token (not session auth).
Content-Type: application/json
cluster_idstring*workloadsarray<Workload>*namestringnamespacestringkindstring"Deployment""StatefulSet""DaemonSet""CronJob""Job"labelsobjectannotationsobjectreplicasintegerready_replicasintegerimagesarray<string>conditionsarray<object>typestringstatusstringreasonstringCalled periodically by the agent to indicate it is alive.
Content-Type: application/json
cluster_idstring*agent_versionstringnode_countintegerpod_countinteger**Deprecated.** The network observer that pushed these flows is retired in favor of platform-side relation inference. Already-deployed observers may still call this, so it stays until a future major version. Responses carry a `Deprecation: true` header (RFC 8594).
clusterIdstringrequiredContent-Type: application/json
flowsarray<object>sourcestringdestinationstringportintegerprotocolstringbytes_sentintegerNo operations match this filter.
v1.0.0
Create, validate, analyze, and convert catalog manifests (`.shoehorn/manifest.yml`).
Base URL: https://shoehorn.example.com/api/v1
Content-Type: application/json
contentstring*YAML manifest content
formatstring"shoehorn""backstage"Default: "shoehorn"
Validates a manifest YAML against the schema without creating it.
Content-Type: application/json
contentstring*YAML manifest content
formatstring"shoehorn""backstage"Default: "shoehorn"
validbooleanerrorsarray<object>fieldstringmessagestringReturns quality score and improvement suggestions.
Content-Type: application/json
contentstring*YAML manifest content
formatstring"shoehorn""backstage"Default: "shoehorn"
Converts a Backstage catalog-info.yaml to Shoehorn manifest format.
Content-Type: application/json
contentstringRaw YAML content
No operations match this filter.
v1.0.0
Addon marketplace browsing, installation, configuration, and runtime management. Addons extend Shoehorn with custom integrations, widgets, and backend logic.
Base URL: https://shoehorn.example.com/api/v1
Returns available addons in the marketplace, optionally filtered by kind.
kind"addon" | "widget" | "integration"Filter by addon kind
categorystringsearchstringitemsarray<MarketplaceItem>slugstringnamestringdescriptionstringversionstringauthorstringcategorystringtierstring"free""pro""enterprise"iconstringinstalledbooleanReturns all addons currently installed in this tenant.
addonsarray<InstalledAddon>slugstringnamestringversionstringenabledbooleanstatusstring"running""stopped""error"installed_atstring<date-time>configobjectInstalls an addon from the marketplace by slug.
Content-Type: application/json
slugstring*Addon slug from marketplace
Removes an installed addon and its configuration.
slugstringrequiredRe-enables a previously disabled addon.
slugstringrequiredDisables an addon without uninstalling it. Configuration is preserved.
slugstringrequiredPublishes an addon manifest to the marketplace. Used by addon developers.
Content-Type: application/json
schemaVersioninteger*1kindstring*"addon"metadataobject*slugstring*namestring*versionstring*descriptionstring*authorobject*categorystring*tierstring*addonobject*tierstring*"declarative""scripted""full"runtimestring*"quickjs"permissionsobject*syncobjectconfigobjectfrontendobjectUploads backend and/or frontend bundles for a published addon. Uses multipart form upload with `backend` and `frontend` file fields.
slugstringrequiredContent-Type: multipart/form-data
backendstring<binary>Backend JS bundle (QuickJS IIFE)
frontendstring<binary>Frontend JS bundle (ESM)
Returns the runtime status of an installed addon.
slugstringrequiredslugstringenabledbooleanstatusstring"running""stopped""error"last_syncstring<date-time>last_errorstringitems_syncedintegeruptime_secondsintegerReturns recent log entries from the addon runtime.
slugstringrequiredlimitintegerlogsarray<LogEntry>timestampstring<date-time>levelstring"debug""info""warn""error"messagestringfieldsobjectProxies a GET request to the addon's handleRoute() function.
slugstringrequiredpathstringrequiredProxies a POST request to the addon's handleRoute() function.
slugstringrequiredpathstringrequiredContent-Type: application/json
Free-form JSON object (no fixed schema).
No operations match this filter.
v1.0.0
Real-time platform metrics for dashboard widgets. The current implementation returns a mix of live counts (from the catalog) and mock values for response-time, system, and integration metrics. Responses include a `mock_data: true` flag wherever the values are synthetic. A future release will swap these for Prometheus-backed numbers.
Base URL: https://shoehorn.example.com/api/v1
Returns a snapshot of HTTP request counts, response-time samples, integration counts, and basic system stats. Used by the home and admin dashboards.
timestampstring<date-time>http_requests_totalobjectRequest counts keyed by HTTP method.
response_timesarray<object>timestampstring<date-time>methodstringpathstringresponse_time_msnumberstatus_codeintegerintegrations_statsobjecttotalintegeractiveintegererrorsintegermock_databooleansystem_statsobjectdatabase_connectionsintegercache_hitsintegercache_missesintegermemory_usage_bytesintegercpu_usage_percentnumbermock_databooleanmock_databooleanTrue if any field in the response is synthetic.
Returns timestamps and values for a single metric over a window. Currently generates synthetic data; treat the shape as stable but the values as illustrative until the Prometheus backend lands.
metric"response_time" | "request_count" | "error_rate" | "cpu_usage" | "memory_usage"requiredrange"1h" | "24h" | "7d"metricstringtimeRangestringtimestampsarray<string<date-time>>valuesarray<number>Deployment frequency, lead time for changes, mean time to restore, and change failure rate. Optionally filtered by team.
teamstringperiod"7d" | "30d" | "90d"Returns bus-factor scores per entity (or for a specific entity if `entity_id` is given). Higher score = more contributors who could keep the service running.
entity_idstringNo operations match this filter.
v1.0.0
User notifications and notification subscription management.
Base URL: https://shoehorn.example.com/api/v1
Returns notifications visible to the current user.
severity"critical" | "warning" | "info"typestringFilter by notification type prefix
limitintegeroffsetintegernotificationsarray<Notification>idstring<uuid>tenantIdstring<uuid>teamIdstring<uuid>nullableentityIdintegernullablenotificationTypestringDotted type, e.g. k8s.workload.unhealthy
severitystring"critical""warning""info"titlestringmessagestringactionUrlstringDeep link to the related resource
metadataobjectisReadbooleandedupeKeystringnullableresolvedAtstring<date-time>nullableexpiresAtstring<date-time>nullabletagsarray<string>criticalityTierintegernullablecreatedAtstring<date-time>updatedAtstring<date-time>Returns unread notification counts grouped by severity.
totalintegercriticalintegerwarningintegerinfointegeridstring<uuid>requiredidstring<uuid>requireddismissedintegerReturns subscriptions for a team or user scope.
scope"team" | "user"requiredscope_idstring<uuid>requiredsubscriptionsarray<Subscription>idstring<uuid>scopestring"team""user"scope_idstring<uuid>namestringenabledbooleanevent_typesarray<string>min_severitystring"critical""warning""info"entity_filterobjectchannel_typestring"slack""webhook""email""inapp"channel_configobjectChannel settings; secret values are redacted in responses.
cadencestring"realtime""hourly""daily""weekly"cadence_configobjectpaused_untilstring<date-time>nullablenext_due_atstring<date-time>nullablecreated_atstring<date-time>updated_atstring<date-time>totalintegerContent-Type: application/json
scopestring*"team""user"scope_idstring<uuid>*namestring*enabledbooleanDefault: true
event_typesarray<string>*min_severitystring"critical""warning""info"entity_filterobjectchannel_typestring*"slack""webhook""email""inapp"channel_configobjectChannel settings. Secret values are encrypted on write.
cadencestring"realtime""hourly""daily""weekly"cadence_configobjectFor non-realtime cadences: day_of_week (0-6), hour (0-23), minute (0-59).
idstring<uuid>scopestring"team""user"scope_idstring<uuid>namestringenabledbooleanevent_typesarray<string>min_severitystring"critical""warning""info"entity_filterobjectchannel_typestring"slack""webhook""email""inapp"channel_configobjectChannel settings; secret values are redacted in responses.
cadencestring"realtime""hourly""daily""weekly"cadence_configobjectpaused_untilstring<date-time>nullablenext_due_atstring<date-time>nullablecreated_atstring<date-time>updated_atstring<date-time>Updates a subscription. The scope, scope_id, and channel_type fields are immutable.
idstring<uuid>requiredContent-Type: application/json
scopestring*"team""user"scope_idstring<uuid>*namestring*enabledbooleanDefault: true
event_typesarray<string>*min_severitystring"critical""warning""info"entity_filterobjectchannel_typestring*"slack""webhook""email""inapp"channel_configobjectChannel settings. Secret values are encrypted on write.
cadencestring"realtime""hourly""daily""weekly"cadence_configobjectFor non-realtime cadences: day_of_week (0-6), hour (0-23), minute (0-59).
idstring<uuid>scopestring"team""user"scope_idstring<uuid>namestringenabledbooleanevent_typesarray<string>min_severitystring"critical""warning""info"entity_filterobjectchannel_typestring"slack""webhook""email""inapp"channel_configobjectChannel settings; secret values are redacted in responses.
cadencestring"realtime""hourly""daily""weekly"cadence_configobjectpaused_untilstring<date-time>nullablenext_due_atstring<date-time>nullablecreated_atstring<date-time>updated_atstring<date-time>idstring<uuid>requiredSends a synthetic notification through the subscription's channel.
idstring<uuid>requiredstatusstring"sent"Clears paused_until to resume delivery.
idstring<uuid>requiredstatusstring"resumed"Returns the 50 most recent delivery attempts for a subscription.
idstring<uuid>requireddeliveriesarray<Delivery>notification_idstring<uuid>channel_typestring"slack""webhook""email""inapp"statusstring"pending""success""failed"attemptsintegerlast_errorstringnullablecreated_atstring<date-time>delivered_atstring<date-time>nullablenext_attempt_atstring<date-time>nullabletotalintegerNo operations match this filter.
v1.0.0
Workloads, deployment tracking, and GitOps management.
Base URL: https://shoehorn.example.com/api/v1
Returns workloads across all registered K8s clusters.
cluster_idstringnamespacestringkind"Deployment" | "StatefulSet" | "DaemonSet" | "CronJob" | "Job"limitintegercursorstringtotalintegerby_kindobjectby_clusterobjecthealthyintegerunhealthyintegerReturns aggregated container image statistics across workloads. All filters are optional and combine with AND.
clusterstringnamespacestringteamstringownerstringtotal_imagesintegerunique_imagesintegerby_registryobjectoutdatedintegerImages older than the platform's freshness threshold
Returns aggregated replica health (desired vs ready) across workloads.
clusterstringnamespacestringteamstringownerstringdesiredintegerreadyintegerunavailableintegerby_clusterobjectReturns the share of workloads in a cluster covered by at least one NetworkPolicy.
clusterstringrequiredclusterstringtotal_workloadsintegercoveredintegeruncoveredintegercoverage_percentnumberidstringrequiredidstringrequiredidstringrequired**Deprecated.** Superseded by platform-side relation inference. Retained for already-deployed observers until a future major version. Responses carry a `Deprecation: true` header (RFC 8594). Returns the inbound and outbound aggregated flows for a single workload entity.
idstringrequiredtimeRangestringminConnectionsintegerReturns workloads that are not matched to any catalog entity (unowned).
cluster_idstringnamespacestringReturns ArgoCD Applications and FluxCD resources across clusters.
platform"argocd" | "fluxcd"cluster_idstringsync_status"synced" | "out_of_sync" | "unknown"health_status"healthy" | "degraded" | "progressing" | "missing" | "unknown"idstringrequiredSends a sync command to the agent managing this resource.
idstringrequiredSends a refresh command to re-evaluate desired state.
idstringrequired**Deprecated.** The network observer that fed these flows is retired in favor of platform-side relation inference. Already-deployed observers may still POST flows, so this endpoint stays until a future major version. Responses carry a `Deprecation: true` header (RFC 8594). Returns aggregated source-to-destination flows. Backed by the network flow service; returns `503` if that service is not configured.
clusterIdstringrequiredtimeRangestringWindow over which to aggregate. Examples: `15m`, `1h`, `24h`.
minConnectionsintegerDrop edges below this connection count.
pageintegerpageSizeintegerflowsarray<object>sourceEntityIdstringdestEntityIdstringdestPortintegerconnectionCountintegerlastSeenAtstring<date-time>metaobjecttimeRangestringtotalFlowsinteger**Deprecated.** Superseded by platform-side relation inference. Retained for already-deployed observers until a future major version. Responses carry a `Deprecation: true` header (RFC 8594). Returns nodes, edges, and summary stats suitable for graph rendering.
clusterIdstringrequiredtimeRangestringminConnectionsintegerpageintegerpageSizeintegernodesarray<object>edgesarray<object>statsobject**Deprecated.** Superseded by platform-side relation inference. Retained for already-deployed observers until a future major version. Responses carry a `Deprecation: true` header (RFC 8594). Returns summary statistics (total flows, unique source/destination entities, and top talkers and ports) for network flows within a cluster.
clusterIdstringrequiredtimeRangestringminConnectionsintegerCalled by the K8s agent to push discovered GitOps resources.
clusterIdstringrequiredclusterIdstringrequiredcommandIdstringrequiredNo operations match this filter.
v1.0.0
Org-chart endpoints. The read endpoint is available to all authenticated users; the write endpoint is admin-only.
Base URL: https://shoehorn.example.com/api/v1
Returns every active team plus its parent relationship, member count, and the team's primary manager (the highest-ranking member matching owner / manager / lead / team_lead). `total_member_count` includes descendants. Sub-team links are computed server-side.
teamsarray<OrgChartTeam>idstring<uuid>namestringslugstringdisplay_namestringnullabledescriptionstringnullableparent_team_idstring<uuid>nullablesub_team_idsarray<string<uuid>>member_countintegerDirect members.
total_member_countintegerDirect members plus all descendants.
manager_user_idstringnullableHighest-ranking team member (owner > manager > lead > team_lead).
manager_rolestringnullablemetadataobjectAdmin-only. Each update sets a team's `parent_team_id`; pass `null` (or omit) to make the team a root team. Updates run inside one transaction. The server walks ancestry to reject cycles before applying: if any update would create a cycle, the entire request fails with `CIRCULAR_REFERENCE`.
Content-Type: application/json
updatesarray<object>*team_idstring<uuid>*parent_team_idstring<uuid>nullableSet null to make the team a root team.
successbooleanupdatedintegerNumber of updates applied.
No operations match this filter.
v1.0.0
Full-text search across catalog entities, teams, and documentation, powered by Meilisearch with sub-50ms fuzzy matching.
Base URL: https://shoehorn.example.com/api/v1
Searches entities, docs, teams, people, repositories, workflows and molds in one call, limited to what the caller can see. Pages go 1,000 results deep. `total` still counts every match. To reach anything past the first 1,000, narrow the search with `types` or a more specific `q`.
qstringrequiredSearch query. Matching is fuzzy.
typesstringComma-separated result types to search: `entity`, `doc`, `team`, `user`, `repository`, `workflow`, `mold`. `docs`, `teams` and `users` work too. Each value `facets.type` reports can be passed back as is. Leave it out to search every type.
limitintegercursorstringThe `page.nextCursor` from the previous page.
include_facetsbooleanSet to `false` if you don't read `facets.type`. Counting matches per type costs a second search when the results span several types.
offsetintegerUse `cursor` instead.
resultsarray<SearchResult>idstringtypestringtitlestringdescriptionstringurlstringA path in Shoehorn, or an http(s) link to the source.
highlightsarray<string>scorenumberRelevance score
badgestringmetadataobjectquick_actionsarray<object>labelstringiconstringurlstringA path in Shoehorn, or an http(s) link to the source.
typestring"link""action"matchFieldsarray<string>Fields where the query matched.
entity_typestringThe entity's own type (a Kubernetes kind such as StatefulSet or Deployment, or api/database/library/etc. for non-Kubernetes entities), distinct from `type`, which is always "entity" here. Only present on entity results.
lifecyclestringThe entity's lifecycle stage. Only present on entity results.
updated_atstring<date-time>When the underlying item last changed.
sectionsobjectThe same results grouped by type.
entitiesarray<SearchResult>idstringtypestringtitlestringdescriptionstringurlstringA path in Shoehorn, or an http(s) link to the source.
highlightsarray<string>scorenumberRelevance score
badgestringmetadataobjectquick_actionsarray<object>labelstringiconstringurlstringA path in Shoehorn, or an http(s) link to the source.
typestring"link""action"matchFieldsarray<string>Fields where the query matched.
entity_typestringThe entity's own type (a Kubernetes kind such as StatefulSet or Deployment, or api/database/library/etc. for non-Kubernetes entities), distinct from `type`, which is always "entity" here. Only present on entity results.
lifecyclestringThe entity's lifecycle stage. Only present on entity results.
updated_atstring<date-time>When the underlying item last changed.
docsarray<SearchResult>idstringtypestringtitlestringdescriptionstringurlstringA path in Shoehorn, or an http(s) link to the source.
highlightsarray<string>scorenumberRelevance score
badgestringmetadataobjectquick_actionsarray<object>labelstringiconstringurlstringA path in Shoehorn, or an http(s) link to the source.
typestring"link""action"matchFieldsarray<string>Fields where the query matched.
entity_typestringThe entity's own type (a Kubernetes kind such as StatefulSet or Deployment, or api/database/library/etc. for non-Kubernetes entities), distinct from `type`, which is always "entity" here. Only present on entity results.
lifecyclestringThe entity's lifecycle stage. Only present on entity results.
updated_atstring<date-time>When the underlying item last changed.
usersarray<SearchResult>idstringtypestringtitlestringdescriptionstringurlstringA path in Shoehorn, or an http(s) link to the source.
highlightsarray<string>scorenumberRelevance score
badgestringmetadataobjectquick_actionsarray<object>labelstringiconstringurlstringA path in Shoehorn, or an http(s) link to the source.
typestring"link""action"matchFieldsarray<string>Fields where the query matched.
entity_typestringThe entity's own type (a Kubernetes kind such as StatefulSet or Deployment, or api/database/library/etc. for non-Kubernetes entities), distinct from `type`, which is always "entity" here. Only present on entity results.
lifecyclestringThe entity's lifecycle stage. Only present on entity results.
updated_atstring<date-time>When the underlying item last changed.
teamsarray<SearchResult>idstringtypestringtitlestringdescriptionstringurlstringA path in Shoehorn, or an http(s) link to the source.
highlightsarray<string>scorenumberRelevance score
badgestringmetadataobjectquick_actionsarray<object>labelstringiconstringurlstringA path in Shoehorn, or an http(s) link to the source.
typestring"link""action"matchFieldsarray<string>Fields where the query matched.
entity_typestringThe entity's own type (a Kubernetes kind such as StatefulSet or Deployment, or api/database/library/etc. for non-Kubernetes entities), distinct from `type`, which is always "entity" here. Only present on entity results.
lifecyclestringThe entity's lifecycle stage. Only present on entity results.
updated_atstring<date-time>When the underlying item last changed.
repositoriesarray<SearchResult>idstringtypestringtitlestringdescriptionstringurlstringA path in Shoehorn, or an http(s) link to the source.
highlightsarray<string>scorenumberRelevance score
badgestringmetadataobjectquick_actionsarray<object>labelstringiconstringurlstringA path in Shoehorn, or an http(s) link to the source.
typestring"link""action"matchFieldsarray<string>Fields where the query matched.
entity_typestringThe entity's own type (a Kubernetes kind such as StatefulSet or Deployment, or api/database/library/etc. for non-Kubernetes entities), distinct from `type`, which is always "entity" here. Only present on entity results.
lifecyclestringThe entity's lifecycle stage. Only present on entity results.
updated_atstring<date-time>When the underlying item last changed.
workflowsarray<SearchResult>idstringtypestringtitlestringdescriptionstringurlstringA path in Shoehorn, or an http(s) link to the source.
highlightsarray<string>scorenumberRelevance score
badgestringmetadataobjectquick_actionsarray<object>labelstringiconstringurlstringA path in Shoehorn, or an http(s) link to the source.
typestring"link""action"matchFieldsarray<string>Fields where the query matched.
entity_typestringThe entity's own type (a Kubernetes kind such as StatefulSet or Deployment, or api/database/library/etc. for non-Kubernetes entities), distinct from `type`, which is always "entity" here. Only present on entity results.
lifecyclestringThe entity's lifecycle stage. Only present on entity results.
updated_atstring<date-time>When the underlying item last changed.
moldsarray<SearchResult>idstringtypestringtitlestringdescriptionstringurlstringA path in Shoehorn, or an http(s) link to the source.
highlightsarray<string>scorenumberRelevance score
badgestringmetadataobjectquick_actionsarray<object>labelstringiconstringurlstringA path in Shoehorn, or an http(s) link to the source.
typestring"link""action"matchFieldsarray<string>Fields where the query matched.
entity_typestringThe entity's own type (a Kubernetes kind such as StatefulSet or Deployment, or api/database/library/etc. for non-Kubernetes entities), distinct from `type`, which is always "entity" here. Only present on entity results.
lifecyclestringThe entity's lifecycle stage. Only present on entity results.
updated_atstring<date-time>When the underlying item last changed.
facetsobjecttypearray<object>Matches per type, counted across every match rather than this page.
valuestringcountintegertypesarray<string>The types on this page.
sourcesarray<string>Where the results on this page come from.
pageobjectlimitintegeroffsetintegernextCursorstringnullablePass as `cursor` for the next page. Null on the last page.
totalintegerEvery match
tookintegerTime the search took
No operations match this filter.
v1.0.0
Security overview, findings, and posture assessment.
Base URL: https://shoehorn.example.com/api/v1
Returns the overall security posture for the tenant, including entity counts by security grade, risk distribution, and trends.
overall_gradestring"A+""A""B""C""D""F"total_entitiesintegerby_gradeobjectfindings_summaryobjectcriticalintegerhighintegermediumintegerlowintegerinfointegerReturns CodeQL, secret scanning and Dependabot findings across your repositories, ordered by repository. Without `limit` every finding comes back in one response. With `limit`, pass each page's `nextCursor` as `cursor` to get the next one.
type"codeql" | "secret" | "dependabot"severity"critical" | "high" | "medium" | "low"repositorystringOnly findings from this repository name.
teamstringOnly findings from repositories these teams own. Comma-separated slugs.
searchstringMatches a CodeQL rule or description, a secret type, or a Dependabot package, CVE or GHSA id.
limitintegerPage size. Omit it to get every finding.
cursorstringThe `nextCursor` from the previous page.
findingsarray<SecurityFinding>idstring<uuid>entity_idstringentity_namestringtypestringe.g., missing_owner, no_readme, exposed_secret
severitystring"critical""high""medium""low""info"statusstring"open""acknowledged""resolved""false_positive"titlestringdescriptionstringremediationstringSuggested fix
sourcestringe.g., scorecard, scanner, manual
created_atstring<date-time>resolved_atstring<date-time>paginationobjecttotalintegerFindings matching the filters
limitintegerThe page size
nextCursorstringPresent when there is another page.
hasMorebooleanidstringrequiredidstring<uuid>entity_idstringentity_namestringtypestringe.g., missing_owner, no_readme, exposed_secret
severitystring"critical""high""medium""low""info"statusstring"open""acknowledged""resolved""false_positive"titlestringdescriptionstringremediationstringSuggested fix
sourcestringe.g., scorecard, scanner, manual
created_atstring<date-time>resolved_atstring<date-time>Returns, for every connected cluster, the CVE status of the control plane, kubelet, node OS, and the workload-level components Shoehorn can identify by container image (Argo CD, Cilium, cert-manager, Flux, Zitadel, the UpCloud CSI driver). Each component is matched against a curated CVE and ownership-tier table and may carry zero or more CVEs; a component Shoehorn can't yet version-check is reported as not yet scanned rather than silently omitted.
teamstringComma-separated team slugs. Restricts the response to clusters owned by the tenant's designated infrastructure owner team, if one of these slugs matches it; otherwise returns no clusters. Omit for the org-wide view, which always returns every cluster.
clustersarray<InfrastructureCluster>*clusterIdstring*clusterNamestring*providerstring*The cloud provider as the agent reports it (SHOEHORN_PROVIDER), e.g. upcloud
regionstring*Region the agent reports, e.g., fi-hel2. Empty when unknown.
controlPlaneVersionstring*Kubernetes version of the control plane. Empty when unknown.
managedOfferingstringWho runs the control plane, as the agent detects it: UpCloud Managed Kubernetes (uks), GKE, EKS or AKS. Omitted for a self-managed cluster, or one whose agent is too old to report it; on UpCloud, such a cluster reads as uks.
"uks""gke""eks""aks"kubernetesVersionInfrastructureKubernetesVersionThe cluster's Kubernetes version, the upgrades its provider offers and who starts them. Omitted when the agent reported no control plane version.
runningstring*The control plane version
statusstring*update: the provider offers a newer version. current: it offers nothing newer. untracked: Shoehorn has no offers for the cluster. Only UpCloud Managed Kubernetes has offers; GKE, EKS, AKS and self-managed clusters are always untracked.
"update""current""untracked"offersarray<string>*Offered versions newer than running, oldest first, as UpCloud spells them (1.36). Empty, never null, without offers.
offersSourcestringupcloud_cluster: the offers of the UpCloud cluster this one runs on, which the agent reports. upcloud_minor: the offers for its minor version across the connected UpCloud account, for an agent too old to report the cluster. Omitted when Shoehorn found neither to read offers from.
"upcloud_cluster""upcloud_minor"providerClusterNamestringThe UpCloud cluster's own name, with upcloud_cluster.
upgradeViastringHow the upgrade happens: started in UpCloud Hub, automatic on the GKE release channel, started by the user in AWS or Azure, or run by the user on a self-managed cluster. Omitted when an older agent didn't report the offering.
"upcloud_hub""gke_auto""eks_user""aks_user""self"upgradeUrlstring<uri>UKS only: the UpCloud Hub page to start the upgrade, the cluster's own (https://hub.upcloud.com/kubernetes/<uuid>) when the agent reported it, else Hub's home page.
workloadCountinteger*Workloads reporting a container image. Pods are counted through their owner.
lastReportAtstring<date-time>*nullableThe agent's last heartbeat. Null before the first one.
componentsarray<InfrastructureComponent>*componentstring*e.g., control-plane, kubelet, cilium, argo-cd
runningVersionstring*The running version. For Flux, the Flux release its controllers make up, empty when they match none.
ownershipTierstring*Who can act on this component's CVEs: the tenant directly (self_service), the tenant triggers and the cloud provider executes (trigger_provider_executes), or neither can (provider_locked, shown for visibility only).
"self_service""trigger_provider_executes""provider_locked"notYetScannedboolean*True when Shoehorn can't yet version-check this component.
cvesarray<InfrastructureCVE>*Empty when no known CVE matches this version.
idstring*A CVE id
severitystring*"critical""high""medium""low"fixedVersionstring*The first version that fixes the CVE for this install's version: on its own minor line, or on a later one when its line has no fix (a 1.33 control plane can get 1.34.12). One CVE can list a different fix per cluster. Flux fixes are Flux releases and keep their v prefix (v2.8.8); the rest leave it out (1.18.6).
descriptionstring*alsoFixedInarray<string>Control plane only: the fix on each other minor the provider offers this cluster, oldest first, never repeating fixedVersion (a 1.35.3 cluster offered 1.36 lists 1.36.5). Omitted when empty.
cveDispositionstringprovider_patches when only the provider can fix the listed CVEs: the control plane on UKS, GKE and EKS, and components the provider manages (Cilium, the CSI driver and the node OS on UKS, for example). They are listed but not counted as the tenant's findings, and upgradeTarget is left out. Omitted when the tenant fixes them.
"provider_patches"driftbooleanTrue when the Helm release record disagrees with the running version. Omitted when false.
driftNotestringExplains the drift. Omitted when empty.
countintegerNodes or workload instances reporting this exact runningVersion; for Flux, the number of controllers. Omitted for cluster-wide components like control-plane, where a count doesn't apply.
statusReasonstringWhy notYetScanned is true: Shoehorn has no CVE data for the component (no_cve_data), or it has but can't read the running version (unknown_version). Omitted when the component was checked.
"no_cve_data""unknown_version"upgradeTargetstringVersion that fixes every listed CVE without landing in another known CVE range of the component, spelled like fixedVersion (v2.8.8 for Flux, 1.18.6 for the rest). Omitted without CVEs, or when no fixed version reads as X.Y.Z.
updateInfrastructureUpdateWhether a newer version is out. Sent for the kubelet, node OS, Flux and the UpCloud CSI driver, whether or not the component also has CVE data; omitted for the other components. The control plane has none: its upgrades are the cluster's kubernetesVersion.
statusstring*update: a newer version is out. current: runs the newest version Shoehorn knows about. untracked: Shoehorn can't tell, because it has no release data for the component, the control plane version is unknown (kubelet), or the controllers match no Flux release it knows.
"update""current""untracked"lateststringThe newer version, spelled as its source gives it: the control plane version for the kubelet (provider suffix included), a Flux release for Flux (v2.10.1). Set with update.
asOfstring<date>Flux only: the day the Flux release list behind status was last refreshed. A release newer than that list reads as untracked.
controllersarray<object>Flux only: each controller and version seen, by name, newest first. A controller running two versions is listed twice, and runningVersion is then empty: the controllers are no one release.
namestring*source, kustomize, helm or notification
versionstring*nodesarray<InfrastructureNode>*Raw per-node version facts, one entry per node.
namestring*osImagestring*kernelVersionstring*kubeletVersionstring*containerRuntimeVersionstring*architecturestring*infrastructureOwnerTeamstring*nullableThe tenant's designated infrastructure owner team slug, or null if unset.
connectedClustersintegerHow many clusters are connected. Sent even when a team filter hides the clusters, so a team that doesn't own the infrastructure still sees the count. Left out if the count couldn't be read.
cveDataAsOfstring<date>The day the curated CVE data behind `cves` was last checked against its sources. Left out when a team filter hides the clusters.
No operations match this filter.
v1.0.0
Team management, members, group mappings, and role assignments.
Base URL: https://shoehorn.example.com/api/v1
Returns teams visible to the current user.
limitintegercursorstringAccepts either a UUID or a team slug.
id_or_slugstringrequiredteamTeamidstring<uuid>namestringslugstringdescriptionstringmetadataobjectparent_idstring<uuid>created_atstring<date-time>updated_atstring<date-time>membersarray<TeamMember>user_idstringnamestringemailstringrolestring"lead""member""viewer"group_mappingsarray<GroupMapping>idstring<uuid>group_namestringproviderstringrolestringaudit_logarray<object>Content-Type: application/json
namestring*slugstringdescriptionstringparent_idstringmetadataobjectidstringrequiredContent-Type: application/json
namestringdescriptionstringparent_idstringmetadataobjectidstringrequiredidstringrequiredContent-Type: application/json
user_idstring*rolestring*"lead""member""viewer"idstringrequiredmemberIdstringrequiredidstringrequiredidstringrequiredContent-Type: application/json
group_namestring*providerstring*rolestring"lead""member""viewer"idstringrequiredmappingIdstringrequiredidstringrequiredidstringrequiredContent-Type: application/json
role_idstring*idstringrequiredroleIdstringrequiredNo operations match this filter.
v1.0.0
User directory and current-user profile. Group membership and role mappings are surfaced via the Groups API.
Base URL: https://shoehorn.example.com/api/v1
Returns the authenticated user's profile, team memberships, and group claims.
idstring<uuid>emailstringnamestringpicturestringtenant_idstringteamsarray<string>Team slugs the user belongs to
groupsarray<string>IdP group names from JWT claims
rolesarray<string>What every signed-in user sees of the workspace, with no role needed: its appearance (name, logo, colors, hidden pages), the announcement, and whether it's read-only. The full settings are under /admin/settings.
appearanceobjectprimary_colorstringsecondary_colorstringlogo_urlstringlogo_url_darkstringfavicon_urlstringdefault_themestring"light""dark""system"platform_namestringplatform_name_color_lightstringplatform_name_color_darkstringhidden_pagesarray<string>announcementobjectenabledbooleanmessagestringtypestringlink_urlstringlink_textstringpinnedbooleanupdated_atstringlicenseobjectis_read_onlybooleanbeta_grace_ends_atstring<date-time>Returns all users in the tenant directory.
limitintegercursorstringsearchstringusersarray<User>idstring<uuid>emailstringnamestringpicturestringlast_loginstring<date-time>created_atstring<date-time>Returns a user's profile including group memberships and roles.
idstringrequiredidstring<uuid>emailstringnamestringpicturestringtenant_idstringteamsarray<string>groupsarray<string>rolesarray<string>last_loginstring<date-time>created_atstring<date-time>No operations match this filter.