agents

POST /v1/agents/

Changed on

Create a new Agent.

Request

  • Base URL
    https://api.mem0.ai
  • URL
    https://api.mem0.ai/v1/agents/
  • Auth
    API key in header Authorization

Request body

agent_idstring required
namestring required
metadataobject

Response

Agent created successfully.

idinteger

Internal numeric identifier.

agent_idstring
namestring
metadataobject
created_atstring date-time
updated_atstring date-time
graph_entitiesunknown
is_deletedboolean
projectinteger

Internal numeric identifier of the project this record belongs to.

Changes

    • breaking

      the request property became required

    • breaking

      the response property became optional for the status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status