Networks
Read network records for an instance environment.
Networks object
Attributes
object
Stringid
Stringname
Stringdescription
StringNullablecreated_at
Dateupdated_at
Datepublic_ips
Object{"object": "network","public_ips": [{"object": "network.public_ip"},{"object": "network.public_ip"}]}
List networks
Returns a paginated list of networks.
Query Parameters
limit
NumberOptionalafter
StringOptionalbefore
StringOptionalcursor
StringOptionalorder
EnumOptionalid
UnionOptionalfirewall_id
UnionOptionalenclave_id
UnionOptionalcreated_at
ObjectOptionalFilter network creation time by date range
updated_at
ObjectOptionalFilter network last update time by date range
GEThttp://api.metorial.com/networks
curl -X GET "https://api.metorial.com/networks" \-H "Authorization: Bearer metorial_sk_..."
Get network
Retrieves a specific network by ID.
URL Parameters
network_id
StringThe unique identifier for the network
GEThttp://api.metorial.com/networks/:network_id
curl -X GET "https://api.metorial.com/networks/net_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."
List network logs
Returns ingress or egress network logs for enclaves in the instance environment.
Query Parameters
direction
Enumenclave_id
UnionOptionalhostname
UnionOptionalip
UnionOptionalfrom
StringOptionalto
StringOptionalinterval_minutes
NumberOptionalGEThttp://api.metorial.com/network-logs
curl -X GET "https://api.metorial.com/network-logs" \-H "Authorization: Bearer metorial_sk_..."