Saltar al contenido principal
POST
Preview a bucket

Autorizaciones

Authorization
string
header
requerido

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

Cuerpo

application/json
bucket
string
requerido

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

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

Respuesta

The counts.

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

The files a source would read.

bytes
integer<int64>
requerido
types
object
requerido

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

skipped
integer<int64>
requerido

Folders and empty objects.

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

Up to 20 object names.

complete
boolean
requerido