Get usage metrics for current and sub accounts

gethttps://api.faraday.ai/v1/accounts/current/usage/all
This endpoint is experimental and may change without notice.

Get aggregated historical usage metrics for the current account and all of its sub-accounts.

Authentication

Bearer Authentication

Provide your API key in the Authorization header. You can find your API key in the Settings page of the dashboard.

Authorization: Bearer YOUR_TOKEN

Responses

200Aggregated usage metrics for the current account and sub-accounts.

Usage metrics for batch context deployments.

Properties of object

Number of distinct people for whom any amount of consumer data was deployed during each reporting period.

Properties of object

Usage during the full previous calendar month.

Properties of object
countintegerrequired

The usage count for this time period.

Usage during the current calendar month.

Properties of object
countintegerrequired

The usage count for this time period.

Usage during the current year (12-month period) of the contract term.

Properties of object
countintegerrequired

The usage count for this time period.

Number of distinct people for whom any amount of identity data was deployed during each reporting period.

Properties of object

Usage during the full previous calendar month.

Properties of object
countintegerrequired

The usage count for this time period.

Usage during the current calendar month.

Properties of object
countintegerrequired

The usage count for this time period.

Usage during the current year (12-month period) of the contract term.

Properties of object
countintegerrequired

The usage count for this time period.

Number of distinct person/prediction combinations deployed during each reporting period. For example, deploying a persona and a lead score for a single person counts as 2.

Properties of object

Total predictive data count for the last 12 months.

Properties of object
countintegerrequired

The usage count for this time period.

Total predictive data count for the last full month.

Properties of object
countintegerrequired

The usage count for this time period.

Total predictive data count for the current month to date.

Properties of object
countintegerrequired

The usage count for this time period.

resourcesarray[object]

Per-resource breakdown of predictive data counts.

Items of array[object]

Value for the last 12 months.

Properties of object
countintegerrequired

The usage count for this time period.

Value for the last full month.

Properties of object
countintegerrequired

The usage count for this time period.

Value for the current month to date.

Properties of object
countintegerrequired

The usage count for this time period.

resource_idstring<uuid>required

The ID of the predictive resource (e.g. outcome).

resource_typestringrequired

The type of predictive resource.

Number of mailing addresses for unknown people (people not in any active dataset) deployed during each reporting period.

Properties of object

Usage during the full previous calendar month.

Properties of object
countintegerrequired

The usage count for this time period.

Usage during the current calendar month.

Properties of object
countintegerrequired

The usage count for this time period.

Usage during the current year (12-month period) of the contract term.

Properties of object
countintegerrequired

The usage count for this time period.

Number of email hashes for unknown people (people not in any active dataset) deployed during each reporting period.

Properties of object

Usage during the full previous calendar month.

Properties of object
countintegerrequired

The usage count for this time period.

Usage during the current calendar month.

Properties of object
countintegerrequired

The usage count for this time period.

Usage during the current year (12-month period) of the contract term.

Properties of object
countintegerrequired

The usage count for this time period.

finished_atstring<date-time>required

When this usage data recording completed. Not a usage period boundary — see inner period fields for specific time ranges.

idstring<uuid>required

The ID of the usage event.

Usage metrics for Lookup API requests. Usage is not de-duplicated — if the same call is made twice, both count.

Properties of object
requestsobject

Total Lookup API requests (calls), including unmatched.

Properties of object

Usage during the full previous calendar month.

Properties of object
countintegerrequired

The usage count for this time period.

Usage during the current calendar month.

Properties of object
countintegerrequired

The usage count for this time period.

Usage during the current year (12-month period) of the contract term.

Properties of object
countintegerrequired

The usage count for this time period.

Successful Lookup API requests where a match was made.

Properties of object

Usage during the full previous calendar month.

Properties of object
countintegerrequired

The usage count for this time period.

Usage during the current calendar month.

Properties of object
countintegerrequired

The usage count for this time period.

Usage during the current year (12-month period) of the contract term.

Properties of object
countintegerrequired

The usage count for this time period.

Successful Lookup API requests that returned consumer data.

Properties of object

Usage during the full previous calendar month.

Properties of object
countintegerrequired

The usage count for this time period.

Usage during the current calendar month.

Properties of object
countintegerrequired

The usage count for this time period.

Usage during the current year (12-month period) of the contract term.

Properties of object
countintegerrequired

The usage count for this time period.

Successful Lookup API requests that returned identity data.

Properties of object

Usage during the full previous calendar month.

Properties of object
countintegerrequired

The usage count for this time period.

Usage during the current calendar month.

Properties of object
countintegerrequired

The usage count for this time period.

Usage during the current year (12-month period) of the contract term.

Properties of object
countintegerrequired

The usage count for this time period.

Successful Lookup API requests that returned prediction data.

Properties of object

Usage during the full previous calendar month.

Properties of object
countintegerrequired

The usage count for this time period.

Usage during the current calendar month.

Properties of object
countintegerrequired

The usage count for this time period.

Usage during the current year (12-month period) of the contract term.

Properties of object
countintegerrequired

The usage count for this time period.

started_atstring<date-time>required

When this usage data was recorded. Not a usage period boundary — see inner period fields for specific time ranges.

400The request was invalid.
errorstringrequired

A Faraday error code.

Some possible values include:

Generic HTTP Errors

  • BAD_REQUEST: The request could not be validated.
  • FORBIDDEN: You do not have permission to access the specified resour...
