curl --request POST \
--url https://api-lr.agent.ai/v1/action/store_variable_to_database \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"variable": "<string>"
}
'{
"status": 123,
"response": {}
}The variable to store and track in the agent’s database. You can later retrieve the latest or any number of previous values.
curl --request POST \
--url https://api-lr.agent.ai/v1/action/store_variable_to_database \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"variable": "<string>"
}
'{
"status": 123,
"response": {}
}Bearer token from your account (https://agent.ai/user/integrations#api)
The variable to store.