logo
Buckets

list

get
https://api.groundx.ai/api/v1/bucket

List all buckets within your GroundX account

Interact with the "Request Body" below to explore the arguments of this function. Enter your GroundX API key to send a request directly from this web page. Select your language of choice to structure a code snippet based on your specified arguments.

Execute an API Request

Query
ninteger

The maximum number of returned documents. Accepts 1-100 with a default of 20.

nextTokenstring

A token for pagination. If the number of documents for a given query is larger than n, the response will include a "nextToken" value. That token can be included in this field to retrieve the next batch of n documents.

Authorization
Request
Installation
$
npm install groundx-typescript-sdk
1
Loading...

Response fields

object
bucketsarray of objects
1
{
2
"buckets": [
3
{
4
"bucketId": 0,
5
"created": "2023-10-03T08:59:39.312Z",
6
"fileCount": 0,
7
"fileSize": "3.1GB",
8
"name": "string",
9
"updated": "2023-10-03T08:59:39.312Z"
10
}
11
]
12
}