Create Agent Primitive
Changed onAdds a manual agent. Owners: send owner_ids, the user ids of the owners, primary first. The legacy owner_id is still accepted. Sent alone, a user id makes that user the only owner, and any other text is stored as is as a free-text owner (owner_ids stays empty). Sent with owner_ids, owner_id must be a user id; it becomes the primary owner and is moved to the front. An agent can have at most 50 owners. Requires role: Admin
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/agent-primitives
- AuthHTTP bearer
Request body
Response
Created successfully. The agent includes owner_ids.
Changes
- breaking
added the new required request property
- breaking
added the new required request property
- breaking
request body became required
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the non-success response with the status
- breaking
- breaking
api path removed without deprecation
- info
endpoint added
- breaking