---
title: "Advanced transaction search"
method: POST
path: "/transactions/search"
tags: ["Transactions"]
---

# Advanced transaction search

`POST /transactions/search`

## Request body

- CallSearchRequest
  - `filter` object
    - `proto_type` integer — Protocol type (e.g. 1 for SIP)
    - `event_type` 'call' | 'registration' | 'rtp' | 'rtcp' | 'log' — Transaction/event type
    - `method` string
    - `call_id` string
    - `ruri_user` string
    - `from_user` string
    - `to_user` string
    - `user_agent` string
    - `src_ip` string
    - `dst_ip` string
    - `src_port` integer
    - `dst_port` integer
    - `capture_id` integer
    - `node` string
  - `param` object
    - `transaction` object
    - `limit` integer
    - `search` object
    - `orlogic` boolean
    - `whitelist` string[]
    - `location` object
      - `node` string[]
    - `timezone` object
      - `value` integer
      - `name` string
  - `timestamp` object
    - `from` integer — Unix epoch milliseconds (UTC).
    - `to` integer — Unix epoch milliseconds (UTC).

## Response `200`

Transactions list

- CallListResponse
  - `data` object
    - `items` CallElement[]
      - `id` number
      - `sid` string
      - `dst_host` string
      - `src_host` string
      - `dst_id` string
      - `src_id` string
      - `src_ip` string
      - `dst_ip` string
      - `src_port` number
      - `dst_port` number
      - `alias_src` string
      - `alias_dst` string
      - `method` string
      - `method_text` string
      - `create_date` integer
      - `protocol` number
      - `msg_color` string
      - `table` string
      - `ruri_user` string
      - `destination` integer
      - `micro_ts` integer
      - `storage_lake` string
      - `storage_volume` string
    - `keys` string[]
  - `meta` Meta
    - `request_id` string
    - `trace_id` string
    - `pagination` Pagination
      - `limit` integer
      - `next_cursor` string
      - `prev_cursor` string
      - `total` integer
      - `has_more` boolean
    - `message` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Server error

---

[API](https://skmtc.net/sipcapture/apis/homer-next-gen-api.md) · [All operations](https://skmtc.net/sipcapture/apis/homer-next-gen-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sipcapture/homer-next-gen-api/versions/1966dd0df318/schema)
