---
agentTools:
  projectIndex: https://developers.northpass.com/llms.txt
---

# Search

## URL

`/app/search`

## Screenshot

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/12908fc-search.png",
        "search.png",
        1920,
        1200,
        "#e2e6e7"
      ]
    }
  ]
}
[/block]

## Structure

[block:code]
{
  "codes": [
    {
      "code": "search.html.liquid\n├── _header.html.liquid\n├── _filter_dropdown.html.liquid\n│   └── _filter_select.html.liquid\n├── _search_result.html.liquid\n├── _search_zero_state.html.liquid\n└── _footer.html.liquid",
      "language": "text"
    }
  ]
}
[/block]

## Template Considerations

The Search template exposes a `results` variable with the following structure:

[block:parameters]
{
  "data": {
    "h-0": "name",
    "h-1": "type",
    "0-0": "count",
    "0-1": "number",
    "1-0": "term",
    "1-1": "string",
    "2-0": "items",
    "2-1": "array [SearchResult]",
    "3-0": "filters",
    "3-1": "array [Filter]"
  },
  "cols": 2,
  "rows": 4
}
[/block]

The SearchResult entity has the following structure:

[block:parameters]
{
  "data": {
    "h-0": "name",
    "h-1": "type",
    "0-0": "image_url",
    "0-1": "string",
    "1-0": "description",
    "1-1": "string",
    "2-0": "course",
    "2-1": "[Course](https://developers.northpass.com/docs/course-variable)",
    "3-0": "activity",
    "3-1": "[Activity](https://developers.northpass.com/docs/activity-variable)"
  },
  "cols": 2,
  "rows": 4
}
[/block]

The Filter entity has the following structure:

[block:parameters]
{
  "data": {
    "h-0": "name",
    "h-1": "type",
    "0-0": "id",
    "0-1": "uuid",
    "1-0": "name",
    "1-1": "string",
    "2-0": "selected",
    "2-1": "boolean"
  },
  "cols": 2,
  "rows": 3
}
[/block]