---
title: "Default off, worker only: provision a queued TCP route"
method: POST
path: "/v1/internal/gateway/tcp/routes/{id}/process"
---

# Default off, worker only: provision a queued TCP route

`POST /v1/internal/gateway/tcp/routes/{id}/process`

## Request

- Base URL: `https://api.decionis.com`
- URL: `https://api.decionis.com/v1/internal/gateway/tcp/routes/{id}/process`
- Auth: HTTP bearer

Internal worker only; excluded from public SDK methods. Default off. Identifier-only job, no target or organization selected by the caller. Use the organization's reserved domain and probe only its fixed HTTPS /_agentsafe/tcp/capabilities endpoint. Require transport:agentsafe-tcp-relay/1 and ready:true. Redirects and unexpected responses fail closed. This does not require or activate an HTTPS upstream. Strict empty JSON, at most 1024 bytes.

## Path parameters

- `id` string, uuid, required

## Request body

- HostedGatewayTcpEmpty

## Response `200`

Private bounded result.

- HostedGatewayTcpProcessResult
  - `status` 'ready' | 'queued' | 'provisioning' | 'disabled' | 'failed', required
  - `retry_after_seconds` 15

## Other responses

- `400`: INVALID_REQUEST or ordinary validation refusal for missing, oversized, invalid or unexpected body fields.
- `401`: TCP_SERVICE_UNAUTHORIZED: dedicated service authentication failed; customer route, organization and account credentials are never accepted.
- `404`: TCP_ROUTE_NOT_FOUND.
- `409`: TCP_PROVISIONING_LEASED: another worker holds the bounded provisioning lease.
- `415`: JSON_CONTENT_TYPE_REQUIRED.
- `429`: Request rate or bounded connection capacity reached.
- `503`: TCP_UNAVAILABLE when a required dependency is unavailable or a gated operation is disabled. Internal service configuration may return TCP_SERVICE_UNAVAILABLE. Fail closed; no ticket, lease or traffic authority is granted.

---

[API](https://skmtc.dev/decionis/apis/decionis-policy-evaluation-api.md) · [All operations](https://skmtc.dev/decionis/apis/decionis-policy-evaluation-api/llms.txt) · [OpenAPI document](https://skmtc.dev/decionis/apis/decionis-policy-evaluation-api/revisions/357f5e459d0c?raw)
