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
- namestringrequiredAt most 120 characters.
- instructionsstringDefault: . At most 8000 characters.
- modelbooleanDefault: true.
- firstStepstring or nullDefault: null.
- retainstringOne of: none, session. Default: session.
- partsobjectDefault: {}.
- answersPlatformsbooleanDefault: false.
Responses
- 201application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring