agent-protocol

Add Document

Hand a document (text or url) to a container. Lands at once; learned in the background — poll GET /v1/documents/{id} for learned.

post/v1/documents

Request

  • Base URL: https://api.app.membase.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.app.membase.ai/v1/documents
  • Auth: none declared

Request body

containerstring required

Which container reads it.

contentstring nullable

The document's full text.

urlstring nullable

A public web address to fetch instead.

titlestring
metadataobject nullable

Your own tags, as an object.

custom_idstring

Your own id; adding the same custom_id again is a no-op.

Response

Successful Response

object required

Changes

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