---
title: "Tamloot — Search notes"
description: "Search notes: parameters, request examples, and response schemas for GET /v1/notes."
canonical: "https://tamloot.cc/en/docs/developers/api-reference/search-notes"
last-updated: "2026-10-18"
---

# Search notes

`GET /v1/notes`

Send your API key in the `Authorization: Bearer $TAMLOOT_API_KEY` header. Only data visible to the key owner is accessible.

Based on the published [OpenAPI description](https://tamloot.cc/openapi.json). Schema names and code identifiers are shown exactly as the API defines them.

## Parameters

| Parameter | Location | Required | Type | Constraints |
| --- | --- | --- | --- | --- |
| `query` | query | Yes | string | `{"minLength":2,"maxLength":100}` |
| `limit` | query | No | integer | `{"minimum":1,"maximum":25,"default":15}` |
| `offset` | query | No | integer | `{"minimum":0,"default":0}` |

## Request examples

```bash
curl "https://api.tamloot.cc/v1/notes?query=maya" \
  --header "Authorization: Bearer $TAMLOOT_API_KEY"
```

```javascript
const response = await fetch("https://api.tamloot.cc/v1/notes?query=maya", {
  headers: { Authorization: `Bearer ${process.env.TAMLOOT_API_KEY}` },
});
if (!response.ok) throw new Error('HTTP ' + response.status);
const result = await response.json();
```

## Responses

| Status | Meaning |
| --- | --- |
| 200 | Successful response |
| 401 | Missing or invalid API key |
| 422 | Invalid request parameters |
| 429 | Rate limit exceeded; wait according to Retry-After |

### Success response schema

```json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "contact",
              "session"
            ]
          },
          "parent_id": {
            "type": "string",
            "format": "uuid"
          },
          "parent_label": {
            "type": "string",
            "nullable": true
          },
          "note_type": {
            "type": "string",
            "nullable": true
          },
          "content": {
            "type": "string",
            "description": "Truncated to 1000 characters"
          },
          "truncated": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      }
    },
    "pagination": {
      "type": "object",
      "required": [
        "limit",
        "offset",
        "has_more",
        "next_offset"
      ],
      "properties": {
        "limit": {
          "type": "integer"
        },
        "offset": {
          "type": "integer"
        },
        "has_more": {
          "type": "boolean"
        },
        "next_offset": {
          "type": "integer",
          "nullable": true,
          "description": "Pass as `offset` to fetch the next page. null when has_more is false."
        }
      }
    }
  }
}
```

### Error response schema

```json
{
  "type": "object",
  "required": [
    "error"
  ],
  "properties": {
    "error": {
      "type": "object",
      "required": [
        "code",
        "message"
      ],
      "properties": {
        "code": {
          "type": "string",
          "description": "HTTP status code as a string, e.g. \"404\""
        },
        "message": {
          "type": "string"
        }
      }
    }
  }
}
```

### Response headers

```json
{
  "RateLimit-Limit": {
    "description": "Requests allowed per one-second window.",
    "schema": {
      "type": "integer"
    }
  },
  "RateLimit-Policy": {
    "description": "The rate-limit policy, as `<limit>;w=<window seconds>`.",
    "schema": {
      "type": "string"
    }
  }
}
```

See the [quickstart](/en/docs/developers/quickstart) for API key setup and [API overview](/en/docs/developers/api) for rate limits and versioning.

## Where to look next

- [Tamloot](https://tamloot.cc/en)
- [All guides](https://tamloot.cc/en/docs)
- [llms.txt](https://tamloot.cc/docs/llms.txt)
- [Sitemap](https://tamloot.cc/sitemaps/sitemap.xml)
