Rivier/ Reference/ agents

An agent of the platform

post/platform-agents/agents

An agent of the platform: instructions, the typed parts its answers may carry (a schema each), whether it may ask a model, a first step (a tool asked first each turn, which may answer on its own, so an agent may have no model at all), and the most a session may keep. With answersPlatforms, it is the one agent of this project that answers the agents of platforms connected to its business (A6).

Before you call

Credential
Authorization: Bearer $KEY
Scope
agents:admin
Graphql
Mutation.agentsPlatformAgentCreate
Sdk
agents.platformAgent.create
Cli
agents platform agent create

Request bodyapplication/json, required

  • namestringrequired
    At most 120 characters.
  • instructionsstring
    Default: . At most 8000 characters.
  • modelboolean
    Default: true.
  • firstStepstring or null
    Default: null.
  • retainstring
    One of: none, session. Default: session.
  • partsobject
    Default: {}.
  • answersPlatformsboolean
    Default: false.

Responses

  • 201application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown