Zum Hauptinhalt springen
POST
Preview a bucket

Autorisierungen

Authorization
string
header
erforderlich

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

Body

application/json
bucket
string
erforderlich

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

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

Antwort

The counts.

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

The files a source would read.

bytes
integer<int64>
erforderlich
types
object
erforderlich

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

skipped
integer<int64>
erforderlich

Folders and empty objects.

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

Up to 20 object names.

complete
boolean
erforderlich