Revenue metrics
const url = 'https://api.ultimateteam.ai/api/v1/dashboard/revenue?period=7d';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.ultimateteam.ai/api/v1/dashboard/revenue?period=7d' \ --header 'X-API-Key: <X-API-Key>'Revenue dashboard with pipeline, outreach, and attribution metrics for the selected period.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”Reporting period: 7d, 30d, or 90d
Reporting period: 7d, 30d, or 90d
Responses
Section titled “ Responses ”Successful Response
Response for GET /api/v1/dashboard/revenue.
object
Revenue metrics payload.
Attributes: total_revenue: Total revenue in the selected period. revenue_change_pct: Percentage change from prior period. new_customers: Number of new customers acquired. pipeline: Pipeline summary with stage breakdowns. outreach: Outreach metrics (sent, responses, response rate). attributed_revenue: Revenue attributed to AI agent activity. period: The reporting period requested. generated_at: When this dashboard was generated.
object
object
object
Standard metadata included in every API response.
Attributes: request_id: Unique identifier for request tracing. timestamp: UTC timestamp of the response.
object
Unique identifier for request tracing
UTC timestamp of the response
Example
{ "data": { "attributed_revenue": 0, "new_customers": 0, "period": "7d", "total_revenue": 0 }}Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}