---
updatedAt: 2026-06-03T14:49:23.000Z
agentTools:
  projectIndex: https://askedgar.readme.io/llms.txt
---

# Read Usage Activity

## Overview

Paginated, request-by-request activity log for your org. Each row captures one API call — when it was made, which endpoint, which key, how it responded, how many records / bytes came back, latency, and cost. Defaults to the last 30 days.

Authenticated by API key; this endpoint is **not billed** and does not consume credits.

## When to use

* Ad-hoc spend audits ("what did we spend on `/v1/news` last week?").
* Feeding a billing or anomaly-detection dashboard.
* Debugging which API key made which call.

## Key parameters

* `start_date`, `end_date` *(optional)* — YYYY-MM-DD. Default to last 30 days.
* `limit` — items per page, `1..200` (default `50`).
* `offset` — pagination offset (default `0`). The response's `total` field tells you how many rows exist.
* `endpoint` *(optional)* — exact endpoint name (e.g. `reverse-splits`) to filter by.

## Response highlights

* `items[]` rows include: `requested_at`, `endpoint`, `api_key_name`, `status_code`, `records_returned`, `response_bytes`, `response_ms`, `cost_dollars`.
* `total` — full count matching your filters (across pages).
* `limit`, `offset` — echoed back from the request.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "AskEdgar API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://eapi.askedgar.io"
    }
  ],
  "paths": {
    "/v1/usage/activity": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "Read Usage Activity",
        "operationId": "get_usage_activity",
        "parameters": [
          {
            "name": "start_date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "date"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Start date (YYYY-MM-DD). Defaults to 30 days ago.",
              "title": "Start Date"
            },
            "description": "Start date (YYYY-MM-DD). Defaults to 30 days ago."
          },
          {
            "name": "end_date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "date"
                },
                {
                  "type": "null"
                }
              ],
              "description": "End date (YYYY-MM-DD). Defaults to today.",
              "title": "End Date"
            },
            "description": "End date (YYYY-MM-DD). Defaults to today."
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "description": "Page number",
              "default": 1,
              "title": "Page"
            },
            "description": "Page number"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "description": "Number of items per page",
              "default": 50,
              "title": "Limit"
            },
            "description": "Number of items per page"
          },
          {
            "name": "endpoint",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Filter by endpoint name",
              "title": "Endpoint"
            },
            "description": "Filter by endpoint name"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MyActivityResponse"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyHeader": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "MyActivityItem": {
        "properties": {
          "requested_at": {
            "type": "string",
            "format": "date-time",
            "title": "Requested At"
          },
          "endpoint": {
            "type": "string",
            "title": "Endpoint"
          },
          "api_key_name": {
            "type": "string",
            "title": "Api Key Name"
          },
          "status_code": {
            "type": "integer",
            "title": "Status Code"
          },
          "records_returned": {
            "type": "integer",
            "title": "Records Returned"
          },
          "response_bytes": {
            "type": "integer",
            "title": "Response Bytes"
          },
          "billed_bytes": {
            "type": "integer",
            "title": "Billed Bytes"
          },
          "response_ms": {
            "type": "integer",
            "title": "Response Ms"
          },
          "cost_dollars": {
            "type": "number",
            "title": "Cost Dollars"
          }
        },
        "type": "object",
        "required": [
          "requested_at",
          "endpoint",
          "api_key_name",
          "status_code",
          "records_returned",
          "response_bytes",
          "billed_bytes",
          "response_ms",
          "cost_dollars"
        ],
        "title": "MyActivityItem"
      },
      "MyActivityResponse": {
        "properties": {
          "count": {
            "type": "integer",
            "title": "Count"
          },
          "has_more": {
            "type": "boolean",
            "title": "Has More"
          },
          "page": {
            "type": "integer",
            "title": "Page"
          },
          "limit": {
            "type": "integer",
            "title": "Limit"
          },
          "results": {
            "items": {
              "$ref": "#/components/schemas/MyActivityItem"
            },
            "type": "array",
            "title": "Results"
          }
        },
        "type": "object",
        "required": [
          "count",
          "has_more",
          "page",
          "limit",
          "results"
        ],
        "title": "MyActivityResponse"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      }
    },
    "securitySchemes": {
      "ApiKeyHeader": {
        "type": "apiKey",
        "in": "header",
        "name": "API-KEY"
      }
    }
  }
}
```