---
title: "Get user model"
method: GET
path: "/v1/{organization}/user/{user_id}/user_model"
tags: ["User"]
---

# Get user model

`GET /v1/{organization}/user/{user_id}/user_model`

Retrieve the user models for an user.

#### Permissions
This endpoint requires the following permissions:
* `User:GetUserModel` for the user to retrieve the user models for.

## Path parameters

- `organization` string, required
- `user_id` string, required — The ID of the user whose user models to retrieve.

## Headers

- `x-mongo-cluster-name` string, nullable — The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.
- `Sec-WebSocket-Protocol` string[]

## Response `200`

Succeeded.

- SrcAppEndpointsUserGetUserModelResponse
  - `user_models` UserModel[], required — The latest user models for the user.
    - `content` string, required
    - `insight_ids` string[], required
    - `dimensions` UserDimensionOutput[], required
      - `description` string, required
      - `tags` string[], required
  - `additional_context` string[], required — The additional context for the user.

## Other responses

- `401` — Invalid authorization credentials.
- `403` — Missing required permissions.
- `404` — Specified organization or user is not found.
- `422` — Invalid request path parameter failed validation.
- `429` — The user has exceeded the rate limit of 60 requests per minute for this endpoint.
- `503` — The service is going through temporary maintenance.

---

[API](https://skmtc.net/amigo/apis/amigo-api.md) · [All operations](https://skmtc.net/amigo/apis/amigo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/amigo/amigo-api/revisions/f0f28319e448/schema)
