List context vault documents
curl --request GET \
--url https://api.memcontext.in/api/context-vault/documents \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.memcontext.in/api/context-vault/documents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.memcontext.in/api/context-vault/documents"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"documents": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sourceType": "<string>",
"status": "pending",
"chunkCount": 123,
"extractedCount": 123,
"totalChunks": 123,
"processedChunks": 123,
"createdAt": "2023-11-07T05:31:56Z",
"title": "<string>",
"processingPhase": "<string>",
"heartbeatAt": "2023-11-07T05:31:56Z",
"scope": "<string>",
"project": "<string>",
"completedAt": "2023-11-07T05:31:56Z",
"error": "<string>",
"publicUrl": "<string>"
}
]
}Context Vault
List context vault documents
GET
https://api.memcontext.in
/
api
/
context-vault
/
documents
List context vault documents
curl --request GET \
--url https://api.memcontext.in/api/context-vault/documents \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.memcontext.in/api/context-vault/documents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.memcontext.in/api/context-vault/documents"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"documents": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sourceType": "<string>",
"status": "pending",
"chunkCount": 123,
"extractedCount": 123,
"totalChunks": 123,
"processedChunks": 123,
"createdAt": "2023-11-07T05:31:56Z",
"title": "<string>",
"processingPhase": "<string>",
"heartbeatAt": "2023-11-07T05:31:56Z",
"scope": "<string>",
"project": "<string>",
"completedAt": "2023-11-07T05:31:56Z",
"error": "<string>",
"publicUrl": "<string>"
}
]
}Authorizations
ApiKeyAuthCookieAuth
API key created from the MemContext dashboard. Keys are prefixed with mc_, bound to one workspace, and API-key requests cannot override that workspace.
Query Parameters
Optional vault inside the workspace. Defaults to the workspace's default vault.
Response
200 - application/json
Uploaded document sources for a workspace.
Hide child attributes
Hide child attributes
Available options:
pending, processing, retrying, completed, failed, cancelled 