---
title: Get Widget Config
protocol: rest
method: GET
endpoint: /v1/projects/{projectId}/chat/config
description: "Fetch the public AI widget configuration for a project."
---

# Get Widget Config

Returns the public configuration the embeddable chat widget uses to render itself — assistant name, persona, and project display settings. No authentication required.

<Endpoint method="GET" path="/v1/projects/{projectId}/chat/config" />

## Path Parameters

<ParamField path="projectId" type="string" required>
  The project ID.
</ParamField>

## Example

```bash
curl https://api.syntext.dev/v1/projects/prj_abc123/chat/config
```

### Response

```json
{
  "data": {
    "projectName": "Acme Docs",
    "assistantName": "AI Assistant"
  }
}
```

The assistant name and persona are configurable in the dashboard under **Settings → AI Assistant**.

<Note>
This endpoint is safe to call from the browser and is cached by the widget. See [AI Assistant](/platform/ai-assistant) for embedding instructions.
</Note>
