Method: notes.list
Stay organized with collections
Save and categorize content based on your preferences.
Lists notes.
Every list call returns a page of results with pageSize
as the upper bound of returned items. A pageSize
of zero allows the server to choose the upper bound.
The ListNotesResponse contains at most pageSize
entries. If there are more things left to list, it provides a nextPageToken
value. (Page tokens are opaque values.)
To get the next page of results, copy the result's nextPageToken
into the next request's pageToken
. Repeat until the nextPageToken
returned with a page of results is empty.
notes.list return consistent results in the face of concurrent changes, or signals that it cannot with an ABORTED error.
HTTP request
GET https://keep.googleapis.com/v1/notes
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters |
pageSize |
integer
The maximum number of results to return.
|
pageToken |
string
The previous page's nextPageToken field.
|
filter |
string
Filter for list results. If no filter is supplied, the trashed filter is applied by default. Valid fields to filter by are: createTime , updateTime , trashTime , and trashed . Filter syntax follows the Google AIP filtering spec.
|
Request body
The request body must be empty.
Response body
The response when listing a page of notes.
If successful, the response body contains data with the following structure:
JSON representation |
{
"notes": [
{
object (Note )
}
],
"nextPageToken": string
} |
Fields |
notes[] |
object (Note )
A page of notes.
|
nextPageToken |
string
Next page's pageToken field.
|
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/keep
https://www.googleapis.com/auth/keep.readonly
For more information, see the Authorization guide.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-11 UTC.
[null,null,["Last updated 2025-03-11 UTC."],[],[],null,["# Method: notes.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListNotesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nLists notes.\n\nEvery list call returns a page of results with `pageSize` as the upper bound of returned items. A `pageSize` of zero allows the server to choose the upper bound.\n\nThe ListNotesResponse contains at most `pageSize` entries. If there are more things left to list, it provides a `nextPageToken` value. (Page tokens are opaque values.)\n\nTo get the next page of results, copy the result's `nextPageToken` into the next request's `pageToken`. Repeat until the `nextPageToken` returned with a page of results is empty.\n\nnotes.list return consistent results in the face of concurrent changes, or signals that it cannot with an ABORTED error.\n\n### HTTP request\n\n`GET https://keep.googleapis.com/v1/notes`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Query parameters\n\n| Parameters ||\n|-------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` The maximum number of results to return. |\n| `pageToken` | `string` The previous page's `nextPageToken` field. |\n| `filter` | `string` Filter for list results. If no filter is supplied, the `trashed` filter is applied by default. Valid fields to filter by are: `createTime`, `updateTime`, `trashTime`, and `trashed`. Filter syntax follows the [Google AIP filtering spec](https://aip.dev/160). |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nThe response when listing a page of notes.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------|\n| ``` { \"notes\": [ { object (/workspace/keep/api/reference/rest/v1/notes#Note) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|----------------------------------------------------------------------------------------|\n| `notes[]` | `object (`[Note](/workspace/keep/api/reference/rest/v1/notes#Note)`)` A page of notes. |\n| `nextPageToken` | `string` Next page's `pageToken` field. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/keep`\n- `https://www.googleapis.com/auth/keep.readonly`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]