メインコンテンツへスキップ
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
必須