Create a memory store

POST /api/v1/code/memory-stores on the Caveman Cloud control plane. Requires the code:write scope. Not exposed to autonomous agents: Team memory stores are created and curated through the Agents API by a person or a service account's key. An agent in a session reads and writes only the stores its session attached, through its runtime and as attached, never through a control-plane connection.

post/code/memory-stores

Request

  • Base URL
    https://api.caveman.so/api/v1
  • URL
    https://api.caveman.so/api/v1/code/memory-stores
  • Auth
    • OAuth 2
      Authorization code: /api/v1/oauth/authorize
      Token URL: /api/v1/oauth/token scopes: code:write
    • or HTTP bearer
    • or API key in cookie cave_access
    • or API key in cookie __Secure-cave_identity.session_token

Request body

namestring required
descriptionstring
project_idstring uuid

Response

The store

idstring uuid required
namestring required
descriptionstring required
project_idstring uuid nullable required
memoriesinteger required
size_bytesinteger required
created_by_user_idstring uuid
created_by_service_account_idstring uuid
created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.