---
title: "Get Dna Entities"
method: GET
path: "/api/dna/{table_name}"
tags: ["8DNA API"]
---

# Get Dna Entities

`GET /api/dna/{table_name}`

## Request

- Base URL: `https://api.agentstack.tech` (the document declares no server; this is the origin it was published from)
- URL: `https://api.agentstack.tech/api/dna/{table_name}`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Get DNA entities from table

Universal GET operation for any DNA table

## Path parameters

- `table_name` string, required: DNA table name

## Query parameters

- `project_id` integer, nullable: Filter by project ID
- `user_id` integer, nullable: Filter by user ID
- `limit` integer: Limit results
- `offset` integer: Offset for pagination
- `order_by` string, nullable: Sort field (whitelist): created_at, updated_at, user_id, project_id, id, generation
- `order` string: asc or desc
- `service_name` string, nullable: ✅ Unified table: Filter by service_name (for execution_ecosystem_logs)
- `unified_8dna_role` string, nullable: For data_projects_8dna only: 'project' (user_id=0 rows) or 'user' (user_id>0 rows)
- `exclude_blanks` boolean: For data_projects_8dna: exclude rows with data.is_blank=true from results
- `filter_data` string, nullable: JSON object of data.* filters (CardGame / FAP logical entities)

## Response `200`

Successful Response

- unknown

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `422`: Validation Error
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/agentstack/apis/agentstack-core-api.md) · [All operations](https://skmtc.dev/agentstack/apis/agentstack-core-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentstack/apis/agentstack-core-api/revisions/79f4a4dd8813?raw)
