Vai al contenuto principale
POST
Preview a bucket

Autorizzazioni

Authorization
string
header
obbligatorio

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

Corpo

application/json
bucket
string
obbligatorio

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

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

Risposta

The counts.

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

The files a source would read.

bytes
integer<int64>
obbligatorio
types
object
obbligatorio

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

skipped
integer<int64>
obbligatorio

Folders and empty objects.

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

Up to 20 object names.

complete
boolean
obbligatorio