---
title: "Personality Traits"
method: POST
path: "/personality"
tags: ["Text Analysis"]
---

# Personality Traits

`POST /personality`

Predict the personality trait of author of any written text.

Supported Languages: [`ar`, `de`, `en`, `es`, `fr`, `it`, `nl`, `pt`, `ru`, `tr`, `zh`]

Returned labels:

* emotional
* rational

## Query parameters

- `all` boolean

## Request body

- Post[]
  - `id` string — id of the post.
  - `text` string, required — the text to be analysed.
  - `language` string, required — language_code of the text.

## Response `200`

Successful Response

- PostPredicted[]
  - `id` string — id of the post.
  - `predictions` Prediction[], required — the list of predictions.
    - `prediction` string, required — the predicted label.
    - `probability` number, required — the probability of the predicted label.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/symanto/apis/psycholinguistic-text-analytics.md) · [All operations](https://skmtc.net/symanto/apis/psycholinguistic-text-analytics/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/symanto/psycholinguistic-text-analytics/versions/d74e31f8c7cc/schema)
