openapi: 3.2.0 info: title: MCP Gateway Organic Memory Compartment API description: API for MCP Gateway operations version: v1 servers: - url: https://dev.stormmcp.ai/ tags: - name: OrganicMemoryCompartment paths: /api/v1/dynamic-gateway/me/organic-memory/compartments: get: tags: - OrganicMemoryCompartment summary: Lists the compartments the caller owns and the ones shared with the caller responses: '200': description: OK content: text/plain: schema: type: array items: $ref: '#/components/schemas/OrganicMemoryCompartmentResponse' application/json: schema: type: array items: $ref: '#/components/schemas/OrganicMemoryCompartmentResponse' text/json: schema: type: array items: $ref: '#/components/schemas/OrganicMemoryCompartmentResponse' text/csv: schema: type: array items: $ref: '#/components/schemas/OrganicMemoryCompartmentResponse' application/csv: schema: type: array items: $ref: '#/components/schemas/OrganicMemoryCompartmentResponse' '401': description: Unauthorized content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '404': description: Not Found content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '502': description: Bad Gateway content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '503': description: Service Unavailable content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' operationId: getApiV1DynamicGatewayMeOrganicMemoryCompartments x-operation-id-source: derived post: tags: - OrganicMemoryCompartment summary: Creates a compartment the caller owns. An omitted serve flag is served requestBody: description: The cancellation token. content: application/json: schema: $ref: '#/components/schemas/OrganicMemoryCompartmentCreateRequest' text/json: schema: $ref: '#/components/schemas/OrganicMemoryCompartmentCreateRequest' application/*+json: schema: $ref: '#/components/schemas/OrganicMemoryCompartmentCreateRequest' required: true responses: '201': description: Created content: text/plain: schema: $ref: '#/components/schemas/OrganicMemoryCompartmentResponse' application/json: schema: $ref: '#/components/schemas/OrganicMemoryCompartmentResponse' text/json: schema: $ref: '#/components/schemas/OrganicMemoryCompartmentResponse' text/csv: schema: $ref: '#/components/schemas/OrganicMemoryCompartmentResponse' application/csv: schema: $ref: '#/components/schemas/OrganicMemoryCompartmentResponse' '400': description: Bad Request content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '404': description: Not Found content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '409': description: Conflict content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '502': description: Bad Gateway content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '503': description: Service Unavailable content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' operationId: postApiV1DynamicGatewayMeOrganicMemoryCompartments x-operation-id-source: derived /api/v1/dynamic-gateway/me/organic-memory/compartments/{compartmentId}/share: post: tags: - OrganicMemoryCompartment summary: Shares a compartment the caller owns with one exact email parameters: - name: compartmentId in: path description: The compartment. required: true schema: type: string format: uuid requestBody: description: The cancellation token. content: application/json: schema: $ref: '#/components/schemas/OrganicMemoryCompartmentShareRequest' text/json: schema: $ref: '#/components/schemas/OrganicMemoryCompartmentShareRequest' application/*+json: schema: $ref: '#/components/schemas/OrganicMemoryCompartmentShareRequest' required: true responses: '200': description: OK '400': description: Bad Request content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '404': description: Not Found content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '502': description: Bad Gateway content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '503': description: Service Unavailable content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' operationId: postApiV1DynamicGatewayMeOrganicMemoryCompartmentsByCompartmentIdShare x-operation-id-source: derived /api/v1/dynamic-gateway/me/organic-memory/compartments/{compartmentId}/unshare: post: tags: - OrganicMemoryCompartment summary: Stops sharing a compartment the caller owns with one exact email parameters: - name: compartmentId in: path description: The compartment. required: true schema: type: string format: uuid requestBody: description: The cancellation token. content: application/json: schema: $ref: '#/components/schemas/OrganicMemoryCompartmentUnshareRequest' text/json: schema: $ref: '#/components/schemas/OrganicMemoryCompartmentUnshareRequest' application/*+json: schema: $ref: '#/components/schemas/OrganicMemoryCompartmentUnshareRequest' required: true responses: '200': description: OK '404': description: Not Found content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '502': description: Bad Gateway content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '503': description: Service Unavailable content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' operationId: postApiV1DynamicGatewayMeOrganicMemoryCompartmentsByCompartmentIdUnshare x-operation-id-source: derived /api/v1/dynamic-gateway/me/organic-memory/compartments/{compartmentId}/memories/delete: post: tags: - OrganicMemoryCompartment summary: Deletes memories from a compartment the caller owns parameters: - name: compartmentId in: path description: The compartment. required: true schema: type: string format: uuid requestBody: description: The cancellation token. content: application/json: schema: $ref: '#/components/schemas/OrganicMemoryItemDeleteRequest' text/json: schema: $ref: '#/components/schemas/OrganicMemoryItemDeleteRequest' application/*+json: schema: $ref: '#/components/schemas/OrganicMemoryItemDeleteRequest' required: true responses: '200': description: OK '400': description: Bad Request content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '404': description: Not Found content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '502': description: Bad Gateway content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '503': description: Service Unavailable content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' operationId: postApiV1DynamicGatewayMeOrganicMemoryCompartmentsByCompartmentIdMemoriesDelete x-operation-id-source: derived /api/v1/dynamic-gateway/me/organic-memory/compartments/{compartmentId}/conversations/delete: post: tags: - OrganicMemoryCompartment summary: Deletes conversations from a compartment the caller owns parameters: - name: compartmentId in: path description: The compartment. required: true schema: type: string format: uuid requestBody: description: The cancellation token. content: application/json: schema: $ref: '#/components/schemas/OrganicMemoryItemDeleteRequest' text/json: schema: $ref: '#/components/schemas/OrganicMemoryItemDeleteRequest' application/*+json: schema: $ref: '#/components/schemas/OrganicMemoryItemDeleteRequest' required: true responses: '200': description: OK '400': description: Bad Request content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '404': description: Not Found content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '502': description: Bad Gateway content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '503': description: Service Unavailable content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' operationId: postApiV1DynamicGatewayMeOrganicMemoryCompartmentsByCompartmentIdConversationsDelete x-operation-id-source: derived /api/v1/dynamic-gateway/me/organic-memory/compartments/{compartmentId}/documents/delete: post: tags: - OrganicMemoryCompartment summary: Deletes documents from a compartment the caller owns parameters: - name: compartmentId in: path description: The compartment. required: true schema: type: string format: uuid requestBody: description: The cancellation token. content: application/json: schema: $ref: '#/components/schemas/OrganicMemoryItemDeleteRequest' text/json: schema: $ref: '#/components/schemas/OrganicMemoryItemDeleteRequest' application/*+json: schema: $ref: '#/components/schemas/OrganicMemoryItemDeleteRequest' required: true responses: '200': description: OK '400': description: Bad Request content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '404': description: Not Found content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '502': description: Bad Gateway content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '503': description: Service Unavailable content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' operationId: postApiV1DynamicGatewayMeOrganicMemoryCompartmentsByCompartmentIdDocumentsDelete x-operation-id-source: derived /api/v1/dynamic-gateway/me/organic-memory/compartments/{compartmentId}: patch: tags: - OrganicMemoryCompartment summary: Renames a compartment the caller owns, or sets its serve flag parameters: - name: compartmentId in: path description: The compartment to rename. required: true schema: type: string format: uuid requestBody: description: The cancellation token. content: application/json: schema: $ref: '#/components/schemas/OrganicMemoryCompartmentRenameRequest' text/json: schema: $ref: '#/components/schemas/OrganicMemoryCompartmentRenameRequest' application/*+json: schema: $ref: '#/components/schemas/OrganicMemoryCompartmentRenameRequest' required: true responses: '200': description: OK content: text/plain: schema: $ref: '#/components/schemas/OrganicMemoryCompartmentRenameResponse' application/json: schema: $ref: '#/components/schemas/OrganicMemoryCompartmentRenameResponse' text/json: schema: $ref: '#/components/schemas/OrganicMemoryCompartmentRenameResponse' text/csv: schema: $ref: '#/components/schemas/OrganicMemoryCompartmentRenameResponse' application/csv: schema: $ref: '#/components/schemas/OrganicMemoryCompartmentRenameResponse' '400': description: Bad Request content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '401': description: Unauthorized content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '404': description: Not Found content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '502': description: Bad Gateway content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '503': description: Service Unavailable content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' operationId: patchApiV1DynamicGatewayMeOrganicMemoryCompartmentsByCompartmentId x-operation-id-source: derived get: tags: - OrganicMemoryCompartment summary: Gets one compartment the caller can see parameters: - name: compartmentId in: path description: The compartment. required: true schema: type: string format: uuid responses: '200': description: OK '404': description: Not Found content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '502': description: Bad Gateway content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '503': description: Service Unavailable content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' operationId: getApiV1DynamicGatewayMeOrganicMemoryCompartmentsByCompartmentId x-operation-id-source: derived delete: tags: - OrganicMemoryCompartment summary: Deletes a compartment the caller owns, with everything in it. parameters: - name: compartmentId in: path description: The compartment. required: true schema: type: string format: uuid responses: '204': description: No Content '404': description: Not Found content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '409': description: Conflict content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '502': description: Bad Gateway content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '503': description: Service Unavailable content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' operationId: deleteApiV1DynamicGatewayMeOrganicMemoryCompartmentsByCompartmentId x-operation-id-source: derived /api/v1/dynamic-gateway/me/organic-memory/compartments/{compartmentId}/memories: get: tags: - OrganicMemoryCompartment summary: Lists memories in one compartment parameters: - name: compartmentId in: path description: The compartment. required: true schema: type: string format: uuid - name: limit in: query description: The page size. schema: pattern: ^-?(?:0|[1-9]\d*)$ type: - integer - string format: int32 - name: offset in: query description: The page start. schema: pattern: ^-?(?:0|[1-9]\d*)$ type: - integer - string format: int32 responses: '200': description: OK '404': description: Not Found content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '502': description: Bad Gateway content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '503': description: Service Unavailable content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' operationId: getApiV1DynamicGatewayMeOrganicMemoryCompartmentsByCompartmentIdMemories x-operation-id-source: derived /api/v1/dynamic-gateway/me/organic-memory/compartments/{compartmentId}/memories/search: post: tags: - OrganicMemoryCompartment summary: Searches memories in one compartment parameters: - name: compartmentId in: path description: The compartment. required: true schema: type: string format: uuid requestBody: description: The cancellation token. content: application/json: schema: $ref: '#/components/schemas/JsonElement' text/json: schema: $ref: '#/components/schemas/JsonElement' application/*+json: schema: $ref: '#/components/schemas/JsonElement' required: true responses: '200': description: OK '400': description: Bad Request content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '404': description: Not Found content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '502': description: Bad Gateway content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '409': description: Conflict content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '503': description: Service Unavailable content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' operationId: postApiV1DynamicGatewayMeOrganicMemoryCompartmentsByCompartmentIdMemoriesSearch x-operation-id-source: derived /api/v1/dynamic-gateway/me/organic-memory/compartments/{compartmentId}/documents: get: tags: - OrganicMemoryCompartment summary: Lists documents in one compartment parameters: - name: compartmentId in: path description: The compartment. required: true schema: type: string format: uuid - name: limit in: query description: The page size. schema: pattern: ^-?(?:0|[1-9]\d*)$ type: - integer - string format: int32 - name: offset in: query description: The page start. schema: pattern: ^-?(?:0|[1-9]\d*)$ type: - integer - string format: int32 - name: q in: query description: An optional semantic query. schema: type: string responses: '200': description: OK '404': description: Not Found content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '502': description: Bad Gateway content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '409': description: Conflict content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '503': description: Service Unavailable content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' operationId: getApiV1DynamicGatewayMeOrganicMemoryCompartmentsByCompartmentIdDocuments x-operation-id-source: derived /api/v1/dynamic-gateway/me/organic-memory/documents/{documentId}: get: tags: - OrganicMemoryCompartment summary: Gets one document the caller can see parameters: - name: documentId in: path description: The document. required: true schema: type: string format: uuid responses: '200': description: OK '404': description: Not Found content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '502': description: Bad Gateway content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '503': description: Service Unavailable content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' operationId: getApiV1DynamicGatewayMeOrganicMemoryDocumentsByDocumentId x-operation-id-source: derived /api/v1/dynamic-gateway/me/organic-memory/compartments/{compartmentId}/conversations: get: tags: - OrganicMemoryCompartment summary: Lists conversations in one compartment parameters: - name: compartmentId in: path description: The compartment. required: true schema: type: string format: uuid - name: limit in: query description: The page size. schema: pattern: ^-?(?:0|[1-9]\d*)$ type: - integer - string format: int32 - name: offset in: query description: The page start. schema: pattern: ^-?(?:0|[1-9]\d*)$ type: - integer - string format: int32 responses: '200': description: OK '404': description: Not Found content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '502': description: Bad Gateway content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '503': description: Service Unavailable content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' operationId: getApiV1DynamicGatewayMeOrganicMemoryCompartmentsByCompartmentIdConversations x-operation-id-source: derived /api/v1/dynamic-gateway/me/organic-memory/compartments/{compartmentId}/conversations/search: post: tags: - OrganicMemoryCompartment summary: Searches conversations and returns rows for this compartment parameters: - name: compartmentId in: path description: The compartment. required: true schema: type: string format: uuid requestBody: description: The cancellation token. content: application/json: schema: $ref: '#/components/schemas/JsonElement' text/json: schema: $ref: '#/components/schemas/JsonElement' application/*+json: schema: $ref: '#/components/schemas/JsonElement' required: true responses: '200': description: OK '400': description: Bad Request content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '404': description: Not Found content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '502': description: Bad Gateway content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '409': description: Conflict content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '503': description: Service Unavailable content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' operationId: postApiV1DynamicGatewayMeOrganicMemoryCompartmentsByCompartmentIdConversationsSearch x-operation-id-source: derived /api/v1/dynamic-gateway/me/organic-memory/compartments/{compartmentId}/counts: get: tags: - OrganicMemoryCompartment summary: Counts memories, documents, and conversations in one compartment parameters: - name: compartmentId in: path description: The compartment. required: true schema: type: string format: uuid responses: '200': description: OK '404': description: Not Found content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '502': description: Bad Gateway content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' '503': description: Service Unavailable content: text/plain: schema: $ref: '#/components/schemas/ProblemDetails' application/json: schema: $ref: '#/components/schemas/ProblemDetails' text/json: schema: $ref: '#/components/schemas/ProblemDetails' text/csv: schema: $ref: '#/components/schemas/ProblemDetails' application/csv: schema: $ref: '#/components/schemas/ProblemDetails' operationId: getApiV1DynamicGatewayMeOrganicMemoryCompartmentsByCompartmentIdCounts x-operation-id-source: derived components: schemas: JsonElement: {} ProblemDetails: type: object properties: type: type: - 'null' - string title: type: - 'null' - string status: pattern: ^-?(?:0|[1-9]\d*)$ type: - 'null' - integer - string format: int32 detail: type: - 'null' - string instance: type: - 'null' - string OrganicMemoryItemDeleteRequest: type: object properties: ids: type: - 'null' - array items: type: string format: uuid description: Gets the item ids. Between one and 200. description: The items to delete from one compartment the caller owns. OrganicMemoryCompartmentResponse: type: object properties: id: type: string description: Gets the compartment id. format: uuid displayName: type: string description: Gets the display name. description: type: - 'null' - string description: Gets the description. owned: type: boolean description: Gets a value indicating whether the caller owns this compartment. serveToGateway: type: boolean description: Gets a value indicating whether this compartment is served to the gateway. default: type: boolean description: 'Gets a value indicating whether this is the caller''s default compartment. Exactly one owned compartment is marked, and a shared compartment never is.' description: 'One compartment the caller can see. Shared compartments are included. The response carries no owner address.' OrganicMemoryCompartmentShareRequest: type: object properties: email: type: - 'null' - string description: Gets the email address. This is not a directory search. permission: type: - 'null' - string description: 'Gets the access to grant. Optional: omitted means read. Only string OrganicMemorySharePermissions.Read is accepted today (MCPG-2905); any other value is refused with `OrganicMemory.SharePermissionInvalid`, so write access can be allowed later without changing the contract (MCPG-2906).' description: Shares a compartment the caller owns with one exact email. OrganicMemoryCompartmentUnshareRequest: type: object properties: email: type: - 'null' - string description: Gets the email address the compartment is shared with. description: Stops sharing a compartment the caller owns with one exact email. OrganicMemoryCompartmentCreateRequest: type: object properties: displayName: type: - 'null' - string description: Gets the display name. The memory service slug is derived from it. serveToGateway: type: - 'null' - boolean description: 'Gets whether this compartment is served while the per-user switch is on. Omit it and the compartment is served.' description: Creates a compartment the caller owns. OrganicMemoryCompartmentRenameRequest: type: object properties: displayName: type: - 'null' - string description: Gets the new display name. Omit it to leave the name unchanged. serveToGateway: type: - 'null' - boolean description: 'Gets whether this compartment is served while the per-user switch is on. Omit it to leave the flag unchanged.' description: A rename or serve-flag update of a compartment the caller owns. OrganicMemoryCompartmentRenameResponse: type: object properties: id: type: string description: Gets the compartment id. format: uuid displayName: type: string description: Gets the display name. description: type: - 'null' - string description: Gets the description. owned: type: boolean description: Gets a value indicating whether the caller owns this compartment. serveToGateway: type: boolean description: Gets a value indicating whether this compartment is served to the gateway. default: type: - 'null' - boolean description: 'Gets a value indicating whether this is the caller''s default compartment. Null when the follow-up list fails or does not contain the row. The property is written when it is null, because the API omits null properties otherwise.' description: 'The compartment a rename returned. bool? OrganicMemoryCompartmentRenameResponse.Default is null when the follow-up list fails or does not contain the row.'