GET
/
api
/
activity
/
oauthid
/
{OAuthClientID}
/
{startDay}
/
{startMonth}
/
{startYear}
/
{EndDay}
/
{EndMonth}
/
{EndYear}
Analytics of Oauth Client ID.
curl --request GET \
  --url https://{tenant}/api/activity/oauthid/{OAuthClientID}/{startDay}/{startMonth}/{startYear}/{EndDay}/{EndMonth}/{EndYear} \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "error": 4,
      "hits": 31,
      "id": {
        "alias": "",
        "api_id": "41351a6a94094da05f75146a695a16f6",
        "api_name": "Keyless",
        "code": 404,
        "day": 0,
        "hour": 0,
        "iso_country": "",
        "key": "",
        "month": 0,
        "path": "/anything",
        "url": "",
        "year": 0
      },
      "last_hit": "2024-06-19T07:11:39Z",
      "latency": 0,
      "max_latency": 0,
      "max_upstream_latency": 0,
      "min_latency": 0,
      "min_upstream_latency": 0,
      "request_time": 174.5,
      "success": 27,
      "upstream_latency": 0
    }
  ],
  "pages": 1
}

Authorizations

Authorization
string
header
required

The Tyk Dashboard API Access Credentials

Path Parameters

startDay
string
required

Day to start querying the analytics from.

startMonth
string
required

Month to start querying the analytics from.

startYear
string
required

Year to start querying the analytics from.

EndDay
string
required

End date of analytics to query.

EndMonth
string
required

End month of analytics to query.

EndYear
string
required

End year of analytics to query.

OAuthClientID
string
required

OAuthClientID

Response

Fetched analytics successfully.

data
object[] | null
pages
integer