Projects V2

Get Application Statistics

Changed on

Returns overview statistics for the given application and date range within a project. Requires applications:read scope.

get/v2/projects/{id}/applications/{application_id}/statistics

Request

  • Base URL
    https://api.superwall.com
  • URL
    https://api.superwall.com/v2/projects/{id}/applications/{application_id}/statistics
  • Auth
    • HTTP bearer
    • or API key in cookie accounts_superwall_token
    • or HTTP bearer

Path parameters

idstring required
application_idstring required

Query parameters

environment'PRODUCTION' | 'SANDBOX' required

Environment to query

date_preset'last_24_hours' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days' | 'last_180_days' | 'last_365_days' | 'year_to_date'

Preset reporting window

fromstring

Start datetime (legacy; used when date_preset is absent)

tostring

End datetime (legacy; used when date_preset is absent)

refresh'true' | 'false'

Bypass the cached snapshot and force a fresh server recompute for this window

Response

Success

object'application_statistics' required
computed_atnumber required

Unix epoch (ms) when this statistics snapshot was computed

revalidatingboolean

True when the returned snapshot is stale and the server is recomputing it in the background; a later request returns the refreshed snapshot.

Changes

    • warning

      added the new credentials_missing enum value to the / response property for the response status

    • warning

      added the new credentials_missing enum value to the / response property for the response status

    • warning

      added the new credentials_missing enum value to the / response property for the response status

    • warning

      added the new credentials_missing enum value to the / response property for the response status

    • warning

      added the new credentials_missing enum value to the / response property for the response status

    • info

      added subschema #1 subschema #2 subschema #3 subschema #4 subschema #5 to the response body anyOf list for the response status

    • info

      removed subschema #1 subschema #2 subschema #3 subschema #4 subschema #5 from the response body anyOf list for the response status

    • info

      added the optional property to the response with the status