GET
/
v1
/
apps
/
{app_id}
/
models
curl --request GET \
  --url https://api.pulze.ai/v1/apps/{app_id}/models \
  --header 'Authorization: Bearer <token>'
{
  "active_models": 123,
  "base_model_settings": [
    {
      "model": "<string>",
      "provider": "<string>",
      "owner": "<string>",
      "namespace": "<string>",
      "at": "<string>",
      "context_window": 123,
      "until": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "url": "<string>",
      "api_target": "",
      "deprecated_on": "2023-11-07T05:31:56Z",
      "parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "parent": {
        "supports_functions": true,
        "supports_json": true,
        "supports_n": true,
        "supports_penalties": true,
        "supports_stream": true,
        "supports_vision": true,
        "completion_token_cost": 123,
        "prompt_token_cost": 123,
        "base_cost": 123,
        "price_unit": "tokens",
        "model": "<string>",
        "provider": "<string>",
        "owner": "<string>",
        "namespace": "<string>",
        "at": "<string>",
        "context_window": 123,
        "until": "2023-11-07T05:31:56Z",
        "description": "<string>",
        "url": "<string>",
        "api_target": "",
        "deprecated_on": "2023-11-07T05:31:56Z",
        "parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "parent": {},
        "prompt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "is_rag": true,
        "is_ft": true,
        "is_open_source": true,
        "is_gdpr": true,
        "is_chat": true,
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "app_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "added_by": "<string>",
        "added_on": "2023-11-07T05:31:56Z",
        "modified_on": "2023-11-07T05:31:56Z",
        "is_public": true,
        "is_test_model": true,
        "is_pulze_owner": true,
        "default_active": true
      },
      "prompt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "active": false,
      "globally_disabled": true
    }
  ],
  "failover_models": [
    {
      "supports_functions": true,
      "supports_json": true,
      "supports_n": true,
      "supports_penalties": true,
      "supports_stream": true,
      "supports_vision": true,
      "completion_token_cost": 123,
      "prompt_token_cost": 123,
      "base_cost": 123,
      "price_unit": "tokens",
      "model": "<string>",
      "provider": "<string>",
      "owner": "<string>",
      "namespace": "<string>",
      "at": "<string>",
      "context_window": 123,
      "until": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "url": "<string>",
      "api_target": "<string>",
      "deprecated_on": "2023-11-07T05:31:56Z",
      "parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "parent": {},
      "prompt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "is_rag": true,
      "is_ft": true,
      "is_open_source": true,
      "is_gdpr": true,
      "is_chat": true,
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "app_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "added_by": "<string>",
      "added_on": "2023-11-07T05:31:56Z",
      "modified_on": "2023-11-07T05:31:56Z",
      "is_public": true,
      "is_test_model": true,
      "is_pulze_owner": true,
      "default_active": true
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

app_id
string
required

Response

200
application/json
Successful Response
active_models
integer
required
base_model_settings
object[]
required
failover_models
object[]
required