Get partner metrics
GET/org/:orgId/cosell/metrics/partner
Retrieve aggregated partner metrics for all cloud partners or a specific partner (AWS, Azure, GCP) for the specified organization
Request
Path Parameters
Organization ID
Query Parameters
Partner name (AWS, AZURE, or GCP)
Referral direction (INBOUND, OUTBOUND, or TOTAL)
Responses
- 200
- 400
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
metrics
object[]
Possible values: [``, ADYEN, ALIBABA, ANTHROPIC, AWS, AWS_CHINA, AZURE, CHARGEBEE, DATABRICKS, DOCUSIGN, GCP, GOOGLE, HUBSPOT, INTUIT, LAGO, MARKETO, METRONOME, MICROSOFT, OPENAI, ORACLE, ORB, REDHAT, SALESFORCE, SLACK, SNOWFLAKE, STRIPE, ZOHO]
Possible values: [INBOUND, OUTBOUND, ALL]
{
"metrics": [
{
"activeDealCount": 0,
"averageDealSize": 0,
"averageSalesCycleLength": 0,
"calculationDate": "string",
"closedLostCount": 0,
"closedWonCount": 0,
"createdAt": "string",
"id": "string",
"lastReferralSyncTime": "string",
"organizationId": "string",
"partner": "",
"referralDirection": "INBOUND",
"totalDealCount": 0,
"totalPipelineClosedWon": 0,
"totalPipelineValue": 0,
"totalRevenueYtd": 0,
"updatedAt": "string",
"winRate": 0
}
],
"organizationId": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [InternalServerError, 3rdPartyError, BadRequest, NotFound, Unauthorized]
{
"code": "InternalServerError",
"info": {},
"message": "string"
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [InternalServerError, 3rdPartyError, BadRequest, NotFound, Unauthorized]
{
"code": "InternalServerError",
"info": {},
"message": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [InternalServerError, 3rdPartyError, BadRequest, NotFound, Unauthorized]
{
"code": "InternalServerError",
"info": {},
"message": "string"
}