# Send event Store binary data generated by the provisioner, such as plans and state files. Endpoint: POST /iacm/api/orgs/{org}/projects/{project}/workspaces/{workspace}/events Version: 1.0 Security: x-api-key ## Path parameters: - `org` (string, required) Org is the organisation identifier. Example: "yvt" - `project` (string, required) Project is the project identifier. Example: "n" - `workspace` (string, required) Workspace associated with this event Example: "vx" ## Header parameters: - `Harness-Account` (string, required) Account is the internal customer account ID. Example: "g6" ## Request fields (application/json): - `data` (object) Example: {"Aut doloribus sint eaque ipsam dolorum adipisci.":"Libero odio inventore.","Distinctio ut porro consequuntur reiciendis vitae.":"Quo nam possimus.","Voluptatum repellendus soluta veniam voluptas.":"Natus sit eaque molestias rem."} - `event_type` (string, required) The type of event that occurred Enum: "plan", "drifted", "provisioning", "destroying", "active", "inactive", "apply_needed", "failed", "stage-complete" - `metadata` (object) Example: {"PlannedChangesCount":7409014449808088000,"activity_status":"success","activity_type":"destroy","cost_breakdown_uuid":"Dolorem ipsam incidunt quae.","cost_currency":"Distinctio magnam non.","cost_diff_total_monthly":"Delectus ipsam unde ea.","cost_diff_uuid":"Repudiandae voluptatum at dolorem voluptatem consequuntur voluptatem.","cost_past_total_monthly":"Eum quasi quisquam sed.","cost_total_monthly":"Animi necessitatibus voluptas similique.","cost_total_monthly_percentage_change":"Qui quia est molestiae cumque eius sit.","drift_counts":{"added":7449910667089618000,"changed":148315669190400480,"deleted":5683600417193213000,"imported":3265651565371067000,"removed":1371487732313499000,"unchanged":4655105961323145000},"enable_solutions_factory":true,"git_branch":"Est et sequi ut harum.","git_commit_message":"Repudiandae neque ut porro voluptate qui.","git_commit_sha":"Occaecati totam.","git_repo":"Asperiores nisi.","modules_uuid":"Voluptatem dolorem quia id.","output_counts":{"added":7449910667089618000,"changed":148315669190400480,"deleted":5683600417193213000,"imported":3265651565371067000,"removed":1371487732313499000,"unchanged":4655105961323145000},"pipeline":"Perspiciatis dolor mollitia nemo qui facere.","pipeline_execution_id":"Et veniam officiis et occaecati quis architecto.","pipeline_execution_number":"Atque magnam est aut.","pipeline_name":"Nostrum tempore harum tempore.","pipeline_stage_id":"Laboriosam repudiandae nesciunt autem.","plan_uuid":"Numquam fugiat voluptas et.","providers_uuid":"Et alias aspernatur nam.","provisioner":"Voluptatibus dolore est fugiat mollitia dolor adipisci.","provisioner_version":"Ut sunt sunt atque quaerat voluptatem.","resource_counts":{"added":7449910667089618000,"changed":148315669190400480,"deleted":5683600417193213000,"imported":3265651565371067000,"removed":1371487732313499000,"unchanged":4655105961323145000},"state_checksum":"Aut ducimus a explicabo nobis ipsum.","state_uuid":"Iure aperiam quis qui.","trigger":{"Corporis impedit repudiandae debitis perspiciatis vel.":"Voluptatibus dolorem dolores voluptatem accusamus.","Repellat illo quo sit corrupti reiciendis neque.":"Qui et beatae corporis hic aut.","Sapiente illum deserunt aliquam dicta.":"Libero temporibus eaque."}} - `metadata.PlannedChangesCount` (integer) Deprecated: use resource_count_xxxx fields instead Example: 7409014449808088000 - `metadata.activity_status` (string) The status of this activity Enum: "success", "failure" - `metadata.activity_type` (string) The type of this activity Enum: "apply", "destroy", "plan", "drifted", "import" - `metadata.cost_breakdown_uuid` (string) The ID of any associated cost breakdown data Example: "Dolorem ipsam incidunt quae." - `metadata.cost_currency` (string) The currency used in cost data for this change Example: "Distinctio magnam non." - `metadata.cost_diff_total_monthly` (string) The currency used in cost data for this change Example: "Delectus ipsam unde ea." - `metadata.cost_diff_uuid` (string) The ID of any associated cost diff data Example: "Repudiandae voluptatum at dolorem voluptatem consequuntur voluptatem." - `metadata.cost_past_total_monthly` (string) The currency used in cost data for this change Example: "Eum quasi quisquam sed." - `metadata.cost_total_monthly` (string) The currency used in cost data for this change Example: "Animi necessitatibus voluptas similique." - `metadata.cost_total_monthly_percentage_change` (string) The currency used in cost data for this change Example: "Qui quia est molestiae cumque eius sit." - `metadata.drift_counts` (object) Example: {"added":1790702690741287700,"changed":2788414013632935400,"deleted":7500576508441649000,"imported":6878905176367138000,"removed":6835361979838198000,"unchanged":6498877051513293000} - `metadata.drift_counts.added` (integer, required) Number added Example: 1790702690741287700 - `metadata.drift_counts.changed` (integer, required) Number changed Example: 2788414013632935400 - `metadata.drift_counts.deleted` (integer, required) Number deleted Example: 7500576508441649000 - `metadata.drift_counts.imported` (integer) Number imported Example: 6878905176367138000 - `metadata.drift_counts.removed` (integer) Number removed Example: 6835361979838198000 - `metadata.drift_counts.unchanged` (integer, required) Number unchanged Example: 6498877051513293000 - `metadata.enable_solutions_factory` (boolean) Indicates if Harness Solution Factory functionality is enabled Example: true - `metadata.git_branch` (string) Git branch associated with this execution Example: "Est et sequi ut harum." - `metadata.git_commit_message` (string) Git commit message associated with this execution Example: "Repudiandae neque ut porro voluptate qui." - `metadata.git_commit_sha` (string) Git commit SHA associated with this execution Example: "Occaecati totam." - `metadata.git_repo` (string) Git repo associated with this execution Example: "Asperiores nisi." - `metadata.modules_uuid` (string) The ID of any associated modules data Example: "Voluptatem dolorem quia id." - `metadata.output_counts` (object) Example: {"added":1790702690741287700,"changed":2788414013632935400,"deleted":7500576508441649000,"imported":6878905176367138000,"removed":6835361979838198000,"unchanged":6498877051513293000} - `metadata.pipeline` (string) The unique identifier of any associated pipeline Example: "Perspiciatis dolor mollitia nemo qui facere." - `metadata.pipeline_execution_id` (string) The unique identifier for any associated pipeline execution Example: "Et veniam officiis et occaecati quis architecto." - `metadata.pipeline_execution_number` (string) The unique number for any associated pipeline execution Example: "Atque magnam est aut." - `metadata.pipeline_name` (string) The name of any associated pipeline Example: "Nostrum tempore harum tempore." - `metadata.pipeline_stage_id` (string) The unique identifier for the associated pipeline stage Example: "Laboriosam repudiandae nesciunt autem." - `metadata.plan_uuid` (string) The ID of any associated plan data Example: "Numquam fugiat voluptas et." - `metadata.providers_uuid` (string) The ID of any associated providers data Example: "Et alias aspernatur nam." - `metadata.provisioner` (string) The provisioner in use Example: "Voluptatibus dolore est fugiat mollitia dolor adipisci." - `metadata.provisioner_version` (string) The current version of the provisioner in use Example: "Ut sunt sunt atque quaerat voluptatem." - `metadata.resource_counts` (object) Example: {"added":1790702690741287700,"changed":2788414013632935400,"deleted":7500576508441649000,"imported":6878905176367138000,"removed":6835361979838198000,"unchanged":6498877051513293000} - `metadata.state_checksum` (string) The checksum of the last-seen state file Example: "Aut ducimus a explicabo nobis ipsum." - `metadata.state_uuid` (string) The ID of any associated state data Example: "Iure aperiam quis qui." - `metadata.trigger` (object) Trigger info for any associated pipeline execution Example: {"Corporis impedit repudiandae debitis perspiciatis vel.":"Voluptatibus dolorem dolores voluptatem accusamus.","Repellat illo quo sit corrupti reiciendis neque.":"Qui et beatae corporis hic aut.","Sapiente illum deserunt aliquam dicta.":"Libero temporibus eaque."} - `pipeline_execution_id` (string) Deprecated: use metadata instead Example: "Aut assumenda in saepe non." - `pipeline_stage_id` (string) Deprecated: use metadata instead Example: "Aspernatur eligendi quisquam voluptate et non quidem." ## Response 400 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 401 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 403 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 404 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 408 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 409 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 423 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 499 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 500 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 502 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 200 fields