m4Mindset docs

Mindset v3 / Deploy in your app / Contexts

View as Markdown

Retrieve contexts

Mindset v3 REST API reference: Contexts.

GET /api/v1/appuid/{appUid}/contexts

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

Query parameters

startAfterstringquery

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

externalTenantIdstringquery

Only include Contexts for externalTenantId

Responses

200

Successful retrieval

json
{
  "contexts": [
    {
      "uid": "string",
      "name": "string",
      "description": "string",
      "externalId": "string",
      "createdAt": "string",
      "isSynced": true,
      "externalTenantId": "string"
    }
  ]
}

401

Unauthorized

403

Forbidden

404

Context not found

500

Internal Server Error

Example request

bash
curl -X GET "https://a.api.mindset.ai/api/v1/appuid/{appUid}/contexts" \
  -H "x-api-key: <your-api-key>"