---
title: "Query entities based on various constraints"
method: POST
path: "http://localhost:8000/{project_id}/annotations/query-targets"
tags: ["annotations"]
---

# Query entities based on various constraints

`POST http://localhost:8000/{project_id}/annotations/query-targets`

Query entities based on various constraints

Entities are objects that can be referenced within CATMAID's semantic
space, e.g. neurons, annotations or stack groups. This API allows to query
them, mainly by annotations that have been used with them. Multiple
annotation parameters can be used to combine different annotation sets with
AND. Elements of one annotation parameter are combined with OR.

## Path parameters

- `project_id` string, required

## Query parameters

- `annotation_date_start` string
- `annotation_date_end` string

## Response `201`

Created

---

[API](https://skmtc.net/catmaid/apis/catmaid-api.md) · [All operations](https://skmtc.net/catmaid/apis/catmaid-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/catmaid/catmaid-api/revisions/adc1c7c5eefe/schema)
