Memory API: List beta

The list memory API endpoint allows you to get a list of memory sets on Langbase with API. This endpoint requires a User or Org API key.


Deprecation Notice

This API endpoint has been deprecated. Please use the new list memory API endpoint.


Generate a User/Org API key

You will need to generate an API key to authenticate your requests. For more information, visit the User/Org API key documentation.


Deprecated/beta/org/{org}/memorysets

Get a list of org memory sets

Get a list of organization memory sets by sending a GET request to this endpoint.

Required headers

  • Name
    Content-Type
    Type
    string
    Description

    Request content type. Needs to be application/json.

  • Name
    Authorization
    Type
    string
    Description

    Replace <ORG_API_KEY> with your organization API key.

Required path parameters

  • Name
    org
    Type
    string
    Description

    The organization username.

    Replace {org} with your organization username.

GET
/beta/org/{org}/memorysets
curl https://api.langbase.com/beta/org/{org}/memorysets \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer <ORG_API_KEY>"

Response

{
  "memorySets" : [
    {
      "name": "rag-memory",
      "description": "RAG memory",
      "owner_login": "langbase",
      "url": "https://langbase.com/memorysets/langbase/rag-memory",
    },
    ...
  ]
}

Deprecated/beta/user/memorysets

Get a list of user memory sets

Get a list of user memory sets by sending a GET request to this endpoint.

Required headers

  • Name
    Content-Type
    Type
    string
    Description

    Request content type. Needs to be application/json.

  • Name
    Authorization
    Type
    string
    Description

    Replace <USER_API_KEY> with your User API key.

GET
/beta/user/memorysets
curl https://api.langbase.com/beta/user/memorysets \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer <USER_API_KEY>"

Response

{
  "memorySets" : [
    {
      "name": "rag-memory",
      "description": "RAG memory",
      "owner_login": "langbase",
      "url": "https://langbase.com/memorysets/langbase/rag-memory",
    },
    ...
  ]
}