Relevance AI Billing API

The billing API from Relevance AI — 19 operation(s) for billing.

Business capability
Subscription Billing & Revenue Management BC-4250

Operations 22

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /organizations/{organization_id}/billing/totals Get an organization's total cost for a period · GetBillingTotals #
Ask an LLM
“How much has my organization spent over a given date range?”
“What are our total billed costs this month?”
Tell an agent
Get total billing cost for organization {organization_id}.
Show organization {organization_id}'s total cost for {date_range}.
GET /organizations/{organization_id}/billing/checkout Start a subscription checkout session · GetBillingCheckoutSession #
Ask an LLM
“How do I get a checkout page to pay for a subscription plan?”
“Can I start a checkout session for a particular checkout type?”
Tell an agent
Create a checkout session for organization {organization_id}.
Start a {type} checkout for organization {organization_id}.
POST /organizations/{organization_id}/billing/update Set an organization's plan and billing cycle · UpdateOrganizationBilling #
Ask an LLM
“Can I move my organization onto a different plan with annual billing?”
“What's needed to update the plan and billing cycle on our account?”
Tell an agent
Update organization {organization_id} to plan {plan} billed {billing_cycle}.
Set billing for {organization_id} to the {plan} plan on a {billing_cycle} cycle.
POST /organizations/{organization_id}/subscription/sync Resync an organization's subscription state · SyncSubscription #
Ask an LLM
“My plan looks out of date - can I resync the subscription from the payment processor?”
“Is there a way to refresh our organization's subscription status?”
Tell an agent
Sync the subscription for organization {organization_id}.
Refresh subscription state for {organization_id} from billing.
POST /organizations/{organization_id}/subscription/downgrade Downgrade an organization's subscription · DowngradeSubscription #
Ask an LLM
“How do I downgrade to a cheaper plan?”
“Can I leave feedback when downgrading my organization's subscription?”
Tell an agent
Downgrade organization {organization_id} to plan {plan} with idempotency key {idempotency_key}.
Downgrade {organization_id} to {plan} and note the reason as {feedback}, key {idempotency_key}.
POST /organizations/{organization_id}/billing/subscription/change Change subscription plan, optionally with a coupon · ChangeBillingSubscription #
Ask an LLM
“Can I switch my subscription to a new plan and apply a coupon code?”
“What do I need to change our plan to a different tier and billing cycle?”
Tell an agent
Change organization {organization_id} to plan {new_plan_name} billed {billing_cycle}, key {idempotency_key}.
Switch {organization_id} to {new_plan_name} {billing_cycle} using coupon {coupon_code}, key {idempotency_key}.
POST /organizations/{organization_id}/downgrade/cancel Cancel a scheduled plan downgrade · CancelDowngrade #
Ask an LLM
“I scheduled a downgrade - can I undo it and stay on my current plan?”
“Is it possible to call off a pending subscription downgrade?”
Tell an agent
Cancel the pending downgrade for organization {organization_id}, key {idempotency_key}.
Keep {organization_id} on its current plan by calling off the scheduled downgrade, key {idempotency_key}.
POST /organizations/{organization_id}/subscription/cancel Cancel an organization's subscription · CancelSubscription #
Ask an LLM
“How do I cancel my organization's paid subscription?”
“What happens when I cancel the subscription entirely?”
Tell an agent destructive · confirm first
Cancel the subscription for organization {organization_id}.
End {organization_id}'s paid subscription with idempotency key {idempotency_key}.
POST /organizations/{organization_id}/credits/buy Buy credits for an organization · BuyCredits #
Ask an LLM
“Can I purchase additional credits directly on my saved payment method?”
“How many credits can I top up at once?”
Tell an agent
Buy {quantity} credits for organization {organization_id}, key {idempotency_key}.
Purchase {quantity} extra credits for {organization_id} with idempotency key {idempotency_key}.
POST /organizations/{organization_id}/credits/checkout Start a checkout to buy credits and actions · CreditPurchaseCheckoutSession #
Ask an LLM
“Can I get a checkout page to pay for credits and actions together?”
“Which quantities do I choose when checking out a credit purchase?”
Tell an agent
Open a credit checkout for organization {organization_id} with {credits_quantity} credits and {actions_quantity} actions.
Start a checkout for {credits_quantity} credits and {actions_quantity} actions on {organization_id}.
GET /organizations/{organization_id}/checkout/status Check whether a checkout completed · GetCheckoutCompletionStatus #
Ask an LLM
“Did my checkout session actually go through?”
“How can I tell if a payment checkout has completed?”
Tell an agent
Check checkout status for organization {organization_id}.
Tell me whether checkout session {checkout_session_id} for {organization_id} completed.
POST /organizations/{organization_id}/trial/trigger Start a plan trial for an organization · TriggerOrganizationPlanTrial #
Ask an LLM
“Can my organization start a free trial of a paid plan?”
“What does it take to kick off a plan trial for our team?”
Tell an agent
Start a plan trial for organization {organization_id}.
Trigger the trial for {organization_id} using idempotency key {idempotency_key}.
POST /organizations/{organization_id}/aggregate/agents/credits Total credits used per agent · AggregateAgentsCreditsUsed #
Ask an LLM
“Which of my agents are using the most credits?”
“How many credits did all our agents consume between two dates?”
Tell an agent
Aggregate agent credit usage for organization {organization_id}.
Show credits used by each agent in {organization_id} from {start_date} to {end_date}.
POST /organizations/{organization_id}/aggregate/tools/credits Total credits used per tool · AggregateToolsCreditsUsed #
Ask an LLM
“Which tools are burning through our credits?”
“What was the credit spend across all tools for a date range?”
Tell an agent
Aggregate tool credit usage for organization {organization_id}.
Break down credits used by tools in {organization_id} between {start_date} and {end_date}.
GET /organizations/{organization_id}/retention-offer/eligibility Check eligibility for a retention discount · GetRetentionOfferEligibility #
Ask an LLM
“Is my organization eligible for a discount if we're thinking of cancelling?”
“Can we get a retention offer before leaving?”
Tell an agent
Check retention offer eligibility for organization {organization_id}.
See whether {organization_id} qualifies for the retention discount.
POST /organizations/{organization_id}/retention-offer/accept Accept a retention discount offer · AcceptRetentionOffer #
Ask an LLM
“How do I accept the 30% or 50% discount offered instead of cancelling?”
“Can I record why I was going to cancel when taking the retention offer?”
Tell an agent
Accept the retention offer for organization {organization_id}.
Take the retention discount for {organization_id} with cancellation reason {cancellation_reason}.
GET /billing/{organization_id}/overage Get overage settings for credits, actions, concurrency · GetOverageConfig #
Ask an LLM
“What are my organization's overage settings for credits and actions?”
“Is concurrency overage turned on for our account?”
Tell an agent
Show overage configuration for organization {organization_id}.
Get the credits, actions and concurrency overage settings for {organization_id}.
PUT /billing/{organization_id}/overage Change overage settings · UpdateOverageConfig #
Ask an LLM
“Can I allow overage on credits but not on concurrency?”
“How do I change only the actions overage setting and leave the rest alone?”
Tell an agent
Update credits overage for organization {organization_id} to {credits}.
Set concurrency overage for {organization_id} to {concurrency} and actions overage to {actions}.
GET /billing/{organization_id}/auto-recharge/{currency} Get auto-recharge settings for a currency · GetAutoRechargeConfig #
Ask an LLM
“Is auto-recharge set up for my credits balance?”
“What threshold triggers an automatic top-up in a given currency?”
Tell an agent
Show the auto-recharge config for organization {organization_id} in {currency}.
Get {currency} auto-recharge threshold and amount for {organization_id}.
PUT /billing/{organization_id}/auto-recharge/{currency} Set up or change auto-recharge · UpsertAutoRechargeConfig #
Ask an LLM
“Can I automatically top up when my balance falls below a threshold?”
“How is the recharge amount calculated when auto-recharge fires?”
Tell an agent
Set {currency} auto-recharge for organization {organization_id} at threshold {threshold} with amount {amount}.
Change auto-recharge for {organization_id} in {currency} to trigger below {threshold}, amount {amount}.
DELETE /billing/{organization_id}/auto-recharge/{currency} Turn off auto-recharge for a currency · DeleteAutoRechargeConfig #
Ask an LLM
“How do I stop automatic top-ups on my account?”
“Can I remove auto-recharge for just one currency?”
Tell an agent destructive · confirm first
Delete the {currency} auto-recharge config for organization {organization_id}.
Turn off auto-recharge in {currency} for {organization_id}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/relevance-ai:relevance-ai-billing-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

relevance-ai-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Relevance AI Endpoints
  title: Relevance AI Endpoints Billing API
  version: latest
  contact:
    email: dev@tryrelevance.com
servers:
- url: /latest
security:
- AuthorizationHeader:
  - Authorization
tags:


# --- truncated at 32 KB (37 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/relevance-ai/refs/heads/main/openapi/relevance-ai-billing-api-openapi.yml