Enclaves

Read enclave records for provider deployments in an instance.

Enclaves object

Attributes

object

String

id

String

slug

String

name

String

description

StringNullable

network_id

String

provider_deployment_id

String

enclave_environment

Object

created_at

Date

last_used_at

DateNullable
{
"object": "enclave",
"enclave_environment": {
"object": "enclave.environment#preview",
"type": "metorial"
}
}

List enclaves

Returns a paginated list of enclaves.

Query Parameters

limit

NumberOptional

after

StringOptional

before

StringOptional

cursor

StringOptional

order

EnumOptional

id

UnionOptional

slug

UnionOptional

network_id

UnionOptional

provider_deployment_id

UnionOptional

provider_id

UnionOptional

firewall_id

UnionOptional

created_at

ObjectOptional

Filter enclave creation time by date range

GEThttp://api.metorial.com/enclaves
curl -X GET "https://api.metorial.com/enclaves" \
-H "Authorization: Bearer metorial_sk_..."

Get enclave

Retrieves a specific enclave by ID.

URL Parameters

enclave_id

String

The unique identifier for the enclave

GEThttp://api.metorial.com/enclaves/:enclave_id
curl -X GET "https://api.metorial.com/enclaves/enc_Rm4Mnheq2bfEPhBhP7SY" \
-H "Authorization: Bearer metorial_sk_..."