Bots

Updates an existing bot. skill_slugs and toolsets are tri-state: null means every skill / every toolset, [] means none, and a list restricts the bot to exactly those. Omitting a field leaves it unchanged.

patch/bots/{id}

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Path parameters

id, string required

The resource's ID, as returned in its id field

Request body

AiBotRequest required
name, string
handle, string
role, string nullable
persona, string nullable
position, integer
avatar_style, object

How the bot's mark is drawn when it has no avatar image. An unknown color, shape or key is refused.

skill_slugs, string[] nullable

Deprecated and ignored. Every bot can use every skill on the account's computer, so a bot can't be restricted to some of them. Accepted and returned unchanged so existing integrations keep working.

toolsets, string[] nullable

Restrict the bot to these toolsets (crevio_platform, crevio_onboarding, crevio_docs, crevio_api, integrations). null means every toolset; [] means none. Omit to leave unchanged.

model_tier, 'fast' | 'balanced' | 'quality' | 'null' nullable

Which model tier the bot runs on: fast (cheapest, for checks and short reviews), balanced, or quality. null uses the account default. Omit to leave unchanged.

Response

Bot updated

AiBot required
id, string required
object, string required
name, string required
handle, string required
role, string nullable required
persona, string nullable required
position, integer required
skill_slugs, string[] nullable required
toolsets, string[] nullable required
avatar_style, object required
created_at, string date-time required
updated_at, string date-time required
avatar_url, string nullable required
model_id, string nullable required
model_tier, string nullable required

Changes

    • breaking

      request property avatar_style/color was restricted to a list of enum values

    • breaking

      request property avatar_style/shape was restricted to a list of enum values

    • info

      request property skill_slugs deprecated

    17 more changes in this revision