Skip to main content
POST
/
vault
/
{id}
/
memory
curl -X POST "https://api.case.dev/vault/%3Cstring%3E/memory" \ -H "Authorization: Bearer $CASEDEV_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "type": "fact", "content": "<string>" }'
{
  "entry": {
    "id": "<string>",
    "type": "<string>",
    "content": "<string>",
    "source": "<string>",
    "tags": [
      "<string>"
    ],
    "created_by": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.case.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

id
string
required

Vault ID

Body

application/json
type
enum<string>
required
Available options:
fact,
party,
issue,
deadline,
discovery,
correction,
preference
content
string
required
source
string
tags
string[]

Response

Created memory entry

entry
object