---
title: "Query Notes associate with a resource"
method: GET
path: "/note"
tags: ["Note"]
---

# Query Notes associate with a resource

`GET /note`

Used to query all notes associated with an object

## Query parameters

- `workspace_id` string, required
- `resource_type` 'testrun', required
- `resource_id` string, required
- `limit` integer
- `cursor` string

## Response `200`

Results of the query

- NoteQueryResult
  - `notes` Note[] — All notes that matched the query
    - `id` string — The ID of the note
    - `created_time` integer — Time at which the note was created
    - `created_by_id` string — The ID of the user who created this note
    - `last_updated_time` integer — Time at which the note was last updated
    - `last_updated_by_id` string — The ID of the user who last updated this note
    - `workspace_id` string — The ID of the organization associated with this note
    - `text` string — The text content of the note application
    - `resource_type` 'testrun' — The type of the resource this note is associated with
    - `resource_id` string — The id of the resource this note is associated with
  - `cursor` string — Cursor used for pagination

## Other responses

- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `default` — Unknown error

---

[API](https://skmtc.net/mabl/apis/mabl-api.md) · [All operations](https://skmtc.net/mabl/apis/mabl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mabl/mabl-api/revisions/d0fc0114da66/schema)
