Skip to main content
GET
/
products
curl -X GET https://api.autumnai.com/products \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "list": [
    {
      "id": "Free Plan",
      "name": "Free Plan",
      "group": null,
      "env": "sandbox",
      "is_add_on": false,
      "is_default": true,
      "archived": false,
      "version": 1,
      "created_at": 1761296829908,
      "items": [
        {
          "type": "feature",
          "feature_id": "messages",
          "included_usage": 10,
          "interval": "month",
          "interval_count": 1,
          "reset_usage_when_enabled": true,
          "entity_feature_id": null,
          "display": {
            "primary_text": "10 Messages"
          }
        }
      ],
      "free_trial": null,
      "base_variant_id": null,
      "scenario": "new"
    },
    {
      "id": "Pro Product",
      "name": "Pro Plan",
      "group": null,
      "env": "sandbox",
      "is_add_on": false,
      "is_default": false,
      "archived": false,
      "version": 1,
      "created_at": 1761296829908,
      "items": [
        {
          "type": "price",
          "feature_id": null,
          "interval": "month",
          "interval_count": 1,
          "price": 20,
          "display": {
            "primary_text": "$20",
            "secondary_text": "per month"
          }
        },
        {
          "type": "priced_feature",
          "feature_id": "messages",
          "included_usage": 1000,
          "interval": "month",
          "interval_count": 1,
          "price": 0.5,
          "usage_model": "pay_per_use",
          "billing_units": 1000,
          "reset_usage_when_enabled": true,
          "entity_feature_id": null,
          "display": {
            "primary_text": "1,000 Messages",
            "secondary_text": "then $0.5 per 1,000 Messages"
          }
        }
      ],
      "free_trial": {
        "duration": "day",
        "length": 7,
        "unique_fingerprint": false,
        "card_required": true
      },
      "base_variant_id": null,
      "scenario": "new"
    }
  ]
}
Retrieves a list of all products in your environment.

Response

list
array
Array of product objects.
curl -X GET https://api.autumnai.com/products \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "list": [
    {
      "id": "Free Plan",
      "name": "Free Plan",
      "group": null,
      "env": "sandbox",
      "is_add_on": false,
      "is_default": true,
      "archived": false,
      "version": 1,
      "created_at": 1761296829908,
      "items": [
        {
          "type": "feature",
          "feature_id": "messages",
          "included_usage": 10,
          "interval": "month",
          "interval_count": 1,
          "reset_usage_when_enabled": true,
          "entity_feature_id": null,
          "display": {
            "primary_text": "10 Messages"
          }
        }
      ],
      "free_trial": null,
      "base_variant_id": null,
      "scenario": "new"
    },
    {
      "id": "Pro Product",
      "name": "Pro Plan",
      "group": null,
      "env": "sandbox",
      "is_add_on": false,
      "is_default": false,
      "archived": false,
      "version": 1,
      "created_at": 1761296829908,
      "items": [
        {
          "type": "price",
          "feature_id": null,
          "interval": "month",
          "interval_count": 1,
          "price": 20,
          "display": {
            "primary_text": "$20",
            "secondary_text": "per month"
          }
        },
        {
          "type": "priced_feature",
          "feature_id": "messages",
          "included_usage": 1000,
          "interval": "month",
          "interval_count": 1,
          "price": 0.5,
          "usage_model": "pay_per_use",
          "billing_units": 1000,
          "reset_usage_when_enabled": true,
          "entity_feature_id": null,
          "display": {
            "primary_text": "1,000 Messages",
            "secondary_text": "then $0.5 per 1,000 Messages"
          }
        }
      ],
      "free_trial": {
        "duration": "day",
        "length": 7,
        "unique_fingerprint": false,
        "card_required": true
      },
      "base_variant_id": null,
      "scenario": "new"
    }
  ]
}

Build docs developers (and LLMs) love