{"openapi":"3.0.3","info":{"title":"MovingSync","version":"0.1.0","description":"Read-only fictional demo, plus an owner-scoped agent API turned on in the Workers configuration (AGENT_API_ENABLED=true). Unset, those routes return 501. Free is $0 a month. Growth is $49 a month. Scale is $199 a month. Paid plans are listed and are not billed yet. No ratings or reviews."},"servers":[{"url":"https://movingsync.com"}],"components":{"securitySchemes":{"agentKey":{"type":"http","scheme":"bearer","description":"Agent key shown once. Prefix msk_. Stored only as a SHA-256 hash."},"firebaseUser":{"type":"http","scheme":"bearer","description":"Firebase ID token of the signed-in owner. Used only to create a key."}}},"paths":{"/api/demo":{"get":{"summary":"Demo API index. Fictional. Read-only.","responses":{"200":{"description":"Index"}}}},"/api/demo/company":{"get":{"summary":"Fictional demo company.","responses":{"200":{"description":"Company"}}}},"/api/demo/moves":{"get":{"summary":"Fictional demo moves.","responses":{"200":{"description":"Moves"}}}},"/api/demo/moves/{id}":{"get":{"summary":"One fictional demo move.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Move"},"404":{"description":"Missing"}}}},"/api/agent/keys":{"post":{"summary":"Create an agent key for the signed-in owner. 501 while agent access is off. 503 when Firestore is not available to the server. 403 free_tier_full when the unpublished cap is reached for a new account.","security":[{"firebaseUser":[]}],"responses":{"201":{"description":"Key shown once"},"403":{"description":"Free tier full. upgrade is https://movingsync.com/pricing"},"501":{"description":"Switched off"},"503":{"description":"Firestore is not available to this server"}}}},"/api/agent/v1/moves":{"get":{"summary":"List the key owner's moves.","security":[{"agentKey":[]}],"responses":{"200":{"description":"Moves"},"501":{"description":"Switched off"}}},"post":{"summary":"Create a move for the key owner.","security":[{"agentKey":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["client","pickup","delivery","date","estimateCents","currency","status"],"properties":{"id":{"type":"string"},"revision":{"type":"integer"},"client":{"type":"string"},"phone":{"type":"string"},"pickup":{"type":"string"},"delivery":{"type":"string"},"date":{"type":"string","description":"YYYY-MM-DD"},"estimateCents":{"type":"integer","description":"Integer cents. Not a generated price."},"currency":{"type":"string"},"notes":{"type":"string"},"status":{"type":"string","enum":["new","quoted","booked","in_progress","completed","cancelled"]}}}}}},"responses":{"201":{"description":"Created"},"501":{"description":"Switched off"}}}},"/api/agent/v1/moves/{id}":{"get":{"summary":"Read one move owned by the key.","security":[{"agentKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Move"},"404":{"description":"Unavailable"}}},"patch":{"summary":"Update one move. Send revision.","security":[{"agentKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["client","pickup","delivery","date","estimateCents","currency","status"],"properties":{"id":{"type":"string"},"revision":{"type":"integer"},"client":{"type":"string"},"phone":{"type":"string"},"pickup":{"type":"string"},"delivery":{"type":"string"},"date":{"type":"string","description":"YYYY-MM-DD"},"estimateCents":{"type":"integer","description":"Integer cents. Not a generated price."},"currency":{"type":"string"},"notes":{"type":"string"},"status":{"type":"string","enum":["new","quoted","booked","in_progress","completed","cancelled"]}}}}}},"responses":{"200":{"description":"Updated"},"409":{"description":"Revision conflict"}}}},"/api/agent/mcp":{"post":{"summary":"MCP JSON-RPC for list_moves, get_move, create_move, and update_move. JSON responses, not an SSE stream.","security":[{"agentKey":[]}],"responses":{"200":{"description":"JSON-RPC"},"405":{"description":"POST only"},"501":{"description":"Switched off"}}}}}}