Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex SpeechSense
  • Getting started
    • Authentication with the API
      • Overview
        • Overview
        • UploadAsStream
        • Upload
        • UploadText
        • Search
        • Get
  • Audit Trails events
  • Access management
  • Pricing policy
  • Release notes
  • FAQ

In this article:

  • gRPC request
  • SearchTalkRequest
  • Filter
  • AnyMatchFilter
  • IntRangeFilter
  • BoundsInclusive
  • DoubleRangeFilter
  • DateRangeFilter
  • DurationRangeFilter
  • BooleanFilter
  • Query
  • SortData
  • SortField
  • SearchTalkResponse
  1. API reference
  2. gRPC
  3. Talk
  4. Search

Talk Analytics API, gRPC: TalkService.Search

Written by
Yandex Cloud
Updated at November 26, 2024
  • gRPC request
  • SearchTalkRequest
  • Filter
  • AnyMatchFilter
  • IntRangeFilter
  • BoundsInclusive
  • DoubleRangeFilter
  • DateRangeFilter
  • DurationRangeFilter
  • BooleanFilter
  • Query
  • SortData
  • SortField
  • SearchTalkResponse

rpc for searching talks. will return ids only

gRPC requestgRPC request

rpc Search (SearchTalkRequest) returns (SearchTalkResponse)

SearchTalkRequestSearchTalkRequest

{
  "organization_id": "string",
  "space_id": "string",
  "connection_id": "string",
  "project_id": "string",
  "filters": [
    {
      "key": "string",
      // Includes only one of the fields `any_match`, `int_range`, `double_range`, `date_range`, `duration_range`, `boolean_match`
      "any_match": {
        "values": [
          "string"
        ]
      },
      "int_range": {
        "from_value": "google.protobuf.Int64Value",
        "to_value": "google.protobuf.Int64Value",
        "bounds_inclusive": {
          "from_inclusive": "bool",
          "to_inclusive": "bool"
        }
      },
      "double_range": {
        "from_value": "google.protobuf.DoubleValue",
        "to_value": "google.protobuf.DoubleValue",
        "bounds_inclusive": {
          "from_inclusive": "bool",
          "to_inclusive": "bool"
        }
      },
      "date_range": {
        "from_value": "google.protobuf.Timestamp",
        "to_value": "google.protobuf.Timestamp",
        "bounds_inclusive": {
          "from_inclusive": "bool",
          "to_inclusive": "bool"
        }
      },
      "duration_range": {
        "from_value": "google.protobuf.Duration",
        "to_value": "google.protobuf.Duration",
        "bounds_inclusive": {
          "from_inclusive": "bool",
          "to_inclusive": "bool"
        }
      },
      "boolean_match": {
        "value": "bool"
      },
      // end of the list of possible fields
      "inverse": "bool",
      "channel_number": "google.protobuf.Int64Value"
    }
  ],
  "query": {
    "text": "string",
    "inverse": "bool",
    "channel_number": "google.protobuf.Int64Value"
  },
  "page_size": "int64",
  "page_token": "string",
  "sort_data": {
    "fields": [
      {
        "field": "string",
        "order": "SortOrder",
        "position": "int64"
      }
    ]
  }
}

Field

Description

organization_id

string

id of organization

space_id

string

id of space

connection_id

string

id of connection

project_id

string

id of project

filters[]

Filter

metadata keys filters (user and system)

query

Query

Full-text search query

page_size

int64

page size, from 1 to 1000, default 100

page_token

string

next page token, if page is not first

sort_data

SortData

talks sorting options

FilterFilter

Field

Description

key

string

metadata key (user.some_key / system.created_at / analysis.speechkit.duration)

any_match

AnyMatchFilter

find talk matched by any text filters

Includes only one of the fields any_match, int_range, double_range, date_range, duration_range, boolean_match.

int_range

IntRangeFilter

find talks with value from int range

Includes only one of the fields any_match, int_range, double_range, date_range, duration_range, boolean_match.

double_range

DoubleRangeFilter

find talks with value from double range

Includes only one of the fields any_match, int_range, double_range, date_range, duration_range, boolean_match.

date_range

DateRangeFilter

find talks with value from date range

Includes only one of the fields any_match, int_range, double_range, date_range, duration_range, boolean_match.

duration_range

DurationRangeFilter

find talks with value from duration range

Includes only one of the fields any_match, int_range, double_range, date_range, duration_range, boolean_match.

boolean_match

BooleanFilter

find talks with value equals boolean

Includes only one of the fields any_match, int_range, double_range, date_range, duration_range, boolean_match.

inverse

bool

channel_number

google.protobuf.Int64Value

channel number to apply filter for, starting with 0. applies to all channels if not specified

AnyMatchFilterAnyMatchFilter

Field

Description

values[]

string

values list to match with "OR" operator

IntRangeFilterIntRangeFilter

Field

Description

from_value

google.protobuf.Int64Value

to_value

google.protobuf.Int64Value

bounds_inclusive

BoundsInclusive

BoundsInclusiveBoundsInclusive

indicates whether to include range boundaries

Field

Description

from_inclusive

bool

include from bound

to_inclusive

bool

include to bound

DoubleRangeFilterDoubleRangeFilter

Field

Description

from_value

google.protobuf.DoubleValue

to_value

google.protobuf.DoubleValue

bounds_inclusive

BoundsInclusive

DateRangeFilterDateRangeFilter

Field

Description

from_value

google.protobuf.Timestamp

to_value

google.protobuf.Timestamp

bounds_inclusive

BoundsInclusive

DurationRangeFilterDurationRangeFilter

Field

Description

from_value

google.protobuf.Duration

to_value

google.protobuf.Duration

bounds_inclusive

BoundsInclusive

BooleanFilterBooleanFilter

Field

Description

value

bool

QueryQuery

Field

Description

text

string

inverse

bool

should or should NOT match

channel_number

google.protobuf.Int64Value

id of channel to search ("1", "2", ..., any channel if not set)

SortDataSortData

Field

Description

fields[]

SortField

SortFieldSortField

Field

Description

field

string

sorting key

order

enum SortOrder

sorting order by current field

  • SORT_ORDER_UNSPECIFIED
  • SORT_ORDER_ASC
  • SORT_ORDER_DESC

position

int64

number of field in comparing order (sort by key1 (position = 0), then key2 (position = 1), then key3...)

SearchTalkResponseSearchTalkResponse

{
  "talk_ids": [
    "string"
  ],
  "talks_count": "int64",
  "next_page_token": "string"
}

Field

Description

talk_ids[]

string

page results entries

talks_count

int64

total documents matched

next_page_token

string

page token for next request

Was the article helpful?

Previous
UploadText
Next
Get
© 2025 Direct Cursus Technology L.L.C.