palbaseDocs

Palbase ai · API

GET/ai/memory/{namespace}/{key}

Get a memory record

Read a single memory record by namespace and key.

Called by your server, with the project's secret key.

Path

namespacestring · requiredMemory namespace
keystring · requiredRecord key within namespace
curl
curl -X GET "https://<your-ref>.palbase.studio/ai/memory/<namespace>/<key>" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200Memory record

400The request is malformed, or names what this module does not offer (the error names which)

401No valid credential

403A publishable key or a user's session: everything here is the project's server's, called with the secret key

404No such response, job or provider in this project

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation GetMemory of ai's contract.