Skip to content

Search and Filters

Omnismith provides a dynamic query engine for searching entity records across templates. You can combine global full-text search with field-level filter conditions and custom sorting.


  • Enter search terms into the search bar at the top of any entity template view.
  • Searches across text attributes (Dimensions), list labels, and reference display names.

Filter entity records by specific attribute conditions using flexible comparison operators:

Attribute TypeAvailable OperatorsExample Filter Condition
StringEquals, Contains, Starts With, Is EmptyHostname contains "prod"
Number / Metric=, >, <, >=, <=, BetweenCPU Usage > 80
ListIn, Not In, Is EmptyStatus in [Online, Degraded]
Date / DateTimeBefore, After, Between, Is TodayCreated After 2026-01-01
ReferenceEquals, In, Is UnlinkedCustomer = ACME Corp

  1. Navigate to Entity Operations → Entities and select your template.
  2. Click + Add Filter next to the search bar.
  3. Select an attribute (e.g. Status), operator (e.g. Equals), and value (e.g. Online).
  4. Add additional filter chips to form compound logical queries (AND conditions).
  5. Click column headers to adjust sort direction (Ascending / Descending).

Multi-filter entity search with active filter chips and sorted results

3. Native Semantic Vector Search (Natural Language Intent)

Section titled “3. Native Semantic Vector Search (Natural Language Intent)”

In addition to traditional keyword matching, Omnismith provides Native Semantic Vector Search across entities:

  • Search Modes:
    • Keyword Mode: Direct lexical matching and field substring queries.
    • Semantic Mode: Searches records based on conceptual meaning, synonyms, and natural language symptoms (e.g., searching “thermal throttling and high heat” retrieves records mentioning “fan speed degraded; CPU temperature peaked at 98°C”).
  • Cosine Proximity Ranking: Results are ranked by semantic similarity score (from 0.0 to 1.0 / percentage match), prioritizing the most contextually relevant entities.
  • Enterprise Security & Scope: Semantic vector queries enforce active workspace RBAC and row-level access permissions at query time, guaranteeing that unauthorized records are never returned.

Semantic vector search ranking entities by natural language similarity score

Programmatic Semantic Search API (POST /api/v1/entities/semantic-search)

Section titled “Programmatic Semantic Search API (POST /api/v1/entities/semantic-search)”

External applications, AI agents, and automated pipelines can query the semantic search endpoint by supplying a 768-dimensional query embedding vector:

Terminal window
curl -X POST "https://api.omnismith.io/api/v1/entities/semantic-search" \
-H "Authorization: Bearer omni_live_secret_key_12345" \
-H "Content-Type: application/json" \
-d '{
"query_vector": [0.042, -0.015, 0.089, ...],
"template_id": "server_node",
"limit": 10,
"threshold": 0.65,
"attribute_key": "slug"
}'
[
{
"similarity_score": 0.942,
"entity": {
"id": "019fe207-38eb-7182-9a5f-70cdaeea34f2",
"template_slug": "server_node",
"attribute_values": {
"hostname": { "value": "prod-worker-04" },
"issue_description": { "value": "Fan RPM degraded; temperature spike causing throttling" }
}
}
}
]

4. Programmatic Search & Filtering by Slugs

Section titled “4. Programmatic Search & Filtering by Slugs”

The Search API (POST /api/v1/entities/search/{templateId}) supports filtering directly by attribute_slug:

Terminal window
curl -X POST "https://api.omnismith.io/api/v1/entities/search/server_node" \
-H "Authorization: Bearer omni_live_secret_key_12345" \
-H "Content-Type: application/json" \
-d '{
"global_search": "prod",
"filters": [
{
"field": "cpu_usage",
"operator": "gt",
"value": "80"
},
{
"field": "status",
"operator": "eq",
"value": "Online"
}
],
"attribute_key": "slug"
}'
  • eq / neq: Exact equality / inequality
  • gt / lt: Greater than / less than numeric comparison
  • like / not-like: Substring matching
  • empty / not-empty: Null / non-null checking