Get directive (Step 2)

View as Markdown
SDK sends an observation. API analyzes it against registered rules and returns memory recall instructions telling the SDK what to query from its local vector DB.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

npcIdstringRequired

Request

This endpoint expects an object.
observationstringRequired
The game event or observation triggering the protocol
npcStatemap from strings to anyRequired
Current NPC state from the SDK
contextmap from strings to any or nullOptional
Optional additional context
rulesetIdstring or nullOptional

Response

Memory recall instructions
memoryRecallobject
Instructions for what the SDK should recall from its local vector DB