v1.1.1009
OAS 3.0.3
Kravia Data Api
Client Libraries
Development
full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
Integer numbers.
Integer numbers.
curl https://data-api-qa.kravia.ai/api/cohort/invoices/recovery \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"data": {
"cohorts": [
{
"metrics": [
{
"calculation": "sum",
"reference": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"sample": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"type": [
"…"
]
}
],
"parameters": [
{
"type": [
"startMonth"
],
"value": "…"
}
]
}
],
"definition": [
"startMonth"
]
},
"error": "…",
"success": true
}
CohortResponse(success: bool = None, error: str = None, data: lib.models.cohort.RecoveryCycleSummary = None)