---
title: "Find pbehaviors by entity id"
method: GET
path: "/entities/pbehavior-calendar"
tags: ["pbehaviors"]
---

# Find pbehaviors by entity id

`GET /entities/pbehavior-calendar`

Get list of pbehaviors' timespans.

-  PERMISSIONS: `api_entity:read` `api_pbehavior:read`

## Query parameters

- `_id` string, required
- `from` integer, required
- `to` integer, required

## Response `200`

OK

- PbehaviorCalendarResponse[] — unresolved $ref

## Other responses

- `400` — Bad Request
- `404` — Not Found

---

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