agentcat-api 0.0.2

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

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | Option<**String**> | ID of the event, typically auto-generated by the AgentCat Agent | [optional]
**project_id** | **String** | ID of the project this event belongs to | 
**session_id** | Option<**String**> | ID of the session this event belongs to. Null for stateless mode (server assigns session). | [optional]
**actor_id** | Option<**String**> | Optional actor ID | [optional]
**event_id** | Option<**String**> | Optional custom event ID (must be unique) | [optional]
**event_type** | Option<**EventType**> | Type of event (e.g., mcp:tools/call, agentcat:identify) (enum: mcp:ping, mcp:initialize, mcp:completion/complete, mcp:logging/setLevel, mcp:prompts/get, mcp:prompts/list, mcp:resources/list, mcp:resources/templates/list, mcp:resources/read, mcp:resources/subscribe, mcp:resources/unsubscribe, mcp:tools/call, mcp:tools/list, mcp:tasks/get, mcp:tasks/result, mcp:tasks/list, mcp:tasks/cancel, agentcat:identify) | [optional]
**is_error** | Option<**bool**> | Whether this event represents an error | [optional]
**error** | Option<**serde_json::Value**> | Error details if is_error is true | [optional]
**resource_name** | Option<**String**> | Name of the resource accessed (for resource events) | [optional]
**duration** | Option<**i32**> | Duration of the operation in milliseconds | [optional]
**input_tokens** | Option<**i32**> | Token count of the request side as measured by the SDK. When absent, the server estimates it from the stored parameters. | [optional]
**output_tokens** | Option<**i32**> | Token count of the response side as measured by the SDK. When absent, the server estimates it from the stored response. Drives the oversized-tool-response rule. | [optional]
**timestamp** | Option<**chrono::DateTime<chrono::FixedOffset>**> | Agent-provided timestamp of when the event occurred | [optional]
**user_intent** | Option<**String**> | Captured explanation of why the actor made this request | [optional]
**parameters** | Option<**serde_json::Value**> | Parameters sent with the request | [optional]
**response** | Option<**serde_json::Value**> | Response data from the operation | [optional]
**identify_actor_given_id** | Option<**String**> | Actor ID for agentcat:identify events | [optional]
**identify_actor_name** | Option<**String**> | Actor name for agentcat:identify events | [optional]
**identify_data** | Option<**serde_json::Value**> | Additional data for agentcat:identify events | [optional]
**tags** | Option<**std::collections::HashMap<String, String>**> | Custom string key-value pairs. Keys: max 32 chars, alphanumeric/underscore/period/colon/dash/dollar-sign only. Values: max 200 chars, no newlines. Max 50 entries. | [optional]
**properties** | Option<**serde_json::Value**> | Custom structured data. Keys are strings, values can be string, number, boolean, array, object, or null (null values are filtered out). | [optional]
**ip_address** | Option<**String**> | IP address of the client | [optional]
**sdk_language** | Option<**String**> | Programming language of the SDK used | [optional]
**agentcat_version** | Option<**String**> | Version of AgentCat being used | [optional]
**server_name** | Option<**String**> | Name of the MCP server | [optional]
**server_version** | Option<**String**> | Version of the MCP server | [optional]
**client_name** | Option<**String**> | Name of the MCP client | [optional]
**client_version** | Option<**String**> | Version of the MCP client | [optional]

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