App Lifecycle
The lifecycle of an App in Tyk AI Studio follows several distinct stages, from creation to deactivation. As an administrator, you play a key role in this process, particularly in the review and activation stages.1. Creation
An AI Developer creates an App, defining its name, description, and selecting the necessary resources such as LLMs, Tools, and Data Sources. At this stage, the App’s credentials are created but are inactive.2. Review
Once an App is created, it appears in the Apps list in the Admin section. As an administrator, you should review the App’s configuration to ensure it complies with your organization’s policies. This includes checking the selected LLMs, Data Sources, and Tools for appropriateness and security.3. Activation / Rejection
After reviewing the App, you can either activate or reject it.- Activation: By toggling the “Active” switch for the App’s credentials, you approve the App. It can now be used to make authenticated requests to the AI Gateway.
- Rejection: If the App does not meet your organization’s standards, you can leave its credentials inactive. It’s recommended to communicate with the user who created the App to explain why it was not approved.
4. Monitoring
Once an App is active, you should monitor its usage and performance. The App Details view provides insights into token usage, costs, and detailed request/response logs. This allows you to track resource consumption and identify any unusual activity.5. Deactivation
If an App is no longer needed, is misbehaving, or violates policies, you can deactivate it at any time by toggling its credentials to “Inactive”. This immediately revokes its access to the AI Gateway.Managing Apps
The Apps View in the AI Studio dashboard is your central hub for managing all user-created applications.Viewing App Details
From the Apps list, you can click on any App to see its detailed view. This view provides a comprehensive overview of the App, including:- App Information: Name, description, owner, and associated LLMs, Data Sources, and Tools.
- Credential Information: The App’s Key ID and its active status.
- Guardrails (Enterprise): The guardrail capability of the App. Refer to App Guardrail Capability.
- Token Usage and Cost: A graph displaying token consumption and associated costs over time.
- Proxy Logs: Detailed logs of inbound and outbound requests, essential for troubleshooting and auditing.
Editing Apps and Approving Credentials
In the App Edit View, you can:- Modify the App’s name and description.
- Change the associated LLMs, Data Sources, and Tools.
- Approve or reject the App by toggling the Active switch for its credentials. This is a critical governance control.
Access Grants
An App can call only the resources that it has a grant for. The gateway checks the grants on every request, for every authentication method (App API key, Bearer App secret, or an auth plugin):- An App can call only the LLMs, Model Routers, and data sources that it has a grant for. A request for any other LLM returns
403. - A grant for a Model Router lets the App reach the LLMs behind the router, but only through the router.
- An App can also reach the fallbacks of a granted LLM’s failover waterfall, but only through that waterfall.
team_id on POST /api/v1/apps or PATCH /api/v1/apps/{id}), the Team must be one of the owner’s Teams. A caller with the groups:write permission can set any Team.
Privacy Level Validation
The system enforces data governance by validating the privacy levels of resources. When a user creates or an admin updates an App, the system checks the privacy levels. The selected Data Sources and Tools cannot have a higher privacy level than the selected LLMs. A Model Router counts as an LLM with the lowest privacy score of the LLMs it can reach. Privacy levels are categorized from low to high. See Privacy Levels for the full score mapping. For example, a user tries to associate a “Restricted” Data Source with an LLM that has only an “Internal” privacy level. The system prevents this and shows an error. This keeps sensitive data away from less secure models. Keep this check in mind when you review and approve Apps.App Guardrail Capability
App guardrail capability is available from Tyk AI Studio 2.3.0. The Guardrails section of the App details page shows what the App can do with the output of its model. It limits how far a guardrail exception can soften a guardrail verdict for the App.
AI Studio suggests a value from the App’s tools, MCP servers, data sources, and plugin resources, with its reasons. An administrator clicks Accept suggestion to use it, or clicks Change to select a different value. AI Studio cannot see everything that the App can do, so the attested value is the one that applies.
When a guardrail filter is attached to one of the LLMs of the App, AI Studio shows the reset:
- The App form warns before you save.
- A notice after the save says that the capability was reset.
- The capability chip shows when it was cleared, and by whom.
- AI Studio notifies full administrators to attest the capability again.