# List all dynamic components for an agent

> You're reading the Mindset v3 documentation. v3 is no longer sold; this is reference for existing customers. Mindset 4 docs are at /docs.

Returns all available dynamic components (custom HTML elements) for the specified agent.

**GET** `/api/v2/appuid/{appUid}/agents/uid/{agentUid}/dynamicComponents`

Returns all available dynamic components (custom HTML elements) for the specified agent. Only accessible when SDK3 is enabled for the app.

## Base URL

Requests go to your region's API host, for example `https://a.api.mindset.ai`. Hosts: `https://a.api.mindset.ai`, `https://b.api.mindset.ai`, `https://c.api.mindset.ai`, `https://d.api.mindset.ai`.

## Authorization

- `x-api-key` (string, required, header)

  Your API key.

## Path parameters

- `appUid` (string, required, path)

  Your application's uid

* `agentUid` (string, required, path)

  The agent's uid

## Query parameters

- `startAfter` (string, query)

  Start after the given createdAt timestamp (ISO 8601) for pagination

## Responses

### 200

Successful retrieval

```json
{
  "dynamicComponents": [
    {
      "name": "string",
      "title": "string",
      "description": "string",
      "enabled": true,
      "instructions": "string",
      "createdAt": "string",
      "modifiedAt": "string"
    }
  ]
}
```

### 401

Unauthorized

### 403

Forbidden

### 404

Agent not found or SDK3 not enabled for this app

### 500

Internal Server Error

## Example request

```bash
curl -X GET "https://a.api.mindset.ai/api/v2/appuid/{appUid}/agents/uid/{agentUid}/dynamicComponents" \
  -H "x-api-key: <your-api-key>"
```
