Add memory context data
This endpoint adds memory (chat history) as context.
Request body
Response
Memory context added successfully
Example response
{
"success": true,
"context_id": "ctx_01HXYZABC",
"processed_documents": 2
}Changes
Changed in 11 of the 29 revisions of this API.11923
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
- ▲
- ▲
added the new required request property
sessionIdnew-required-request-property
- ●
removed the request property
memoryIdrequest-property-removed
- ○
the
groupNamerequest property default valuedefaultwas addedrequest-property-default-value-added
- ▲
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
- ▲
- ▲
added the new required request property
contents/items/metadata/messageIdnew-required-request-property
- ▲
the request property
contents/items/contentbecame requiredrequest-property-became-required
- ▲
the request property
contents/items/metadatabecame requiredrequest-property-became-required
- ●
removed the request property
contents/items/createdAtrequest-property-removed
- ●
removed the request property
contents/items/idrequest-property-removed
- ●
removed the request property
contents/items/rolerequest-property-removed
- ○
added the new optional request property
metadatanew-optional-request-property
- ▲
- ●
removed the request property
contents/items/metadata/messageIdrequest-property-removed
- ●
removed the request property
metadatarequest-property-removed
- ○
added the new optional request property
contents/items/createdAtnew-optional-request-property
- ○
added the new optional request property
contents/items/idnew-optional-request-property
- ○
added the new optional request property
contents/items/rolenew-optional-request-property
- ○
the request property
contents/items/contentbecame optionalrequest-property-became-optional
- ○
the request property
contents/items/metadatabecame optionalrequest-property-became-optional
- ●
- ▲
added the new required request property
contents/items/metadata/messageIdnew-required-request-property
- ▲
the request property
contents/items/contentbecame requiredrequest-property-became-required
- ▲
the request property
contents/items/metadatabecame requiredrequest-property-became-required
- ●
removed the request property
contents/items/createdAtrequest-property-removed
- ●
removed the request property
contents/items/idrequest-property-removed
- ●
removed the request property
contents/items/rolerequest-property-removed
- ○
added the new optional request property
metadatanew-optional-request-property
- ▲
- ▲
the request property
contentsbecame requiredrequest-property-became-required
- ▲
the request property
memoryIdbecame requiredrequest-property-became-required
- ○
added the new optional request property
contents/items/createdAtnew-optional-request-property
- ○
added the new optional request property
contents/items/idnew-optional-request-property
- ○
added the new optional request property
contents/items/metadatanew-optional-request-property
- ○
added the new optional request property
contents/items/rolenew-optional-request-property
- ○
added the media type
application/jsonfor the response with the status201response-media-type-added
- ○
added the media type
application/jsonfor the response with the status400response-media-type-added
- ○
added the media type
application/jsonfor the response with the status401response-media-type-added
- ○
added the media type
application/jsonfor the response with the status402response-media-type-added
- ○
added the media type
application/jsonfor the response with the status403response-media-type-added
- ○
added the media type
application/jsonfor the response with the status404response-media-type-added
- ○
added the media type
application/jsonfor the response with the status500response-media-type-added
- ▲
- ○
api operation id
addContextAsMemorywas addedapi-operation-id-added
- ○