Update a custom behavior
Changes a custom behavior’s name, definition or polarity. A new definition reaches new spans within about a minute; past spans are not rescored.
Authentication
Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, provider credentials such as Perplexity, OpenAI, or Azure OpenAI go in Settings -> Providers or respan_params.credential_override in the request body, not in this authentication field.
Path parameters
Request
New display name. Blank or null clears it.
Whether the behavior firing is good or bad: negative (an Issue), positive (a Win) or neutral (Info). Display metadata only; it does not change how spans are scored.
Response
Display name. Optional and not unique; behaviors are identified by id.
The plain-language definition span-01 scores each span against. Say what counts and what doesn't. At least 3 characters after trimming.
Whether the behavior firing is good or bad: negative (an Issue), positive (a Win) or neutral (Info). Display metadata only; it does not change how spans are scored.