Get user profile
Get user profile with optional search results
ParametersExpand Collapse
body: ProfileParams { containerTag, filters, q, threshold }
Tag to filter the profile by. This can be an ID for your user, a project ID, or any other identifier you wish to use to filter memories.
filters?: Or { OR } | And { AND } Optional metadata filters to apply to profile results and search results. Supports complex AND/OR queries with multiple conditions.
Optional metadata filters to apply to profile results and search results. Supports complex AND/OR queries with multiple conditions.
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >Array of OR filter expressions
Array of OR filter expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >Array of AND filter expressions
Array of AND filter expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
OR: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >OR: Array of conditions or nested expressions
OR: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
And { AND }
AND: Array<UnionMember0 { key, value, filterType, 3 more } | Or { OR } | And { AND } >AND: Array of conditions or nested expressions
AND: Array of conditions or nested expressions
UnionMember0 { key, value, filterType, 3 more } A single filter condition based on metadata, numeric values, array contents, or string matching
A single filter condition based on metadata, numeric values, array contents, or string matching
Or { OR }
Get user profile
import Supermemory from 'supermemory';
const client = new Supermemory({
apiKey: process.env['SUPERMEMORY_API_KEY'], // This is the default and can be omitted
});
const response = await client.profile({ containerTag: 'containerTag' });
console.log(response.profile);{
"profile": {
"dynamic": [
"string"
],
"static": [
"string"
]
},
"searchResults": {
"results": [
{}
],
"timing": 0,
"total": 0
}
}Returns Examples
{
"profile": {
"dynamic": [
"string"
],
"static": [
"string"
]
},
"searchResults": {
"results": [
{}
],
"timing": 0,
"total": 0
}
}