---
title: "Create internal global proxy"
method: POST
path: "/_internal/proxies"
tags: ["Internal"]
---

# Create internal global proxy

`POST /_internal/proxies`

## Request

- Base URL: `https://api.distill.io/v2`
- URL: `https://api.distill.io/v2/_internal/proxies`
- Auth: one of:
  - API key in cookie `connect.sid`
  - HTTP bearer
  - API key in query parameter `api_key`

Auth: Enterprise+Internal+Admin — Authenticated internal enterprise admin.

## Request body

- object
  - `name` string, required
  - `description` string, nullable
  - `gateway` string, required
  - `region` string, nullable
  - `tags` string, nullable
  - `cost` integer
  - `state` 0 | 40 | 100

## Response `200`

Success

- object
  - `id` string, uuid, required
  - `workspace_id` string, uuid, nullable
  - `name` string, required
  - `description` string, nullable
  - `gateway` string
  - `region` string, nullable
  - `tags` string, nullable
  - `cost` integer, nullable
  - `state` integer, required
  - `ts` string, date-time, required
  - `ts_mod` string, date-time, required

## Other responses

- `400`: Validation error
- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/distill/apis/distill-io-api-v2.md) - [All operations](https://skmtc.dev/distill/apis/distill-io-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/distill/apis/distill-io-api-v2/revisions/c55722ccfe14?raw)
