Skip to main content

Get collection stats

GET 

/api/v1/collections/:collection-id/stats

Get collection statistics for a given collection.

Request

Path Parameters

    collection-id stringrequired

    Collection ID

Responses

Successful response

Schema

    result

    object

    required

    users numberrequired

    Number of users in the collection

    chunks_count numberrequired

    Number of chunks in the collection

    characters numberrequired

    data_stats

    object[]

    required

    Aggregated statistics for the files in the collection, grouped by status.

  • Array [

  • status stringrequired

    Possible values: [pending, indexed, error]

    Status of the files

    files numberrequired

    Number of files in this status

    bytes numbernullable

    Storage size, in bytes, of the files in this status.

  • ]

Loading...