database

List database collections

List every collection with its document count and storage size.

Required permission: retrieval.manage.

get/v1/projects/{project_id}/database/{environment_id}/collections

Request

  • Base URL: https://api.connic.co
  • URL: https://api.connic.co/v1/projects/{project_id}/database/{environment_id}/collections
  • Auth: HTTP bearer

Path parameters

project_idstring uuid required

ID of the project the API key belongs to.

environment_idstring uuid required

Environment ID from GET /environments.

Response

Successful Response

totalinteger required

Number of collections.

Changes

No recorded changes to this operation across all 2 revisions of this API.