Board

Add an always-allow rule

Requests for tool whose command (or path, URL) starts with pattern are approved for the board’s conversations of the project (project_id), or of every project (null, people only).

post/v1/approval-rules

Request

  • Base URL: https://api.shardflux.dev
  • URL: https://api.shardflux.dev/v1/approval-rules
  • Auth: HTTP bearer

Request body

toolstring required
patternstring required
project_idstring uuid nullable

UUIDv7, lowercase canonical form.

organization_idstring uuid

UUIDv7, lowercase canonical form.

Response

Default Response

idstring required
toolstring required

The tool as the harness names it (Bash, WebFetch, Edit).

patternstring required

The command prefix (or path, URL) it allows; empty allows every use of the tool.

project_idstring uuid nullable required

UUIDv7, lowercase canonical form.

created_atstring date-time required

RFC 3339 UTC timestamp with Z.

Changes

No recorded changes to this operation across all 1 revision of this API.