API referenceEndpoints

Widen a Blinq approval

Requires platform-administrator authority. Generated from the production route registered in `internal/features/runners/inbound/http.go`. Submits the full widened approval. Removing a permission or lowering a ceiling fails validation. Pending versions now fitting the approval become accepted, and the highest accepted version becomes current unless a pin is set. Resubmitting an unchanged approval also reconsiders pending versions. The approval, accepted statuses, release selection and audit record commit together; frozen manifests and digests are unchanged. Returns the Blinq registration without a secret; read the release selection separately.

PUT/v1/admin/blinqs/{id}/approval

Requires platform-administrator authority. Generated from the production route registered in internal/features/runners/inbound/http.go. Submits the full widened approval. Removing a permission or lowering a ceiling fails validation. Pending versions now fitting the approval become accepted, and the highest accepted version becomes current unless a pin is set. Resubmitting an unchanged approval also reconsiders pending versions. The approval, accepted statuses, release selection and audit record commit together; frozen manifests and digests are unchanged. Returns the Blinq registration without a secret; read the release selection separately.

Authorization

AuthorizationBearer <token>

Engine-issued API key or tenant-signed JWT.

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Administrator-owned permission and spending ceilings. Omitted limits are zero and grant no model spending. Widening must retain every existing permission and cannot lower any ceiling.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/admin/blinqs/497f6eca-6276-4993-bfeb-53cbbbba6f08/approval" \  -H "Content-Type: application/json" \  -d '{}'
{  "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"}