List visible entries in a Vault folder
curl --request POST \
--url https://api.canary.effectiveai.app/api/v2/vault/folder/list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"uri": "<string>",
"limit": 100,
"offset": 0,
"orderBy": [
{
"dir": "asc"
}
],
"showHidden": true
}
'import requests
url = "https://api.canary.effectiveai.app/api/v2/vault/folder/list"
payload = {
"uri": "<string>",
"limit": 100,
"offset": 0,
"orderBy": [{ "dir": "asc" }],
"showHidden": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
uri: '<string>',
limit: 100,
offset: 0,
orderBy: [{dir: 'asc'}],
showHidden: true
})
};
fetch('https://api.canary.effectiveai.app/api/v2/vault/folder/list', 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.canary.effectiveai.app/api/v2/vault/folder/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'uri' => '<string>',
'limit' => 100,
'offset' => 0,
'orderBy' => [
[
'dir' => 'asc'
]
],
'showHidden' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.canary.effectiveai.app/api/v2/vault/folder/list"
payload := strings.NewReader("{\n \"uri\": \"<string>\",\n \"limit\": 100,\n \"offset\": 0,\n \"orderBy\": [\n {\n \"dir\": \"asc\"\n }\n ],\n \"showHidden\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.canary.effectiveai.app/api/v2/vault/folder/list")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"uri\": \"<string>\",\n \"limit\": 100,\n \"offset\": 0,\n \"orderBy\": [\n {\n \"dir\": \"asc\"\n }\n ],\n \"showHidden\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.canary.effectiveai.app/api/v2/vault/folder/list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"uri\": \"<string>\",\n \"limit\": 100,\n \"offset\": 0,\n \"orderBy\": [\n {\n \"dir\": \"asc\"\n }\n ],\n \"showHidden\": true\n}"
response = http.request(request)
puts response.read_body{
"uri": "<string>",
"folder": {
"id": "<string>",
"name": "<string>",
"nodeKind": "file",
"isIndexed": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"type": "<string>",
"data": {
"id": "<string>",
"name": "<string>",
"size": 123,
"mimeType": "text/plain",
"path": "<string>",
"storageInfo": {
"location": "gcs",
"object": "<string>",
"url": "<string>"
},
"pageCount": 123,
"totalPages": 123,
"pageMapPath": "<string>",
"extractionMethod": "<string>",
"lastModified": 123,
"contentVersion": "<string>",
"indexed": true
},
"parentId": "<string>",
"tags": [],
"metadata": {
"facetSchema": {
"stringFacet1": "<string>",
"stringFacet2": "<string>",
"stringFacet3": "<string>"
},
"description": "<string>"
},
"orgId": "",
"path": "<string>",
"relativePath": "<string>",
"extractedTextPath": "<string>",
"stringFacet1": "<string>",
"stringFacet2": "<string>",
"stringFacet3": "<string>",
"createdBy": "<string>",
"sessionId": "<string>",
"storageScopeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"immutableContent": true,
"contentSha256": "<string>",
"visibility": "org",
"visibleTo": [
"<string>"
],
"currentVersion": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"versionNumber": 1,
"contentSha256": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
},
"items": [
{
"id": "<string>",
"name": "<string>",
"nodeKind": "file",
"isIndexed": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"type": "<string>",
"data": {
"id": "<string>",
"name": "<string>",
"size": 123,
"mimeType": "text/plain",
"path": "<string>",
"storageInfo": {
"location": "gcs",
"object": "<string>",
"url": "<string>"
},
"pageCount": 123,
"totalPages": 123,
"pageMapPath": "<string>",
"extractionMethod": "<string>",
"lastModified": 123,
"contentVersion": "<string>",
"indexed": true
},
"parentId": "<string>",
"tags": [],
"metadata": {
"facetSchema": {
"stringFacet1": "<string>",
"stringFacet2": "<string>",
"stringFacet3": "<string>"
},
"description": "<string>"
},
"orgId": "",
"path": "<string>",
"relativePath": "<string>",
"extractedTextPath": "<string>",
"stringFacet1": "<string>",
"stringFacet2": "<string>",
"stringFacet3": "<string>",
"createdBy": "<string>",
"sessionId": "<string>",
"storageScopeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"immutableContent": true,
"contentSha256": "<string>",
"visibility": "org",
"visibleTo": [
"<string>"
],
"currentVersion": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"versionNumber": 1,
"contentSha256": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
}
],
"limit": 123,
"offset": 123,
"hasMore": true
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>",
"dataset": "naic",
"businessCode": "<string>",
"violations": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>",
"value": "<unknown>",
"constraint": "<string>",
"cite": "<string>"
}
],
"violationsTruncated": true,
"executionId": "<string>",
"accessUrl": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>",
"dataset": "naic",
"businessCode": "<string>",
"violations": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>",
"value": "<unknown>",
"constraint": "<string>",
"cite": "<string>"
}
],
"violationsTruncated": true,
"executionId": "<string>",
"accessUrl": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>",
"dataset": "naic",
"businessCode": "<string>",
"violations": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>",
"value": "<unknown>",
"constraint": "<string>",
"cite": "<string>"
}
],
"violationsTruncated": true,
"executionId": "<string>",
"accessUrl": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>",
"dataset": "naic",
"businessCode": "<string>",
"violations": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>",
"value": "<unknown>",
"constraint": "<string>",
"cite": "<string>"
}
],
"violationsTruncated": true,
"executionId": "<string>",
"accessUrl": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>",
"dataset": "naic",
"businessCode": "<string>",
"violations": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>",
"value": "<unknown>",
"constraint": "<string>",
"cite": "<string>"
}
],
"violationsTruncated": true,
"executionId": "<string>",
"accessUrl": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>",
"dataset": "naic",
"businessCode": "<string>",
"violations": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>",
"value": "<unknown>",
"constraint": "<string>",
"cite": "<string>"
}
],
"violationsTruncated": true,
"executionId": "<string>",
"accessUrl": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>",
"dataset": "naic",
"businessCode": "<string>",
"violations": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>",
"value": "<unknown>",
"constraint": "<string>",
"cite": "<string>"
}
],
"violationsTruncated": true,
"executionId": "<string>",
"accessUrl": "<string>"
}Vault
List visible entries in a Vault folder
Browse direct children of a folder. The response includes the resolved folder and its URI. A missing subpath under an accessible root returns an empty page.
Choose an order and page size, then advance offset by the number of returned items while hasMore is true. Persistent Vault folders apply visibility and hidden-name filters before pagination. Sandbox folders follow their provider ordering and hidden-name behavior. Concurrent changes can shift offsets between requests. Use countVaultFolder for an exact total.
POST
/
vault
/
folder
/
list
List visible entries in a Vault folder
curl --request POST \
--url https://api.canary.effectiveai.app/api/v2/vault/folder/list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"uri": "<string>",
"limit": 100,
"offset": 0,
"orderBy": [
{
"dir": "asc"
}
],
"showHidden": true
}
'import requests
url = "https://api.canary.effectiveai.app/api/v2/vault/folder/list"
payload = {
"uri": "<string>",
"limit": 100,
"offset": 0,
"orderBy": [{ "dir": "asc" }],
"showHidden": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
uri: '<string>',
limit: 100,
offset: 0,
orderBy: [{dir: 'asc'}],
showHidden: true
})
};
fetch('https://api.canary.effectiveai.app/api/v2/vault/folder/list', 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.canary.effectiveai.app/api/v2/vault/folder/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'uri' => '<string>',
'limit' => 100,
'offset' => 0,
'orderBy' => [
[
'dir' => 'asc'
]
],
'showHidden' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.canary.effectiveai.app/api/v2/vault/folder/list"
payload := strings.NewReader("{\n \"uri\": \"<string>\",\n \"limit\": 100,\n \"offset\": 0,\n \"orderBy\": [\n {\n \"dir\": \"asc\"\n }\n ],\n \"showHidden\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.canary.effectiveai.app/api/v2/vault/folder/list")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"uri\": \"<string>\",\n \"limit\": 100,\n \"offset\": 0,\n \"orderBy\": [\n {\n \"dir\": \"asc\"\n }\n ],\n \"showHidden\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.canary.effectiveai.app/api/v2/vault/folder/list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"uri\": \"<string>\",\n \"limit\": 100,\n \"offset\": 0,\n \"orderBy\": [\n {\n \"dir\": \"asc\"\n }\n ],\n \"showHidden\": true\n}"
response = http.request(request)
puts response.read_body{
"uri": "<string>",
"folder": {
"id": "<string>",
"name": "<string>",
"nodeKind": "file",
"isIndexed": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"type": "<string>",
"data": {
"id": "<string>",
"name": "<string>",
"size": 123,
"mimeType": "text/plain",
"path": "<string>",
"storageInfo": {
"location": "gcs",
"object": "<string>",
"url": "<string>"
},
"pageCount": 123,
"totalPages": 123,
"pageMapPath": "<string>",
"extractionMethod": "<string>",
"lastModified": 123,
"contentVersion": "<string>",
"indexed": true
},
"parentId": "<string>",
"tags": [],
"metadata": {
"facetSchema": {
"stringFacet1": "<string>",
"stringFacet2": "<string>",
"stringFacet3": "<string>"
},
"description": "<string>"
},
"orgId": "",
"path": "<string>",
"relativePath": "<string>",
"extractedTextPath": "<string>",
"stringFacet1": "<string>",
"stringFacet2": "<string>",
"stringFacet3": "<string>",
"createdBy": "<string>",
"sessionId": "<string>",
"storageScopeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"immutableContent": true,
"contentSha256": "<string>",
"visibility": "org",
"visibleTo": [
"<string>"
],
"currentVersion": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"versionNumber": 1,
"contentSha256": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
},
"items": [
{
"id": "<string>",
"name": "<string>",
"nodeKind": "file",
"isIndexed": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"type": "<string>",
"data": {
"id": "<string>",
"name": "<string>",
"size": 123,
"mimeType": "text/plain",
"path": "<string>",
"storageInfo": {
"location": "gcs",
"object": "<string>",
"url": "<string>"
},
"pageCount": 123,
"totalPages": 123,
"pageMapPath": "<string>",
"extractionMethod": "<string>",
"lastModified": 123,
"contentVersion": "<string>",
"indexed": true
},
"parentId": "<string>",
"tags": [],
"metadata": {
"facetSchema": {
"stringFacet1": "<string>",
"stringFacet2": "<string>",
"stringFacet3": "<string>"
},
"description": "<string>"
},
"orgId": "",
"path": "<string>",
"relativePath": "<string>",
"extractedTextPath": "<string>",
"stringFacet1": "<string>",
"stringFacet2": "<string>",
"stringFacet3": "<string>",
"createdBy": "<string>",
"sessionId": "<string>",
"storageScopeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"immutableContent": true,
"contentSha256": "<string>",
"visibility": "org",
"visibleTo": [
"<string>"
],
"currentVersion": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"versionNumber": 1,
"contentSha256": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
}
],
"limit": 123,
"offset": 123,
"hasMore": true
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>",
"dataset": "naic",
"businessCode": "<string>",
"violations": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>",
"value": "<unknown>",
"constraint": "<string>",
"cite": "<string>"
}
],
"violationsTruncated": true,
"executionId": "<string>",
"accessUrl": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>",
"dataset": "naic",
"businessCode": "<string>",
"violations": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>",
"value": "<unknown>",
"constraint": "<string>",
"cite": "<string>"
}
],
"violationsTruncated": true,
"executionId": "<string>",
"accessUrl": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>",
"dataset": "naic",
"businessCode": "<string>",
"violations": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>",
"value": "<unknown>",
"constraint": "<string>",
"cite": "<string>"
}
],
"violationsTruncated": true,
"executionId": "<string>",
"accessUrl": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>",
"dataset": "naic",
"businessCode": "<string>",
"violations": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>",
"value": "<unknown>",
"constraint": "<string>",
"cite": "<string>"
}
],
"violationsTruncated": true,
"executionId": "<string>",
"accessUrl": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>",
"dataset": "naic",
"businessCode": "<string>",
"violations": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>",
"value": "<unknown>",
"constraint": "<string>",
"cite": "<string>"
}
],
"violationsTruncated": true,
"executionId": "<string>",
"accessUrl": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>",
"dataset": "naic",
"businessCode": "<string>",
"violations": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>",
"value": "<unknown>",
"constraint": "<string>",
"cite": "<string>"
}
],
"violationsTruncated": true,
"executionId": "<string>",
"accessUrl": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>",
"dataset": "naic",
"businessCode": "<string>",
"violations": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>",
"value": "<unknown>",
"constraint": "<string>",
"cite": "<string>"
}
],
"violationsTruncated": true,
"executionId": "<string>",
"accessUrl": "<string>"
}Authorizations
Body
application/json
Response
Visible folder entries and continuation state.