Retrieve a variable from the agent’s database
Bearer token from your account (https://agent.ai/user/integrations#api)
The variable to retrieve.
How far back to retrieve data.
most_recent_value, historical_values Historical data interval.
last hour, last day, last week, last month, all time Number of items to retrieve (default: 10).