# Admit application inference run

```http
POST /internal/application-agui-inference/admissions
```

Admit a private application AG-UI inference run and return its inference token, sealed to the host key.

## Request body

| Field                | Type   | Required | Description |
| -------------------- | ------ | -------- | ----------- |
| `projectId`          | string | Yes      |             |
| `projectSlug`        | string | Yes      |             |
| `environmentName`    | string | Yes      |             |
| `releaseId`          | string | Yes      |             |
| `routePath`          | string | Yes      |             |
| `requestId`          | string | Yes      |             |
| `agentId`            | string | Yes      |             |
| `inferencePublicKey` | string | Yes      |             |

## Responses

| Status | Description                                               |
| ------ | --------------------------------------------------------- |
| 200    | Private run-bound inference admission                     |
| 400    | Redacted application inference refusal                    |
| 401    | Missing or invalid internal host Basic credentials        |
| 402    | Redacted application inference refusal                    |
| 403    | Redacted application inference refusal                    |
| 404    | Redacted application inference refusal                    |
| 409    | Redacted application inference conflict                   |
| 413    | Request body exceeds the maximum allowed size             |
| 429    | Redacted application inference refusal                    |
| 500    | Redacted application inference refusal                    |
| 503    | Redacted application inference refusal or shutdown notice |
