abacusai.web_app_api_key

Classes

WebAppApiKey

A web app and the LLM API key bound to it.

Module Contents

class abacusai.web_app_api_key.WebAppApiKey(client, webAppProjectId=None, apiKeyId=None, hostname=None)

Bases: abacusai.return_class.AbstractApiClass

A web app and the LLM API key bound to it.

Parameters:
  • client (ApiClient) – An authenticated API Client instance

  • webAppProjectId (id) – The ID of the web app project (the logical app).

  • apiKeyId (id) – The ID of the LLM API key bound to the app.

  • hostname (str) – A hostname the app is served on.

web_app_project_id = None
api_key_id = None
hostname = None
deprecated_keys
__repr__()
to_dict()

Get a dict representation of the parameters in this class

Returns:

The dict value representation of the class parameters

Return type:

dict