List Memory Store mounts for an Identity and Template.
Lists all active Memory Store mounts for an
An Identity-level Service Account Token can only query its own Identity. Querying another Identity returns
HTTP 200 OK
If no Session has been created and no explicit Store is mounted, the endpoint returns an empty list. The system-managed default Store is created automatically when the first Session is created.
(identity, template) pair, including the default Store created automatically when the first Session is created.
The system-managed default Store is always first and is the only mount with access=read_write. Explicit mounts follow in ascending mount-time order and all use read_only.
The number of mounts is limited to 10 explicit mounts plus the default slot. This endpoint therefore does not accept pagination parameters, and has_more is always false.
Path
GET /api/v1/forward/identities/{identity_id}/templates/{template_id}/memory_stores
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <PAT, admin SAT, or SAT for this Identity> |
403.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
identity_id | string | Yes | Identity ID (idn_...). |
template_id | string | Yes | Template ID (tmpl_...). |
Example request
Example response
HTTP 200 OK
Empty-list response
If no Session has been created and no explicit Store is mounted, the endpoint returns an empty list. The system-managed default Store is created automatically when the first Session is created.
Response fields
| Field | Type | Description |
|---|---|---|
data | array | Array of Memory Store mount objects. |
first_id | string/null | memory_store_id of the first mount on the current page. |
last_id | string/null | memory_store_id of the last mount on the current page. |
has_more | boolean | Always false because the mount count is limited. |
Errors
| HTTP | Type | Trigger |
|---|---|---|
| 400 | invalid_request_error | A path parameter is invalid. |
| 401 | authentication_error | The authentication token is missing or invalid. |
| 403 | permission_error | An Identity-level SAT tried to query another Identity. |
| 404 | not_found_error | The Identity or Template does not exist or is not visible. |
| 500/502/503 | api_error | Forward or a dependent service failed. |