Saltar para o conteúdo principal
GET
/
public
/
api
/
v1
/
billing
/
plans
List plans
curl --request GET \
  --url https://api.gennia.ai/public/api/v1/billing/plans \
  --header 'X-Api-Key: <api-key>'
{
  "items": [
    {
      "activeSubscriptions": 123,
      "agentsCount": 123,
      "billingIntervalMonths": 123,
      "checkoutUrl": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "creditPackageName": "<string>",
      "currency": "<string>",
      "description": "<string>",
      "extraCreditsEnabled": true,
      "extraCreditsPriceCents": 123,
      "formattedPrice": "<string>",
      "name": "<string>",
      "packageName": "<string>",
      "pagesCount": 123,
      "priceCents": 123,
      "publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "seatsIncluded": 123,
      "unlimitedCredits": true,
      "visible": true,
      "widgetCtaText": "<string>",
      "widgetDescription": "<string>",
      "widgetFeatures": [
        {
          "included": true,
          "text": "<string>"
        }
      ],
      "widgetHighlighted": true,
      "widgetTitle": "<string>"
    }
  ],
  "limit": 123,
  "page": 123,
  "total": 123,
  "totalPages": 123
}

Autorizações

X-Api-Key
string
header
obrigatório

Parâmetros de consulta

page
integer<int32>
padrão:1

1-based page index

limit
integer<int32>
padrão:20

Page size (max 100)

status
enum<string>

Filter by status (active|inactive)

Opções disponíveis:
active,
inactive

Resposta

OK

items
object[]
limit
integer<int32>
page
integer<int32>
total
integer<int64>
totalPages
integer<int32>