Documents
Delete a document
Delete a document for the authenticated organization.
delete/v1/namespace/{namespaceId}/documents/{documentId}
Request
- Base URLhttps://api.agentset.ai
- AuthHTTP bearer
Path parameters
namespaceIdstring required
The id of the namespace (prefixed with ns_)
Example:ns_123
documentIdstring required
The id of the document (prefixed with doc_)
Example:doc_123
Headers
x-tenant-idstring
Optional tenant id to use for the request. If not provided, the namespace will be used directly. Must be alphanumeric and up to 64 characters.
Response
The deleted document
Changes
No recorded changes to this operation across all 2 revisions of this API.