List Vault Projects and Knowledge Bases
curl --request GET \
--url https://api.harvey.ai/api/v1/vault/workspace/projects \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.harvey.ai/api/v1/vault/workspace/projects"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.harvey.ai/api/v1/vault/workspace/projects', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.harvey.ai/api/v1/vault/workspace/projects",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.harvey.ai/api/v1/vault/workspace/projects"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.harvey.ai/api/v1/vault/workspace/projects")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.harvey.ai/api/v1/vault/workspace/projects")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"response": {
"content": {
"pagination": {
"page": 1,
"per_page": 20,
"total": 150,
"total_pages": 8
},
"projects": [
{
"created_at": "2024-01-15T10:30:00.000000",
"creator_email": "user@example.com",
"files_count": 109,
"id": "12345678-1234-5678-1234-567812345678",
"is_knowledge_base_project": false,
"name": "Example Legal Project",
"project_retained_at": "2027-01-20T14:45:00.000000",
"project_updated_at": "2026-01-20T14:45:00.000000",
"query_count": 30,
"sharing": {
"user_count": 0,
"user_shares": [],
"workspace_count": 0,
"workspace_shares": []
},
"size_bytes": 104857600,
"updated_at": "2024-01-20T14:45:00.000000",
"dms_sync": {
"is_connected": true,
"sync_enabled": true,
"status": "active",
"connections": [
{
"dms_type": "iManage",
"status": "active",
"last_successful_sync_at": "2026-01-20T13:00:00.000000"
}
]
}
},
{
"created_at": "2024-01-10T09:15:00.000000",
"creator_email": "user@example.com",
"files_count": 45,
"id": "87654321-8765-4321-8765-432187654321",
"is_knowledge_base_project": true,
"name": "Knowledge Base Project",
"project_updated_at": "2026-01-18T11:20:00.000000",
"query_count": 15,
"sharing": {
"user_count": 2,
"user_shares": [
{
"created_at": "2024-01-16T13:45:00.000000",
"dest_user_email": "collaborator@example.com",
"dest_user_id": "11111111-2222-3333-4444-555566667777",
"dest_workspace_id": 2,
"permission_level": "VIEW",
"src_user_id": "12345678-1234-5678-1234-567812345678",
"src_workspace_id": 1,
"vault_folder_id": "87654321-8765-4321-8765-432187654321"
}
],
"workspace_count": 1,
"workspace_shares": [
{
"created_at": "2024-01-17T16:30:00.000000",
"dest_workspace_id": 3,
"permission_level": "EDIT",
"src_user_id": "12345678-1234-5678-1234-567812345678",
"src_workspace_id": 1,
"vault_folder_id": "87654321-8765-4321-8765-432187654321"
}
]
},
"size_bytes": 52428800,
"updated_at": "2024-01-18T11:20:00.000000"
}
]
}
}
}
Vault
List Vault Projects and Knowledge Bases
Lists all Vault projects and knowledge bases in the current workspace with pagination support. This endpoint returns a paginated list of projects that the authenticated user has permission to view.
GET
/
api
/
v1
/
vault
/
workspace
/
projects
List Vault Projects and Knowledge Bases
curl --request GET \
--url https://api.harvey.ai/api/v1/vault/workspace/projects \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.harvey.ai/api/v1/vault/workspace/projects"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.harvey.ai/api/v1/vault/workspace/projects', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.harvey.ai/api/v1/vault/workspace/projects",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.harvey.ai/api/v1/vault/workspace/projects"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.harvey.ai/api/v1/vault/workspace/projects")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.harvey.ai/api/v1/vault/workspace/projects")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"response": {
"content": {
"pagination": {
"page": 1,
"per_page": 20,
"total": 150,
"total_pages": 8
},
"projects": [
{
"created_at": "2024-01-15T10:30:00.000000",
"creator_email": "user@example.com",
"files_count": 109,
"id": "12345678-1234-5678-1234-567812345678",
"is_knowledge_base_project": false,
"name": "Example Legal Project",
"project_retained_at": "2027-01-20T14:45:00.000000",
"project_updated_at": "2026-01-20T14:45:00.000000",
"query_count": 30,
"sharing": {
"user_count": 0,
"user_shares": [],
"workspace_count": 0,
"workspace_shares": []
},
"size_bytes": 104857600,
"updated_at": "2024-01-20T14:45:00.000000",
"dms_sync": {
"is_connected": true,
"sync_enabled": true,
"status": "active",
"connections": [
{
"dms_type": "iManage",
"status": "active",
"last_successful_sync_at": "2026-01-20T13:00:00.000000"
}
]
}
},
{
"created_at": "2024-01-10T09:15:00.000000",
"creator_email": "user@example.com",
"files_count": 45,
"id": "87654321-8765-4321-8765-432187654321",
"is_knowledge_base_project": true,
"name": "Knowledge Base Project",
"project_updated_at": "2026-01-18T11:20:00.000000",
"query_count": 15,
"sharing": {
"user_count": 2,
"user_shares": [
{
"created_at": "2024-01-16T13:45:00.000000",
"dest_user_email": "collaborator@example.com",
"dest_user_id": "11111111-2222-3333-4444-555566667777",
"dest_workspace_id": 2,
"permission_level": "VIEW",
"src_user_id": "12345678-1234-5678-1234-567812345678",
"src_workspace_id": 1,
"vault_folder_id": "87654321-8765-4321-8765-432187654321"
}
],
"workspace_count": 1,
"workspace_shares": [
{
"created_at": "2024-01-17T16:30:00.000000",
"dest_workspace_id": 3,
"permission_level": "EDIT",
"src_user_id": "12345678-1234-5678-1234-567812345678",
"src_workspace_id": 1,
"vault_folder_id": "87654321-8765-4321-8765-432187654321"
}
]
},
"size_bytes": 52428800,
"updated_at": "2024-01-18T11:20:00.000000"
}
]
}
}
}