Signals Notebook allows you to perform a search using the API to calculate the total number of experiments within a tenant. In this article, you'll find a step-by-step guide on how to perform this action using our Swagger.
Access Swagger page in Signals Notebook.
Expand the “Entities” menu.
Search for the endpoint "POST/entities/search".
Expand this endpoint and click on "Try it out".
For the field "source" make sure to select "SN".
-
For the request body, you can perform a search by specifying that you are looking for experiments. Below is an example of a request body that you can use.
{ "query": { "$and": [ { "$match": { "field": "type", "value": "experiment", "mode": "keyword" } }, { "$match": { "field": "isTemplate", "value": false } } ] } } Click on Execute.
At the beginning of the response body, you'll find a count of the results that match your search criteria.

Note: Please keep in mind that Signals' Swagger will provide you with a count of the objects you have access to within the user interface. Therefore, if you want access to all the objects in your tenant, you may want to configure your system as suggested in the following article before performing this count to ensure that you are counting all entities Signals Notebook: How can administrators see the notebooks and experiments of all other users.
Comments
0 comments
Article is closed for comments.