AI subscription analysis

POST /api/v1/subscriptions/analyze

Get AI-powered subscription analysis for optimization opportunities.

Operation ID: analyze_subscriptions_api_v1_subscriptions_analyze_post · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Responses

201 Successful Response

insights array · SubscriptionInsightItem SubscriptionInsightItem
5 fields
subscription_id string

Subscription ID

type string required

duplicate, price_increase, optimization, or unused

title string required

Short headline

description string required

Explanation

potential_savings integer

Potential savings in cents

total_monthly_spend integer

Total monthly spend in cents

401 Unauthorized - Authentication required

403 Forbidden - Insufficient permissions

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object