import { Crevio } from "@crevio/sdk";
const crevio = new Crevio({
apiKey: process.env["CREVIO_API_KEY"] ?? "",
});
async function run() {
const result = await crevio.files.list({});
console.log(result);
}
run();{
"data": [
{
"object": "<string>",
"id": "<string>",
"kind": {},
"upload_status": {},
"url": {},
"created_at": {},
"updated_at": {},
"filename": "<string>",
"content_type": "<string>",
"size": 123,
"provider": "<string>",
"file_url": "<string>"
}
],
"has_more": true,
"url": "<string>"
}Returns a list of files for the current account. Supports filtering by kind.
import { Crevio } from "@crevio/sdk";
const crevio = new Crevio({
apiKey: process.env["CREVIO_API_KEY"] ?? "",
});
async function run() {
const result = await crevio.files.list({});
console.log(result);
}
run();{
"data": [
{
"object": "<string>",
"id": "<string>",
"kind": {},
"upload_status": {},
"url": {},
"created_at": {},
"updated_at": {},
"filename": "<string>",
"content_type": "<string>",
"size": 123,
"provider": "<string>",
"file_url": "<string>"
}
],
"has_more": true,
"url": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.crevio.co/llms.txt
Use this file to discover all available pages before exploring further.
API key in the format: Bearer {api_token}
Cursor for pagination — the ID of the last item in the previous page
Items per page
1 <= x <= 100Filter by kind
file, external_video Was this page helpful?