# List the days you wrote about

`GET https://app.skylit.ai/api/nexus/v1/journal/notes`

API: Nexus.

The days in one month you wrote a journal note about, in New York time. Read the note itself with `GET /api/nexus/v1/journal/notes/{day}`.

- Notes are yours as a member, not an account's or a port's: leave `account` and `port` out. `account=agent` or any `port` answers `400 bad_request`.
- A month you wrote nothing in is `days: []`.
- `month` in the answer is what you sent, so it is `""` when you left it out.
- Read only. It reads only your own notes and counts against your 120 reads a minute.

```bash
curl -s "https://app.skylit.ai/api/nexus/v1/journal/notes?month=2025-06" \
  -H "Authorization: Bearer $SKYLIT_API_KEY"
```

## Authentication

Send your Skylit API key as a bearer token: `Authorization: Bearer <key>`. No other header is accepted.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `account` | query | string | no | Leave it out, or send `main`. This is yours as a member, not an account's: `agent` answers `400 bad_request`, and so does `port`. (one of `main`) |
| `month` | query | string | no | `YYYY-MM`. Left out, this month in New York. |

## Example request

```bash
curl "https://app.skylit.ai/api/nexus/v1/journal/notes" \
  -H "Authorization: Bearer $SKYLIT_API_KEY"
```

## Responses

### 200

The days.

A real answer: two notes in June 2025.:

```json
{
  "data": {
    "days": [
      "2025-06-10",
      "2025-06-12"
    ],
    "month": "2025-06"
  },
  "meta": {
    "account": "main",
    "port": null
  }
}
```

### 400

Code: `bad_request`. `account=agent` or a `port` was sent (notes and passed trades are yours as a member, not an account's), `account` is something else, or `month`, `day`, `from` or `to` isn't a valid date. The message says which.

account=agent or a port.:

```json
{
  "error": {
    "code": "bad_request",
    "message": "Notes and passed trades are kept per member, not per account or port. Leave account and port out (or send \"account\": \"main\")."
  }
}
```

### 401

No key, or a key that isn't valid. Codes: `missing_api_key`, `invalid_api_key`.

No key sent.:

```json
{
  "error": {
    "code": "missing_api_key",
    "message": "Send your Skylit API key in the Authorization header: Authorization: Bearer YOUR_SKYLIT_API_KEY."
  }
}
```

### 403

The key works but the account can't do this. Codes: `account_suspended`, `nexus_access_denied`, `futures_access_denied`.

The account doesn't include Nexus.:

```json
{
  "error": {
    "code": "nexus_access_denied",
    "message": "This Skylit account doesn't include Nexus, so it can't place Nexus trades."
  }
}
```

### 404

Code: `user_not_found`. This Skylit account hasn't used Nexus yet, so there's nothing to read.

No Nexus account yet.:

```json
{
  "error": {
    "code": "user_not_found",
    "message": "This Skylit account hasn't used Nexus yet, so it has no journal."
  }
}
```

### 429

Over a rate limit. Wait `Retry-After` seconds, then retry. Codes: `rate_limited`, and `stream_limit_reached` (too many live streams open: 3 per key, 6 per account).

Headers: `Retry-After`, `X-RateLimit-Limit`, `X-RateLimit-Remaining`.

Too many writes from this key.:

```json
{
  "error": {
    "code": "rate_limited",
    "message": "Too many requests (limit 30). Slow down and retry in 12 seconds."
  }
}
```

### 500

Something went wrong on our side. If you sent a `clientOrderId`, retry with the same one. Code: `internal_error`.

Retry with the same clientOrderId.:

```json
{
  "error": {
    "code": "internal_error",
    "message": "Something went wrong on our side. If you sent a clientOrderId, retry with the same one (it can't fill twice). Otherwise check your account before retrying."
  }
}
```
