Skip to main content
DELETE
Remove a project document
Use this endpoint to take a document out of a project. Everything EDN saved from the document is deleted with it, so it’s never used again.

What EDN does

  1. Removes the document from the project.
  2. Deletes every memory made from it.
  3. Leaves the project’s other documents and your general memory untouched.

Required headers

Request

Response

200 OK

Errors

See Error handling.

Authorizations

Authorization
string
header
required

Your EDN API key, sent as Bearer YOUR_API_KEY. Create keys in the Console.

Path Parameters

project_id
string
required

The project ID.

source_id
string
required

The source ID, from the project's source list.

Response

Successful Response

project_id
string
required

The project it was removed from.

records_removed
integer
required

How many memory records were deleted with it.

source_id
string
required

The removed source.

status
string
required

Always "removed".

Allowed value: "removed"