POST
/
action
/
store_variable_to_database
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": {}
}

Authorizations

Authorization
string
header
required

Bearer token from your account (https://agent.ai/user/settings#credits)

Body

application/json
variable
string
required

The variable to store.

Response

200 - application/json
Confirmation of variable storage
status
integer

HTTP status code of the action response

response
object

Response data from the action