# 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 |
|----------|------|----------|-------------|
| `cursor` | `string` | No | Pagination cursor from a previous response. |
| `from` | `string` (datetime) | No | Inclusive lower bound. Defaults to 30 days ago. |
| `limit` | `integer` | No | Maximum entries to return. |
| `to` | `string` (datetime) | No | Exclusive upper bound. Defaults to now. |

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