Skip to main content
POST
Search connector actions by semantic similarity

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
query
string
required

Search query for finding connector actions

Example:

"send a message"

connector
string

Filter by connector key, at any version. Shorthand for connector_versions: { "<key>": ["*"] }, which takes priority when both are sent.

Example:

"slack"

connector_versions
object

Connector versions to search, keyed by connector key. Takes priority over connector. At most 100 connector keys and 500 versions in total. latest is not accepted — pass resolved versions such as 1.2.0, or * for any version of that connector. * cannot be mixed with explicit versions in the same list. Explicit versions are returned as-is; * is deduplicated to the highest semver per action, and one map may mix the two forms across connectors.

Example:
top_k
number
default:100

Number of results to return

Required range: 1 <= x <= 500
min_similarity
number
default:0.2

Minimum similarity score threshold (0-1). Results below this score are filtered out.

Required range: 0 <= x <= 1
Example:

0.2

Response

Search results

results
object[]
required
total_count
number
required

Total number of results returned

query
string
required

Original search query

connector_filter
string

Connector filter applied

project_filter
string

Project filter applied

returned_by_connector
object

Per connector key, the number of rows returned in this result window, seeded to 0 for every connector key the caller asked for. This is a window count, not a match count: read 0 as "not indexed yet" only when truncated is false, since a full window can crowd out a connector that is fully indexed.

Example:
truncated
boolean

Whether the vector store filled the entire top_k budget, so results were cut off.

Example:

false