---
title: "Create full custom plan."
method: POST
path: "/usage/admin/custom-plan/"
tags: ["usage"]
---

# Create full custom plan.

`POST /usage/admin/custom-plan/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/usage/admin/custom-plan/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Request body:
{
    "organization_id": "uuid",
    "platform_fee": 1500.00,
    "entitlements": {"monitors": -1, "has_knowledge_base": true, ...},
    "pricing": {
        "ai_credits": [
            {"tier_start": 0, "tier_end": 10000, "price_per_unit": 0.005},
            {"tier_start": 10000, "tier_end": null, "price_per_unit": 0.003}
        ], ...
    }
}

## Request body

- AdminCustomPlanRequest
  - `organization_id` string, uuid, required
  - `platform_fee` string, decimal
  - `platform_fee_billing_cycle` integer
  - `contract_end_date` string, date, nullable
  - `start_date` string, date, nullable
  - `entitlements` object
  - `pricing` object
  - `create_stripe_subscription` boolean

## Response `200`

OK

- AdminCustomPlanResponse
  - `status` boolean, required
  - `result` object, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `402`: Payment Required
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