Example: "ERROR_TYPE"
Allowed values: BAD_REQUEST, FORBIDDEN, MAX_RESOURCES_REACHED, INTERNAL_SERVER_ERROR, INVALID_AUTHORIZATION, NOT_FOUND, MALFORMED_API_KEY, MISSING_API_KEY, EXPIRED_API_KEY, VALIDATION_FAILED, CONFLICT
idstring<uuid>required

A unique ID for this error. Please include this in bug reports.

Example: "082f9513-901c-4308-8081-902a8fe22d7e"
notestringrequired

A human-readable description of the error.

Example: "An error occurred"
validationErrorsarray[object]

JSON Schema validation errors, if any.

Items of array[object]
contextobjectrequired

More information about the error.

Properties of object
errorTypestringrequired

The type of validation error which occurred.

messagestringrequired

A human-readable error message.

pathstringrequired

The location in the document that failed validation.

A suggestion for fixing this error.

401No API key was supplied.
errorstringrequired

A Faraday error code.

Some possible values include:

Generic HTTP Errors

  • BAD_REQUEST: The request could not be validated.
  • FORBIDDEN: You do not have permission to access the specified resour...
Example: "ERROR_TYPE"
Allowed values: BAD_REQUEST, FORBIDDEN, MAX_RESOURCES_REACHED, INTERNAL_SERVER_ERROR, INVALID_AUTHORIZATION, NOT_FOUND, MALFORMED_API_KEY, MISSING_API_KEY, EXPIRED_API_KEY, VALIDATION_FAILED, CONFLICT
idstring<uuid>required

A unique ID for this error. Please include this in bug reports.

Example: "082f9513-901c-4308-8081-902a8fe22d7e"
notestringrequired

A human-readable description of the error.

Example: "An error occurred"
validationErrorsarray[object]

JSON Schema validation errors, if any.

Items of array[object]
contextobjectrequired

More information about the error.

Properties of object
errorTypestringrequired

The type of validation error which occurred.

messagestringrequired

A human-readable error message.

pathstringrequired

The location in the document that failed validation.

A suggestion for fixing this error.

403Access to this resource was forbidden.
errorstringrequired

A Faraday error code.

Some possible values include:

Generic HTTP Errors

  • BAD_REQUEST: The request could not be validated.
  • FORBIDDEN: You do not have permission to access the specified resour...
Example: "ERROR_TYPE"
Allowed values: BAD_REQUEST, FORBIDDEN, MAX_RESOURCES_REACHED, INTERNAL_SERVER_ERROR, INVALID_AUTHORIZATION, NOT_FOUND, MALFORMED_API_KEY, MISSING_API_KEY, EXPIRED_API_KEY, VALIDATION_FAILED, CONFLICT
idstring<uuid>required

A unique ID for this error. Please include this in bug reports.

Example: "082f9513-901c-4308-8081-902a8fe22d7e"
notestringrequired

A human-readable description of the error.

Example: "An error occurred"
validationErrorsarray[object]

JSON Schema validation errors, if any.

Items of array[object]
contextobjectrequired

More information about the error.

Properties of object
errorTypestringrequired

The type of validation error which occurred.

messagestringrequired

A human-readable error message.

pathstringrequired

The location in the document that failed validation.

A suggestion for fixing this error.

404The requested resource ID was not found.
errorstringrequired

A Faraday error code.

Some possible values include:

Generic HTTP Errors

  • BAD_REQUEST: The request could not be validated.
  • FORBIDDEN: You do not have permission to access the specified resour...
Example: "ERROR_TYPE"
Allowed values: BAD_REQUEST, FORBIDDEN, MAX_RESOURCES_REACHED, INTERNAL_SERVER_ERROR, INVALID_AUTHORIZATION, NOT_FOUND, MALFORMED_API_KEY, MISSING_API_KEY, EXPIRED_API_KEY, VALIDATION_FAILED, CONFLICT
idstring<uuid>required

A unique ID for this error. Please include this in bug reports.

Example: "082f9513-901c-4308-8081-902a8fe22d7e"
notestringrequired

A human-readable description of the error.

Example: "An error occurred"
validationErrorsarray[object]

JSON Schema validation errors, if any.

Items of array[object]
contextobjectrequired

More information about the error.

Properties of object
errorTypestringrequired

The type of validation error which occurred.

messagestringrequired

A human-readable error message.

pathstringrequired

The location in the document that failed validation.

A suggestion for fixing this error.

500An internal server error occurred.
errorstringrequired

A Faraday error code.

Some possible values include:

Generic HTTP Errors

  • BAD_REQUEST: The request could not be validated.
  • FORBIDDEN: You do not have permission to access the specified resour...
Example: "ERROR_TYPE"
Allowed values: BAD_REQUEST, FORBIDDEN, MAX_RESOURCES_REACHED, INTERNAL_SERVER_ERROR, INVALID_AUTHORIZATION, NOT_FOUND, MALFORMED_API_KEY, MISSING_API_KEY, EXPIRED_API_KEY, VALIDATION_FAILED, CONFLICT
idstring<uuid>required

A unique ID for this error. Please include this in bug reports.

Example: "082f9513-901c-4308-8081-902a8fe22d7e"
notestringrequired

A human-readable description of the error.

Example: "An error occurred"
validationErrorsarray[object]

JSON Schema validation errors, if any.

Items of array[object]
contextobjectrequired

More information about the error.

Properties of object
errorTypestringrequired

The type of validation error which occurred.

messagestringrequired

A human-readable error message.

pathstringrequired

The location in the document that failed validation.

A suggestion for fixing this error.

Tags

accounts