# Get project-level ephemeral configuration for a provisioner

Returns whether ephemeral automation is currently enabled at the project level for the given provisioner, along with its raw schedule fields (ttl, destroy_on_date, delete_*) so the UI can re-render previously saved values.

Endpoint: GET /iacm/api/orgs/{org}/projects/{project}/settings/ephemeral-config
Version: 1.0
Security: x-api-key

## Query parameters:

  - `provisioner` (string, required)
    Provisioner type to query ephemeral status for
    Enum: "terraform", "opentofu", "terragrunt", "awscdk"

## Path parameters:

  - `org` (string, required)
    Org is the organisation identifier.
    Example: "y6y"

  - `project` (string, required)
    Project is the project identifier.
    Example: "ay"

## Header parameters:

  - `Harness-Account` (string, required)
    Account is the internal customer account ID.
    Example: "mxw"

## Response 200 fields (application/json):

  - `delete_delay_unit` (string)
    Configured delete delay unit (hours or days)
    Enum: "seconds", "minutes", "hours", "days"

  - `delete_delay_value` (integer)
    Configured delete delay value (when delete_workspace is true)
    Example: 3343929823333614600

  - `delete_on_date` (string)
    Configured delete date (YYYY-MM-DD) when schedule uses a specific date
    Example: "Quis vel."

  - `delete_workspace` (boolean)
    Whether workspace records will be deleted after destroy
    Example: true

  - `destroy_on_date` (string)
    Configured destroy date (YYYY-MM-DD) when schedule uses a specific date
    Example: "Ea dolor ut recusandae error repellendus."

  - `enabled` (boolean, required)
    Whether project-level ephemeral automation is currently enabled for this provisioner
    Example: true

  - `pipeline_id` (string)
    Pipeline configured for destroying infrastructure
    Example: "Dolores id ad possimus."

  - `provisioner` (string, required)
    Provisioner this configuration applies to
    Example: "Itaque id molestiae voluptas."

  - `ttl_unit` (string)
    Configured destroy delay unit (hours or days)
    Enum: "seconds", "minutes", "hours", "days"

  - `ttl_value` (integer)
    Configured destroy delay value (when schedule uses delay)
    Example: 5086000406871777000

## 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


