# space.highport.manage.getMyActivity

> Published by [lexicons.highport.space](https://lexicon.garden/identity/did:plc:ciygg5hma4q7ah2kxaszkyob)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:ciygg5hma4q7ah2kxaszkyob/space.highport.manage.getMyActivity)
- [Documentation](https://lexicon.garden/lexicon/did:plc:ciygg5hma4q7ah2kxaszkyob/space.highport.manage.getMyActivity/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:ciygg5hma4q7ah2kxaszkyob/space.highport.manage.getMyActivity/examples)

## Definitions

### `space.highport.manage.getMyActivity`

**Type**: `query`

The caller's own browsing across every domain it signed in to, so it can check what it was billed for. There is no way to read anyone else's.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `to` | `string` (datetime) | No | Exclusive upper bound. Defaults to now. |
| `from` | `string` (datetime) | No | Inclusive lower bound. Defaults to 30 days ago. |
| `limit` | `integer` | No | Maximum entries to return. |
| `cursor` | `string` | No | Pagination cursor from a previous response. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cursor` | `string` | No | Present when more entries exist. |
| `domains` | `array` | Yes |  |

#### Errors

- **AnalyticsDisabled**: This deployment has no analytics store configured.

## Raw Schema

```json
{
  "id": "space.highport.manage.getMyActivity",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "AnalyticsDisabled",
          "description": "This deployment has no analytics store configured."
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "domains"
          ],
          "properties": {
            "cursor": {
              "type": "string",
              "description": "Present when more entries exist."
            },
            "domains": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "domain",
                  "requests",
                  "bytesBilled",
                  "lastSeen"
                ],
                "properties": {
                  "domain": {
                    "type": "string",
                    "description": "The domain browsed."
                  },
                  "lastSeen": {
                    "type": "string",
                    "format": "datetime",
                    "description": "The most recent request."
                  },
                  "requests": {
                    "type": "integer",
                    "description": "Responses received."
                  },
                  "asVisitor": {
                    "type": "boolean",
                    "description": "True when this was a visit to someone else's sender-pays site, rather than the caller's own domain."
                  },
                  "bytesBilled": {
                    "type": "integer",
                    "description": "Bytes billed to the caller's allowance."
                  }
                },
                "description": "One domain the caller browsed, and what it cost."
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "to": {
            "type": "string",
            "format": "datetime",
            "description": "Exclusive upper bound. Defaults to now."
          },
          "from": {
            "type": "string",
            "format": "datetime",
            "description": "Inclusive lower bound. Defaults to 30 days ago."
          },
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "description": "Maximum entries to return."
          },
          "cursor": {
            "type": "string",
            "description": "Pagination cursor from a previous response."
          }
        }
      },
      "description": "The caller's own browsing across every domain it signed in to, so it can check what it was billed for. There is no way to read anyone else's."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
