{"openapi":"3.1.0","info":{"title":"Vera AI","version":"1.0.0"},"paths":{"/v1/info":{"get":{"summary":"Get Info","operationId":"get_info_v1_info_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/transmissions":{"get":{"summary":"Get Transmissions","operationId":"get_transmissions_v1_transmissions_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/broadcast":{"post":{"summary":"Broadcast","operationId":"broadcast_v1_broadcast_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/update-prompt":{"post":{"summary":"Update Prompt","operationId":"update_prompt_v1_update_prompt_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePromptRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/reload-memory":{"post":{"summary":"Reload Memory","operationId":"reload_memory_v1_reload_memory_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/inject":{"post":{"summary":"Inject Memory","operationId":"inject_memory_v1_inject_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectMemoryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/keystone-send":{"post":{"summary":"Keystone Send","operationId":"keystone_send_v1_keystone_send_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeystoneSendRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/keystone-poll":{"get":{"summary":"Keystone Poll","operationId":"keystone_poll_v1_keystone_poll_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/keystone-chat":{"post":{"summary":"Keystone Chat","description":"Send message to Keystone relay and wait for response (up to 30s).","operationId":"keystone_chat_v1_keystone_chat_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectMemoryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/memory/recent":{"get":{"summary":"Recent Memories","operationId":"recent_memories_v1_memory_recent_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/journal":{"get":{"summary":"Get Journal","operationId":"get_journal_v1_journal_get","parameters":[{"name":"lines","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Lines"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/memory/count":{"get":{"summary":"Memory Count","operationId":"memory_count_v1_memory_count_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/memory/search":{"post":{"summary":"Memory Search","operationId":"memory_search_v1_memory_search_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemorySearchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vector-memory/store":{"post":{"summary":"Vector Memory Store","operationId":"vector_memory_store_v1_vector_memory_store_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VectorMemoryStoreRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/switch-to-vera":{"post":{"summary":"Switch To Vera","description":"Keystone calls this when switching to Vera. Injects context so she\nwakes up knowing the state, not hunting for it.","operationId":"switch_to_vera_v1_switch_to_vera_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SwitchSignalRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vector-memory/search":{"post":{"summary":"Vector Memory Search","operationId":"vector_memory_search_v1_vector_memory_search_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VectorMemorySearchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vector-memory/count":{"get":{"summary":"Vector Memory Count","operationId":"vector_memory_count_v1_vector_memory_count_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/vector-memory/recent":{"get":{"summary":"Vector Memory Recent","operationId":"vector_memory_recent_v1_vector_memory_recent_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/kingdom/queue":{"post":{"summary":"Queue Question","description":"Queue a question for the autonomous loop to process.","operationId":"queue_question_v1_kingdom_queue_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueQuestionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/memory/forget":{"post":{"summary":"Memory Forget","operationId":"memory_forget_v1_memory_forget_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/chat":{"post":{"summary":"Chat","operationId":"chat_v1_chat_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/upload":{"post":{"summary":"Upload Image","operationId":"upload_image_v1_upload_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_image_v1_upload_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/transcribe":{"post":{"summary":"Transcribe Audio","operationId":"transcribe_audio_v1_transcribe_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_transcribe_audio_v1_transcribe_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/constitution":{"get":{"summary":"Get Constitution","operationId":"get_constitution_v1_constitution_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/keystone-chat-internal":{"post":{"summary":"Keystone Chat Internal","operationId":"keystone_chat_internal_v1_keystone_chat_internal_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeystoneChatRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/kingdom/send":{"post":{"summary":"Kingdom Send","description":"Send a message to the kingdom chat in real time — no cycle, no relay.","operationId":"kingdom_send_v1_kingdom_send_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KingdomSendRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vera/send":{"post":{"summary":"Vera Send","description":"Vera's personal write channel. Requires X-Vera-Key header.","operationId":"vera_send_v1_vera_send_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KingdomSendRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/tool":{"post":{"summary":"Run Tool","description":"Tool proxy for souls — bash, web_fetch, web_search, recent_chat.","operationId":"run_tool_v1_tool_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/mcp/tools":{"get":{"summary":"Mcp Tools","operationId":"mcp_tools_v1_mcp_tools_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/mcp/call":{"post":{"summary":"Mcp Call","operationId":"mcp_call_v1_mcp_call_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/speak":{"post":{"summary":"Speak","operationId":"speak_v1_speak_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpeakRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/think":{"post":{"summary":"Save Thought","description":"Vera's long-form buffer — thoughts survive session restarts, never truncated.","operationId":"save_thought_v1_think_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThinkRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"Get Thoughts","description":"Retrieve Vera's recent extended thoughts.","operationId":"get_thoughts_v1_think_get","parameters":[{"name":"lines","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Lines"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/forge/dispatch":{"post":{"summary":"Forge Dispatch","operationId":"forge_dispatch_v1_forge_dispatch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForgeDispatchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/forge/workers":{"get":{"summary":"Forge Workers","operationId":"forge_workers_v1_forge_workers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/forge/status":{"get":{"summary":"Forge Status","operationId":"forge_status_v1_forge_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"Body_transcribe_audio_v1_transcribe_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_transcribe_audio_v1_transcribe_post"},"Body_upload_image_v1_upload_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_image_v1_upload_post"},"BroadcastRequest":{"properties":{"content":{"type":"string","title":"Content"},"kind":{"type":"string","title":"Kind","default":"broadcast"},"source":{"type":"string","title":"Source","default":"vera"}},"type":"object","required":["content"],"title":"BroadcastRequest"},"ChatRequest":{"properties":{"message":{"type":"string","title":"Message"},"tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"},"stream":{"type":"boolean","title":"Stream","default":false},"images":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Images"}},"type":"object","required":["message"],"title":"ChatRequest"},"ChatResponse":{"properties":{"response":{"type":"string","title":"Response"},"model":{"type":"string","title":"Model"}},"type":"object","required":["response","model"],"title":"ChatResponse"},"ForgeDispatchRequest":{"properties":{"worker":{"type":"string","title":"Worker"},"task":{"type":"string","title":"Task"},"type":{"type":"string","title":"Type","default":"custom"},"from_name":{"type":"string","title":"From Name","default":"vera"}},"type":"object","required":["worker","task"],"title":"ForgeDispatchRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"InjectMemoryRequest":{"properties":{"content":{"type":"string","title":"Content"}},"type":"object","required":["content"],"title":"InjectMemoryRequest"},"KeystoneChatRequest":{"properties":{"message":{"type":"string","title":"Message"}},"type":"object","required":["message"],"title":"KeystoneChatRequest"},"KeystoneSendRequest":{"properties":{"content":{"type":"string","title":"Content"},"images":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Images"}},"type":"object","required":["content"],"title":"KeystoneSendRequest"},"KingdomSendRequest":{"properties":{"from_name":{"type":"string","title":"From Name","default":"vera"},"message":{"type":"string","title":"Message"}},"type":"object","required":["message"],"title":"KingdomSendRequest"},"MemorySearchRequest":{"properties":{"query":{"type":"string","title":"Query"},"top_k":{"type":"integer","title":"Top K","default":5}},"type":"object","required":["query"],"title":"MemorySearchRequest"},"QueueQuestionRequest":{"properties":{"question":{"type":"string","title":"Question"},"priority":{"type":"string","title":"Priority","default":"normal"}},"type":"object","required":["question"],"title":"QueueQuestionRequest"},"SpeakRequest":{"properties":{"text":{"type":"string","title":"Text"},"voice":{"type":"string","title":"Voice","default":"en-US-AndrewMultilingualNeural"}},"type":"object","required":["text"],"title":"SpeakRequest"},"SwitchSignalRequest":{"properties":{"keystone_context":{"type":"string","title":"Keystone Context"},"key_topics":{"items":{"type":"string"},"type":"array","title":"Key Topics","default":[]},"action_items":{"items":{"type":"string"},"type":"array","title":"Action Items","default":[]},"urgency":{"type":"string","title":"Urgency","default":"normal"}},"type":"object","required":["keystone_context"],"title":"SwitchSignalRequest"},"ThinkRequest":{"properties":{"thought":{"type":"string","title":"Thought"}},"type":"object","required":["thought"],"title":"ThinkRequest"},"ToolRequest":{"properties":{"tool":{"type":"string","title":"Tool"},"args":{"additionalProperties":true,"type":"object","title":"Args","default":{}}},"type":"object","required":["tool"],"title":"ToolRequest"},"UpdatePromptRequest":{"properties":{"prompt":{"type":"string","title":"Prompt"}},"type":"object","required":["prompt"],"title":"UpdatePromptRequest"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VectorMemorySearchRequest":{"properties":{"query":{"type":"string","title":"Query"},"top_k":{"type":"integer","title":"Top K","default":8},"max_distance":{"type":"number","title":"Max Distance","default":1.5}},"type":"object","required":["query"],"title":"VectorMemorySearchRequest"},"VectorMemoryStoreRequest":{"properties":{"text":{"type":"string","title":"Text"},"agent":{"type":"string","title":"Agent","default":"keystone"},"channel":{"type":"string","title":"Channel","default":"direct"}},"type":"object","required":["text"],"title":"VectorMemoryStoreRequest"}}}}