# 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: "e"

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

## Header parameters:

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

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

  - `delete_on_date` (string)
    Configured delete date (YYYY-MM-DD) when schedule uses a specific date
    Example: "Dolor est hic ullam error amet."

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

  - `destroy_on_date` (string)
    Configured destroy date (YYYY-MM-DD) when schedule uses a specific date
    Example: "At consequatur eum."

  - `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: "Dolorem quia consequuntur."

  - `provisioner` (string, required)
    Provisioner this configuration applies to
    Example: "Autem libero."

  - `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: 1698177789739208200

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


