Advanced
Retrieve Variable
Retrieve a variable from the agent’s database
POST
Authorizations
Bearer token from your account (https://agent.ai/user/settings#credits)
Body
application/json
The variable to retrieve.
How far back to retrieve data.
Available options:
most_recent_value
, historical_values
Historical data interval.
Available options:
last hour
, last day
, last week
, last month
, all time
Number of items to retrieve (default: 10).