Application Gateway
The AI Application Gateway is available under the ClearML Enterprise plan.
The ClearML AI Application Gateway facilitates setting up secure, authenticated access to jobs running on your compute nodes from external networks (see application gateway installation for Kubernetes, Docker-Compose for Self-Hosted Deployment or Docker-Compose for Hosted Deployment).
Application Gateway Settings include:
- Routers – Monitor gateway routers and verify routing functionality
- Static Routes – Define and monitor fixed, externally accessible endpoints that route to specific tasks or services.
- Access Tokens – Manage tokens for secure access to gateway endpoints
Routers
The Routers table lets you monitor all active application gateway routers, as well as verify gateway functionality. The table shows each router’s:
- Name
- Externally accessible URL
- Test Status: The result of the most recent connectivity test
- Last Tested: The time the router was last tested

Click on a router to open its details panel, which includes:
-
Info: General router information
- Router details
- Uptime
- Last update time
- Router version
- Routed Tasks table: ClearML tasks currently available for access through the router
- Task name: Click to navigate to the task page
- Endpoint: Exposed application URL
- Owner: User who initiated the task

- Router details
-
Test Details: Administrators can run a test to verify that a gateway is functioning correctly: Identifying routed tasks and creating accessible network endpoints for them. The test launches a small task in the target network (specified through the desired ClearML queue), and checks that the router successfully creates a route to that task, and routes the network traffic to it.
To run a test:
- Hover over the Test Details panel > Click Test
- Input a queue that is serviced by agents in the network environment the router should provide access to
- Click Test
noteTesting is only supported when both the ClearML WebApp and the gateway endpoint are served over secure (HTTPS) protocols.
The Test Details tab displays:
- Status - Result of the most recent test
- Status message
- Status reason
- Started time
- Completed time
- Run time
- Queue - Queue where test task was enqueued for execution
- Worker - ClearML Agent that executed the test task
- Test Task name
- Task ID
- Browser endpoint
- Endpoint

-
Test log: Console output of the most recent router test.
Static Routes
Static Routes allow administrators to define external endpoints which users can attach to their ClearML application instances or services. Static routes decouple user network access from the specific deployed service instance (whose details make up the on-demand, router generated endpoints).
Static routes can operate in two modes:
- Single Endpoint: One internal endpoint per route
- Load Balancing: Multiple internal endpoints behind the single fixed endpoint. Load balancing endpoints maintain session context to keep sessions routing to the same internal endpoint.
Both URL-path and subdomain static routes can be defined.
Administrators can also enable authentication for route access using group-based permissions.
The Static Routes table lets you monitor all defined routes. The table shows each route's:
- Enabled: Toggle to enable / disable the static route
- Name: Route label
- Route:
- When active, displays the endpoint URL (e.g.
<router_url>/pathorsubdomain.<router_domain>). Click to access the endpoint in a new tab - When inactive, displays the projected route template depending on the route configuration (e.g.
<router url>/path,subdomain.<router domain>)
- When active, displays the endpoint URL (e.g.
- Type: URL or Subdomain route
- Load Balancing: Whether the route is single-endpoint or load balancing.
- Status: Router status
Not In Use- Route is configured but not being used by any router.Pending- Route is being set up for use by a routerRouting- Route configured and attached to at least one internal endpoint.
- Targets: Internal endpoints (Pod/IP:Port) connected to the route. These are existing endpoints provided by app instances or services (e.g. Model Deployment app instance) that are exposed through the static route. If the route is configured for load balancing, it can include multiple targets, with traffic distributed across them.
- Tasks: Linked tasks or app instances running the internal endpoints using the route
- Access: User groups with access to the route, or Public if no authentication is configured
- Created: Creation time
- Last Updated: Last modification time
- Updated By: User who last updated the route
Creating a Static Route
To create a static route:
- Click + Add Route
- In the Add New Route modal, input the following information
- Name – Route label
- Input a Route URL path or Subdomain name. Note that a path must begin with a slash (
/) - Load Balanced - Whether the route can serve multiple internal endpoints (load balancing) or just one.
- Authenticated Route -Whether the route is accessible to specific users (default) or is publicly accessible.
- Endpoint Access - When authentication is required, add the ClearML groups whose members can access this endpoint.
Editing Routes
A static route can be modified only when it is disabled. To edit route details, hover and click Edit
in the Static Routes table.
An enabled route is view-only. To view its details, hover and click View route configuration
in the Static Routes table.
Deleting Routes
To delete a static route details, hover and click Delete
in the Static Routes table. Disabling or Deleting a route removes the external endpoint and stops routing any active
connections.
Access Tokens
Tokens provide access to AI Application Gateway endpoints.
Two token types are available:
- User tokens - Grant access according to ClearML user (or service account) identity privileges
- Endpoint tokens - Grant access to designated endpoints regardless of user identity
The Access Tokens table lists all manually created tokens in the system. The table shows each token's:
- Label
- Type - User or Endpoint
- Creation Time
- Expiration Time
- Scope - The token access privileges: user identity for user tokens or endpoint list for endpoint tokens
- Metadata - Additional key-value metadata attached to the token (for endpoint tokens)
- Created by - User who generated the token

You can search
the tokens list by label or username.
Generating an Access Token
To generate an access token:
- Click Generate a Token
- Select the token type and enter token details:
- User token
Label- A descriptive name for the tokenUser- The ClearML user identity whose privileges will be used for authorizing endpoint accessExpiration- The number of days the token should remain valid
- Endpoint token
Label- A descriptive name for the tokenEndpoints- Select the endpoints the token will authorize access to (out of the non-public endpoints available under Static Routes).Additional Token Metadata- Optional custom key-value metadata attached to the token.Expiration- The number of days the token should remain valid
- User token
- Click
Generate, which creates a token and copies it to your clipboard
Revoking an Access Token
To revoke a token, hover over the token's row and click .