Skip to navigation

Bind a signal set to an agent

Evaluate a set version on every matching turn of an agent from now on. Refused for an agent with loggingPolicy “off” and under zero data retention; an organization handling PHI must pass acknowledgeExternalProcessing.

Authentication

AuthorizationBearer
API key or Clerk session token

Request

This endpoint expects an object.
signalSetIdstringRequired
targetobjectRequired

Native and external (OTLP) agents bind alike.

acknowledgeExternalProcessingbooleanOptional
Required for a PHI organization whose set uses a decision model outside Cloudflare Workers AI. Written to the audit log.
budgetobjectOptional

Default $25 a month.

coverageobjectOptional
filterobjectOptional
uniformSharedoubleOptional0-1

Share drawn uniformly at random BEFORE the filter, so live-traffic rates stay unbiased. Default 0.05.

versionNumberintegerOptional>=1

Defaults to the set’s current version.

Response

Bound
bindingobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error