Skip to main content
POST /v1/messages accepts Anthropic Messages requests through the same Atlaso key, memory scope and call record as the other chat routes. For a key set to Memory for each user of my app, send the app user’s ID in the x-atlaso-user header from your server. The request’s metadata.user_id does not select an app user’s memory. Without x-atlaso-user, Atlaso answers the Messages request without memory and reports reason=no_user_id in x-atlaso-memory. If both values are present and differ, Atlaso refuses the request with 400 user_id_conflict before calling a provider.