Skip to main content

agentcat-api

API for AgentCat application

The agentcat_api package is automatically generated by the OpenAPI Generator project:

  • API version: v1
  • Package version: 1.0.0
  • Generator version: 7.14.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.9+

Installation & Usage

This python library package is generated without supporting files like setup.py or requirements files

To be able to use it, you will need these dependencies in your own package that uses this library:

  • urllib3 >= 2.1.0, < 3.0.0
  • python-dateutil >= 2.8.2
  • pydantic >= 2
  • typing-extensions >= 4.7.1

Getting Started

In your own code, to use this library to connect and interact with agentcat-api, you can run the following:

import agentcat_api
from agentcat_api.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost:8000
# See configuration.py for a list of all supported configuration parameters.
configuration = agentcat_api.Configuration(
    host = "http://localhost:8000"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: tokenAuth
configuration.api_key['tokenAuth'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['tokenAuth'] = 'Bearer'


# Enter a context with an instance of the API client
with agentcat_api.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = agentcat_api.EventsApi(api_client)
    publish_event_request = agentcat_api.PublishEventRequest() # PublishEventRequest |  (optional)

    try:
        # Publish analytics event
        api_response = api_instance.publish_event(publish_event_request=publish_event_request)
        print("The response of EventsApi->publish_event:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling EventsApi->publish_event: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost:8000

Class Method HTTP request Description
EventsApi publish_event POST /v1/public/events/ Publish analytics event
NotificationsApi unsubscribe_notification POST /v1/public/notifications/unsubscribe Disable an email notification type for the token's user

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

tokenAuth

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Author

Metadata

Release files for agentcat-api 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentcat-api 1.0.0
File Size Uploaded
agentcat_api-1.0.0.tar.gz 26.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agentcat-api 1.0.0
File Interpreter ABI Platform
agentcat_api-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 65.7 kB

Release files / agentcat_api-1.0.0.tar.gz

Download URL agentcat_api-1.0.0.tar.gz
Size 26.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fcf18e0bcccbfc47bd04050a325dfbbe5d637c7895158026dee3f70e8d788b5d
BLAKE2b-256 checksum
How to use checksums
8a7ce3e804e96823611289b85e6a8ca9728e4cd707631bb92ae9703be47cbe8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.8

Release files / agentcat_api-1.0.0-py3-none-any.whl

Download URL agentcat_api-1.0.0-py3-none-any.whl
Size 39.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f616ab044e9e27de1abc5c6614554cf2de1858ffc1f164ebf1e1876ab90dbdf
BLAKE2b-256 checksum
How to use checksums
aa033c4d0ba8ad1b88450bf7085c5a24dccf9c1640633efbfc7b263bff7a5c9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.8

Release history Release notifications | RSS feed

1.0.2

2 release files

This release

1.0.0 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page