# Get the AI connection (/ms/growsocmed/docs/api-reference/ai-agents/get-ai-connection)

The workspace's AI provider key (never returned) and its models

GET /ai/connection

```json
{
  "tags": [
    "AI agents"
  ],
  "summary": "Get the AI connection",
  "responses": {
    "200": {
      "description": "OK",
      "content": {
        "application/json": {
          "schema": {}
        }
      }
    }
  },
  "operationId": "get-ai-connection",
  "description": "The workspace's AI provider key (never returned) and its models"
}
```