m4Mindset docs

Mindset v3 / Deploy in your app / DynamicComponents

View as Markdown

Get a specific dynamic component by name

Returns a single dynamic component by its name.

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

Returns a single dynamic component by its name. 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

namestringpathrequired

The component name (e.g., 'mindset-accordion')

Responses

200

Successful retrieval

json
{
  "name": "string",
  "title": "string",
  "description": "string",
  "enabled": true,
  "instructions": "string",
  "createdAt": "string",
  "modifiedAt": "string"
}

401

Unauthorized

403

Forbidden

404

Component not found, 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/name/{name}" \
  -H "x-api-key: <your-api-key>"