agents

Create Or Update Agent

post/agents/{agent_id}

Path parameters

agent_idstring uuid required

Request body

metadataobject nullable
namestring required
projectstring nullable
canonical_namestring nullable
aboutstring
modelstring
default_settingsobject nullable
default_system_templatestring

Response

Successful Response

idstring uuid required
metadataobject nullable
created_atstring date-time required
updated_atstring date-time required
namestring required
projectstring nullable
canonical_namestring nullable
aboutstring
modelstring
default_settingsobject nullable
default_system_templatestring

Changes

Changed in 4 of the 44 revisions of this API.1116

    • added the new optional request property project

      new-optional-request-property

    • added the optional property project to the response with the 201 status

      response-optional-property-added

    • added the new optional request property default_system_template

      new-optional-request-property

    • added the optional property default_system_template to the response with the 201 status

      response-optional-property-added

    • removed DefaultChatSettings from the default_settings request property anyOf list

      request-property-any-of-removed

    • added subschema #1 to the default_settings request property anyOf list

      request-property-any-of-added

    • added subschema #1 to the default_settings response property anyOf list for the response status 201

      response-property-any-of-added

    • removed DefaultChatSettings from the default_settings response property anyOf list for the response status 201

      response-property-any-of-removed

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • f87931a479bd19See the full diff
    • removed the optional property jobs from the response with the 201 status

      response-optional-property-removed

    • added the optional property about to the response with the 201 status

      response-optional-property-added

    • added the optional property canonical_name to the response with the 201 status

      response-optional-property-added

    • added the optional property default_settings to the response with the 201 status

      response-optional-property-added

    • added the optional property instructions to the response with the 201 status

      response-optional-property-added

    • added the optional property metadata to the response with the 201 status

      response-optional-property-added

    • added the optional property model to the response with the 201 status

      response-optional-property-added

    • added the required property name to the response with the 201 status

      response-required-property-added

    • added the required property updated_at to the response with the 201 status

      response-required-property-added

    • the response required property id became read-only for the status 201

      response-required-property-became-read-only

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog