Skip to main content

Interface: GatewayConfigCreateRequest

Defined in: src/ai-gateway/configs-client.ts:18

Request body for creating or updating a config.

Properties

name

name: string;

Defined in: src/ai-gateway/configs-client.ts:19


workspace_id

workspace_id: string;

Defined in: src/ai-gateway/configs-client.ts:21

Workspace UUID the config belongs to.


config

config: Record<string, unknown>;

Defined in: src/ai-gateway/configs-client.ts:26

The gateway routing config. Sent as an object; note the API returns it back as a JSON-encoded string on reads.