> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developer.crehana.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developer.crehana.com/_mcp/server.

# Get Talent Competences Behaviors Report

GET https://www.crehana.com/api/v5/rest/org/{organization_slug}/reports/talent/competences-behaviors/

Talent report: grade of each behavior per collaborator, for one process.

One row per evaluated collaborator and behavior of the competences process,
with the grade in the process scale (`scale_result`) and as a percentage
(`percentage_result`), combining the answers of every evaluator the way Talent
does: average inside each relation, then weighted by the relation weights of
the process. `evaluation_id` is required: the report always covers one
process. Rows are ordered by collaborator and behavior; page through them with
`cursor` / `next_cursor`.

Reference: https://developer.crehana.com/api-reference/endpoints/reports/get-talent-competences-behaviors-report

## Authentication

- `Api-Key` header (required) — API key of the organization. Always sent together with the `Secret-Access` header.

## Servers

- `https://www.crehana.com` (Production, default)
- `https://qa.creha.co` (QA)

## Request

### Path parameters

- `organization_slug` (string, required)

### Query parameters

- `evaluation_id` (integer, required) — Required. Id of the competences evaluation in Talent (the number the admin sees when configuring the process). Take it from `/reports/talent/competences-processes/`. The report always covers one process.
- `centralized_user_id` (integer, optional) — **Centralized** id of the collaborator to filter by. Note: this is not the learning `user_id` used by the `/reports/learning/…` reports — for the same person they are different numbers.
- `relation` (string, optional) — Relation of the evaluators to combine (`AUTO`, `BOSS`, `COWORKER`, `SUBORDINATE`, … as Talent names them; case-insensitive). Without it every relation of the process is combined into the grade.
- `limit` (integer, optional, default: 100) — Rows per page, up to 500. Defaults to 100 when omitted.
- `cursor` (string, optional) — Cursor for the next page. Take it from `next_cursor` in the previous response and send it back unchanged; it is opaque. Omit it for the first page.

## Response

### 200

Successful Response

- `results` (list of TalentCompetencesBehaviorReport, required)
- `total` (integer, optional)
- `next_cursor` (string, optional) — Cursor for the next page; send it back unchanged in `cursor`. Null on the last page.
- `has_next_page` (boolean, optional) — True when another page follows this one.

## Errors

### 400 Bad Request Error

Bad Request

- `message` (string, required)
- `errors` (list of string, required)
- `datetime` (string, optional)

### 422 Unprocessable Entity Error

Validation Error

- `detail` (list of ValidationError, optional)

## Types

### TalentCompetencesBehaviorReport

One row per evaluated collaborator and behavior of a competences process.

- `evaluation_id` (integer, optional) — Numeric id of the competences evaluation in Talent — the one the admin sees and the one accepted by the `evaluation_id` filter.
- `process_id` (string, optional) — Process id as stored by Talent (`4M<id>P`).
- `process_name` (string, optional)
- `process_status` (string, optional) — Process status as emitted by Talent (`FINISHED`, …), untranslated.
- `process_end_date` (date, optional)
- `max_scale` (double, optional) — Top of the process scale (5 for a 1–5 scale, 100 for a 1–100 one). It is the unit of `scale_result`.
- `evaluation_type` (string, optional) — How the process weighted the relations (`SIMPLE_AVERAGE`, `RELATION_WEIGHT`, `BEHAVIOR_WEIGHT`, …), as emitted by Talent.
- `employee_id` (integer, optional) — Collaborator id in Talent.
- `centralized_user_id` (integer, optional) — **Centralized** id of the collaborator — the one accepted by the `centralized_user_id` filter. Not the learning `user_id`.
- `user_name` (string, optional)
- `user_email` (string, optional)
- `user_document` (string, optional)
- `user_status` (string, optional) — Collaborator status in the organization (`active`, `inactive`, …). Inactive collaborators are included.
- `user_department` (string, optional)
- `user_area` (string, optional)
- `user_position` (string, optional)
- `user_headquarter` (string, optional)
- `user_level` (string, optional)
- `boss_email` (string, optional)
- `competence_id` (integer, optional) — Competence the behavior belongs to (id in Talent).
- `competence_name` (string, optional) — Competence name as configured in the competence model.
- `competence_weight` (double, optional) — Weight of the competence in the model (percentage). Null or 0 when the model does not weight competences.
- `behavior_id` (integer, optional) — Behavior id in Talent.
- `behavior_name` (string, optional) — Behavior statement as the evaluators saw it.
- `behavior_weight` (double, optional) — Weight of the behavior inside its competence. 0 when the process does not weight behaviors.
- `scale_result` (double, optional) — Grade of the behavior in the **process scale** (see `max_scale`): the answers of every evaluator, averaged inside each relation and then combined across relations with the process relation weights (plain average when the process does not weight relations). Calibrated when the process calibrates.
- `percentage_result` (double, optional) — `scale_result` as a percentage of `max_scale` (0–100). Null when the process has no scale.
- `relations_count` (integer, optional) — Relations (`AUTO`, `BOSS`, `COWORKER`, …) that answered this behavior for the collaborator.
- `evaluators_count` (integer, optional) — Evaluators that answered this behavior, counted per relation: an evaluator with two relations to the collaborator counts twice.
- `answers_count` (integer, optional) — Answers combined into `scale_result`.
- `updated_at` (datetime, optional) — Last update of the answers at the source.

