Passer au contenu principal
POST
Preview a bucket

Autorisations

Authorization
string
header
requis

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

Corps

application/json
bucket
string
requis

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

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

Réponse

The counts.

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

The files a source would read.

bytes
integer<int64>
requis
types
object
requis

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

skipped
integer<int64>
requis

Folders and empty objects.

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

Up to 20 object names.

complete
boolean
requis