Agent Discovery

Create Agent Primitive

Changed on

Adds 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

post/agent-primitives

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/agent-primitives
  • Auth
    HTTP bearer

Request body

display_namestring required
primitive_typestring required
owner_idsinteger[]

User ids of the owners, all users of your organization, primary first. At most 50.

owner_idstring nullable

Legacy single owner. See the operation description.

permission_categoriesstring[]
metadataobject

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

      api path removed without deprecation

    • info

      endpoint added