# 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: "f6" - `project` (string, required) Project is the project identifier. Example: "iwx" - `workspace` (string, required) Workspace associated with this event Example: "7yt" ## Header parameters: - `Harness-Account` (string, required) Account is the internal customer account ID. Example: "i" ## Request fields (application/json): - `data` (object) Example: {"Commodi distinctio id consequuntur velit veritatis a.":"Expedita laborum debitis consequatur minus quod."} - `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":5403068568548939000,"activity_status":"success","activity_type":"drifted","cost_breakdown_uuid":"Blanditiis voluptatem.","cost_currency":"Officia veniam vel.","cost_diff_total_monthly":"Dolorem animi earum nihil exercitationem.","cost_diff_uuid":"Asperiores cupiditate et dolorum maxime est.","cost_past_total_monthly":"Perferendis dolorem et quia recusandae beatae recusandae.","cost_total_monthly":"Suscipit repudiandae possimus veritatis iure est laboriosam.","cost_total_monthly_percentage_change":"Ipsa et.","drift_counts":{"added":4529513422989975600,"changed":1015559778849360600,"deleted":7948063332864609000,"imported":1355233910123070700,"removed":4130315952087411700,"unchanged":8940854847010386000},"enable_solutions_factory":true,"git_branch":"Esse praesentium ut officiis.","git_commit_message":"Ab aut libero accusantium itaque dolorum.","git_commit_sha":"Libero assumenda iste id fugit.","git_repo":"Ut est eaque deleniti magni ut corporis.","modules_uuid":"Mollitia consequatur corrupti quod corrupti et ut.","output_counts":{"added":4529513422989975600,"changed":1015559778849360600,"deleted":7948063332864609000,"imported":1355233910123070700,"removed":4130315952087411700,"unchanged":8940854847010386000},"pipeline":"Ipsam ducimus facilis.","pipeline_execution_id":"Vel dolore.","pipeline_execution_number":"Temporibus ut rerum vitae.","pipeline_name":"Exercitationem dolore et similique nihil.","pipeline_stage_id":"Occaecati eaque distinctio rem qui repudiandae.","plan_uuid":"Qui ut placeat est vitae.","providers_uuid":"Quas enim deserunt.","provisioner":"Aut dolores.","provisioner_version":"Et ab a aut odio nisi eum.","resource_counts":{"added":4529513422989975600,"changed":1015559778849360600,"deleted":7948063332864609000,"imported":1355233910123070700,"removed":4130315952087411700,"unchanged":8940854847010386000},"state_checksum":"Vero quaerat vel voluptatibus ea dolores tempore.","state_uuid":"Quam repudiandae.","trigger":{"Voluptatem officiis.":"Nam sed sed molestias."}} - `metadata.PlannedChangesCount` (integer) Deprecated: use resource_count_xxxx fields instead Example: 5403068568548939000 - `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: "Blanditiis voluptatem." - `metadata.cost_currency` (string) The currency used in cost data for this change Example: "Officia veniam vel." - `metadata.cost_diff_total_monthly` (string) The currency used in cost data for this change Example: "Dolorem animi earum nihil exercitationem." - `metadata.cost_diff_uuid` (string) The ID of any associated cost diff data Example: "Asperiores cupiditate et dolorum maxime est." - `metadata.cost_past_total_monthly` (string) The currency used in cost data for this change Example: "Perferendis dolorem et quia recusandae beatae recusandae." - `metadata.cost_total_monthly` (string) The currency used in cost data for this change Example: "Suscipit repudiandae possimus veritatis iure est laboriosam." - `metadata.cost_total_monthly_percentage_change` (string) The currency used in cost data for this change Example: "Ipsa et." - `metadata.drift_counts` (object) Example: {"added":2136150988658954200,"changed":6964433595772180000,"deleted":6862568323985893000,"imported":5536720386785865000,"removed":6149701843499704000,"unchanged":2373813414513833500} - `metadata.drift_counts.added` (integer, required) Number added Example: 2136150988658954200 - `metadata.drift_counts.changed` (integer, required) Number changed Example: 6964433595772180000 - `metadata.drift_counts.deleted` (integer, required) Number deleted Example: 6862568323985893000 - `metadata.drift_counts.imported` (integer) Number imported Example: 5536720386785865000 - `metadata.drift_counts.removed` (integer) Number removed Example: 6149701843499704000 - `metadata.drift_counts.unchanged` (integer, required) Number unchanged Example: 2373813414513833500 - `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: "Esse praesentium ut officiis." - `metadata.git_commit_message` (string) Git commit message associated with this execution Example: "Ab aut libero accusantium itaque dolorum." - `metadata.git_commit_sha` (string) Git commit SHA associated with this execution Example: "Libero assumenda iste id fugit." - `metadata.git_repo` (string) Git repo associated with this execution Example: "Ut est eaque deleniti magni ut corporis." - `metadata.modules_uuid` (string) The ID of any associated modules data Example: "Mollitia consequatur corrupti quod corrupti et ut." - `metadata.output_counts` (object) Example: {"added":2136150988658954200,"changed":6964433595772180000,"deleted":6862568323985893000,"imported":5536720386785865000,"removed":6149701843499704000,"unchanged":2373813414513833500} - `metadata.pipeline` (string) The unique identifier of any associated pipeline Example: "Ipsam ducimus facilis." - `metadata.pipeline_execution_id` (string) The unique identifier for any associated pipeline execution Example: "Vel dolore." - `metadata.pipeline_execution_number` (string) The unique number for any associated pipeline execution Example: "Temporibus ut rerum vitae." - `metadata.pipeline_name` (string) The name of any associated pipeline Example: "Exercitationem dolore et similique nihil." - `metadata.pipeline_stage_id` (string) The unique identifier for the associated pipeline stage Example: "Occaecati eaque distinctio rem qui repudiandae." - `metadata.plan_uuid` (string) The ID of any associated plan data Example: "Qui ut placeat est vitae." - `metadata.providers_uuid` (string) The ID of any associated providers data Example: "Quas enim deserunt." - `metadata.provisioner` (string) The provisioner in use Example: "Aut dolores." - `metadata.provisioner_version` (string) The current version of the provisioner in use Example: "Et ab a aut odio nisi eum." - `metadata.resource_counts` (object) Example: {"added":2136150988658954200,"changed":6964433595772180000,"deleted":6862568323985893000,"imported":5536720386785865000,"removed":6149701843499704000,"unchanged":2373813414513833500} - `metadata.state_checksum` (string) The checksum of the last-seen state file Example: "Vero quaerat vel voluptatibus ea dolores tempore." - `metadata.state_uuid` (string) The ID of any associated state data Example: "Quam repudiandae." - `metadata.trigger` (object) Trigger info for any associated pipeline execution Example: {"Voluptatem officiis.":"Nam sed sed molestias."} - `pipeline_execution_id` (string) Deprecated: use metadata instead Example: "Aliquid fugiat ut qui." - `pipeline_stage_id` (string) Deprecated: use metadata instead Example: "Doloremque laborum enim." ## Response 400 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? Example: true - `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? Example: true - `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? Example: true - `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? Example: true - `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? Example: true - `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? Example: true - `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? Example: true - `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? Example: true - `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? Example: true - `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? Example: true - `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? Example: true - `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? Example: true - `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? Example: true - `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? Example: true - `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? Example: true - `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? Example: true - `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? Example: true - `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? Example: true - `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? Example: true - `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? Example: true - `timeout` (boolean, required) Is the error a timeout? Example: true