{"schemaVersion":"1.0","name":"buildbid.agent","displayName":"BuildBid Agent API","description":"Machine-actionable endpoints for AI estimation workflows in construction bidding.","homepage":"https://buildbid.app","apiBase":"https://buildbid.app/api","openapi":{"url":"https://buildbid.app/openapi.json"},"contact":{"supportEmail":"support@buildbid.app","docs":"https://buildbid.app"},"auth":{"type":"bearer","header":"Authorization","notes":"Most write operations require Supabase session or bearer token. Read docs and use 401/403 for exact auth failures."},"capabilities":{"supportsStreaming":false,"supportsJobs":true,"supportsBackgroundWorkflow":true,"supports3D":true,"supportsRfiGeneration":true},"tools":[{"name":"agent_chat","description":"Run AI tool loop against a target estimate","endpoint":"/api/agent/chat","method":"POST","input":{"estimateId":"string","message":"string","history":"optional array"}},{"name":"agent_job","description":"Submit background job for asynchronous processing","endpoint":"/api/agent/jobs","method":"POST","input":{"type":"document_extraction|full_validation|price_check|...","estimateId":"optional string","input":"optional object"}},{"name":"upload_documents","description":"Upload plan/spec files for extraction","endpoint":"/api/upload","method":"POST","input":{"files":"multipart/form-data file[]"}},{"name":"generate_estimate_from_voice","description":"Generate estimate from spoken transcript","endpoint":"/api/voice-estimate","method":"POST","input":{"transcript":"string"}},{"name":"build_3d_from_media","description":"Convert media into GLB/mesh candidate","endpoint":"/api/3d/generate","method":"POST","input":{"imageBase64":"string","imageUrl":"string","provider":"optional"}},{"name":"generate_rfi","description":"Create RFI text from conflict signal","endpoint":"/api/rfi","method":"POST","input":{"conflict_type":"SPEC_CONTRADICTION | NIC_RISK","item_description":"string","blueprint_ref":"string","spec_ref":"string","project_name":"string"}}]}