### ValidationError

- `loc` (list of ValidationErrorLocItems, required)
- `msg` (string, required)
- `type` (string, required)

### ValidationErrorLocItems

- string
- integer

## Examples

**Response**

```json
{
  "results": [
    {
      "evaluation_id": 1,
      "process_id": "string",
      "process_name": "string",
      "process_status": "string",
      "process_end_date": "2023-01-15",
      "max_scale": 1.1,
      "evaluation_type": "string",
      "employee_id": 1,
      "centralized_user_id": 1,
      "user_name": "string",
      "user_email": "string",
      "user_document": "string",
      "user_status": "string",
      "user_department": "string",
      "user_area": "string",
      "user_position": "string",
      "user_headquarter": "string",
      "user_level": "string",
      "boss_email": "string",
      "competence_id": 1,
      "competence_name": "string",
      "competence_weight": 1.1,
      "behavior_id": 1,
      "behavior_name": "string",
      "behavior_weight": 1.1,
      "scale_result": 1.1,
      "percentage_result": 1.1,
      "relations_count": 1,
      "evaluators_count": 1,
      "answers_count": 1,
      "updated_at": "2024-01-15T09:30:00Z"
    }
  ],
  "total": 1,
  "next_cursor": "string",
  "has_next_page": true
}
```

**SDK Code**

```python
import requests

url = "https://www.crehana.com/api/v5/rest/org/organization_slug/reports/talent/competences-behaviors/"

querystring = {"evaluation_id":"1"}

headers = {
    "Secret-Access": "Secret-Access",
    "Api-Key": "<apiKey>"
}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript
const url = 'https://www.crehana.com/api/v5/rest/org/organization_slug/reports/talent/competences-behaviors/?evaluation_id=1';
const options = {
  method: 'GET',
  headers: {'Secret-Access': 'Secret-Access', 'Api-Key': '<apiKey>'}
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://www.crehana.com/api/v5/rest/org/organization_slug/reports/talent/competences-behaviors/?evaluation_id=1"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Secret-Access", "Secret-Access")
	req.Header.Add("Api-Key", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://www.crehana.com/api/v5/rest/org/organization_slug/reports/talent/competences-behaviors/?evaluation_id=1")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Secret-Access"] = 'Secret-Access'
request["Api-Key"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://www.crehana.com/api/v5/rest/org/organization_slug/reports/talent/competences-behaviors/?evaluation_id=1")
  .header("Secret-Access", "Secret-Access")
  .header("Api-Key", "<apiKey>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://www.crehana.com/api/v5/rest/org/organization_slug/reports/talent/competences-behaviors/?evaluation_id=1', [
  'headers' => [
    'Api-Key' => '<apiKey>',
    'Secret-Access' => 'Secret-Access',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://www.crehana.com/api/v5/rest/org/organization_slug/reports/talent/competences-behaviors/?evaluation_id=1");
var request = new RestRequest(Method.GET);
request.AddHeader("Secret-Access", "Secret-Access");
request.AddHeader("Api-Key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Secret-Access": "Secret-Access",
  "Api-Key": "<apiKey>"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://www.crehana.com/api/v5/rest/org/organization_slug/reports/talent/competences-behaviors/?evaluation_id=1")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```