List ingresses
client.ingresses.list(IngressListParams { tags } query?, RequestOptionsoptions?): IngressListResponse { id, created_at, name, 2 more }
/ingresses
List ingresses
Parameters
Returns
List ingresses
import Hypeman from '@onkernel/hypeman';
const client = new Hypeman({
apiKey: 'My API Key',
});
const ingresses = await client.ingresses.list();
console.log(ingresses);
[
{
"id": "2OgJqXsP7j1qLVVYvGJDNiYVlPO",
"created_at": "2025-01-15T10:00:00Z",
"name": "my-api-ingress",
"rules": [
{
"match": {
"hostname": "{instance}.example.com",
"port": 8080
},
"target": {
"instance": "{instance}",
"port": 8080
},
"redirect_http": true,
"tls": true
}
],
"tags": {
"team": "backend",
"env": "staging"
}
}
]
Returns Examples
[
{
"id": "2OgJqXsP7j1qLVVYvGJDNiYVlPO",
"created_at": "2025-01-15T10:00:00Z",
"name": "my-api-ingress",
"rules": [
{
"match": {
"hostname": "{instance}.example.com",
"port": 8080
},
"target": {
"instance": "{instance}",
"port": 8080
},
"redirect_http": true,
"tls": true
}
],
"tags": {
"team": "backend",
"env": "staging"
}
}
]