---
title: "Get All Plans"
method: GET
path: "/payment/plans/{tenure}"
tags: ["PAYMENT"]
---

# Get All Plans

`GET /payment/plans/{tenure}`

## Request

- Base URL: `https://api.myaltimate.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myaltimate.com/payment/plans/{tenure}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Fetches the all plans details
:param db: The database session for accessing the database.
:param tenant: The current tenant
:param auth: The authorization token for the request.
:return: UserCreditsResponse.

## Path parameters

- `tenure` string, required

## Headers

- `x-tenant` string

## Response `200`

Successful Response

- AllPlansResponse
  - `plans` AppSchemasPaymentsPlansResponse[], required
    - `plan_name` string, required
    - `price` union, required
      - integer
      - string
    - `num_executions` union, required
      - integer
      - string
    - `token_allowance` union
      - integer
      - string
  - `current_tenure` string, required
  - `current_execuiton_count` integer, required
  - `current_price` integer, required
  - `subscription_management_allowed` boolean, required

## Other responses

- `400`: Not supported for public user
- `403`: Not supported for public user
- `422`: Validation Error

---

[API](https://skmtc.dev/myaltimate/apis/myaltimate-api.md) - [All operations](https://skmtc.dev/myaltimate/apis/myaltimate-api/llms.txt) - [OpenAPI document](https://skmtc.dev/myaltimate/apis/myaltimate-api/revisions/727657ce54e9?raw)
