Skip to content

Docs

list_notifications

List your notifications, newest first: failed posts, posts that need you or must be posted by hand, late posts, channels to reconnect or expiring, feedback from reviewers, and agent requests waiting for confirmation. Filter to one workspace or to unread ones. Page with `before` (the nextCursor of the previous page). Each has a link to where to act.

List your notifications, newest first: failed posts, posts that need you or must be posted by hand, late posts, channels to reconnect or expiring, feedback from reviewers, and agent requests waiting for confirmation. Filter to one workspace or to unread ones. Page with before (the nextCursor of the previous page). Each has a link to where to act.

Access and cost

  • Kind: query
  • Scope: account
  • Actors: member, agent
  • Credits: Free
  • Requires confirmation: false
  • Accepts idempotency key: false

Input schema

{
  "properties": {
    "workspaceId": {
      "format": "uuid",
      "type": "string"
    },
    "unreadOnly": {
      "default": false,
      "type": "boolean"
    },
    "limit": {
      "default": 30,
      "maximum": 100,
      "minimum": 1,
      "type": "integer"
    },
    "before": {
      "format": "date-time",
      "type": "string"
    }
  },
  "type": "object"
}

Output schema

{
  "additionalProperties": false,
  "properties": {
    "notifications": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "accountId": {
            "format": "uuid",
            "type": "string"
          },
          "workspaceId": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "kind": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "body": {
            "type": [
              "string",
              "null"
            ]
          },
          "link": {
            "type": [
              "string",
              "null"
            ]
          },
          "data": {
            "type": "object"
          },
          "readAt": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "emailedAt": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "accountId",
          "workspaceId",
          "kind",
          "title",
          "body",
          "link",
          "data",
          "readAt",
          "emailedAt",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "unreadCount": {
      "minimum": 0,
      "type": "integer"
    },
    "nextCursor": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "notifications",
    "unreadCount",
    "nextCursor"
  ],
  "type": "object"
}

Errors

[]

Annotations

{
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": false,
  "readOnlyHint": true,
  "title": "List notifications"
}