/ workspaces/ {workspace_id}/ notificationsList notifications
Newest first: this workspace's notifications plus account-wide ones (for example about credits), which appear in every workspace. At most 50 per page, whatever limit asks for. Keep following next_cursor.
| Name | In | Required | Description |
|---|---|---|---|
| workspace_id | path | yes | The workspace (project) id. |
| limit | query | no | Page size. Default 25, max 100. |
| cursor | query | no | The next_cursor of the previous page. Opaque. |
| unread | query | no | true for unread only. |
Responses
- 200 A page of notifications. (NotificationList)
- 401 Missing, malformed, unknown or revoked API key. (ErrorResponse)
- 403 The account has no paid plan. (ErrorResponse)
- 404 The workspace does not exist or is not visible to this key's owner. (ErrorResponse)
- 422 Invalid limit, cursor or unread. (ErrorResponse)
- 429 Rate limit exceeded. Wait the number of seconds in Retry-After. (ErrorResponse)
- 500 Unexpected error. Retry later and quote request_id if it persists. (ErrorResponse)
200 response schema
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"type": {
"type": "string",
"description": "For example record_processed, match_found, research_finding, system. The set is open."
},
"title": {
"type": "string"
},
"body": {
"type": "string"
},
"link_path": {
"description": "The app page the notification points to, as a path (for example /knowledge-base/people/...). Null when there is none.",
"type": [
"string",
"null"
]
},
"read_at": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": "string"
}
},
"required": [
"id",
"type",
"title",
"body",
"link_path",
"read_at",
"created_at"
]
}
},
"next_cursor": {
"description": "Pass as ?cursor to get the next page. Null on the last page.",
"type": [
"string",
"null"
]
}
},
"required": [
"data",
"next_cursor"
]
}