# List reactions in a session

Source: <https://everruns.com/docs/api/operations/list_message_reactions/>

[Docs](https://everruns.com/docs/)/[API reference](https://everruns.com/docs/api/)/[Sessions & workspaces](https://everruns.com/docs/api/groups/sessions-workspaces/)/List reactions in a session

# List reactions in a session

Preview

List the emoji reactions on the messages of a session, from people and from the agent, with who reacted and whether you did.

Public APIEverruns Cloud and self-hosted Platform

GET`/v1/sessions/{session_id}/reactions`

See [authentication](https://everruns.com/docs/sre/runbooks/authentication/) for credentials and permissions.

## Parameters

### Path Parameters

**session_id**

required

string

Prefixed public identifier

## Responses

200Success

### 200

Success

Media typeapplication/json

Array\<object>

The reactions on one message.

object

**author**

Who wrote the message: `user` (a user-role message) or `agent`.

string | null

**message_id**

required

string

**reactions**

required

Array\<object>

One emoji on a message.

object

**actors**

required

Who reacted, earliest first.

Array\<object>

One person or agent who reacted.

object

**id**

required

User, principal, agent or platform user id.

string

**kind**

required

Who reacted.

string

Allowed values: user consumer agent external

**name**

string | null

**reacted_at**

required

string format: date-time

**agent**

required

The agent is among those who reacted.

boolean

**count**

required

integer

**emoji**

required

string

**me**

required

The caller is among those who reacted.

boolean

**sequence**

Position of the message in the session’s event log, which places it in a turn of the trace. Absent when the message is no longer stored.

integer | null format: int64

### Example

```json
[
  {
    "author": "agent",
    "message_id": "message_01933b5a00007000800000000000001",
    "reactions": [
      {
        "actors": [
          {
            "kind": "user"
          }
        ],
        "emoji": "👍"
      }
    ]
  }
]
```

404Session not found

### 404

Session not found

FetchcURL

Request

```js
const url = 'https://app.everruns.com/api/v1/sessions/example/reactions';
const options = {method: 'GET'};


try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

Request

```sh
curl --request GET \
  --url https://app.everruns.com/api/v1/sessions/example/reactions
```

Additional language examples require JavaScript. The default request example is available above.

200404

200 · Success

```json
[
  {
    "author": "agent",
    "message_id": "message_01933b5a00007000800000000000001",
    "reactions": [
      {
        "actors": [],
        "agent": true,
        "count": 0,
        "emoji": "👍",
        "me": true
      }
    ]
  }
]
```

404 · Session not found

No response body example is declared for this status.

## Matching endpoints