Rivier/ Reference/ agents

With a customer token

post/platform-agents/mandates

With a customer token: a standing permission for one tool, within a bound when it has one (the most one input field may be). It never widens what a connection grants.

Before you call

Credential
Authorization: Bearer $KEY
Scope
agents:write
Graphql
Mutation.agentsPlatformMandateCreate
Sdk
agents.platformMandate.create
Cli
agents platform mandate create

Request bodyapplication/json, required

  • toolstringrequired
    Pattern: ^[a-z][a-z0-9_]{0,47}$.
  • maxobject
    • fieldstringrequired
      At most 60 characters.
    • valuenumberrequired

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