Pular para o conteúdo principal
POST
Preview a bucket

Autorizações

Authorization
string
header
obrigatório

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
obrigatório

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

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

Resposta

The counts.

service_account
string
obrigatório
bucket
string
obrigatório
prefixes
string[]
obrigatório
objects
integer<int64>
obrigatório

The files a source would read.

bytes
integer<int64>
obrigatório
types
object
obrigatório

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

skipped
integer<int64>
obrigatório

Folders and empty objects.

unsupported
integer<int64>
obrigatório
too_large
integer<int64>
obrigatório
sample
string[]
obrigatório

Up to 20 object names.

complete
boolean
obrigatório