---
title: "Proxy Endpoint"
method: POST
path: "/user/proxy"
tags: ["user"]
---

# Proxy Endpoint

`POST /user/proxy`

## Request body

- ProxyRequest — This is sent as request body to the /proxy endpoint.
  - `tenant_id` string, required
  - `node_id` string, required
  - `request_id` string, nullable
  - `http` ProxiedRawHttpRequest, required
    - `path` string, required
    - `method` 'GET' | 'POST' | 'DELETE' | 'PUT' | 'HEAD' | 'PATCH' | 'OPTIONS', required
    - `api_version` integer
    - `headers` object
    - `body_base64` string, nullable

## Response `200`

Successful Response

- ProxyResponse — The JSON response of the /proxy endpoint
  - `http` ProxiedHttpResponse, required
    - `code` integer, required
    - `body_json` object, nullable
  - `request_id` string, required

## Other responses

- `403` — `{"detail": "Invalid API Key"}` `{"detail": "Not permitted to access this tenant"}`
- `404` — `{"detail": "Tenant not found"}` `{"detail": "Node not found"}`
- `408` — `{"detail": "Proxy timed out"}`
- `410` — `{"detail": "Node not connected"}`
- `422` — Validation Error

---

[API](https://skmtc.dev/tenzir/apis/tenzir-platform-api.md) · [All operations](https://skmtc.dev/tenzir/apis/tenzir-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tenzir/tenzir-platform-api/revisions/1c6c33bb8ba3/schema)
