v1

latestOpenAPI 3.1.0MITraw.githubusercontent.com2025-07-16390274.5 KB
Analytics

Get user activity metrics

Returns activity metrics for the current user

get/api/v1/analytics/users/me

Query parameters

period'7d' | '30d' | '90d'

Response

typestring required

Example response

{
  "type": "object",
  "properties": {
    "user": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "email": {
          "type": "string"
        }
      }
    },
    "activity": {
      "type": "object",
      "properties": {
        "totalBids": {
          "type": "number"
        },
        "successfulBids": {
          "type": "number"
        },
        "organizations": {
          "type": "number"
        },
        "avgResponseTime": {
          "type": "number"
        },
        "lastActive": {
          "type": "string"
        }
      }
    },
    "organizations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "bids": {
            "type": "number"
          }
        }
      }
    }
  }
}