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

# POST /api/admin/users/profile

> Get raw identify traits and allowlisted device, app and web context. Explicit null traits clear keys; traits merge the newest 200 identifies across all history, returning at most 100 keys and 2 KB per value. Device & app info and last seen cover the last 90 days of ingestion, excluding internal events; older activity is never retried. Page URLs contain only origin and pathname; finite numeric and boolean SDK metadata are returned as strings. The dashboard renders when a computed user exists, traits are non-empty, or last seen is set; older track-only users without computed properties or retained traits return not found.



## OpenAPI

````yaml POST /api/admin/users/profile
openapi: 3.1.0
info:
  title: Tranthor API
  description: Tranthor API Swagger Documentation
  version: 0.0.1
servers: []
security: []
paths:
  /api/admin/users/profile:
    post:
      tags:
        - Users
      description: >-
        Get raw identify traits and allowlisted device, app and web context.
        Explicit null traits clear keys; traits merge the newest 200 identifies
        across all history, returning at most 100 keys and 2 KB per value.
        Device & app info and last seen cover the last 90 days of ingestion,
        excluding internal events; older activity is never retried. Page URLs
        contain only origin and pathname; finite numeric and boolean SDK
        metadata are returned as strings. The dashboard renders when a computed
        user exists, traits are non-empty, or last seen is set; older track-only
        users without computed properties or retained traits return not found.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                workspaceId:
                  type: string
                userId:
                  minLength: 1
                  description: Identified user id; anonymous-only events are excluded.
                  type: string
              required:
                - workspaceId
                - userId
        required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  userId:
                    type: string
                  traits:
                    type: object
                    additionalProperties: {}
                  truncatedKeyCount:
                    minimum: 0
                    type: integer
                  context:
                    additionalProperties: false
                    type: object
                    properties:
                      library:
                        type: object
                        properties:
                          name:
                            type: string
                          version:
                            type: string
                      os:
                        type: object
                        properties:
                          name:
                            type: string
                          version:
                            type: string
                      device:
                        type: object
                        properties:
                          model:
                            type: string
                          manufacturer:
                            type: string
                          type:
                            type: string
                      app:
                        type: object
                        properties:
                          name:
                            type: string
                          version:
                            type: string
                          build:
                            type: string
                      page:
                        type: object
                        properties:
                          url:
                            type: string
                          title:
                            type: string
                      locale:
                        type: string
                      timezone:
                        type: string
                      userAgent:
                        type: string
                  contextEventTime:
                    anyOf:
                      - type: string
                      - type: 'null'
                  lastSeenAt:
                    anyOf:
                      - type: string
                      - type: 'null'
                required:
                  - userId
                  - traits
                  - truncatedKeyCount
                  - context
                  - contextEventTime
                  - lastSeenAt

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.