> ## Documentation Index
> Fetch the complete documentation index at: https://tyk.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Tyk AI Studio API

> Tyk AI Studio API

export const ButtonLeft = ({href, color, content}) => {
  const buttonStyle = {
    display: 'inline-block',
    padding: '5px 16px',
    fontSize: '14px',
    fontWeight: '500',
    textDecoration: 'none',
    borderRadius: '25px',
    transition: 'all 0.2s ease',
    cursor: 'pointer',
    border: '1.2px solid black'
  };
  const colorStyles = {
    green: {
      backgroundColor: '#20EDBA',
      color: 'black'
    },
    red: {
      backgroundColor: '#dc2626',
      color: 'white'
    },
    black: {
      backgroundColor: '#1f2937',
      color: 'white'
    }
  };
  const hoverStyle = {
    transform: 'translateY(-1px)',
    boxShadow: '0 4px 8px rgba(0,0,0,0.15)'
  };
  const finalStyle = {
    ...buttonStyle,
    ...colorStyles[color] || colorStyles.black
  };
  return <a href={href} style={finalStyle} onMouseEnter={e => {
    Object.assign(e.target.style, hoverStyle);
  }} onMouseLeave={e => {
    e.target.style.transform = 'translateY(0)';
    e.target.style.boxShadow = 'none';
  }}>
      {content}
    </a>;
};

## Availability

| Edition | Deployment Type |
| :- | :- |
| [Community](/docs/nightly/ai-management/ai-studio/overview#community-edition) & [Enterprise](/docs/nightly/ai-management/ai-studio/overview#enterprise-edition) | Self-Managed |

<ButtonLeft href="https://raw.githubusercontent.com/TykTechnologies/tyk-docs/refs/heads/production/swagger/nightly/ai-studio-swagger.yml" color="green" content="Download Swagger" />

The Tyk AI Studio API gives you programmatic access to everything the admin UI manages. This includes LLM providers, Apps, Tools, Data Sources, Catalogs, Teams, Users, Model call settings, Chats, and analytics. Use it to automate setup or to integrate AI Studio with your own tooling.

## Authentication

Every request needs a Bearer token in the `Authorization` header:

```
Authorization: Bearer <your-api-key>
```

Generate an API key from your User profile in the admin UI, or with `POST /auth/login` using your AI Studio username and password. The key inherits the permissions of the User it belongs to, so a non-admin key cannot call admin-only endpoints.

```bash theme={null}
curl -H "Authorization: Bearer <your-api-key>" https://<your-ai-studio-host>/llms
```
