m4Mindset docs

Mindset v3 / Deploy in your app / DynamicComponents

View as Markdown

List all dynamic components for an agent

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-keystringheaderrequired

Your API key.

Path parameters

appUidstringpathrequired

Your application's uid

agentUidstringpathrequired

The agent's uid

Query parameters

startAfterstringquery

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>"