Skip to content

Get a Terraform state by its name

GET
/api/v4/projects/{id}/terraform/state/{name}

Get a Terraform state by its name

id
required
One of:
string

The ID or URL-encoded path of the project

name
required
string

The name of a Terraform state

ID
string
nullable <= 255 characters

Terraform state lock ID

OK

Empty state

Bad Request

Forbidden

Not found

Validation failure