---
title: "Query summaries"
method: POST
path: "/v6/summaries/query"
tags: ["Summaries"]
---

# Query summaries

`POST /v6/summaries/query`

Query summaries for the authenticated user

## Request body

- SummariesGetParam
  - `cursor` string, nullable — Cursor from the previous paginated response
  - `limit` integer — Page size, i.e. number of items to return per page
  - `sort` SummarySort — Sort order for the items in the response.
    - `orderBy` 'DATE' — Sort column
    - `direction` 'ASC' | 'DESC' — Sort direction. Defaults to DESC
  - `filter` SummaryFilter — Filter for items in the response.
    - `date` DateFilter — Date filter
      - `equal` string, date — Value - returns all records with specified field equal to this value.
      - `notEqual` string, date — Value - returns all records with specified field not equal to this value.
      - `greaterThan` string, date — Value - returns all records with specified field greater than to this value.
      - `greaterThanEqual` string, date — Value - returns all records with specified field greater than or equal to this value.
      - `lessThan` string, date — Value - returns all records with specified field less than to this value.
      - `lessThanEqual` string, date — Value - returns all records with specified field less than or equal to this value.
    - `status` EnumStatusListFilter — Status filter
      - `in` string[]
      - `notIn` string[]
      - `equal` 'ACTIVE' | 'INACTIVE' | 'REMOVED'
      - `notEqual` 'ACTIVE' | 'INACTIVE' | 'REMOVED'
      - `greaterThan` 'ACTIVE' | 'INACTIVE' | 'REMOVED'
      - `greaterThanEqual` 'ACTIVE' | 'INACTIVE' | 'REMOVED'
      - `lessThan` 'ACTIVE' | 'INACTIVE' | 'REMOVED'
      - `lessThanEqual` 'ACTIVE' | 'INACTIVE' | 'REMOVED'
    - `company` CompanyIdFilter — Company filter
      - `in` string[] — Company IDs to include

## Response `200`

Success

- PaginatedResponseSummaryGetDto
  - `result` 'SUCCESS' | 'FAILURE' — The result of the action performed.
  - `data` SummaryGetDto[] — The data generated by the action performed.
    - `id` string, required — Id of the summary, required when updating an existing summary
    - `summary` string, required — Content of the summary
    - `date` string, date, required — Date of the summary (must be first of the month)
    - `status` 'ACTIVE' | 'INACTIVE' | 'REMOVED', required — Status of the summary
    - `conversation` ConversationExpanded, nullable, required — The conversation associated with this entity
      - `id` string, required — Id of the conversation
      - `readStatus` 'READ' | 'UNREAD' — Read status of the conversation for the authenticated user
    - `company` CompanyExpanded, required — Company associated with this conversation
      - `id` string, required — Id of the company
      - `name` string — Name of the company
  - `cursor` ResponseCursor — Cursor to be used in your subsequent paginated request. Only populated if there are more pages available.
    - `after` string — After cursor - Fetches entities after this cursor. Useful for paging forwards.
    - `before` string — Before cursor - Fetches entities before this cursor. Useful for paging backwards.

## Other responses

- `400` — Bad request
- `401` — Not authenticated
- `403` — Not authorized
- `404` — Endpoint not found
- `500` — Internal server error

---

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