DataCollections — data-service
Section titled “DataCollections — data-service”Every response below is delivered inside the universal {success, result} envelope; downloads and streams bypass it structurally. See Calling the HTTP API.
Snapshot:
data-service.json· data-service 1.11.0 · 21 operations
GET /v1/collections
Section titled “GET /v1/collections”findAll
— Get all collections
Parameters
| Name | In | Required | Type |
|---|---|---|---|
filter | query | no | — |
Responses
| Status | Description |
|---|---|
200 | Array of DataCollections model instances |
GET /v1/collections/{id}
Section titled “GET /v1/collections/{id}”findByIdWithoutEntity
— Get all collections
Parameters
| Name | In | Required | Type |
|---|---|---|---|
id | path | yes | string |
filter | query | no | — |
Responses
| Status | Description |
|---|---|
200 | Array of DataCollections model instances |
GET /v1/collections/count
Section titled “GET /v1/collections/count”countAll
— Get collections count
Parameters
| Name | In | Required | Type |
|---|---|---|---|
where | query | no | — |
Responses
| Status | Description |
|---|---|
200 | DataCollections model count. |
GET /v1/collections/my
Section titled “GET /v1/collections/my”findMyCollections
— List all user collections in a specific view or in all views
Parameters
| Name | In | Required | Type |
|---|---|---|---|
filter | query | no | — |
Responses
| Status | Description |
|---|---|
200 | Array of DataCollections model instances |
GET /v1/collections/shared
Section titled “GET /v1/collections/shared”findSharedCollections
— List all user shared collections in a specific view or in all views
Parameters
| Name | In | Required | Type |
|---|---|---|---|
filter | query | no | — |
Responses
| Status | Description |
|---|---|
200 | Array of DataCollections model instances |
GET /v1/entities/{entity}/collections
Section titled “GET /v1/entities/{entity}/collections”find
— Get all entity collections
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
filter | query | no | — |
Responses
| Status | Description |
|---|---|
200 | Array of DataCollections model instances |
POST /v1/entities/{entity}/collections
Section titled “POST /v1/entities/{entity}/collections”create
— Create new data collection
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
Request body: NewDataCollections
Responses
| Status | Description |
|---|---|
200 | DataCollections model instance |
DELETE /v1/entities/{entity}/collections/{id}
Section titled “DELETE /v1/entities/{entity}/collections/{id}”deleteById
— Delete specific entity collection
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
id | path | yes | string |
Responses
| Status | Description |
|---|---|
200 | DataCollections DELETE success |
GET /v1/entities/{entity}/collections/{id}
Section titled “GET /v1/entities/{entity}/collections/{id}”findById
— Get specific entity collection
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
id | path | yes | string |
filter | query | no | — |
Responses
| Status | Description |
|---|---|
200 | DataCollectionsPermissionsDto model instance |
PATCH /v1/entities/{entity}/collections/{id}
Section titled “PATCH /v1/entities/{entity}/collections/{id}”updateById
— Update specific entity collection
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
id | path | yes | string |
Request body: DataCollectionsPartialExcluding_id-updateInfo-creationInfo-isImplicit-relatedTo-module_
Responses
| Status | Description |
|---|---|
200 | DataCollections PATCH success |
PUT /v1/entities/{entity}/collections/{id}
Section titled “PUT /v1/entities/{entity}/collections/{id}”replaceById
— Update specific entity collection
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
id | path | yes | string |
Request body: ReplaceDataCollections
Responses
| Status | Description |
|---|---|
200 | DataCollections PUT success |
POST /v1/entities/{entity}/collections/{id}/duplicate
Section titled “POST /v1/entities/{entity}/collections/{id}/duplicate”duplicate
— Duplicate data collection
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
id | path | yes | string |
Request body: DuplicatedDataCollections
Responses
| Status | Description |
|---|---|
200 | DataCollections model instance |
GET /v1/entities/{entity}/collections/{id}/entries
Section titled “GET /v1/entities/{entity}/collections/{id}/entries”findEntries
— Get specific entity collection
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
id | path | yes | string |
filter | query | no | — |
include_virtual | query | no | boolean |
appliedQuickFilters | query | no | array of string |
Responses
| Status | Description |
|---|---|
200 | Array of DataEntry model instances |
PATCH /v1/entities/{entity}/collections/{id}/entries
Section titled “PATCH /v1/entities/{entity}/collections/{id}/entries”updateCollectionItems
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
id | path | yes | string |
Request body: array of object
Responses
| Status | Description |
|---|---|
200 | Update collection items |
GET /v1/entities/{entity}/collections/{id}/entries/count
Section titled “GET /v1/entities/{entity}/collections/{id}/entries/count”findEntriesCount
— Get specific entity collection count
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
id | path | yes | string |
where | query | no | — |
include_virtual | query | no | boolean |
appliedQuickFilters | query | no | array of string |
Responses
| Status | Description |
|---|---|
200 | DataEntry model count. |
PATCH /v1/entities/{entity}/collections/{id}/share
Section titled “PATCH /v1/entities/{entity}/collections/{id}/share”share
— Share collection
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
id | path | yes | string |
Request body: DataCollectionsShareModel
Responses
| Status | Description |
|---|---|
200 | DataCollections PATCH success |
GET /v1/entities/{entity}/collections/count
Section titled “GET /v1/entities/{entity}/collections/count”count
— Count specific entity collections
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
where | query | no | — |
Responses
| Status | Description |
|---|---|
200 | DataCollections model count. |
POST /v2/entities/{entity}/collections
Section titled “POST /v2/entities/{entity}/collections”createV2
— Create new data collection
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
Request body: NewDataCollectionsV2
Responses
| Status | Description |
|---|---|
200 | DataCollections model instance |
GET /v2/entities/{entity}/collections/{id}/entries
Section titled “GET /v2/entities/{entity}/collections/{id}/entries”findEntriesV2
— Get specific entity collection with applied tags
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
id | path | yes | string |
filter | query | no | — |
search | query | no | string |
include_virtual | query | no | boolean |
appliedQuickFilters | query | no | array of string |
appliedTagsFilters | query | no | array of string |
Responses
| Status | Description |
|---|---|
200 | DataEntriesResponseV3 model instance |
PATCH /v2/entities/{entity}/collections/{id}/entries
Section titled “PATCH /v2/entities/{entity}/collections/{id}/entries”updateCollectionItemsV2
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
id | path | yes | string |
Request body: PatchDataCollectionItemsDto
Responses
| Status | Description |
|---|---|
200 | Set or unset collection items with select all ability |
GET /v2/entities/{entity}/collections/{id}/entries/count
Section titled “GET /v2/entities/{entity}/collections/{id}/entries/count”findEntriesCountV2
— Get specific entity collection count
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
id | path | yes | string |
where | query | no | — |
search | query | no | string |
include_virtual | query | no | boolean |
appliedQuickFilters | query | no | array of string |
Responses
| Status | Description |
|---|---|
200 | DataEntry model count. |
Platform 1.10.0 · Backend 1.11.0-alpha.11 · Frontend 1.11.0-alpha.6 · Mobile 1.10.2 · Chart 1.11.8 · Gateway 2.6.11 · MCP 0.2.0 · Grafana DS 1.2.0Docs build 2026-11-27