> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jeanmemory.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get user

> Read a user's full representation: structured fields, derived attributes, dense vectors per domain.

Useful for **debugging match decisions**. Every value returned carries provenance, so you can trace any score in `/match` back to which extraction or feedback event produced the underlying field.

Not intended to be in your request hot path. Cache aggressively if you do put it there.

<CodeGroup>
  ```bash curl theme={"dark"}
  curl "https://api.jeantechnologies.com/v1/users/u_alice?domain=dating" \
    -H "Authorization: Bearer $JEAN_API_KEY"
  ```

  ```python Python theme={"dark"}
  user = requests.get(
      "https://api.jeantechnologies.com/v1/users/u_alice",
      headers={"Authorization": f"Bearer {os.environ['JEAN_API_KEY']}"},
      params={"domain": "dating"},
  ).json()
  ```

  ```ts TypeScript theme={"dark"}
  const res = await fetch(
    "https://api.jeantechnologies.com/v1/users/u_alice?domain=dating",
    { headers: { Authorization: `Bearer ${process.env.JEAN_API_KEY}` } },
  );
  const user = await res.json();
  ```
</CodeGroup>

## Example response

```json theme={"dark"}
{
  "user_id": "u_alice",
  "domain": "dating",
  "schema_version": "dating.v3",
  "fields": {
    "age": 32,
    "location": "New York, NY",
    "relationship_goal": "serious",
    "values_text": "..."
  },
  "derived": {
    "attachment_style": "secure"
  },
  "embeddings": {
    "dating": { "dim": 1024, "version": "dating-2026-05-01" }
  },
  "last_enriched_at": "2026-05-17T22:01:09Z"
}
```

<Tip>
  Omit the `domain` query param to get all heads this user has been processed for. Useful for cross-domain inspection.
</Tip>


## OpenAPI

````yaml GET /users/{user_id}
openapi: 3.1.0
info:
  title: Jean Technologies API
  version: 1.0.0
  description: >-
    Matching infrastructure for AI-era platforms. Ingest user context, retrieve
    compatible candidates, send outcomes back.
servers:
  - url: https://api.jeantechnologies.com/v1
    description: Production
security:
  - bearerAuth: []
paths:
  /users/{user_id}:
    get:
      tags:
        - Users
      summary: Get user
      description: >-
        Return the full representation: structured fields, derived attributes,
        and dense vectors per domain.
      operationId: getUser
      parameters:
        - name: user_id
          in: path
          required: true
          schema:
            type: string
          example: u_alice
        - name: domain
          in: query
          required: false
          description: Restrict the response to a single domain.
          schema:
            type: string
            example: dating
      responses:
        '200':
          description: User found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    User:
      type: object
      properties:
        user_id:
          type: string
          example: u_alice
        domain:
          type: string
          example: dating
        schema_version:
          type: string
          example: dating.v3
        fields:
          type: object
          additionalProperties: true
          example:
            age: 32
            location: New York, NY
            relationship_goal: serious
        derived:
          type: object
          additionalProperties: true
          example:
            attachment_style: secure
        embeddings:
          type: object
          additionalProperties:
            type: object
            properties:
              dim:
                type: integer
              version:
                type: string
          example:
            dating:
              dim: 1024
              version: dating-2026-05-01
        last_enriched_at:
          type: string
          format: date-time
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: invalid_request
            message:
              type: string
              example: Field 'domain' is required.
            details:
              type: object
              additionalProperties: true
  responses:
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key issued by Jean Technologies. Contact the team for access.

````