API referenceEndpoints

Approve a Blinq and its hosting service

Requires platform-administrator authority. Generated from the production route registered in `internal/features/runners/inbound/http.go`. Creates a Blinq approval, creates or reuses its active hosting service, and issues a nonexpiring service secret in one audited transaction. The plaintext secret is returned once with Cache-Control: no-store. A duplicate Blinq name fails validation. This operation does not publish a version or enable execution.

POST/v1/admin/blinqs

Requires platform-administrator authority. Generated from the production route registered in internal/features/runners/inbound/http.go. Creates a Blinq approval, creates or reuses its active hosting service, and issues a nonexpiring service secret in one audited transaction. The plaintext secret is returned once with Cache-Control: no-store. A duplicate Blinq name fails validation. This operation does not publish a version or enable execution.

Authorization

AuthorizationBearer <token>

Engine-issued API key or tenant-signed JWT.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/admin/blinqs" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "service_name": "string"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "name": "string",  "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",  "service_kind": "blinq",  "approval": {    "inbox_actions": [      "string"    ],    "models": [      "string"    ],    "tools": [      "string"    ],    "context": [      "string"    ],    "max_model_calls": 0,    "max_input_tokens": 0,    "max_output_tokens": 0,    "max_cost_micros": 0  },  "created_at": "2019-08-24T14:15:22Z",  "secret": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",    "created_at": "2019-08-24T14:15:22Z",    "token": "string"  }}