Tenants - Applications

The Tenant's Applications endpoint returns a list of all applications owned by the requesting tenant, sorted alphabetically, based on the name of the application.

The following parameters are used to list a tenant's applications:

ArgumentDescription
tenant_id
boolean
(required) The unique identifier of the Tenant object to be retrieved . Can use "current" to retrieve current tenant's applications
reverse
boolean
(optional) Results order can be reversed by adding the ?reverse=true parameter
GET /1/tenants/{tenant_id}/applications
Host: https://api.cogniac.io

Example: List All Tenant Applications

curl -X GET https://api.cogniac.io/1/tenants/current/applications?reverse=true \
-H "Authorization: Bearer abcdefg.hijklmnop.qrstuvwxyz"
import cogniac

# connect to the tenant
cc = cogniac.CogniacConnection(username="[email protected]", 
                               password="myPassword", 
                               tenant_id="63QhzFLc9tg4")

# get a list of tenant's apps
cc.get_all_applications(reverse=True)

For more information on the Cogniac Python SDK, see Cogniac Python-SDK.

{
    "data": [
        {
            "active": true,
            "app_managers": [
                "[email protected]"
            ],
            "application_id": "rtoXLkuW",
            "best_model_ccp_filename": null,
            "candidate_model_count": null,
            "created_at": 1508185031.058911,
            "created_by": "[email protected]",
            "current_performance": null,
            "custom_fields": {
                "clip_size": 4,
                "tile_grid": 8
            },
            "description": "For relighting security camera images.",
            "detection_post_urls": [],
            "detection_thresholds": {
                "output_1qp": 0
            },
            "gateway_post_urls": [],
            "hpo_credit": 0,
            "input_subjects": [
                "input_0tb"
            ],
            "last_candidate_at": null,
            "last_released_at": null,
            "modified_at": 1508185031.058911,
            "name": "Security Relighter",
            "output_subjects": [
                "output_1qp"
            ],
            "output_subjects_external_ids": {},
            "refresh_feedback": false,
            "release_model_count": null,
            "replay": false,
            "tenant_id": "63QhzFLc9tg4",
            "training_data_count": null,
            "type": "relighting",
            "validation_data_count": null
        },
      {
        \\ Next application object ...
      }, 
      ...
    ]
}