# Post an event with a long title returns "OK" response require "datadog_api_client" api_instance = DatadogAPIClient::V1::EventsAPI.new body = DatadogAPIClient::V1::EventCreateRequest.new({ title: "Example-Post_an_event_with_a_long_title_returns_OK_response very very very looooooooong looooooooooooong loooooooooooooooooooooong looooooooooooooooooooooooooong title with 100+ characters", text: "A text message.", tags: [ "test:ExamplePostaneventwithalongtitlereturnsOKresponse", ], }) p api_instance.create_event(body)