openapi: 3.0.1 info: title: Mem0 API Docs agents API description: mem0.ai API Docs contact: email: support@mem0.ai license: name: Apache 2.0 version: v1 servers: - url: https://api.mem0.ai/ security: - ApiKeyAuth: [] tags: - name: agents paths: /v1/agents/: post: tags: - agents description: Create a new Agent. operationId: agents_create requestBody: content: application/json: schema: $ref: '#/components/schemas/CreateAgent' required: true responses: '201': description: Agent created successfully. content: application/json: schema: $ref: '#/components/schemas/CreateAgent' x-codegen-request-body-name: data components: schemas: CreateAgent: required: - agent_id type: object properties: agent_id: title: Agent id minLength: 1 type: string name: title: Name minLength: 1 type: string metadata: title: Metadata type: object properties: {} securitySchemes: ApiKeyAuth: type: apiKey in: header name: Authorization description: 'API key authentication. Prefix your Mem0 API key with ''Token ''. Example: ''Token your_api_key''' x-original-swagger-version: '2.0'