Bots

Creates a bot — a named identity that parameterizes the agent Crevio runs for you: its persona, the skills it may load, and the toolsets it may call. handle is derived from name when omitted, and is unique within the account. 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.

post/bots

Request

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

Headers

Idempotency-Key, string

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

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 created

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