List Files
Files
List Files
List all files for the current user’s organization
Args: membership: Membership information db: MongoDB database instance
GET
List Files
Authorizations
Response
200 - application/json
Successful Response
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl --request GET \
--url https://api.voicebot.studio/api/v1/files \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.voicebot.studio/api/v1/files"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.voicebot.studio/api/v1/files', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.voicebot.studio/api/v1/files"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}[
{
"id": "<string>",
"name": "<string>",
"size": 123,
"mimeType": "<string>",
"purpose": "<string>",
"path": "<string>",
"bucket": "<string>",
"url": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"organizationId": "<string>",
"isDeleted": true,
"originalName": "<string>",
"key": "<string>",
"metadata": {}
}
]List all files for the current user’s organization
Args: membership: Membership information db: MongoDB database instance
curl --request GET \
--url https://api.voicebot.studio/api/v1/files \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.voicebot.studio/api/v1/files"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.voicebot.studio/api/v1/files', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.voicebot.studio/api/v1/files"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}[
{
"id": "<string>",
"name": "<string>",
"size": 123,
"mimeType": "<string>",
"purpose": "<string>",
"path": "<string>",
"bucket": "<string>",
"url": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"organizationId": "<string>",
"isDeleted": true,
"originalName": "<string>",
"key": "<string>",
"metadata": {}
}
]Successful Response