---
title: "Mint a short-lived, no-header URL for one guest-selected HTTP port."
method: POST
path: "/simulate/api/harness/attempts/{id}/ingress/"
tags: ["simulate"]
---

# Mint a short-lived, no-header URL for one guest-selected HTTP port.

`POST /simulate/api/harness/attempts/{id}/ingress/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/simulate/api/harness/attempts/{id}/ingress/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

The attempt capability authenticates the trusted ALK guest. Customer processes never
receive that bearer and therefore cannot expose arbitrary sandbox ports themselves.

## Request body

- HarnessIngressRequest
  - `port` integer, required
  - `expires_in_seconds` integer

## Response `200`

OK

- HarnessIngressResponse
  - `url` string, uri, required
  - `expires_in_seconds` integer, required

## Other responses

- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
