Autumn's V2 API is live in beta. We recommend using this version.
import { Autumn } from 'autumn-js';
const autumn = new Autumn();
const { data, error } = await autumn.events.list({ customer_id: 'customer_id', feature_id: 'x' });{
"list": [
{
"id": "evt_36xpk2TmuQX5zVPPQ8tCtnR5Weg",
"timestamp": 1765958215459,
"feature_id": "credits",
"customer_id": "0pCIbS4AMAFDB1iBMNhARWZt2gDtVwQx",
"value": 30,
"properties": {}
},
{
"id": "evt_36xmHxxjAkqxufDf9yHAPNfRrLM",
"timestamp": 1765956512057,
"feature_id": "credits",
"customer_id": "0pCIbS4AMAFDB1iBMNhARWZt2gDtVwQx",
"value": 49,
"properties": {}
}
],
"total": 2,
"has_more": false,
"offset": 0,
"limit": 100
}import { Autumn } from 'autumn-js';
const autumn = new Autumn();
const { data, error } = await autumn.events.list({ customer_id: 'customer_id', feature_id: 'x' });{
"list": [
{
"id": "evt_36xpk2TmuQX5zVPPQ8tCtnR5Weg",
"timestamp": 1765958215459,
"feature_id": "credits",
"customer_id": "0pCIbS4AMAFDB1iBMNhARWZt2gDtVwQx",
"value": 30,
"properties": {}
},
{
"id": "evt_36xmHxxjAkqxufDf9yHAPNfRrLM",
"timestamp": 1765956512057,
"feature_id": "credits",
"customer_id": "0pCIbS4AMAFDB1iBMNhARWZt2gDtVwQx",
"value": 49,
"properties": {}
}
],
"total": 2,
"has_more": false,
"offset": 0,
"limit": 100
}Documentation Index
Fetch the complete documentation index at: https://docs-v1.useautumn.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Filter events by customer ID
Filter by specific feature ID(s)
Number of items to skip
Number of items to return. Default 100, max 1000.
Filter events by time range
Show child attributes
Array of items for current page
Show child attributes
Whether more results exist after this page
Current offset position
Limit passed in the request
Total number of items returned in the current page