跳转到主要内容
POST
Preview a bucket

授权

Authorization
string
header
必填

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

请求体

application/json
bucket
string
必填

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

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

响应

The counts.

service_account
string
必填
bucket
string
必填
prefixes
string[]
必填
objects
integer<int64>
必填

The files a source would read.

bytes
integer<int64>
必填
types
object
必填

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

skipped
integer<int64>
必填

Folders and empty objects.

unsupported
integer<int64>
必填
too_large
integer<int64>
必填
sample
string[]
必填

Up to 20 object names.

complete
boolean
必填