Get a value

Free

Retrieves the value previously stored under a named key. Returns the value if it exists and has not expired, or a not-found response otherwise.

Cost

Free

What it accepts

Set these inside the intent when you run it.

keyrequired

The key whose stored value to retrieve.

What you get back

The stored value for the key, or a not-found indicator if the key does not exist.

Run it

Run this sub-skill directly: pin it with operation and pass its inputs in the intent. (Omit operation and the Key-Value Store skill will route from your intent instead.)

curl -X POST "https://skill.askfaro.com/skills/kv/run" \
  -H "Authorization: Bearer $FARO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"intent":{"operation":"get","key":"task_status"}}'

Example requests

  • What is the value stored under "task_status"?
  • Retrieve my session token
  • Get the value for key "last_run_date"