Skip to main content
POST
/
vault
/
{id}
/
memory
Create vault memory entry
curl --request POST \
  --url https://api.case.dev/vault/{id}/memory \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "fact",
  "content": "<string>",
  "source": "<string>",
  "tags": [
    "<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"
  }
}

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