agentcat-api 0.0.3

Generated Rust client for the AgentCat API, consumed by agentcat-sdk.
Documentation
# \EventsApi

All URIs are relative to *https://api.agentcat.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**publish_event**]EventsApi.md#publish_event | **POST** /v1/public/events/ | Publish analytics event



## publish_event

> models::EventAcceptedResponse publish_event(publish_event_request)
Publish analytics event

Submit analytics events for a project. Returns immediately with 202 Accepted.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**publish_event_request** | Option<[**PublishEventRequest**]PublishEventRequest.md> |  |  |

### Return type

[**models::EventAcceptedResponse**](EventAcceptedResponse.md)

### Authorization

[tokenAuth](../README.md#tokenAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)