Skip to main content
POST
Preview a bucket

Authorizations

Authorization
string
header
required

A key from conare.ai/dashboard/keys with full access, some namespaces, or models only (/embed, /rerank, /v1, /v2/rerank, /parse).

Body

application/json
bucket
string
required

The bucket's name (gs:// is taken off).

prefixes
string[]
Maximum array length: 20
Maximum string length: 1024

Response

The counts.

service_account
string
required
bucket
string
required
prefixes
string[]
required
objects
integer<int64>
required

The files a source would read.

bytes
integer<int64>
required
types
object
required

Files by declared type (pdf, docx, ...); other when only the bytes will tell.

skipped
integer<int64>
required

Folders and empty objects.

unsupported
integer<int64>
required
too_large
integer<int64>
required
sample
string[]
required

Up to 20 object names.

complete
boolean
required