---
title: "Get all traits for an entity"
method: GET
path: "/api/v1/ackdb/entities/{entityId}/traits"
tags: ["ackDB"]
---

# Get all traits for an entity

`GET /api/v1/ackdb/entities/{entityId}/traits`

## Request

- Base URL: `http://localhost:3009`
- URL: `http://localhost:3009/api/v1/ackdb/entities/{entityId}/traits`
- Auth: HTTP bearer

Returns all computed traits for an entity, including provenance (source, workflow, confidence). Each trait has typed value columns - only one of valueString, valueNumber, valueBool, valueDate will be populated based on the trait's type.

## Path parameters

- `entityId` string, required

## Response `200`

List of entity traits

- object
  - `data` AckdbEntityTrait[], required
    - `entityId` string, required: The entity this trait belongs to.
    - `traitKey` string, required: Trait identifier (matches a trait_definition).
    - `valueString` unknown, required
    - `valueNumber` unknown, required
    - `valueBool` unknown, required
    - `valueDate` string, date-time, required: Date value (populated for date traits).
    - `source` string, required: Source system that produced this trait.
    - `workflow` string, required: Workflow that computed this value.
    - `confidence` number, required: Confidence score (0-1). 1.0 = observed/verified.
    - `updatedAt` string, date-time, required: When this trait value was last updated.

## Other responses

- `404`: Entity not found

---

[API](https://skmtc.dev/floqer/apis/floqer-public-api.md) - [All operations](https://skmtc.dev/floqer/apis/floqer-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/floqer/apis/floqer-public-api/revisions/fce50dc07b20?raw)
