{"openapi":"3.0.1","info":{"title":"Winnow API — Operator Reference","description":"Full Winnow schema for operator SDK generation. The public gateway intentionally activates only customer-safe routes; operator routes require a separately secured deployment. The Winnow orchestration and intelligence API.","version":"v1"},"servers":[{"url":"https://schemadriven.ai/winnow"}],"paths":{"/api/acp/envelopes/normalize":{"post":{"tags":["AcpGateway"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateOrchestrationRunRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateOrchestrationRunRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateOrchestrationRunRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Domain.Messages.AcpEnvelope"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Domain.Messages.AcpEnvelope"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Domain.Messages.AcpEnvelope"}}}}}}},"/api/ActorIntegrationTest/status":{"get":{"tags":["ActorIntegrationTest"],"responses":{"200":{"description":"Success"}}}},"/api/ActorIntegrationTest/query":{"post":{"tags":["ActorIntegrationTest"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TestQueryRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TestQueryRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TestQueryRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/actor-network":{"post":{"tags":["ActorNetwork"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}},"text/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}},"application/*+json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}}}},"responses":{"200":{"description":"Success"}}}},"/api/actor-registry/heartbeat":{"post":{"tags":["ActorRegistry"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ActorRegistryHeartbeatRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ActorRegistryHeartbeatRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ActorRegistryHeartbeatRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/actor-registry/nodes":{"get":{"tags":["ActorRegistry"],"responses":{"200":{"description":"Success"}}}},"/api/actor-registry/nodes/{nodeId}":{"get":{"tags":["ActorRegistry"],"parameters":[{"name":"nodeId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/actor-registry/providers":{"get":{"tags":["ActorRegistry"],"parameters":[{"name":"model","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/actor-registry/health":{"get":{"tags":["ActorRegistry"],"responses":{"200":{"description":"Success"}}}},"/v1/models":{"get":{"tags":["ActorRegistry"],"responses":{"200":{"description":"Success"}}}},"/v1/models/{modelId}":{"get":{"tags":["ActorRegistry"],"parameters":[{"name":"modelId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/Actors":{"get":{"tags":["Actors"],"responses":{"200":{"description":"Success"}}},"post":{"tags":["Actors"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ActorRegisterRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ActorRegisterRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ActorRegisterRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/Actors/{actorId}/capabilities":{"get":{"tags":["Actors"],"parameters":[{"name":"actorId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/Actors/{actorId}/capabilities/{capability}":{"post":{"tags":["Actors"],"parameters":[{"name":"actorId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"capability","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{}},"text/json":{"schema":{}},"application/*+json":{"schema":{}}}},"responses":{"200":{"description":"Success"}}}},"/api/Actors/scan":{"post":{"tags":["Actors"],"responses":{"200":{"description":"Success"}}}},"/api/artifacts/{namespace}/{key}":{"get":{"tags":["Artifacts"],"parameters":[{"name":"namespace","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"key","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"userId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}},{"name":"version","in":"query","style":"form","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ArtifactActor.ArtifactDto"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ArtifactActor.ArtifactDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ArtifactActor.ArtifactDto"}}}}}},"put":{"tags":["Artifacts"],"parameters":[{"name":"namespace","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"key","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SetArtifactApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SetArtifactApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SetArtifactApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SetArtifactApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SetArtifactApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SetArtifactApiResponse"}}}}}},"delete":{"tags":["Artifacts"],"parameters":[{"name":"namespace","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"key","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"userId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}},{"name":"hardDelete","in":"query","style":"form","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Success"}}}},"/api/artifacts":{"get":{"tags":["Artifacts"],"parameters":[{"name":"userId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}},{"name":"namespace","in":"query","style":"form","schema":{"type":"string"}},{"name":"scope","in":"query","style":"form","schema":{"type":"string"}},{"name":"tags","in":"query","style":"form","schema":{"type":"string"}},{"name":"search","in":"query","style":"form","schema":{"type":"string"}},{"name":"skip","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":0}},{"name":"take","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":50}},{"name":"sortBy","in":"query","style":"form","schema":{"type":"string","default":"updated_at"}},{"name":"desc","in":"query","style":"form","schema":{"type":"boolean","default":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ListArtifactsApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ListArtifactsApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ListArtifactsApiResponse"}}}}}}},"/api/artifacts/{namespace}/{key}/share":{"post":{"tags":["Artifacts"],"parameters":[{"name":"namespace","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"key","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ShareArtifactApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ShareArtifactApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ShareArtifactApiRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/artifacts/{namespace}/{key}/history":{"get":{"tags":["Artifacts"],"parameters":[{"name":"namespace","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"key","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"userId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}},{"name":"skip","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":0}},{"name":"take","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":20}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ArtifactActor.GetArtifactHistoryResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ArtifactActor.GetArtifactHistoryResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ArtifactActor.GetArtifactHistoryResponse"}}}}}}},"/api/artifacts/{namespace}/{key}/restore":{"post":{"tags":["Artifacts"],"parameters":[{"name":"namespace","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"key","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RestoreVersionApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RestoreVersionApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RestoreVersionApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SetArtifactApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SetArtifactApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SetArtifactApiResponse"}}}}}}},"/api/artifacts/batch/get":{"post":{"tags":["Artifacts"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BatchGetApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BatchGetApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BatchGetApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ArtifactActor.BatchGetResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ArtifactActor.BatchGetResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ArtifactActor.BatchGetResponse"}}}}}}},"/api/artifacts/batch/set":{"post":{"tags":["Artifacts"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BatchSetApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BatchSetApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BatchSetApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ArtifactActor.BatchSetResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ArtifactActor.BatchSetResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ArtifactActor.BatchSetResponse"}}}}}}},"/api/sessions/{sessionKey}":{"get":{"tags":["Artifacts"],"parameters":[{"name":"sessionKey","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"userId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}},{"name":"deviceId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ArtifactActor.SessionStateDto"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ArtifactActor.SessionStateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ArtifactActor.SessionStateDto"}}}}}},"put":{"tags":["Artifacts"],"parameters":[{"name":"sessionKey","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SaveSessionApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SaveSessionApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SaveSessionApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SaveSessionApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SaveSessionApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SaveSessionApiResponse"}}}}}}},"/api/sessions/{sessionKey}/sync":{"post":{"tags":["Artifacts"],"parameters":[{"name":"sessionKey","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SyncSessionApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SyncSessionApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SyncSessionApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SaveSessionApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SaveSessionApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SaveSessionApiResponse"}}}}}}},"/api/journals":{"get":{"tags":["Artifacts"],"parameters":[{"name":"userId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}},{"name":"entryType","in":"query","style":"form","schema":{"type":"string"}},{"name":"startDate","in":"query","style":"form","schema":{"type":"string","format":"date-time"}},{"name":"endDate","in":"query","style":"form","schema":{"type":"string","format":"date-time"}},{"name":"mood","in":"query","style":"form","schema":{"type":"string"}},{"name":"tags","in":"query","style":"form","schema":{"type":"string"}},{"name":"pinned","in":"query","style":"form","schema":{"type":"boolean"}},{"name":"favorite","in":"query","style":"form","schema":{"type":"boolean"}},{"name":"search","in":"query","style":"form","schema":{"type":"string"}},{"name":"skip","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":0}},{"name":"take","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":50}},{"name":"sortBy","in":"query","style":"form","schema":{"type":"string","default":"entry_date"}},{"name":"desc","in":"query","style":"form","schema":{"type":"boolean","default":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JournalEntriesApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JournalEntriesApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JournalEntriesApiResponse"}}}}}},"post":{"tags":["Artifacts"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.CreateJournalEntryRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.CreateJournalEntryRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.CreateJournalEntryRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.JournalEntry"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.JournalEntry"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.JournalEntry"}}}}}}},"/api/journals/{id}":{"get":{"tags":["Artifacts"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.JournalEntry"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.JournalEntry"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.JournalEntry"}}}}}},"put":{"tags":["Artifacts"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.UpdateJournalEntryRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.UpdateJournalEntryRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.UpdateJournalEntryRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.JournalEntry"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.JournalEntry"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.JournalEntry"}}}}}},"delete":{"tags":["Artifacts"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"userId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success"}}}},"/api/journals/{id}/insights":{"post":{"tags":["Artifacts"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.JournalAiInsights"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.JournalAiInsights"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.JournalAiInsights"}}}}}}},"/api/journals/summary":{"get":{"tags":["Artifacts"],"parameters":[{"name":"userId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}},{"name":"startDate","in":"query","style":"form","schema":{"type":"string","format":"date-time"}},{"name":"endDate","in":"query","style":"form","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JournalSummaryApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JournalSummaryApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JournalSummaryApiResponse"}}}}}}},"/api/journals/stats":{"get":{"tags":["Artifacts"],"parameters":[{"name":"userId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}},{"name":"since","in":"query","style":"form","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.JournalStats"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.JournalStats"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.JournalStats"}}}}}}},"/api/journals/mood-trend":{"get":{"tags":["Artifacts"],"parameters":[{"name":"userId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}},{"name":"startDate","in":"query","style":"form","schema":{"type":"string","format":"date-time"}},{"name":"endDate","in":"query","style":"form","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.MoodTrend"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.MoodTrend"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.MoodTrend"}}}}}}},"/api/journals/templates":{"get":{"tags":["Artifacts"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JournalTemplatesApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JournalTemplatesApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JournalTemplatesApiResponse"}}}}}},"post":{"tags":["Artifacts"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.CreateJournalTemplateRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.CreateJournalTemplateRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.CreateJournalTemplateRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.JournalTemplate"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.JournalTemplate"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.JournalTemplate"}}}}}}},"/api/trackers":{"get":{"tags":["Artifacts"],"parameters":[{"name":"userId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}},{"name":"trackerType","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TrackersApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TrackersApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TrackersApiResponse"}}}}}},"post":{"tags":["Artifacts"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.CreateTrackerRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.CreateTrackerRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.CreateTrackerRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.Tracker"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.Tracker"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.Tracker"}}}}}}},"/api/trackers/{id}":{"get":{"tags":["Artifacts"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.Tracker"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.Tracker"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.Tracker"}}}}}},"put":{"tags":["Artifacts"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.UpdateTrackerRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.UpdateTrackerRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.UpdateTrackerRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.Tracker"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.Tracker"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.Tracker"}}}}}},"delete":{"tags":["Artifacts"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"userId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success"}}}},"/api/trackers/{id}/entries":{"post":{"tags":["Artifacts"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.LogTrackerEntryApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.LogTrackerEntryApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.LogTrackerEntryApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.TrackerEntry"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.TrackerEntry"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.TrackerEntry"}}}}}},"get":{"tags":["Artifacts"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"startDate","in":"query","style":"form","schema":{"type":"string","format":"date-time"}},{"name":"endDate","in":"query","style":"form","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TrackerEntriesApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TrackerEntriesApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TrackerEntriesApiResponse"}}}}}}},"/api/auth/signup":{"post":{"tags":["Auth"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AuthSignupRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AuthSignupRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AuthSignupRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AuthSignupResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AuthSignupResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AuthSignupResponse"}}}}}}},"/api/auth/login":{"post":{"tags":["Auth"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AuthLoginRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AuthLoginRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AuthLoginRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AuthLoginResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AuthLoginResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AuthLoginResponse"}}}}}}},"/api/auth/me":{"get":{"tags":["Auth"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AuthMeResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AuthMeResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AuthMeResponse"}}}}}}},"/api/broker/{grantId}/invoke":{"post":{"tags":["Broker"],"parameters":[{"name":"grantId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BrokerInvokeApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BrokerInvokeApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BrokerInvokeApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BrokerInvokeApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BrokerInvokeApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BrokerInvokeApiResponse"}}}}}}},"/api/browser-use/sessions/start":{"post":{"tags":["BrowserUse"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StartBrowserSessionRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StartBrowserSessionRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StartBrowserSessionRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/browser-use/sessions/{sessionId}/actions":{"post":{"tags":["BrowserUse"],"parameters":[{"name":"sessionId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BrowserActionRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BrowserActionRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BrowserActionRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/browser-use/sessions/{sessionId}":{"get":{"tags":["BrowserUse"],"parameters":[{"name":"sessionId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/browser-use/sessions/{sessionId}/complete":{"post":{"tags":["BrowserUse"],"parameters":[{"name":"sessionId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/browser-use/plans/execute":{"post":{"tags":["BrowserUse"],"requestBody":{"content":{"application/json":{"schema":{}},"text/json":{"schema":{}},"application/*+json":{"schema":{}}}},"responses":{"200":{"description":"Success"}}}},"/api/call-intake/edits":{"post":{"tags":["CallIntakeFeedback"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CallIntakeEditRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CallIntakeEditRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CallIntakeEditRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/call-intake/routing":{"get":{"tags":["CallIntakeFeedback"],"responses":{"200":{"description":"Success"}}}},"/api/capability-scorecards/workspaces/{workspaceId}/weekly/generate":{"post":{"tags":["CapabilityScorecards"],"parameters":[{"name":"workspaceId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.GenerateCapabilityScorecardRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.GenerateCapabilityScorecardRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.GenerateCapabilityScorecardRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CapabilityScorecardRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CapabilityScorecardRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CapabilityScorecardRecord"}}}}}}},"/api/capability-scorecards/workspaces/{workspaceId}/weekly":{"get":{"tags":["CapabilityScorecards"],"parameters":[{"name":"workspaceId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":12}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.CapabilityScorecardRecord"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.CapabilityScorecardRecord"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.CapabilityScorecardRecord"}}}}}}}},"/api/cluster/nodes/{nodeId}/status":{"get":{"tags":["ClusterControl"],"parameters":[{"name":"nodeId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"timeoutSeconds","in":"query","style":"form","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success"}}}},"/api/cluster/nodes/{nodeId}/warm-model":{"post":{"tags":["ClusterControl"],"parameters":[{"name":"nodeId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Messages.WarmModelRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Messages.WarmModelRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.Messages.WarmModelRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/cluster/nodes/{nodeId}/docker":{"get":{"tags":["ClusterControl"],"parameters":[{"name":"nodeId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"timeoutSeconds","in":"query","style":"form","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success"}}}},"/api/cluster/runcrate/defaults":{"get":{"tags":["ClusterRuncrate"],"responses":{"200":{"description":"Success"}}}},"/api/cluster/runcrate/deploy":{"post":{"tags":["ClusterRuncrate"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ClusterWorkerDeployRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ClusterWorkerDeployRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ClusterWorkerDeployRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/cluster/runcrate/inspect":{"post":{"tags":["ClusterRuncrate"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ClusterWorkerInspectionRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ClusterWorkerInspectionRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ClusterWorkerInspectionRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/cluster/runcrate/bootstrap":{"post":{"tags":["ClusterRuncrate"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ClusterWorkerBootstrapRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ClusterWorkerBootstrapRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ClusterWorkerBootstrapRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/cluster/runpod/defaults":{"get":{"tags":["ClusterRunpod"],"responses":{"200":{"description":"Success"}}}},"/api/cluster/runpod/deploy":{"post":{"tags":["ClusterRunpod"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ClusterWorkerDeployRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ClusterWorkerDeployRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ClusterWorkerDeployRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/CodeGeneration/request":{"post":{"tags":["CodeGeneration"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Messages.CodeGenerationRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Messages.CodeGenerationRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.Messages.CodeGenerationRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/CodeGeneration/status/{runId}":{"get":{"tags":["CodeGeneration"],"parameters":[{"name":"runId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success"}}}},"/api/CodeGeneration/runs":{"get":{"tags":["CodeGeneration"],"parameters":[{"name":"page","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":1}},{"name":"pageSize","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":20}}],"responses":{"200":{"description":"Success"}}}},"/api/CodeGeneration/cancel/{runId}":{"post":{"tags":["CodeGeneration"],"parameters":[{"name":"runId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success"}}}},"/api/CodeGeneration/metrics":{"get":{"tags":["CodeGeneration"],"responses":{"200":{"description":"Success"}}}},"/api/cost/ledger":{"post":{"tags":["Cost"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.AddCostLedgerEntryRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.AddCostLedgerEntryRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.AddCostLedgerEntryRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.OrchestrationRunRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.OrchestrationRunRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.OrchestrationRunRecord"}}}}}},"get":{"tags":["Cost"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"workspaceId","in":"query","style":"form","schema":{"type":"string"}},{"name":"runId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}},{"name":"fromUtc","in":"query","style":"form","schema":{"type":"string","format":"date-time"}},{"name":"toUtc","in":"query","style":"form","schema":{"type":"string","format":"date-time"}},{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":500}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.CostLedgerEntryRecord"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.CostLedgerEntryRecord"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.CostLedgerEntryRecord"}}}}}}}},"/api/cost/runs/{runId}":{"get":{"tags":["Cost"],"parameters":[{"name":"runId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":500}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.CostLedgerEntryRecord"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.CostLedgerEntryRecord"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.CostLedgerEntryRecord"}}}}}}}},"/api/cost/workspaces/{workspaceId}/summary":{"get":{"tags":["Cost"],"parameters":[{"name":"workspaceId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"fromUtc","in":"query","style":"form","schema":{"type":"string","format":"date-time"}},{"name":"toUtc","in":"query","style":"form","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CostSummaryRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CostSummaryRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CostSummaryRecord"}}}}}}},"/api/vault/asks":{"get":{"tags":["CredentialAsks"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialAskResponse"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialAskResponse"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialAskResponse"}}}}}}},"post":{"tags":["CredentialAsks"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RaiseAskApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RaiseAskApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RaiseAskApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialAskResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialAskResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialAskResponse"}}}}}}},"/api/vault/asks/{askId}":{"get":{"tags":["CredentialAsks"],"parameters":[{"name":"askId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialAskResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialAskResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialAskResponse"}}}}}}},"/api/vault/asks/{askId}/approve":{"post":{"tags":["CredentialAsks"],"parameters":[{"name":"askId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ApproveAskApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ApproveAskApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ApproveAskApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AskApprovalResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AskApprovalResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AskApprovalResponse"}}}}}}},"/api/vault/asks/{askId}/decline":{"post":{"tags":["CredentialAsks"],"parameters":[{"name":"askId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeclineAskApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeclineAskApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeclineAskApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialAskResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialAskResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialAskResponse"}}}}}}},"/api/vault/grants":{"post":{"tags":["CredentialGrants"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.MintGrantApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.MintGrantApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.MintGrantApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialGrantResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialGrantResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialGrantResponse"}}}}}},"get":{"tags":["CredentialGrants"],"parameters":[{"name":"scopeKind","in":"query","style":"form","schema":{"type":"string"}},{"name":"scopeRef","in":"query","style":"form","schema":{"type":"string"}},{"name":"includeInactive","in":"query","style":"form","schema":{"type":"boolean","default":false}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialGrantResponse"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialGrantResponse"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialGrantResponse"}}}}}}}},"/api/vault/grants/{grantId}":{"delete":{"tags":["CredentialGrants"],"parameters":[{"name":"grantId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/vault/credentials/{id}/usage":{"get":{"tags":["CredentialUsage"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"page","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":0}},{"name":"pageSize","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":50}},{"name":"since","in":"query","style":"form","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialUsagePage"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialUsagePage"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialUsagePage"}}}},"404":{"description":"Not Found","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}},"/api/vault/grants/{id}/usage":{"get":{"tags":["CredentialUsage"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"page","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":0}},{"name":"pageSize","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":50}},{"name":"since","in":"query","style":"form","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialUsagePage"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialUsagePage"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialUsagePage"}}}},"404":{"description":"Not Found","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}},"/api/vault/credentials":{"post":{"tags":["CredentialVault"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.VaultCredentialCreateRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.VaultCredentialCreateRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.VaultCredentialCreateRequest"}}}},"responses":{"201":{"description":"Created","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TenantCredentialMeta"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TenantCredentialMeta"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TenantCredentialMeta"}}}},"400":{"description":"Bad Request","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}},"503":{"description":"Server Error"}}},"get":{"tags":["CredentialVault"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"includeRevoked","in":"query","style":"form","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.TenantCredentialMeta"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.TenantCredentialMeta"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.TenantCredentialMeta"}}}}}}}},"/api/vault/credentials/{id}":{"get":{"tags":["CredentialVault"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TenantCredentialMeta"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TenantCredentialMeta"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TenantCredentialMeta"}}}},"404":{"description":"Not Found","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}},"delete":{"tags":["CredentialVault"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}},"/api/vault/credentials/{id}/rotate":{"post":{"tags":["CredentialVault"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.VaultCredentialRotateRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.VaultCredentialRotateRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.VaultCredentialRotateRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TenantCredentialMeta"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TenantCredentialMeta"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TenantCredentialMeta"}}}},"404":{"description":"Not Found","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}},"409":{"description":"Conflict","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}},"503":{"description":"Server Error"}}}},"/api/data-vault/steward/status":{"get":{"tags":["DataVaultSteward"],"responses":{"200":{"description":"Success"}}}},"/api/data-vault/steward/schema":{"get":{"tags":["DataVaultSteward"],"parameters":[{"name":"forceRefresh","in":"query","style":"form","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Success"}}}},"/api/data-vault/steward/interactions":{"post":{"tags":["DataVaultSteward"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.DataVaultStewardshipRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.DataVaultStewardshipRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.DataVaultStewardshipRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.DataVaultStewardshipResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.DataVaultStewardshipResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.DataVaultStewardshipResponse"}}}}}}},"/api/deep-agent/start":{"post":{"tags":["DeepAgent"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StartDeepAgentHttpRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StartDeepAgentHttpRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StartDeepAgentHttpRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/deep-agent/{runId}":{"get":{"tags":["DeepAgent"],"parameters":[{"name":"runId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success"}}}},"/api/deep-agent/{runId}/cancel":{"post":{"tags":["DeepAgent"],"parameters":[{"name":"runId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CancelDeepAgentHttpRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CancelDeepAgentHttpRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CancelDeepAgentHttpRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/deep-agent/{runId}/follow-up":{"post":{"tags":["DeepAgent"],"parameters":[{"name":"runId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeepAgentFollowUpHttpRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeepAgentFollowUpHttpRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeepAgentFollowUpHttpRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/deep-agent/automation/trigger":{"post":{"tags":["DeepAgentAutomation"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.DeepAgentTriggerRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.DeepAgentTriggerRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.DeepAgentTriggerRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/deep-agent/automation/follow-up":{"post":{"tags":["DeepAgentAutomation"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.DeepAgentFollowUpTriggerRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.DeepAgentFollowUpTriggerRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.DeepAgentFollowUpTriggerRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/deep-agent/automation/run-id":{"get":{"tags":["DeepAgentAutomation"],"parameters":[{"name":"source","in":"query","style":"form","schema":{"type":"string"}},{"name":"externalId","in":"query","style":"form","schema":{"type":"string"}},{"name":"workspaceRoot","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/deep-research/run":{"post":{"tags":["DeepResearch"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Streams.DeepResearchRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Streams.DeepResearchRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.Streams.DeepResearchRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Streams.DeepResearchResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Streams.DeepResearchResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Streams.DeepResearchResult"}}}}}}},"/api/dev/dynamic-actors":{"get":{"tags":["DevDynamicActors"],"responses":{"200":{"description":"Success"}}}},"/api/dev/dynamic-actors/hello-world":{"post":{"tags":["DevDynamicActors"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateHelloWorldDynamicActorRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateHelloWorldDynamicActorRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateHelloWorldDynamicActorRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/dev/dynamic-actors/{actorName}/invoke":{"post":{"tags":["DevDynamicActors"],"parameters":[{"name":"actorName","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InvokeDynamicActorRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InvokeDynamicActorRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InvokeDynamicActorRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/Device":{"get":{"tags":["Device"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeviceStatusResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeviceStatusResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeviceStatusResponse"}}}}}}},"/api/Device/gpus":{"get":{"tags":["Device"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GpuListResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GpuListResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GpuListResponse"}}}}}}},"/api/Device/mode":{"post":{"tags":["Device"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeviceModeRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeviceModeRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeviceModeRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeviceStatusResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeviceStatusResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeviceStatusResponse"}}}}}}},"/api/Device/cpu":{"post":{"tags":["Device"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeviceStatusResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeviceStatusResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeviceStatusResponse"}}}}}}},"/api/Device/gpu":{"post":{"tags":["Device"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GpuSelectRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GpuSelectRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GpuSelectRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeviceStatusResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeviceStatusResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeviceStatusResponse"}}}}}}},"/api/Device/auto":{"post":{"tags":["Device"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeviceStatusResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeviceStatusResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeviceStatusResponse"}}}}}}},"/api/dev/operations/catalog":{"get":{"tags":["DevOperations"],"responses":{"200":{"description":"Success"}}}},"/api/dev/operations/execute":{"post":{"tags":["DevOperations"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ExecuteOperationRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ExecuteOperationRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ExecuteOperationRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/study-review/queue":{"get":{"tags":["DocumentExtractionReview"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"skip","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":0}},{"name":"take","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":50}},{"name":"pendingOnly","in":"query","style":"form","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Success"}}}},"/api/study-review/extraction":{"post":{"tags":["DocumentExtractionReview"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentExtractionReviewRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentExtractionReviewRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentExtractionReviewRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/study-review/reviewed":{"get":{"tags":["DocumentExtractionReview"],"responses":{"200":{"description":"Success"}}}},"/api/study-review/export":{"get":{"tags":["DocumentExtractionReview"],"parameters":[{"name":"format","in":"query","style":"form","schema":{"type":"string","default":"sft"}}],"responses":{"200":{"description":"Success"}}}},"/api/documents":{"get":{"tags":["Documents"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"disposition","in":"query","style":"form","schema":{"type":"string"}},{"name":"type","in":"query","style":"form","schema":{"type":"string"}},{"name":"reason","in":"query","style":"form","schema":{"type":"string"}},{"name":"skip","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":0}},{"name":"take","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":50}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentQueueResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentQueueResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentQueueResponse"}}}}}}},"/api/documents/{documentId}":{"get":{"tags":["Documents"],"parameters":[{"name":"documentId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentReviewDetail"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentReviewDetail"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentReviewDetail"}}}}}}},"/api/documents/{documentId}/blob":{"get":{"tags":["Documents"],"parameters":[{"name":"documentId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/documents/{documentId}/accept":{"post":{"tags":["Documents"],"parameters":[{"name":"documentId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentAcceptRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentAcceptRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentAcceptRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentActionResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentActionResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentActionResponse"}}}}}}},"/api/documents/{documentId}/orphan":{"post":{"tags":["Documents"],"parameters":[{"name":"documentId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentOrphanRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentOrphanRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentOrphanRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentActionResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentActionResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentActionResponse"}}}}}}},"/api/documents/{documentId}/restore":{"post":{"tags":["Documents"],"parameters":[{"name":"documentId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentActionResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentActionResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentActionResponse"}}}}}}},"/api/documents/{documentId}/corrections":{"post":{"tags":["Documents"],"parameters":[{"name":"documentId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentCorrectionsRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentCorrectionsRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentCorrectionsRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentActionResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentActionResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentActionResponse"}}}}}}},"/api/documents/{documentId}/reclassify":{"post":{"tags":["Documents"],"parameters":[{"name":"documentId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentReclassifyRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentReclassifyRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentReclassifyRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentActionResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentActionResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentActionResponse"}}}}}}},"/api/DomainExpert/query":{"post":{"tags":["DomainExpert"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DomainExpertRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DomainExpertRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DomainExpertRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/DomainExpert/available":{"get":{"tags":["DomainExpert"],"responses":{"200":{"description":"Success"}}}},"/api/DomainExpertTest/available":{"get":{"tags":["DomainExpertTest"],"responses":{"200":{"description":"Success"}}}},"/api/DomainExpertTest/query":{"post":{"tags":["DomainExpertTest"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DomainExpertQueryRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DomainExpertQueryRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DomainExpertQueryRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/sso/providers":{"get":{"tags":["EnterpriseAuth"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}},{"name":"type","in":"query","style":"form","schema":{"type":"string"}},{"name":"enabled","in":"query","style":"form","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SsoProvidersResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SsoProvidersResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SsoProvidersResponse"}}}}}},"post":{"tags":["EnterpriseAuth"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ConfigureSsoProviderRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ConfigureSsoProviderRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ConfigureSsoProviderRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.SsoAuthActor.SsoProvider"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.SsoAuthActor.SsoProvider"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.SsoAuthActor.SsoProvider"}}}}}}},"/api/sso/providers/{id}/{action}":{"post":{"tags":["EnterpriseAuth"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"action","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/sso/login/{providerId}":{"get":{"tags":["EnterpriseAuth"],"parameters":[{"name":"providerId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"returnUrl","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InitiateSsoLoginApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InitiateSsoLoginApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InitiateSsoLoginApiResponse"}}}}}}},"/api/sso/callback/{providerId}":{"post":{"tags":["EnterpriseAuth"],"parameters":[{"name":"providerId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SsoCallbackRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SsoCallbackRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SsoCallbackRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProcessSsoCallbackApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProcessSsoCallbackApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProcessSsoCallbackApiResponse"}}}}}}},"/api/rbac/permissions":{"get":{"tags":["EnterpriseAuth"],"parameters":[{"name":"category","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PermissionsResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PermissionsResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PermissionsResponse"}}}}}}},"/api/rbac/roles":{"get":{"tags":["EnterpriseAuth"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RolesResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RolesResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RolesResponse"}}}}}},"post":{"tags":["EnterpriseAuth"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.CreateRoleRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.CreateRoleRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.CreateRoleRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.Role"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.Role"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.Role"}}}}}}},"/api/rbac/roles/{id}":{"get":{"tags":["EnterpriseAuth"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.Role"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.Role"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.Role"}}}}}},"put":{"tags":["EnterpriseAuth"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.UpdateRoleRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.UpdateRoleRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.UpdateRoleRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.Role"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.Role"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.Role"}}}}}},"delete":{"tags":["EnterpriseAuth"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success"}}}},"/api/rbac/roles/{id}/permissions":{"post":{"tags":["EnterpriseAuth"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GrantPermissionRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GrantPermissionRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GrantPermissionRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/rbac/groups":{"get":{"tags":["EnterpriseAuth"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GroupsResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GroupsResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GroupsResponse"}}}}}},"post":{"tags":["EnterpriseAuth"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.CreateGroupRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.CreateGroupRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.CreateGroupRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.Group"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.Group"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.Group"}}}}}}},"/api/rbac/groups/{groupId}/members":{"post":{"tags":["EnterpriseAuth"],"parameters":[{"name":"groupId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AddGroupMemberRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AddGroupMemberRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AddGroupMemberRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/rbac/groups/{groupId}/members/{userId}":{"delete":{"tags":["EnterpriseAuth"],"parameters":[{"name":"groupId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"userId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success"}}}},"/api/rbac/check":{"get":{"tags":["EnterpriseAuth"],"parameters":[{"name":"userId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}},{"name":"permission","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PermissionCheckResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PermissionCheckResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PermissionCheckResponse"}}}}}}},"/api/rbac/users/{userId}/permissions":{"get":{"tags":["EnterpriseAuth"],"parameters":[{"name":"userId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.EffectivePermissionsResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.EffectivePermissionsResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.EffectivePermissionsResponse"}}}}}}},"/api/rbac/audit":{"get":{"tags":["EnterpriseAuth"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}},{"name":"userId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}},{"name":"eventType","in":"query","style":"form","schema":{"type":"string"}},{"name":"startDate","in":"query","style":"form","schema":{"type":"string","format":"date-time"}},{"name":"endDate","in":"query","style":"form","schema":{"type":"string","format":"date-time"}},{"name":"skip","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":0}},{"name":"take","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":50}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AuditLogsResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AuditLogsResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AuditLogsResponse"}}}}}}},"/api/entitlements/features":{"get":{"tags":["EnterpriseAuth"],"parameters":[{"name":"category","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FeaturesResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FeaturesResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FeaturesResponse"}}}}}}},"/api/entitlements/plans":{"get":{"tags":["EnterpriseAuth"],"parameters":[{"name":"includeInactive","in":"query","style":"form","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PlansResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PlansResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PlansResponse"}}}}}}},"/api/entitlements/organizations/{organizationId}":{"get":{"tags":["EnterpriseAuth"],"parameters":[{"name":"organizationId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.OrganizationEntitlement"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.OrganizationEntitlement"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.OrganizationEntitlement"}}}}}}},"/api/entitlements/organizations/{organizationId}/plan":{"put":{"tags":["EnterpriseAuth"],"parameters":[{"name":"organizationId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.SetPlanRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.SetPlanRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.SetPlanRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.OrganizationEntitlement"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.OrganizationEntitlement"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.OrganizationEntitlement"}}}}}}},"/api/entitlements/organizations/{organizationId}/features/{featureCode}/override":{"post":{"tags":["EnterpriseAuth"],"parameters":[{"name":"organizationId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"featureCode","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.FeatureOverride"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.FeatureOverride"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.FeatureOverride"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.OrganizationEntitlement"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.OrganizationEntitlement"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.OrganizationEntitlement"}}}}}}},"/api/entitlements/organizations/{organizationId}/trial":{"post":{"tags":["EnterpriseAuth"],"parameters":[{"name":"organizationId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StartTrialRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StartTrialRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StartTrialRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/entitlements/check":{"get":{"tags":["EnterpriseAuth"],"parameters":[{"name":"userId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}},{"name":"featureCode","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FeatureCheckResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FeatureCheckResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FeatureCheckResponse"}}}}}}},"/api/entitlements/users/{userId}":{"get":{"tags":["EnterpriseAuth"],"parameters":[{"name":"userId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UserEntitlementsResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UserEntitlementsResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UserEntitlementsResponse"}}}}}}},"/api/entitlements/quota":{"get":{"tags":["EnterpriseAuth"],"parameters":[{"name":"userId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}},{"name":"featureCode","in":"query","style":"form","schema":{"type":"string"}},{"name":"requestedAmount","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":1}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.QuotaStatus"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.QuotaStatus"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.QuotaStatus"}}}}}}},"/api/entitlements/usage":{"post":{"tags":["EnterpriseAuth"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TrackUsageRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TrackUsageRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TrackUsageRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.UsageResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.UsageResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.UsageResult"}}}}}}},"/api/scim/v2/Users":{"get":{"tags":["EnterpriseAuth"],"parameters":[{"name":"filter","in":"query","style":"form","schema":{"type":"string"}},{"name":"startIndex","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":1}},{"name":"count","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":100}},{"name":"X-Organization-Id","in":"header","style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimListResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimListResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimListResponse"}}}}}},"post":{"tags":["EnterpriseAuth"],"parameters":[{"name":"X-Organization-Id","in":"header","style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.SsoAuthActor.ScimUser"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.SsoAuthActor.ScimUser"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.SsoAuthActor.ScimUser"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.SsoAuthActor.ScimUser"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.SsoAuthActor.ScimUser"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.SsoAuthActor.ScimUser"}}}}}}},"/api/scim/v2/Users/{id}":{"get":{"tags":["EnterpriseAuth"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.SsoAuthActor.ScimUser"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.SsoAuthActor.ScimUser"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.SsoAuthActor.ScimUser"}}}}}},"put":{"tags":["EnterpriseAuth"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.SsoAuthActor.ScimUser"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.SsoAuthActor.ScimUser"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.SsoAuthActor.ScimUser"}}}},"responses":{"200":{"description":"Success"}}},"delete":{"tags":["EnterpriseAuth"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/episodicmemory":{"get":{"tags":["EpisodicMemory"],"parameters":[{"name":"type","in":"query","style":"form","schema":{"type":"string"}},{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":100}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.EpisodeMemoryDto"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.EpisodeMemoryDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.EpisodeMemoryDto"}}}}}}},"post":{"tags":["EpisodicMemory"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateEpisodeMemoryRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateEpisodeMemoryRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateEpisodeMemoryRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.EpisodeMemoryDto"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.EpisodeMemoryDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.EpisodeMemoryDto"}}}}}}},"/api/episodicmemory/{id}":{"get":{"tags":["EpisodicMemory"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.EpisodeMemoryDto"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.EpisodeMemoryDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.EpisodeMemoryDto"}}}}}},"put":{"tags":["EpisodicMemory"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateEpisodeMemoryRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateEpisodeMemoryRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateEpisodeMemoryRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.EpisodeMemoryDto"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.EpisodeMemoryDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.EpisodeMemoryDto"}}}}}}},"/api/episodicmemory/byuow/{unitOfWorkId}":{"get":{"tags":["EpisodicMemory"],"parameters":[{"name":"unitOfWorkId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.EpisodeMemoryDto"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.EpisodeMemoryDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.EpisodeMemoryDto"}}}}}}}},"/api/episodicmemory/search":{"get":{"tags":["EpisodicMemory"],"parameters":[{"name":"q","in":"query","style":"form","schema":{"type":"string"}},{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":100}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.EpisodeMemoryDto"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.EpisodeMemoryDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.EpisodeMemoryDto"}}}}}}}},"/api/episodicmemory/{id}/grains":{"get":{"tags":["EpisodicMemory"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.KnowledgeGrainDto"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.KnowledgeGrainDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.KnowledgeGrainDto"}}}}}}}},"/api/Figma/teams":{"get":{"tags":["Figma"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.FigmaTeamDto"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.FigmaTeamDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.FigmaTeamDto"}}}}}}}},"/api/Figma/teams/{teamId}/projects":{"get":{"tags":["Figma"],"parameters":[{"name":"teamId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.FigmaProjectDto"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.FigmaProjectDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.FigmaProjectDto"}}}}}}}},"/api/Figma/projects/{projectId}/files":{"get":{"tags":["Figma"],"parameters":[{"name":"projectId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.FigmaFileDto"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.FigmaFileDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.FigmaFileDto"}}}}}}}},"/api/Figma/files/{fileKey}":{"get":{"tags":["Figma"],"parameters":[{"name":"fileKey","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FigmaFileDetailDto"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FigmaFileDetailDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FigmaFileDetailDto"}}}}}}},"/api/Figma/files/{fileKey}/nodes":{"get":{"tags":["Figma"],"parameters":[{"name":"fileKey","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"nodeIds","in":"query","style":"form","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FigmaNodesResponseDto"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FigmaNodesResponseDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FigmaNodesResponseDto"}}}}}}},"/api/Figma/files/{fileKey}/tokens":{"get":{"tags":["Figma"],"parameters":[{"name":"fileKey","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DesignTokensResponseDto"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DesignTokensResponseDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DesignTokensResponseDto"}}}}}}},"/api/Figma/files/{fileKey}/assets":{"get":{"tags":["Figma"],"parameters":[{"name":"fileKey","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FigmaAssetsResponseDto"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FigmaAssetsResponseDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FigmaAssetsResponseDto"}}}}}}},"/api/Figma/files/{fileKey}/export":{"post":{"tags":["Figma"],"parameters":[{"name":"fileKey","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ExportRequestDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ExportRequestDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ExportRequestDto"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ExportResultDto"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ExportResultDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ExportResultDto"}}}}}}},"/api/Figma/files/{fileKey}/versions":{"get":{"tags":["Figma"],"parameters":[{"name":"fileKey","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"skip","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":0}},{"name":"take","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":20}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.FigmaVersionDto"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.FigmaVersionDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.FigmaVersionDto"}}}}}}}},"/api/Figma/files/{fileKey}/tokens/export":{"get":{"tags":["Figma"],"parameters":[{"name":"fileKey","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"format","in":"query","style":"form","schema":{"type":"string","default":"json"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TokenExportResultDto"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TokenExportResultDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TokenExportResultDto"}}}}}}},"/api/Figma/files/{fileKey}/tokens/download":{"get":{"tags":["Figma"],"parameters":[{"name":"fileKey","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"format","in":"query","style":"form","schema":{"type":"string","default":"json"}}],"responses":{"200":{"description":"Success"}}}},"/api/Figma/sync/{fileKey}":{"post":{"tags":["Figma"],"parameters":[{"name":"fileKey","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SyncResultDto"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SyncResultDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SyncResultDto"}}}}}}},"/api/Files/browse":{"get":{"tags":["Files"],"parameters":[{"name":"path","in":"query","style":"form","schema":{"type":"string","default":""}},{"name":"skip","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":0}},{"name":"take","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":100}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.Providers.BrowseFolderResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.Providers.BrowseFolderResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.Providers.BrowseFolderResult"}}}}}}},"/api/Files/folders/info":{"get":{"tags":["Files"],"parameters":[{"name":"path","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.Providers.FolderInfo"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.Providers.FolderInfo"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.Providers.FolderInfo"}}}}}}},"/api/Files/folders":{"post":{"tags":["Files"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateFolderRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateFolderRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateFolderRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.Providers.FolderInfo"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.Providers.FolderInfo"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.Providers.FolderInfo"}}}}}},"delete":{"tags":["Files"],"parameters":[{"name":"path","in":"query","style":"form","schema":{"type":"string"}},{"name":"recursive","in":"query","style":"form","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Success"}}}},"/api/Files/folders/rename":{"patch":{"tags":["Files"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RenameFolderRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RenameFolderRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RenameFolderRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/Files/upload":{"post":{"tags":["Files"],"parameters":[{"name":"path","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}}},"encoding":{"file":{"style":"form"}}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.Providers.FileInfo2"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.Providers.FileInfo2"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.Providers.FileInfo2"}}}}}}},"/api/Files/upload/batch":{"post":{"tags":["Files"],"parameters":[{"name":"path","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"files":{"type":"array","items":{"type":"string","format":"binary"}}}},"encoding":{"files":{"style":"form"}}}}},"responses":{"200":{"description":"Success"}}}},"/api/Files/upload/folder":{"post":{"tags":["Files"],"parameters":[{"name":"targetPath","in":"query","style":"form","schema":{"type":"string"}},{"name":"forwardToStudy","in":"query","style":"form","schema":{"type":"boolean","default":true}},{"name":"waitForCompletion","in":"query","style":"form","schema":{"type":"boolean","default":false}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"files":{"type":"array","items":{"type":"string","format":"binary"}}}},"encoding":{"files":{"style":"form"}}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.FolderUploadResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.FolderUploadResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.FolderUploadResponse"}}}}}}},"/api/Files/upload/folder/{jobId}/status":{"get":{"tags":["Files"],"parameters":[{"name":"jobId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.FolderUploadStatus"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.FolderUploadStatus"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.FolderUploadStatus"}}}}}}},"/api/Files/upload/folder/validate":{"post":{"tags":["Files"],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"files":{"type":"array","items":{"type":"string","format":"binary"}}}},"encoding":{"files":{"style":"form"}}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.FolderUploadValidationResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.FolderUploadValidationResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.FolderUploadValidationResult"}}}}}}},"/api/Files/download":{"get":{"tags":["Files"],"parameters":[{"name":"path","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/Files/file":{"delete":{"tags":["Files"],"parameters":[{"name":"path","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/Files/file/rename":{"patch":{"tags":["Files"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RenameFileRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RenameFileRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RenameFileRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/Files/file/move":{"post":{"tags":["Files"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.MoveFileRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.MoveFileRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.MoveFileRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/Files/file/copy":{"post":{"tags":["Files"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CopyFileRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CopyFileRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CopyFileRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/Files/volumes":{"get":{"tags":["Files"],"responses":{"200":{"description":"Success"}}}},"/api/ghaw/catalog":{"get":{"tags":["GhAw"],"responses":{"200":{"description":"Success"}}}},"/api/ghaw/catalog/{slug}":{"get":{"tags":["GhAw"],"parameters":[{"name":"slug","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/ghaw/run":{"post":{"tags":["GhAw"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GhAwController.RunWorkflowRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GhAwController.RunWorkflowRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GhAwController.RunWorkflowRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/v1/capabilities":{"get":{"tags":["GspAgent"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.Capabilities"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.Capabilities"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.Capabilities"}}}}}}},"/v1/repo/read":{"post":{"tags":["GspAgent"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.RepoReadRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.RepoReadRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.RepoReadRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/v1/repo/search":{"post":{"tags":["GspAgent"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.RepoSearchRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.RepoSearchRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.RepoSearchRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/v1/repo/changed-files":{"post":{"tags":["GspAgent"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.RepoChangedFilesRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.RepoChangedFilesRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.RepoChangedFilesRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/v1/repo/apply-diff":{"post":{"tags":["GspAgent"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.RepoApplyDiffRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.RepoApplyDiffRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.RepoApplyDiffRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/v1/gsp/gate":{"post":{"tags":["GspAgent"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.GateRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.GateRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.GateRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/v1/gsp/slice":{"post":{"tags":["GspAgent"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.SliceRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.SliceRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.SliceRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/v1/gsp/propose":{"post":{"tags":["GspAgent"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.ProposeRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.ProposeRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.ProposeRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/v1/evaluate":{"post":{"tags":["GspAgent"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.EvaluateRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.EvaluateRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.EvaluateRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/v1/gsp/judge":{"post":{"tags":["GspAgent"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.JudgeRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.JudgeRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.JudgeRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/v1/gsp/run":{"post":{"tags":["GspAgent"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.RunRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.RunRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.RunRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/v1/gsp/pack":{"post":{"tags":["GspAgent"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.PackRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.PackRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Gsp.PackRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/handoffs":{"post":{"tags":["Handoffs"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateHandoffRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateHandoffRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateHandoffRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.HandoffRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.HandoffRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.HandoffRecord"}}}}}},"get":{"tags":["Handoffs"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"workspaceId","in":"query","style":"form","schema":{"type":"string"}},{"name":"fromUtc","in":"query","style":"form","schema":{"type":"string","format":"date-time"}},{"name":"toUtc","in":"query","style":"form","schema":{"type":"string","format":"date-time"}},{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":200}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.HandoffRecord"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.HandoffRecord"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.HandoffRecord"}}}}}}}},"/api/handoffs/{handoffId}":{"get":{"tags":["Handoffs"],"parameters":[{"name":"handoffId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.HandoffRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.HandoffRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.HandoffRecord"}}}}}}},"/api/handoffs/{handoffId}/resolve":{"post":{"tags":["Handoffs"],"parameters":[{"name":"handoffId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ResolveHandoffRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ResolveHandoffRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ResolveHandoffRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.HandoffRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.HandoffRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.HandoffRecord"}}}}}}},"/api/health":{"get":{"tags":["Health"],"responses":{"200":{"description":"Success"}}}},"/api/health/integration-settings":{"get":{"tags":["Health"],"responses":{"200":{"description":"Success"}}}},"/api/health/authz-state":{"get":{"tags":["Health"],"responses":{"200":{"description":"Success"}}}},"/api/health/supabase":{"get":{"tags":["Health"],"responses":{"200":{"description":"Success"}}}},"/api/initial-study/start":{"post":{"tags":["InitialStudy"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InitialStudyController.InitialStudyRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InitialStudyController.InitialStudyRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InitialStudyController.InitialStudyRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InitialStudyController.InitialStudyResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InitialStudyController.InitialStudyResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InitialStudyController.InitialStudyResponse"}}}}}}},"/api/initial-study/uow/{uowId}":{"get":{"tags":["InitialStudy"],"parameters":[{"name":"uowId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InitialStudyController.InitialStudyStatusResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InitialStudyController.InitialStudyStatusResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InitialStudyController.InitialStudyStatusResponse"}}}}}}},"/api/initial-study/episode/{episodeId}":{"get":{"tags":["InitialStudy"],"parameters":[{"name":"episodeId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InitialStudyController.InitialStudyStatusResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InitialStudyController.InitialStudyStatusResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InitialStudyController.InitialStudyStatusResponse"}}}}}}},"/api/initial-study/uow/{uowId}/studies":{"get":{"tags":["InitialStudy"],"parameters":[{"name":"uowId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.InitialStudyController.InitialStudyStatusResponse"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.InitialStudyController.InitialStudyStatusResponse"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.InitialStudyController.InitialStudyStatusResponse"}}}}}}}},"/api/Integrations/settings":{"get":{"tags":["Integrations"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.IntegrationSettingsResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.IntegrationSettingsResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.IntegrationSettingsResponse"}}}}}},"put":{"tags":["Integrations"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateIntegrationSettingsRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateIntegrationSettingsRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateIntegrationSettingsRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/Integrations/status":{"get":{"tags":["Integrations"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.ProviderConnectionStatus"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.ProviderConnectionStatus"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.ProviderConnectionStatus"}}}}}}}},"/api/Integrations/connect/{provider}":{"post":{"tags":["Integrations"],"parameters":[{"name":"provider","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InitiateConnectionRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InitiateConnectionRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InitiateConnectionRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.OAuth2AuthorizationResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.OAuth2AuthorizationResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.OAuth2AuthorizationResponse"}}}}}}},"/api/Integrations/callback/{provider}":{"post":{"tags":["Integrations"],"parameters":[{"name":"provider","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CompleteConnectionRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CompleteConnectionRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CompleteConnectionRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.OAuth2CallbackResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.OAuth2CallbackResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.OAuth2CallbackResult"}}}}}}},"/api/Integrations/disconnect/{provider}":{"delete":{"tags":["Integrations"],"parameters":[{"name":"provider","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"revokeAccess","in":"query","style":"form","schema":{"type":"boolean","default":true}}],"responses":{"200":{"description":"Success"}}}},"/api/Integrations/config/{provider}":{"put":{"tags":["Integrations"],"parameters":[{"name":"provider","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateProviderConfigRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateProviderConfigRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateProviderConfigRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/Integrations/test/{provider}":{"get":{"tags":["Integrations"],"parameters":[{"name":"provider","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ConnectionTestResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ConnectionTestResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ConnectionTestResult"}}}}}}},"/api/invoices/scan":{"post":{"tags":["Invoices"],"parameters":[{"name":"wait","in":"query","style":"form","schema":{"type":"boolean","default":true}},{"name":"waitSeconds","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":300}},{"name":"checks","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":3}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string","format":"binary"}},"image":{"type":"string","format":"binary"},"notes":{"type":"string"}}},"encoding":{"images":{"style":"form"},"image":{"style":"form"},"notes":{"style":"form"}}}}},"responses":{"200":{"description":"Success"}}}},"/api/invoices/{id}":{"get":{"tags":["Invoices"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/invoices/{id}/document":{"get":{"tags":["Invoices"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/invoices":{"get":{"tags":["Invoices"],"parameters":[{"name":"take","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":50}}],"responses":{"200":{"description":"Success"}}}},"/api/journeys/stages":{"get":{"tags":["Journeys"],"parameters":[{"name":"includeInactive","in":"query","style":"form","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyStageResponse"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyStageResponse"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyStageResponse"}}}}}}}},"/api/journeys":{"get":{"tags":["Journeys"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"status","in":"query","style":"form","schema":{"type":"string"}},{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":100}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyResponse"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyResponse"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyResponse"}}}}}}},"post":{"tags":["Journeys"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyCreateRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyCreateRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyCreateRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyResponse"}}}}}}},"/api/journeys/{journeyId}":{"get":{"tags":["Journeys"],"parameters":[{"name":"journeyId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyResponse"}}}}}}},"/api/journeys/invite":{"post":{"tags":["Journeys"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyInviteRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyInviteRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyInviteRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InviteResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InviteResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InviteResponse"}}}}}}},"/api/journeys/{journeyId}/invite":{"post":{"tags":["Journeys"],"parameters":[{"name":"journeyId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyInviteRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyInviteRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyInviteRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InviteResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InviteResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InviteResponse"}}}}}}},"/api/journeys/{journeyId}/advance":{"post":{"tags":["Journeys"],"parameters":[{"name":"journeyId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyAdvanceRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyAdvanceRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyAdvanceRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneyResponse"}}}}}}},"/api/admin/journey-senders":{"get":{"tags":["JourneySenders"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"journeyId","in":"query","style":"form","schema":{"type":"string"}},{"name":"status","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneySenderResponse"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneySenderResponse"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneySenderResponse"}}}}}}}},"/api/admin/journey-senders/approve":{"post":{"tags":["JourneySenders"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneySenderDecisionRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneySenderDecisionRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneySenderDecisionRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneySenderReviewResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneySenderReviewResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneySenderReviewResponse"}}}}}}},"/api/admin/journey-senders/deny":{"post":{"tags":["JourneySenders"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneySenderDecisionRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneySenderDecisionRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneySenderDecisionRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneySenderReviewResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneySenderReviewResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneySenderReviewResponse"}}}}}}},"/api/knowledge":{"get":{"tags":["Knowledge"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":200}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Repositories.KnowledgeItemRecord"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Repositories.KnowledgeItemRecord"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Repositories.KnowledgeItemRecord"}}}}}}},"post":{"tags":["Knowledge"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpsertKnowledgeItemRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpsertKnowledgeItemRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpsertKnowledgeItemRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Repositories.KnowledgeItemRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Repositories.KnowledgeItemRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Repositories.KnowledgeItemRecord"}}}}}}},"/api/knowledge/search":{"get":{"tags":["Knowledge"],"parameters":[{"name":"q","in":"query","style":"form","schema":{"type":"string"}},{"name":"domain","in":"query","style":"form","schema":{"type":"string"}},{"name":"type","in":"query","style":"form","schema":{"type":"string"}},{"name":"tag","in":"query","style":"form","schema":{"type":"string"}},{"name":"status","in":"query","style":"form","schema":{"type":"string"}},{"name":"pathPrefix","in":"query","style":"form","schema":{"type":"string"}},{"name":"includeContent","in":"query","style":"form","schema":{"type":"boolean","default":false}},{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":20}},{"name":"offset","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":0}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.KnowledgeSearchResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.KnowledgeSearchResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.KnowledgeSearchResponse"}}}}}}},"/api/knowledge/{itemId}":{"get":{"tags":["Knowledge"],"parameters":[{"name":"itemId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Repositories.KnowledgeItemRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Repositories.KnowledgeItemRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Repositories.KnowledgeItemRecord"}}}}}},"put":{"tags":["Knowledge"],"parameters":[{"name":"itemId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpsertKnowledgeItemRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpsertKnowledgeItemRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpsertKnowledgeItemRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Repositories.KnowledgeItemRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Repositories.KnowledgeItemRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Repositories.KnowledgeItemRecord"}}}}}},"delete":{"tags":["Knowledge"],"parameters":[{"name":"itemId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/knowledge/bulk":{"post":{"tags":["Knowledge"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BulkCreateKnowledgeRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BulkCreateKnowledgeRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BulkCreateKnowledgeRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BulkCreateKnowledgeResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BulkCreateKnowledgeResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BulkCreateKnowledgeResponse"}}}}}}},"/api/knowledge/{itemId}/files":{"get":{"tags":["Knowledge"],"parameters":[{"name":"itemId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Repositories.LinkedFileRecord"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Repositories.LinkedFileRecord"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Repositories.LinkedFileRecord"}}}}}}}},"/api/knowledge/{itemId}/files/{fileId}":{"post":{"tags":["Knowledge"],"parameters":[{"name":"itemId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"fileId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}},"delete":{"tags":["Knowledge"],"parameters":[{"name":"itemId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"fileId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/knowledge/files":{"get":{"tags":["Knowledge"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"indexed","in":"query","style":"form","schema":{"type":"boolean"}},{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":100}},{"name":"search","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Repositories.FileRecord"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Repositories.FileRecord"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Repositories.FileRecord"}}}}}}}},"/api/knowledge/files/{fileId}/items":{"get":{"tags":["Knowledge"],"parameters":[{"name":"fileId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Repositories.LinkedKnowledgeRecord"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Repositories.LinkedKnowledgeRecord"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Repositories.LinkedKnowledgeRecord"}}}}}}}},"/api/KnowledgeGraph/entities":{"get":{"tags":["KnowledgeGraph"],"parameters":[{"name":"query","in":"query","style":"form","schema":{"type":"string"}},{"name":"types","in":"query","style":"form","schema":{"type":"string"}},{"name":"minConfidence","in":"query","style":"form","schema":{"type":"number","format":"double"}},{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":20}},{"name":"offset","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":0}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeEntity"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeEntity"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeEntity"}}}}}}},"post":{"tags":["KnowledgeGraph"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateEntityApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateEntityApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateEntityApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeEntity"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeEntity"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeEntity"}}}}}}},"/api/KnowledgeGraph/entities/{entityId}":{"get":{"tags":["KnowledgeGraph"],"parameters":[{"name":"entityId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeEntity"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeEntity"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeEntity"}}}}}},"put":{"tags":["KnowledgeGraph"],"parameters":[{"name":"entityId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateEntityApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateEntityApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateEntityApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeEntity"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeEntity"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeEntity"}}}}}}},"/api/KnowledgeGraph/entities/{entityId}/context":{"get":{"tags":["KnowledgeGraph"],"parameters":[{"name":"entityId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"depth","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":1}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.EntityContext"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.EntityContext"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.EntityContext"}}}}}}},"/api/KnowledgeGraph/entities/{entityId}/related":{"get":{"tags":["KnowledgeGraph"],"parameters":[{"name":"entityId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"depth","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":1}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeEntity"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeEntity"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeEntity"}}}}}}}},"/api/KnowledgeGraph/entities/{sourceId}/merge/{targetId}":{"post":{"tags":["KnowledgeGraph"],"parameters":[{"name":"sourceId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"targetId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success"}}}},"/api/KnowledgeGraph/entities/{entityId}/relations":{"get":{"tags":["KnowledgeGraph"],"parameters":[{"name":"entityId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"relationType","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeRelation"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeRelation"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeRelation"}}}}}}}},"/api/KnowledgeGraph/relations":{"post":{"tags":["KnowledgeGraph"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateRelationApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateRelationApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateRelationApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeRelation"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeRelation"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeRelation"}}}}}}},"/api/KnowledgeGraph/relations/{relationId}":{"get":{"tags":["KnowledgeGraph"],"parameters":[{"name":"relationId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeRelation"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeRelation"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeRelation"}}}}}}},"/api/KnowledgeGraph/paths":{"get":{"tags":["KnowledgeGraph"],"parameters":[{"name":"sourceId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}},{"name":"targetId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}},{"name":"maxDepth","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":3}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.GraphPath"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.GraphPath"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.GraphPath"}}}}}}}},"/api/KnowledgeGraph/candidates":{"get":{"tags":["KnowledgeGraph"],"parameters":[{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":50}},{"name":"offset","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":0}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.CandidateMemory"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.CandidateMemory"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.CandidateMemory"}}}}}}}},"/api/KnowledgeGraph/candidates/{candidateId}":{"get":{"tags":["KnowledgeGraph"],"parameters":[{"name":"candidateId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.CandidateMemory"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.CandidateMemory"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.CandidateMemory"}}}}}}},"/api/KnowledgeGraph/candidates/{candidateId}/promote":{"post":{"tags":["KnowledgeGraph"],"parameters":[{"name":"candidateId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.PromotionResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.PromotionResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.PromotionResult"}}}}}}},"/api/KnowledgeGraph/candidates/{candidateId}/demote":{"post":{"tags":["KnowledgeGraph"],"parameters":[{"name":"candidateId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DemoteCandidateRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DemoteCandidateRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DemoteCandidateRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/KnowledgeGraph/candidates/auto-promote":{"post":{"tags":["KnowledgeGraph"],"parameters":[{"name":"threshold","in":"query","style":"form","schema":{"type":"number","format":"double","default":0.8}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AutoPromoteResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AutoPromoteResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AutoPromoteResult"}}}}}}},"/api/KnowledgeGraph/summaries":{"get":{"tags":["KnowledgeGraph"],"parameters":[{"name":"summaryType","in":"query","style":"form","schema":{"type":"string"}},{"name":"needsRefresh","in":"query","style":"form","schema":{"type":"boolean"}},{"name":"minFreshness","in":"query","style":"form","schema":{"type":"number","format":"double"}},{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":50}},{"name":"offset","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":0}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeSummary"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeSummary"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeSummary"}}}}}}}},"/api/KnowledgeGraph/summaries/{summaryId}":{"get":{"tags":["KnowledgeGraph"],"parameters":[{"name":"summaryId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeSummary"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeSummary"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeSummary"}}}}}}},"/api/KnowledgeGraph/entities/{entityId}/summary":{"get":{"tags":["KnowledgeGraph"],"parameters":[{"name":"entityId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeSummary"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeSummary"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeSummary"}}}}}}},"/api/KnowledgeGraph/entities/{entityId}/summary/generate":{"post":{"tags":["KnowledgeGraph"],"parameters":[{"name":"entityId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeSummary"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeSummary"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeSummary"}}}}}}},"/api/KnowledgeGraph/topics/{topic}/summary":{"get":{"tags":["KnowledgeGraph"],"parameters":[{"name":"topic","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeSummary"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeSummary"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeSummary"}}}}}}},"/api/KnowledgeGraph/topics/{topic}/summary/generate":{"post":{"tags":["KnowledgeGraph"],"parameters":[{"name":"topic","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeSummary"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeSummary"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeSummary"}}}}}}},"/api/KnowledgeGraph/summaries/{summaryId}/refresh":{"post":{"tags":["KnowledgeGraph"],"parameters":[{"name":"summaryId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"trigger","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeSummary"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeSummary"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeSummary"}}}}}}},"/api/KnowledgeGraph/summaries/refresh-stale":{"post":{"tags":["KnowledgeGraph"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RefreshResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RefreshResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RefreshResult"}}}}}}},"/api/KnowledgeGraph/retrieve":{"post":{"tags":["KnowledgeGraph"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RetrieveQueryApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RetrieveQueryApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RetrieveQueryApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.GraphRetrievalResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.GraphRetrievalResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.GraphRetrievalResult"}}}}}}},"/api/KnowledgeGraph/summaries/relevant":{"post":{"tags":["KnowledgeGraph"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RelevantSummariesApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RelevantSummariesApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RelevantSummariesApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeSummary"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeSummary"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeSummary"}}}}}}}},"/api/KnowledgeGraph/retrieve/ontology":{"post":{"tags":["KnowledgeGraph"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.OntologyRetrieveQueryApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.OntologyRetrieveQueryApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.OntologyRetrieveQueryApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Memory.Services.OntologyRetrievalResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Memory.Services.OntologyRetrievalResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Memory.Services.OntologyRetrievalResult"}}}}}}},"/api/KnowledgeGraph/entities/by-ontology":{"get":{"tags":["KnowledgeGraph"],"parameters":[{"name":"ontologyName","in":"query","style":"form","schema":{"type":"string"}},{"name":"ontologyValue","in":"query","style":"form","schema":{"type":"string"}},{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":20}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Services.OntologyEnrichedEntity"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Services.OntologyEnrichedEntity"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Services.OntologyEnrichedEntity"}}}}}}}},"/api/KnowledgeGraph/entities/{entityId}/expand-ontology":{"get":{"tags":["KnowledgeGraph"],"parameters":[{"name":"entityId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"depth","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":1}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Services.OntologyEnrichedEntity"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Services.OntologyEnrichedEntity"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Services.OntologyEnrichedEntity"}}}}}}}},"/api/KnowledgeGraph/maintenance/cleanup-candidates":{"post":{"tags":["KnowledgeGraph"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CleanupResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CleanupResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CleanupResult"}}}}}}},"/api/KnowledgeGraph/maintenance/deduplicate":{"post":{"tags":["KnowledgeGraph"],"parameters":[{"name":"threshold","in":"query","style":"form","schema":{"type":"number","format":"double","default":0.9}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeduplicationResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeduplicationResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeduplicationResult"}}}}}}},"/api/KnowledgeGraph/maintenance/update-freshness":{"post":{"tags":["KnowledgeGraph"],"responses":{"200":{"description":"Success"}}}},"/api/linear/preview":{"post":{"tags":["Linear"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.LinearController.LinearPreviewRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.LinearController.LinearPreviewRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.LinearController.LinearPreviewRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/linear/issues":{"post":{"tags":["Linear"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.LinearController.LinearIssuesRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.LinearController.LinearIssuesRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.LinearController.LinearIssuesRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/admin/mailbox-bindings":{"get":{"tags":["MailboxBindings"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.MailboxBindingResponse"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.MailboxBindingResponse"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.MailboxBindingResponse"}}}}}}}},"/api/admin/mailbox-bindings/{address}":{"get":{"tags":["MailboxBindings"],"parameters":[{"name":"address","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.MailboxBindingResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.MailboxBindingResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.MailboxBindingResponse"}}}}}},"put":{"tags":["MailboxBindings"],"parameters":[{"name":"address","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.MailboxBindingUpsertRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.MailboxBindingUpsertRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.MailboxBindingUpsertRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.MailboxBindingResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.MailboxBindingResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.MailboxBindingResponse"}}}}}},"delete":{"tags":["MailboxBindings"],"parameters":[{"name":"address","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/admin/mailbox-bindings/import":{"post":{"tags":["MailboxBindings"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.MailboxBindingImportRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.MailboxBindingImportRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.MailboxBindingImportRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.MailboxBindingImportResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.MailboxBindingImportResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.MailboxBindingImportResult"}}}}}}},"/api/mcp/mssql":{"post":{"tags":["Mcp"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}},"text/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}},"application/*+json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}}}},"responses":{"200":{"description":"Success"}}}},"/api/mcp/database":{"post":{"tags":["Mcp"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}},"text/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}},"application/*+json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}}}},"responses":{"200":{"description":"Success"}}}},"/api/mcp/project":{"post":{"tags":["Mcp"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}},"text/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}},"application/*+json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}}}},"responses":{"200":{"description":"Success"}}}},"/api/mcp/code":{"post":{"tags":["Mcp"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}},"text/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}},"application/*+json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}}}},"responses":{"200":{"description":"Success"}}}},"/api/mcp/graphql":{"post":{"tags":["Mcp"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}},"text/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}},"application/*+json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}}}},"responses":{"200":{"description":"Success"}}}},"/api/mcp/supabase":{"post":{"tags":["Mcp"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}},"text/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}},"application/*+json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}}}},"responses":{"200":{"description":"Success"}}}},"/api/mcp/pm":{"post":{"tags":["Mcp"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}},"text/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}},"application/*+json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}}}},"responses":{"200":{"description":"Success"}}}},"/api/mcp/lsp":{"post":{"tags":["Mcp"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}},"text/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}},"application/*+json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}}}},"responses":{"200":{"description":"Success"}}}},"/api/mcp/project_state":{"post":{"tags":["Mcp"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}},"text/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}},"application/*+json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","example":"2.0"},"method":{"type":"string","example":"initialize"},"params":{"type":"object"},"id":{"type":"string","example":"1"}}}}}},"responses":{"200":{"description":"Success"}}}},"/api/mcp/{toolPack}":{"get":{"tags":["Mcp"],"parameters":[{"name":"toolPack","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}},"head":{"tags":["Mcp"],"parameters":[{"name":"toolPack","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/MediaGeneration/generate":{"post":{"tags":["MediaGeneration"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GenerateImageApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GenerateImageApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GenerateImageApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ImageResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ImageResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ImageResult"}}}}}}},"/api/MediaGeneration/edit":{"post":{"tags":["MediaGeneration"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.EditImageApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.EditImageApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.EditImageApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ImageResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ImageResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ImageResult"}}}}}}},"/api/MediaGeneration/inpaint":{"post":{"tags":["MediaGeneration"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InpaintApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InpaintApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InpaintApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ImageResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ImageResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ImageResult"}}}}}}},"/api/MediaGeneration/outpaint":{"post":{"tags":["MediaGeneration"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.OutpaintApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.OutpaintApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.OutpaintApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ImageResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ImageResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ImageResult"}}}}}}},"/api/MediaGeneration/upscale":{"post":{"tags":["MediaGeneration"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpscaleApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpscaleApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpscaleApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ImageResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ImageResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ImageResult"}}}}}}},"/api/MediaGeneration/remove-background":{"post":{"tags":["MediaGeneration"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RemoveBackgroundApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RemoveBackgroundApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RemoveBackgroundApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ImageResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ImageResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ImageResult"}}}}}}},"/api/MediaGeneration/variations":{"post":{"tags":["MediaGeneration"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.VariationsApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.VariationsApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.VariationsApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ImageResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ImageResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ImageResult"}}}}}}},"/api/MediaGeneration/images/save":{"post":{"tags":["MediaGeneration"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SaveImageApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SaveImageApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SaveImageApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.SavedImage"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.SavedImage"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.SavedImage"}}}}}}},"/api/MediaGeneration/images":{"get":{"tags":["MediaGeneration"],"parameters":[{"name":"folder","in":"query","style":"form","schema":{"type":"string"}},{"name":"favorites","in":"query","style":"form","schema":{"type":"boolean"}},{"name":"search","in":"query","style":"form","schema":{"type":"string"}},{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":50}},{"name":"offset","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":0}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.SavedImage"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.SavedImage"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.SavedImage"}}}}}}}},"/api/MediaGeneration/images/{imageId}":{"get":{"tags":["MediaGeneration"],"parameters":[{"name":"imageId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.SavedImage"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.SavedImage"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.SavedImage"}}}}}},"delete":{"tags":["MediaGeneration"],"parameters":[{"name":"imageId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success"}}}},"/api/MediaGeneration/images/{imageId}/favorite":{"post":{"tags":["MediaGeneration"],"parameters":[{"name":"imageId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success"}}}},"/api/MediaGeneration/images/{imageId}/versions":{"get":{"tags":["MediaGeneration"],"parameters":[{"name":"imageId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.SavedImage"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.SavedImage"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.SavedImage"}}}}}}}},"/api/MediaGeneration/templates":{"get":{"tags":["MediaGeneration"],"parameters":[{"name":"category","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.ImageTemplate"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.ImageTemplate"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.ImageTemplate"}}}}}}},"post":{"tags":["MediaGeneration"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateTemplateApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateTemplateApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateTemplateApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ImageTemplate"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ImageTemplate"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ImageTemplate"}}}}}}},"/api/MediaGeneration/presets":{"get":{"tags":["MediaGeneration"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.StylePreset"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.StylePreset"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.StylePreset"}}}}}}}},"/api/MediaGeneration/quota":{"get":{"tags":["MediaGeneration"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.QuotaInfo"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.QuotaInfo"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.QuotaInfo"}}}}}}},"/api/MediaGeneration/history":{"get":{"tags":["MediaGeneration"],"parameters":[{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":50}},{"name":"offset","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":0}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.GenerationHistoryItem"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.GenerationHistoryItem"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.GenerationHistoryItem"}}}}}}}},"/api/MediaGeneration/moderation/config":{"get":{"tags":["MediaGeneration"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ModerationConfig"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ModerationConfig"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ModerationConfig"}}}}}},"put":{"tags":["MediaGeneration"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.UpdateModerationConfigRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.UpdateModerationConfigRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.UpdateModerationConfigRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ModerationConfig"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ModerationConfig"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ModerationConfig"}}}}}}},"/api/MediaGeneration/moderation/blocklist":{"get":{"tags":["MediaGeneration"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"type":"string"}}},"application/json":{"schema":{"type":"array","items":{"type":"string"}}},"text/json":{"schema":{"type":"array","items":{"type":"string"}}}}}}},"post":{"tags":["MediaGeneration"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BlocklistRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BlocklistRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BlocklistRequest"}}}},"responses":{"200":{"description":"Success"}}},"delete":{"tags":["MediaGeneration"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BlocklistRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BlocklistRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BlocklistRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/MediaGeneration/moderation/allowlist":{"get":{"tags":["MediaGeneration"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"type":"string"}}},"application/json":{"schema":{"type":"array","items":{"type":"string"}}},"text/json":{"schema":{"type":"array","items":{"type":"string"}}}}}}},"post":{"tags":["MediaGeneration"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BlocklistRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BlocklistRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BlocklistRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/MediaGeneration/moderation/log":{"get":{"tags":["MediaGeneration"],"parameters":[{"name":"flaggedOnly","in":"query","style":"form","schema":{"type":"boolean"}},{"name":"needsReview","in":"query","style":"form","schema":{"type":"boolean"}},{"name":"contentType","in":"query","style":"form","schema":{"type":"string"}},{"name":"startDate","in":"query","style":"form","schema":{"type":"string","format":"date-time"}},{"name":"endDate","in":"query","style":"form","schema":{"type":"string","format":"date-time"}},{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":50}},{"name":"offset","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":0}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.ModerationLogEntry"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.ModerationLogEntry"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.ModerationLogEntry"}}}}}}}},"/api/MediaGeneration/moderation/log/{entryId}/review":{"post":{"tags":["MediaGeneration"],"parameters":[{"name":"entryId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ReviewRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ReviewRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ReviewRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/MediaGeneration/moderation/stats":{"get":{"tags":["MediaGeneration"],"parameters":[{"name":"startDate","in":"query","style":"form","schema":{"type":"string","format":"date-time"}},{"name":"endDate","in":"query","style":"form","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ModerationStats"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ModerationStats"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.ModerationStats"}}}}}}},"/api/memory/grains/search":{"get":{"tags":["Memory"],"parameters":[{"name":"q","in":"query","style":"form","schema":{"type":"string"}},{"name":"domain","in":"query","style":"form","schema":{"type":"string"}},{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":20}},{"name":"mode","in":"query","style":"form","schema":{"type":"string","default":"lexical"}},{"name":"lexWeight","in":"query","style":"form","schema":{"type":"number","format":"double","default":1}},{"name":"semWeight","in":"query","style":"form","schema":{"type":"number","format":"double","default":1}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GrainSearchResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GrainSearchResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GrainSearchResponse"}}}}}}},"/api/memory/grains/embed-missing":{"post":{"tags":["Memory"],"parameters":[{"name":"maxGrains","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":200}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.EmbedMissingResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.EmbedMissingResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.EmbedMissingResponse"}}}}}}},"/api/memory/grains":{"get":{"tags":["Memory"],"parameters":[{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":100}},{"name":"category","in":"query","style":"form","schema":{"type":"string"}},{"name":"domain","in":"query","style":"form","schema":{"type":"string"}},{"name":"unitOfWorkId","in":"query","style":"form","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.KnowledgeGrainDto"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.KnowledgeGrainDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.KnowledgeGrainDto"}}}}}}},"post":{"tags":["Memory"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpsertKnowledgeGrainRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpsertKnowledgeGrainRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpsertKnowledgeGrainRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.KnowledgeGrainDto"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.KnowledgeGrainDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.KnowledgeGrainDto"}}}}}}},"/api/memory/grains/{id}":{"get":{"tags":["Memory"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.KnowledgeGrainDto"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.KnowledgeGrainDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.KnowledgeGrainDto"}}}}}},"put":{"tags":["Memory"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpsertKnowledgeGrainRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpsertKnowledgeGrainRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpsertKnowledgeGrainRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.KnowledgeGrainDto"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.KnowledgeGrainDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.KnowledgeGrainDto"}}}}}},"delete":{"tags":["Memory"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/memory/grains/batch":{"post":{"tags":["Memory"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpsertKnowledgeGrainRequest"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpsertKnowledgeGrainRequest"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpsertKnowledgeGrainRequest"}}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BatchOperationResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BatchOperationResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BatchOperationResult"}}}}}}},"/api/memory/grains/batch-delete":{"post":{"tags":["Memory"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}},"text/json":{"schema":{"type":"array","items":{"type":"string"}}},"application/*+json":{"schema":{"type":"array","items":{"type":"string"}}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BatchOperationResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BatchOperationResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BatchOperationResult"}}}}}}},"/api/menus/scan":{"post":{"tags":["Menus"],"parameters":[{"name":"wait","in":"query","style":"form","schema":{"type":"boolean","default":true}},{"name":"waitSeconds","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":300}},{"name":"checks","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":3}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string","format":"binary"}},"image":{"type":"string","format":"binary"},"notes":{"type":"string"}}},"encoding":{"images":{"style":"form"},"image":{"style":"form"},"notes":{"style":"form"}}}}},"responses":{"200":{"description":"Success"}}}},"/api/menus/{id}":{"get":{"tags":["Menus"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/menus/{id}/document":{"get":{"tags":["Menus"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/menus":{"get":{"tags":["Menus"],"parameters":[{"name":"take","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":50}}],"responses":{"200":{"description":"Success"}}}},"/api/ocr/extract":{"post":{"tags":["Ocr"],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string","format":"binary"}},"image":{"type":"string","format":"binary"},"kind":{"type":"string","default":"recipe"},"notes":{"type":"string"}}},"encoding":{"images":{"style":"form"},"image":{"style":"form"},"kind":{"style":"form"},"notes":{"style":"form"}}}}},"responses":{"200":{"description":"Success"}}}},"/api/office/templates":{"get":{"tags":["Office"],"responses":{"200":{"description":"Success"}}}},"/api/office/{conversationId}/initialize":{"post":{"tags":["Office"],"parameters":[{"name":"conversationId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.OfficeController.InitializeOfficeRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.OfficeController.InitializeOfficeRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.OfficeController.InitializeOfficeRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/office/{conversationId}/messages":{"post":{"tags":["Office"],"parameters":[{"name":"conversationId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.OfficeController.OfficeMessageRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.OfficeController.OfficeMessageRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.OfficeController.OfficeMessageRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/v1/chat/completions":{"post":{"tags":["OpenAILike"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletionsRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/ChatCompletionsRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ChatCompletionsRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/v1/completions":{"post":{"tags":["OpenAILike"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextCompletionsRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/TextCompletionsRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/TextCompletionsRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/v1/embeddings":{"post":{"tags":["OpenAILike"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmbeddingsRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/EmbeddingsRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/EmbeddingsRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/openai-like/logs":{"get":{"tags":["OpenAILike"],"responses":{"200":{"description":"Success"}}}},"/api/orchestration/runs":{"post":{"tags":["Orchestration"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateOrchestrationRunRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateOrchestrationRunRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateOrchestrationRunRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.OrchestrationRunRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.OrchestrationRunRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.OrchestrationRunRecord"}}}}}},"get":{"tags":["Orchestration"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"workspaceId","in":"query","style":"form","schema":{"type":"string"}},{"name":"fromUtc","in":"query","style":"form","schema":{"type":"string","format":"date-time"}},{"name":"toUtc","in":"query","style":"form","schema":{"type":"string","format":"date-time"}},{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":200}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.OrchestrationRunRecord"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.OrchestrationRunRecord"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.OrchestrationRunRecord"}}}}}}}},"/api/orchestration/runs/{runId}":{"get":{"tags":["Orchestration"],"parameters":[{"name":"runId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.OrchestrationRunRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.OrchestrationRunRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.OrchestrationRunRecord"}}}}}}},"/api/orchestration/runs/{runId}/resume":{"post":{"tags":["Orchestration"],"parameters":[{"name":"runId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ResumeOrchestrationRunRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ResumeOrchestrationRunRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ResumeOrchestrationRunRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.OrchestrationRunRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.OrchestrationRunRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.OrchestrationRunRecord"}}}}}}},"/api/orchestration/runs/{runId}/cancel":{"post":{"tags":["Orchestration"],"parameters":[{"name":"runId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CancelOrchestrationRunRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CancelOrchestrationRunRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CancelOrchestrationRunRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.OrchestrationRunRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.OrchestrationRunRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.OrchestrationRunRecord"}}}}}}},"/api/orchestration/runs/{runId}/events":{"post":{"tags":["Orchestration"],"parameters":[{"name":"runId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.AppendRunEventRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.AppendRunEventRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.AppendRunEventRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.AppendRunEventResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.AppendRunEventResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.AppendRunEventResult"}}}}}},"get":{"tags":["Orchestration"],"parameters":[{"name":"runId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.RunEventRecord"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.RunEventRecord"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.RunEventRecord"}}}}}}}},"/api/organizations/{organizationId}/storage/settings":{"get":{"tags":["OrganizationStorage"],"parameters":[{"name":"organizationId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.OrganizationStorageSettingsResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.OrganizationStorageSettingsResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.OrganizationStorageSettingsResponse"}}}}}},"put":{"tags":["OrganizationStorage"],"parameters":[{"name":"organizationId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateOrganizationStorageRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateOrganizationStorageRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateOrganizationStorageRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.OrganizationStorageSettingsResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.OrganizationStorageSettingsResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.OrganizationStorageSettingsResponse"}}}}}}},"/api/organizations/{organizationId}/storage/quota":{"get":{"tags":["OrganizationStorage"],"parameters":[{"name":"organizationId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StorageQuotaResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StorageQuotaResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StorageQuotaResponse"}}}}}}},"/api/organizations/{organizationId}/storage/features":{"get":{"tags":["OrganizationStorage"],"parameters":[{"name":"organizationId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.FeatureStorageConfigResponse"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.FeatureStorageConfigResponse"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.FeatureStorageConfigResponse"}}}}}}}},"/api/organizations/{organizationId}/storage/features/{featureCode}":{"get":{"tags":["OrganizationStorage"],"parameters":[{"name":"organizationId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"featureCode","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FeatureStorageConfigResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FeatureStorageConfigResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FeatureStorageConfigResponse"}}}}}},"put":{"tags":["OrganizationStorage"],"parameters":[{"name":"organizationId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"featureCode","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateFeatureStorageRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateFeatureStorageRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateFeatureStorageRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FeatureStorageConfigResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FeatureStorageConfigResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FeatureStorageConfigResponse"}}}}}},"delete":{"tags":["OrganizationStorage"],"parameters":[{"name":"organizationId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"featureCode","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/organizations/{organizationId}/storage/features/{featureCode}/upload":{"post":{"tags":["OrganizationStorage"],"parameters":[{"name":"organizationId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"featureCode","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"path","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}}},"encoding":{"file":{"style":"form"}}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FeatureUploadResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FeatureUploadResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FeatureUploadResponse"}}}}}}},"/api/organizations/{organizationId}/storage/features/{featureCode}/browse":{"get":{"tags":["OrganizationStorage"],"parameters":[{"name":"organizationId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"featureCode","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"path","in":"query","style":"form","schema":{"type":"string"}},{"name":"skip","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":0}},{"name":"take","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":100}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FeatureBrowseResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FeatureBrowseResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FeatureBrowseResponse"}}}}}}},"/api/organizations/{organizationId}/storage/available-features":{"get":{"tags":["OrganizationStorage"],"parameters":[{"name":"organizationId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.FeatureCodeInfo"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.FeatureCodeInfo"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.FeatureCodeInfo"}}}}}}}},"/api/organizations/{organizationId}/storage/available-vector-providers":{"get":{"tags":["OrganizationStorage"],"parameters":[{"name":"organizationId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.StorageProviderInfo"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.StorageProviderInfo"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.StorageProviderInfo"}}}}}}}},"/api/organizations/{organizationId}/storage/available-providers":{"get":{"tags":["OrganizationStorage"],"parameters":[{"name":"organizationId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.StorageProviderInfo"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.StorageProviderInfo"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.StorageProviderInfo"}}}}}}}},"/api/packs/residency":{"get":{"tags":["Packs"],"responses":{"200":{"description":"Success"}}}},"/api/packs/reconcile":{"post":{"tags":["Packs"],"responses":{"200":{"description":"Success"}}}},"/api/packs/desired":{"put":{"tags":["Packs"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Packs.PackResidencyOptions.DesiredPack"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Packs.PackResidencyOptions.DesiredPack"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Packs.PackResidencyOptions.DesiredPack"}}}}},"responses":{"200":{"description":"Success"}}}},"/api/personas":{"get":{"tags":["Persona"],"responses":{"200":{"description":"Success"}}}},"/api/personas/{conversationId}/initialize":{"post":{"tags":["Persona"],"parameters":[{"name":"conversationId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PersonaController.InitializePersonaRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PersonaController.InitializePersonaRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PersonaController.InitializePersonaRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/personas/{conversationId}/messages":{"post":{"tags":["Persona"],"parameters":[{"name":"conversationId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PersonaController.PersonaMessageRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PersonaController.PersonaMessageRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PersonaController.PersonaMessageRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/builder/personas":{"get":{"tags":["PersonaBuilder"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}},{"name":"domain","in":"query","style":"form","schema":{"type":"string"}},{"name":"visibility","in":"query","style":"form","schema":{"type":"string"}},{"name":"featured","in":"query","style":"form","schema":{"type":"boolean"}},{"name":"search","in":"query","style":"form","schema":{"type":"string"}},{"name":"sortBy","in":"query","style":"form","schema":{"type":"string","default":"name"}},{"name":"descending","in":"query","style":"form","schema":{"type":"boolean","default":false}},{"name":"skip","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":0}},{"name":"take","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":50}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PersonasResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PersonasResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PersonasResponse"}}}}}},"post":{"tags":["PersonaBuilder"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreatePersonaApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreatePersonaApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreatePersonaApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.PersonaDefinition"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.PersonaDefinition"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.PersonaDefinition"}}}}}}},"/api/builder/personas/{id}":{"get":{"tags":["PersonaBuilder"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.PersonaDefinition"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.PersonaDefinition"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.PersonaDefinition"}}}}}},"put":{"tags":["PersonaBuilder"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdatePersonaApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdatePersonaApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdatePersonaApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.PersonaDefinition"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.PersonaDefinition"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.PersonaDefinition"}}}}}},"delete":{"tags":["PersonaBuilder"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"userId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success"}}}},"/api/builder/personas/slug/{slug}":{"get":{"tags":["PersonaBuilder"],"parameters":[{"name":"slug","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.PersonaDefinition"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.PersonaDefinition"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.PersonaDefinition"}}}}}}},"/api/builder/personas/{id}/export":{"get":{"tags":["PersonaBuilder"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"format","in":"query","style":"form","schema":{"type":"string","default":"json"}}],"responses":{"200":{"description":"Success"}}}},"/api/builder/personas/import":{"post":{"tags":["PersonaBuilder"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ImportPersonaRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ImportPersonaRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ImportPersonaRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.PersonaDefinition"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.PersonaDefinition"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.PersonaDefinition"}}}}}}},"/api/builder/personas/{id}/versions":{"get":{"tags":["PersonaBuilder"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.PersonaVersion"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.PersonaVersion"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.PersonaVersion"}}}}}}}},"/api/builder/personas/{id}/versions/{version}/restore":{"post":{"tags":["PersonaBuilder"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"version","in":"path","required":true,"style":"simple","schema":{"type":"integer","format":"int32"}},{"name":"userId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success"}}}},"/api/builder/personas/{id}/submit-approval":{"post":{"tags":["PersonaBuilder"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SubmitApprovalRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SubmitApprovalRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SubmitApprovalRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ApprovalResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ApprovalResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ApprovalResponse"}}}}}}},"/api/builder/personas/{id}/publish":{"post":{"tags":["PersonaBuilder"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PublishPersonaRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PublishPersonaRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PublishPersonaRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/builder/personas/{id}/identity-references":{"get":{"tags":["PersonaBuilder"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.IdentityReferencesResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.IdentityReferencesResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.IdentityReferencesResponse"}}}}}},"post":{"tags":["PersonaBuilder"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateIdentityReferenceApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateIdentityReferenceApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateIdentityReferenceApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.PersonaIdentityReference"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.PersonaIdentityReference"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.PersonaIdentityReference"}}}}}}},"/api/builder/personas/{id}/identity-references/{refId}":{"put":{"tags":["PersonaBuilder"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"refId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateIdentityReferenceApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateIdentityReferenceApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateIdentityReferenceApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Services.PersonaIdentityReference"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.PersonaIdentityReference"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Services.PersonaIdentityReference"}}}}}},"delete":{"tags":["PersonaBuilder"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"refId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success"}}}},"/api/builder/catalogs":{"get":{"tags":["PersonaBuilder"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CatalogsResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CatalogsResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CatalogsResponse"}}}}}},"post":{"tags":["PersonaBuilder"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateCatalogRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateCatalogRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateCatalogRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ModelCatalogActor.ModelCatalog"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ModelCatalogActor.ModelCatalog"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ModelCatalogActor.ModelCatalog"}}}}}}},"/api/builder/catalogs/{catalogId}/models":{"post":{"tags":["PersonaBuilder"],"parameters":[{"name":"catalogId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AddModelRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AddModelRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AddModelRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/builder/models/custom":{"get":{"tags":["PersonaBuilder"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CustomModelsResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CustomModelsResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CustomModelsResponse"}}}}}},"post":{"tags":["PersonaBuilder"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateCustomModelApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateCustomModelApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateCustomModelApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ModelCatalogActor.CreateCustomModelResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ModelCatalogActor.CreateCustomModelResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ModelCatalogActor.CreateCustomModelResponse"}}}}}}},"/api/builder/models/custom/{id}/build":{"post":{"tags":["PersonaBuilder"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ModelCatalogActor.BuildModelResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ModelCatalogActor.BuildModelResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ModelCatalogActor.BuildModelResponse"}}}}}}},"/api/builder/models/custom/status/{modelName}":{"get":{"tags":["PersonaBuilder"],"parameters":[{"name":"modelName","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ModelCatalogActor.ModelBuildStatus"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ModelCatalogActor.ModelBuildStatus"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.ModelCatalogActor.ModelBuildStatus"}}}}}}},"/api/builder/models/generate-modelfile":{"post":{"tags":["PersonaBuilder"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GenerateModelfileApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GenerateModelfileApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GenerateModelfileApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GenerateModelfileResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GenerateModelfileResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GenerateModelfileResponse"}}}}}}},"/api/builder/models/custom/{id}":{"delete":{"tags":["PersonaBuilder"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"deleteFromOllama","in":"query","style":"form","schema":{"type":"boolean","default":true}}],"responses":{"200":{"description":"Success"}}}},"/api/platform":{"get":{"tags":["Platform"],"responses":{"200":{"description":"Success"}}}},"/api/plugins":{"get":{"tags":["Plugins"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}},{"name":"status","in":"query","style":"form","schema":{"type":"string"}},{"name":"type","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PluginsResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PluginsResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PluginsResponse"}}}}}}},"/api/plugins/{id}":{"get":{"tags":["Plugins"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PluginDetailResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PluginDetailResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PluginDetailResponse"}}}}}},"delete":{"tags":["Plugins"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success"}}}},"/api/plugins/install":{"post":{"tags":["Plugins"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InstallPluginApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InstallPluginApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InstallPluginApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InstallPluginApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InstallPluginApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InstallPluginApiResponse"}}}}}}},"/api/plugins/{id}/enable":{"post":{"tags":["Plugins"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success"}}}},"/api/plugins/{id}/disable":{"post":{"tags":["Plugins"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success"}}}},"/api/plugins/tools":{"get":{"tags":["Plugins"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ChatToolsResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ChatToolsResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ChatToolsResponse"}}}}}}},"/api/plugins/{id}/functions":{"post":{"tags":["Plugins"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RegisterFunctionApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RegisterFunctionApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RegisterFunctionApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RegisterFunctionApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RegisterFunctionApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RegisterFunctionApiResponse"}}}}}}},"/api/plugins/{id}/sandbox":{"put":{"tags":["Plugins"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateSandboxApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateSandboxApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateSandboxApiRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/plugins/{id}/permissions":{"post":{"tags":["Plugins"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GrantPermissionsApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GrantPermissionsApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GrantPermissionsApiRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/pipelines":{"get":{"tags":["Plugins"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PipelinesResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PipelinesResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PipelinesResponse"}}}}}},"post":{"tags":["Plugins"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreatePipelineApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreatePipelineApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreatePipelineApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.PipelineDefinition"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.PipelineDefinition"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.PipelineDefinition"}}}}}}},"/api/pipelines/{id}":{"get":{"tags":["Plugins"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.PipelineDefinition"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.PipelineDefinition"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.PipelineDefinition"}}}}}},"put":{"tags":["Plugins"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdatePipelineApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdatePipelineApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdatePipelineApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.PipelineDefinition"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.PipelineDefinition"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.PipelineDefinition"}}}}}},"delete":{"tags":["Plugins"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success"}}}},"/api/pipelines/{id}/execute":{"post":{"tags":["Plugins"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ExecutePipelineApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ExecutePipelineApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ExecutePipelineApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ExecutePipelineApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ExecutePipelineApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ExecutePipelineApiResponse"}}}}}}},"/api/pipelines/executions/{executionId}":{"get":{"tags":["Plugins"],"parameters":[{"name":"executionId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.PipelineExecution"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.PipelineExecution"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.PipelineExecution"}}}}}}},"/api/pipelines/executions/{executionId}/cancel":{"post":{"tags":["Plugins"],"parameters":[{"name":"executionId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success"}}}},"/api/v1/projects/workspace/overview":{"get":{"tags":["ProjectManager"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectWorkspaceOverviewResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectWorkspaceOverviewResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectWorkspaceOverviewResponse"}}}}}}},"/api/v1/projects/workspace/{projectId}":{"get":{"tags":["ProjectManager"],"parameters":[{"name":"projectId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"statusFormat","in":"query","style":"form","schema":{"type":"string"}},{"name":"includeArchived","in":"query","style":"form","schema":{"type":"boolean","default":true}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectWorkspaceDetailResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectWorkspaceDetailResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectWorkspaceDetailResponse"}}}}}}},"/api/v1/projects/{projectId}/questionnaire/template":{"get":{"tags":["ProjectManager"],"parameters":[{"name":"projectId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.ProjectQuestionnaireTemplateResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.ProjectQuestionnaireTemplateResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.ProjectQuestionnaireTemplateResponse"}}}}}}},"/api/v1/projects/{projectId}/questionnaire":{"get":{"tags":["ProjectManager"],"parameters":[{"name":"projectId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"refreshFeedback","in":"query","style":"form","schema":{"type":"boolean","default":false}},{"name":"persistFeedback","in":"query","style":"form","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.ProjectQuestionnaireStateResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.ProjectQuestionnaireStateResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.ProjectQuestionnaireStateResponse"}}}}}},"put":{"tags":["ProjectManager"],"parameters":[{"name":"projectId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateProjectQuestionnaireRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateProjectQuestionnaireRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateProjectQuestionnaireRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.ProjectQuestionnaireStateResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.ProjectQuestionnaireStateResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.ProjectQuestionnaireStateResponse"}}}}}}},"/api/v1/projects/{projectId}/feedback":{"get":{"tags":["ProjectManager"],"parameters":[{"name":"projectId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"persistHistory","in":"query","style":"form","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.ProjectContinuousFeedbackResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.ProjectContinuousFeedbackResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.ProjectContinuousFeedbackResponse"}}}}}}},"/api/v1/projects/{projectId}/tasks":{"get":{"tags":["ProjectManager"],"parameters":[{"name":"projectId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"includeArchived","in":"query","style":"form","schema":{"type":"boolean","default":false}},{"name":"statusFormat","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectTaskResponse"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectTaskResponse"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectTaskResponse"}}}}}}},"post":{"tags":["ProjectManager"],"parameters":[{"name":"projectId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"statusFormat","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateProjectTaskRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateProjectTaskRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateProjectTaskRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectTaskResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectTaskResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectTaskResponse"}}}}}}},"/api/v1/projects/{projectId}/workflows":{"get":{"tags":["ProjectManager"],"parameters":[{"name":"projectId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectWorkflowBindingResponse"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectWorkflowBindingResponse"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectWorkflowBindingResponse"}}}}}}},"post":{"tags":["ProjectManager"],"parameters":[{"name":"projectId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateProjectWorkflowBindingRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateProjectWorkflowBindingRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateProjectWorkflowBindingRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectWorkflowBindingResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectWorkflowBindingResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectWorkflowBindingResponse"}}}}}}},"/api/v1/projects/{projectId}/workflows/{bindingId}":{"patch":{"tags":["ProjectManager"],"parameters":[{"name":"projectId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"bindingId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateProjectWorkflowBindingRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateProjectWorkflowBindingRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateProjectWorkflowBindingRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectWorkflowBindingResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectWorkflowBindingResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectWorkflowBindingResponse"}}}}}}},"/api/v1/projects/{projectId}/workflows/{bindingId}/run":{"post":{"tags":["ProjectManager"],"parameters":[{"name":"projectId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"bindingId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RunProjectWorkflowBindingRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RunProjectWorkflowBindingRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RunProjectWorkflowBindingRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectWorkflowRunResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectWorkflowRunResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectWorkflowRunResponse"}}}}}}},"/api/v1/projects/{projectId}/tasks/archive":{"post":{"tags":["ProjectManager"],"parameters":[{"name":"projectId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ArchiveTasksRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ArchiveTasksRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ArchiveTasksRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/projects/tasks/{taskId}":{"get":{"tags":["ProjectManager"],"parameters":[{"name":"taskId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectTaskResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectTaskResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectTaskResponse"}}}}}}},"/api/v1/projects/tasks/{taskId}/metadata":{"patch":{"tags":["ProjectManager"],"parameters":[{"name":"taskId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateTaskMetadataRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateTaskMetadataRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateTaskMetadataRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectTaskResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectTaskResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectTaskResponse"}}}}}}},"/api/v1/projects/tasks/{taskId}/status":{"post":{"tags":["ProjectManager"],"parameters":[{"name":"taskId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateTaskStatusRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateTaskStatusRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateTaskStatusRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/projects/tasks/{taskId}/workspace":{"post":{"tags":["ProjectManager"],"parameters":[{"name":"taskId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PrepareTaskWorkspaceRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PrepareTaskWorkspaceRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PrepareTaskWorkspaceRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TaskWorkspaceResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TaskWorkspaceResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TaskWorkspaceResponse"}}}}}}},"/api/v1/projects/tasks/{taskId}/pull-request":{"post":{"tags":["ProjectManager"],"parameters":[{"name":"taskId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PublishTaskPullRequestRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PublishTaskPullRequestRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PublishTaskPullRequestRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TaskPullRequestResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TaskPullRequestResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TaskPullRequestResponse"}}}}}}},"/api/v1/projects/{projectId}/tasks/generate-from-study":{"post":{"tags":["ProjectManager"],"parameters":[{"name":"projectId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GenerateBacklogFromStudyRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GenerateBacklogFromStudyRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GenerateBacklogFromStudyRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BacklogGenerationResultResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BacklogGenerationResultResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BacklogGenerationResultResponse"}}}}}}},"/api/v1/projects/{projectId}/tasks/generate-from-repo-study":{"post":{"tags":["ProjectManager"],"parameters":[{"name":"projectId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GenerateBacklogFromRepoStudyRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GenerateBacklogFromRepoStudyRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GenerateBacklogFromRepoStudyRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BacklogGenerationResultResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BacklogGenerationResultResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BacklogGenerationResultResponse"}}}}}}},"/api/v1/projects/deliverables":{"post":{"tags":["ProjectManager"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateDeliverableRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateDeliverableRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateDeliverableRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectDeliverableResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectDeliverableResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectDeliverableResponse"}}}}}}},"/api/v1/projects/deliverables/{deliverableId}":{"put":{"tags":["ProjectManager"],"parameters":[{"name":"deliverableId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateDeliverableRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateDeliverableRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpdateDeliverableRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectDeliverableResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectDeliverableResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectDeliverableResponse"}}}}}}},"/api/v1/projects/time-entries":{"post":{"tags":["ProjectManager"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.LogTimeEntryRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.LogTimeEntryRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.LogTimeEntryRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectTimeEntryResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectTimeEntryResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectTimeEntryResponse"}}}}}}},"/api/v1/pm-smoke/repo-study/preview":{"post":{"tags":["ProjectManagerSmoke"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RepoStudyPreviewHttpRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RepoStudyPreviewHttpRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RepoStudyPreviewHttpRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.BacklogPreviewResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.BacklogPreviewResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.BacklogPreviewResult"}}}}}}},"/api/project/study":{"post":{"tags":["ProjectWorkflow"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudyRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudyRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudyRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/project/steering/review-state":{"post":{"tags":["ProjectWorkflow"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SteeringReviewRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SteeringReviewRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SteeringReviewRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/project/plan":{"post":{"tags":["ProjectWorkflow"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PlanRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PlanRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.PlanRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/project/pddl":{"get":{"tags":["ProjectWorkflow"],"responses":{"200":{"description":"Success"}}}},"/api/project/pddl/{featureName}":{"get":{"tags":["ProjectWorkflow"],"parameters":[{"name":"featureName","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/project/tasks/next":{"get":{"tags":["ProjectWorkflow"],"parameters":[{"name":"featureName","in":"query","style":"form","schema":{"type":"string"}},{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":5}}],"responses":{"200":{"description":"Success"}}}},"/api/providers":{"get":{"tags":["ProviderRegistry"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ProviderRegistryListResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ProviderRegistryListResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ProviderRegistryListResponse"}}}}}},"post":{"tags":["ProviderRegistry"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ProviderRegistryUpsertRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ProviderRegistryUpsertRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ProviderRegistryUpsertRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ProviderRegistryItem"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ProviderRegistryItem"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ProviderRegistryItem"}}}}}}},"/api/providers/{providerId}":{"delete":{"tags":["ProviderRegistry"],"parameters":[{"name":"providerId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"scope","in":"query","style":"form","schema":{"type":"string","default":"org"}}],"responses":{"200":{"description":"Success"}}}},"/api/provider-scorecards":{"get":{"tags":["ProviderScorecard"],"responses":{"200":{"description":"Success"}}}},"/api/provider-scorecards/{providerId}":{"get":{"tags":["ProviderScorecard"],"parameters":[{"name":"providerId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/provider-scorecards/best-provider":{"get":{"tags":["ProviderScorecard"],"parameters":[{"name":"domain","in":"query","style":"form","schema":{"type":"string"}},{"name":"providers","in":"query","style":"form","schema":{"type":"string"}},{"name":"minAccuracy","in":"query","style":"form","schema":{"type":"number","format":"double","default":0}}],"responses":{"200":{"description":"Success"}}}},"/api/provider-scorecards/feedback/evaluation":{"post":{"tags":["ProviderScorecard"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.EvaluationFeedbackRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.EvaluationFeedbackRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.EvaluationFeedbackRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/provider-scorecards/domains":{"get":{"tags":["ProviderScorecard"],"responses":{"200":{"description":"Success"}}}},"/api/provider-scorecards/status":{"get":{"tags":["ProviderScorecard"],"responses":{"200":{"description":"Success"}}}},"/api/rag/documents":{"post":{"tags":["Rag"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateRagDocumentRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateRagDocumentRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateRagDocumentRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagDocumentResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagDocumentResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagDocumentResponse"}}}}}},"get":{"tags":["Rag"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagDocumentResponse"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagDocumentResponse"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagDocumentResponse"}}}}}}}},"/api/rag/upload":{"post":{"tags":["Rag"],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"File":{"type":"string","format":"binary"},"OrganizationId":{"type":"string"},"OwnerId":{"type":"string"},"SourceType":{"type":"string"},"Metadata":{"type":"string"}}},"encoding":{"File":{"style":"form"},"OrganizationId":{"style":"form"},"OwnerId":{"style":"form"},"SourceType":{"style":"form"},"Metadata":{"style":"form"}}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagDocumentResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagDocumentResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagDocumentResponse"}}}}}}},"/api/rag/documents/{documentId}":{"get":{"tags":["Rag"],"parameters":[{"name":"documentId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagDocumentResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagDocumentResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagDocumentResponse"}}}}}},"delete":{"tags":["Rag"],"parameters":[{"name":"documentId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/rag/documents/{documentId}/chunks":{"get":{"tags":["Rag"],"parameters":[{"name":"documentId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagChunkResponse"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagChunkResponse"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagChunkResponse"}}}}}}}},"/api/rag/documents/{documentId}/download":{"get":{"tags":["Rag"],"parameters":[{"name":"documentId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success"}}}},"/api/rag/search":{"post":{"tags":["Rag"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagSearchRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagSearchRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagSearchRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagChunkResponse"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagChunkResponse"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagChunkResponse"}}}}}}}},"/api/rag/indexing/jobs":{"get":{"tags":["Rag"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagIndexingJobResponse"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagIndexingJobResponse"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagIndexingJobResponse"}}}}}}}},"/api/rag/indexing/queue":{"post":{"tags":["Rag"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.QueueRagDocumentsRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.QueueRagDocumentsRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.QueueRagDocumentsRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.QueueRagDocumentsResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.QueueRagDocumentsResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.QueueRagDocumentsResponse"}}}}}}},"/api/rag/indexing/pause":{"post":{"tags":["Rag"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagIndexingStateResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagIndexingStateResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagIndexingStateResponse"}}}}}}},"/api/rag/indexing/resume":{"post":{"tags":["Rag"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagIndexingStateResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagIndexingStateResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagIndexingStateResponse"}}}}}}},"/api/rag/indexing/state":{"get":{"tags":["Rag"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagIndexingStateResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagIndexingStateResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RagIndexingStateResponse"}}}}}}},"/api/ralph/loop/start":{"post":{"tags":["RalphLoop"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StartRalphLoopRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StartRalphLoopRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StartRalphLoopRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/ralph/loop/summary":{"get":{"tags":["RalphLoop"],"responses":{"200":{"description":"Success"}}}},"/api/ralph/loop/interrupt":{"post":{"tags":["RalphLoop"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InterruptRalphLoopRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InterruptRalphLoopRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.InterruptRalphLoopRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/receipts/scan":{"post":{"tags":["Receipts"],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string","format":"binary"}},"image":{"type":"string","format":"binary"},"notes":{"type":"string"}}},"encoding":{"images":{"style":"form"},"image":{"style":"form"},"notes":{"style":"form"}}}}},"responses":{"200":{"description":"Success"}}}},"/api/receipts/{id}":{"get":{"tags":["Receipts"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/receipts/interpret":{"post":{"tags":["Receipts"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Receipts.InterpretLineRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Receipts.InterpretLineRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Receipts.InterpretLineRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/receipts":{"get":{"tags":["Receipts"],"parameters":[{"name":"take","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":50}}],"responses":{"200":{"description":"Success"}}}},"/api/recipe-expert/status":{"get":{"tags":["RecipeExpert"],"responses":{"200":{"description":"Success"}}}},"/api/recipe-expert/questions":{"post":{"tags":["RecipeExpert"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RecipeQuestionApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RecipeQuestionApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RecipeQuestionApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Domain.Messages.RecipeAnswer"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Domain.Messages.RecipeAnswer"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Domain.Messages.RecipeAnswer"}}}}}}},"/api/recipe-expert/ingredients/map":{"post":{"tags":["RecipeExpert"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.IngredientAliasMapApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.IngredientAliasMapApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.IngredientAliasMapApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Domain.Messages.IngredientMappingResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Domain.Messages.IngredientMappingResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Domain.Messages.IngredientMappingResult"}}}}}}},"/api/recipe-expert/ingredients/aliases/map":{"post":{"tags":["RecipeExpert"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.IngredientAliasBatchMapApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.IngredientAliasBatchMapApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.IngredientAliasBatchMapApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.IngredientAliasBatchMapResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.IngredientAliasBatchMapResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.IngredientAliasBatchMapResponse"}}}}}}},"/api/recipe-expert/uom/convert":{"post":{"tags":["RecipeExpert"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UomConversionApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UomConversionApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.UomConversionApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Domain.Messages.UomConversionResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Domain.Messages.UomConversionResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Domain.Messages.UomConversionResult"}}}}}}},"/api/v1/services":{"post":{"tags":["RegistryBackbone"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateServiceRegistryRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateServiceRegistryRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateServiceRegistryRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ServiceRegistryRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ServiceRegistryRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ServiceRegistryRecord"}}}}}},"get":{"tags":["RegistryBackbone"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.ServiceRegistryRecord"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.ServiceRegistryRecord"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.ServiceRegistryRecord"}}}}}}}},"/api/v1/services/{serviceId}":{"get":{"tags":["RegistryBackbone"],"parameters":[{"name":"serviceId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ServiceRegistryRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ServiceRegistryRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ServiceRegistryRecord"}}}}}}},"/api/v1/mempacks":{"post":{"tags":["RegistryBackbone"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateMempackVersionRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateMempackVersionRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateMempackVersionRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.MempackVersionRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.MempackVersionRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.MempackVersionRecord"}}}}}}},"/api/v1/mempacks/{mempackVersionId}":{"get":{"tags":["RegistryBackbone"],"parameters":[{"name":"mempackVersionId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.MempackVersionRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.MempackVersionRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.MempackVersionRecord"}}}}}}},"/api/v1/services/{serviceId}/mempacks":{"get":{"tags":["RegistryBackbone"],"parameters":[{"name":"serviceId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.MempackVersionRecord"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.MempackVersionRecord"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.MempackVersionRecord"}}}}}}}},"/api/v1/services/{serviceId}/mempacks/{mempackVersionId}/activate":{"post":{"tags":["RegistryBackbone"],"parameters":[{"name":"serviceId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"mempackVersionId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.MempackVersionRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.MempackVersionRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.MempackVersionRecord"}}}}}}},"/api/v1/task-types":{"post":{"tags":["RegistryBackbone"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateTaskTypeRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateTaskTypeRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateTaskTypeRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TaskTypeRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TaskTypeRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TaskTypeRecord"}}}}}},"get":{"tags":["RegistryBackbone"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.TaskTypeRecord"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.TaskTypeRecord"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.TaskTypeRecord"}}}}}}}},"/api/v1/task-types/{taskTypeId}":{"get":{"tags":["RegistryBackbone"],"parameters":[{"name":"taskTypeId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TaskTypeRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TaskTypeRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TaskTypeRecord"}}}}}}},"/api/v1/task-recipes":{"post":{"tags":["RegistryBackbone"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateTaskRecipeRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateTaskRecipeRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateTaskRecipeRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TaskRecipeRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TaskRecipeRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TaskRecipeRecord"}}}}}},"get":{"tags":["RegistryBackbone"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"taskTypeId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.TaskRecipeRecord"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.TaskRecipeRecord"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.TaskRecipeRecord"}}}}}}}},"/api/v1/task-recipes/{taskRecipeId}":{"get":{"tags":["RegistryBackbone"],"parameters":[{"name":"taskRecipeId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TaskRecipeRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TaskRecipeRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TaskRecipeRecord"}}}}}}},"/api/v1/agent-sets":{"post":{"tags":["RegistryBackbone"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateAgentSetRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateAgentSetRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateAgentSetRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.AgentSetRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.AgentSetRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.AgentSetRecord"}}}}}},"get":{"tags":["RegistryBackbone"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"serviceId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.AgentSetRecord"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.AgentSetRecord"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.AgentSetRecord"}}}}}}}},"/api/v1/agent-sets/{agentSetId}":{"get":{"tags":["RegistryBackbone"],"parameters":[{"name":"agentSetId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.AgentSetRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.AgentSetRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.AgentSetRecord"}}}}}}},"/api/v1/task-registrations":{"post":{"tags":["RegistryBackbone"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateTaskRegistrationRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateTaskRegistrationRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateTaskRegistrationRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TaskRegistrationRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TaskRegistrationRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TaskRegistrationRecord"}}}}}},"get":{"tags":["RegistryBackbone"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"serviceId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.TaskRegistrationRecord"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.TaskRegistrationRecord"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.TaskRegistrationRecord"}}}}}}}},"/api/v1/task-registrations/{taskRegistrationId}":{"get":{"tags":["RegistryBackbone"],"parameters":[{"name":"taskRegistrationId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TaskRegistrationRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TaskRegistrationRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.TaskRegistrationRecord"}}}}}}},"/api/v1/policy-profiles":{"post":{"tags":["RegistryBackbone"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreatePolicyProfileRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreatePolicyProfileRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreatePolicyProfileRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.PolicyProfileRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.PolicyProfileRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.PolicyProfileRecord"}}}}}},"get":{"tags":["RegistryBackbone"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.PolicyProfileRecord"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.PolicyProfileRecord"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.PolicyProfileRecord"}}}}}}}},"/api/v1/policy-profiles/{policyProfileId}":{"get":{"tags":["RegistryBackbone"],"parameters":[{"name":"policyProfileId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.PolicyProfileRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.PolicyProfileRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.PolicyProfileRecord"}}}}}}},"/api/v1/runtime-profiles":{"post":{"tags":["RegistryBackbone"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateRuntimeProfileRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateRuntimeProfileRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.CreateRuntimeProfileRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.RuntimeProfileRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.RuntimeProfileRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.RuntimeProfileRecord"}}}}}},"get":{"tags":["RegistryBackbone"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.RuntimeProfileRecord"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.RuntimeProfileRecord"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.RuntimeProfileRecord"}}}}}}}},"/api/v1/runtime-profiles/{runtimeProfileId}":{"get":{"tags":["RegistryBackbone"],"parameters":[{"name":"runtimeProfileId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.RuntimeProfileRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.RuntimeProfileRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.RuntimeProfileRecord"}}}}}}},"/api/v1/requirements/manifest":{"get":{"tags":["Requirement"],"parameters":[{"name":"workspaceRoot","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/v1/requirements":{"get":{"tags":["Requirement"],"parameters":[{"name":"workspaceRoot","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/v1/requirements/form":{"post":{"tags":["Requirement"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RequirementController.FormRequirementsRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RequirementController.FormRequirementsRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RequirementController.FormRequirementsRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/requirements/rca/investigate":{"post":{"tags":["Requirement"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.RcaInvestigateRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.RcaInvestigateRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.RcaInvestigateRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/requirements/rca/draft-update":{"post":{"tags":["Requirement"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.RcaDraftUpdateRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.RcaDraftUpdateRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.RcaDraftUpdateRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/requirements/rca/supersede":{"post":{"tags":["Requirement"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.RcaSupersedeRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.RcaSupersedeRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.RcaSupersedeRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/requirements/rca/bind-fix":{"post":{"tags":["Requirement"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.RcaBindFixRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.RcaBindFixRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.RcaBindFixRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/requirements/overrides/pending":{"get":{"tags":["Requirement"],"parameters":[{"name":"workspaceRoot","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/v1/requirements/overrides/{overrideId}/reviewed":{"post":{"tags":["Requirement"],"parameters":[{"name":"overrideId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RequirementController.MarkReviewedRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RequirementController.MarkReviewedRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RequirementController.MarkReviewedRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/requirements/overrides/{overrideId}/applied":{"post":{"tags":["Requirement"],"parameters":[{"name":"overrideId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RequirementController.MarkAppliedRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RequirementController.MarkAppliedRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RequirementController.MarkAppliedRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/requirements/codegen/register":{"post":{"tags":["Requirement"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RequirementController.RegisterCodegenRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RequirementController.RegisterCodegenRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RequirementController.RegisterCodegenRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/requirements/sync":{"post":{"tags":["Requirement"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RequirementController.SyncRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RequirementController.SyncRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RequirementController.SyncRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/v1/requirements/summary":{"get":{"tags":["Requirement"],"parameters":[{"name":"workspaceRoot","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/v1/requirements/pending-actions":{"get":{"tags":["Requirement"],"parameters":[{"name":"workspaceRoot","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/v1/requirements/schema/prisma-to-gql":{"post":{"tags":["Requirement"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RequirementController.PrismaToGqlRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RequirementController.PrismaToGqlRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RequirementController.PrismaToGqlRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/runcrate/inference/status":{"get":{"tags":["RuncrateInference"],"responses":{"200":{"description":"Success"}}}},"/api/runcrate/inference/usage":{"post":{"tags":["RuncrateInference"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RuncrateInferenceController.RecordUsageRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RuncrateInferenceController.RecordUsageRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RuncrateInferenceController.RecordUsageRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/runcrate/inference/cement":{"post":{"tags":["RuncrateInference"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RuncrateInferenceController.CementRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RuncrateInferenceController.CementRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RuncrateInferenceController.CementRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/runcrate/inference/revert":{"post":{"tags":["RuncrateInference"],"responses":{"200":{"description":"Success"}}}},"/api/schedules":{"get":{"tags":["Schedules"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SchedulesController.ListSchedulesResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SchedulesController.ListSchedulesResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SchedulesController.ListSchedulesResponse"}}}}}},"post":{"tags":["Schedules"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SchedulesController.UpsertScheduleRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SchedulesController.UpsertScheduleRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SchedulesController.UpsertScheduleRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Scheduling.ScheduledJobDefinition"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Scheduling.ScheduledJobDefinition"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Scheduling.ScheduledJobDefinition"}}}}}}},"/api/schedules/{id}":{"get":{"tags":["Schedules"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Scheduling.ScheduledJobDefinition"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Scheduling.ScheduledJobDefinition"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Scheduling.ScheduledJobDefinition"}}}}}},"delete":{"tags":["Schedules"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/schedules/{id}/pause":{"post":{"tags":["Schedules"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/schedules/{id}/resume":{"post":{"tags":["Schedules"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/schedules/{id}/trigger":{"post":{"tags":["Schedules"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Scheduling.ScheduledJobRunRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Scheduling.ScheduledJobRunRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Scheduling.ScheduledJobRunRecord"}}}}}}},"/api/schedules/{id}/runs":{"get":{"tags":["Schedules"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":50}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Scheduling.ScheduledJobRunRecord"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Scheduling.ScheduledJobRunRecord"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Scheduling.ScheduledJobRunRecord"}}}}}}}},"/api/schema-templates/generate":{"post":{"tags":["SchemaTemplate"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SchemaTemplateRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SchemaTemplateRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SchemaTemplateRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/schema-templates/latest":{"get":{"tags":["SchemaTemplate"],"parameters":[{"name":"alias","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/scim/v2/ServiceProviderConfig":{"get":{"tags":["Scim"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimServiceProviderConfig"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimServiceProviderConfig"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimServiceProviderConfig"}}}}}}},"/scim/v2/ResourceTypes":{"get":{"tags":["Scim"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimListResponse`1[[Winnow.API.Controllers.ScimResourceType, Winnow.API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimListResponse`1[[Winnow.API.Controllers.ScimResourceType, Winnow.API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimListResponse`1[[Winnow.API.Controllers.ScimResourceType, Winnow.API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}}}}},"/scim/v2/Schemas":{"get":{"tags":["Scim"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimListResponse`1[[Winnow.API.Controllers.ScimSchema, Winnow.API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimListResponse`1[[Winnow.API.Controllers.ScimSchema, Winnow.API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimListResponse`1[[Winnow.API.Controllers.ScimSchema, Winnow.API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}}}}},"/scim/v2/Schemas/{id}":{"get":{"tags":["Scim"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimSchema"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimSchema"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimSchema"}}}}}}},"/scim/v2/Users":{"get":{"tags":["Scim"],"parameters":[{"name":"filter","in":"query","style":"form","schema":{"type":"string"}},{"name":"startIndex","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":1}},{"name":"count","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":100}},{"name":"sortBy","in":"query","style":"form","schema":{"type":"string"}},{"name":"sortOrder","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimListResponse`1[[Winnow.API.Controllers.ScimUser, Winnow.API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimListResponse`1[[Winnow.API.Controllers.ScimUser, Winnow.API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimListResponse`1[[Winnow.API.Controllers.ScimUser, Winnow.API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}}}},"post":{"tags":["Scim"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimUser"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimUser"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimUser"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimUser"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimUser"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimUser"}}}}}}},"/scim/v2/Users/{id}":{"get":{"tags":["Scim"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimUser"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimUser"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimUser"}}}}}},"put":{"tags":["Scim"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimUser"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimUser"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimUser"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimUser"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimUser"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimUser"}}}}}},"patch":{"tags":["Scim"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimPatchRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimPatchRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimPatchRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimUser"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimUser"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimUser"}}}}}},"delete":{"tags":["Scim"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/scim/v2/Groups":{"get":{"tags":["Scim"],"parameters":[{"name":"filter","in":"query","style":"form","schema":{"type":"string"}},{"name":"startIndex","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":1}},{"name":"count","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":100}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimListResponse`1[[Winnow.API.Controllers.ScimGroup, Winnow.API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimListResponse`1[[Winnow.API.Controllers.ScimGroup, Winnow.API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimListResponse`1[[Winnow.API.Controllers.ScimGroup, Winnow.API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}}}},"post":{"tags":["Scim"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimGroup"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimGroup"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimGroup"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimGroup"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimGroup"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimGroup"}}}}}}},"/scim/v2/Groups/{id}":{"get":{"tags":["Scim"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimGroup"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimGroup"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimGroup"}}}}}},"put":{"tags":["Scim"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimGroup"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimGroup"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimGroup"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimGroup"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimGroup"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimGroup"}}}}}},"patch":{"tags":["Scim"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimPatchRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimPatchRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimPatchRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimGroup"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimGroup"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimGroup"}}}}}},"delete":{"tags":["Scim"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/scim/v2/Bulk":{"post":{"tags":["Scim"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimBulkRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimBulkRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimBulkRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimBulkResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimBulkResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimBulkResponse"}}}}}}},"/api/search/web":{"post":{"tags":["SearchBrowse"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.WebSearchRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.WebSearchRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.WebSearchRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.WebSearchResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.WebSearchResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.WebSearchResponse"}}}}}}},"/api/search/browse":{"post":{"tags":["SearchBrowse"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BrowseUrlRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BrowseUrlRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BrowseUrlRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BrowseUrlResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BrowseUrlResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.BrowseUrlResponse"}}}}}}},"/api/search/providers":{"get":{"tags":["SearchBrowse"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProvidersResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProvidersResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProvidersResponse"}}}}}}},"/api/search/providers/{providerName}/configure":{"post":{"tags":["SearchBrowse"],"parameters":[{"name":"providerName","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ConfigureProviderRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ConfigureProviderRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ConfigureProviderRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/search/policies/block-domain":{"post":{"tags":["SearchBrowse"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DomainPolicyRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DomainPolicyRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DomainPolicyRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/search/policies/unblock-domain":{"post":{"tags":["SearchBrowse"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DomainPolicyRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DomainPolicyRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DomainPolicyRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/search/policies/check-domain":{"get":{"tags":["SearchBrowse"],"parameters":[{"name":"domain","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DomainCheckResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DomainCheckResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DomainCheckResponse"}}}}}}},"/api/drops/{dropId}/form":{"get":{"tags":["SecretDropForm"],"parameters":[{"name":"dropId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found","content":{"text/html":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}},"410":{"description":"Client Error","content":{"text/html":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}},"post":{"tags":["SecretDropForm"],"parameters":[{"name":"dropId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success"},"400":{"description":"Bad Request","content":{"text/html":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}},"404":{"description":"Not Found","content":{"text/html":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}},"410":{"description":"Client Error","content":{"text/html":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}},"/api/drops":{"post":{"tags":["SecretDrops"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateSecretDropApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateSecretDropApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateSecretDropApiRequest"}}}},"responses":{"201":{"description":"Created","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SecretDropCreationResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SecretDropCreationResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SecretDropCreationResponse"}}}},"400":{"description":"Bad Request","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}},"503":{"description":"Server Error"}}},"get":{"tags":["SecretDrops"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"status","in":"query","style":"form","schema":{"type":"string"}},{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":100}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.SecretDropResponse"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.SecretDropResponse"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.SecretDropResponse"}}}}}}}},"/api/drops/{dropId}":{"get":{"tags":["SecretDrops"],"parameters":[{"name":"dropId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SecretDropResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SecretDropResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SecretDropResponse"}}}},"404":{"description":"Not Found","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}},"/api/drops/{dropId}/cancel":{"post":{"tags":["SecretDrops"],"parameters":[{"name":"dropId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SecretDropResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SecretDropResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SecretDropResponse"}}}},"404":{"description":"Not Found","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}},"409":{"description":"Conflict","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}},"/api/vara/sender-confirmations":{"get":{"tags":["SenderConfirmations"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"journeyId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SenderConfirmationListResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SenderConfirmationListResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SenderConfirmationListResponse"}}}}}}},"/api/vara/sender-confirmations/approve":{"post":{"tags":["SenderConfirmations"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SenderConfirmationDecisionRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SenderConfirmationDecisionRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SenderConfirmationDecisionRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SenderConfirmationDecisionResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SenderConfirmationDecisionResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SenderConfirmationDecisionResponse"}}}}}}},"/api/vara/sender-confirmations/deny":{"post":{"tags":["SenderConfirmations"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SenderConfirmationDecisionRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SenderConfirmationDecisionRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SenderConfirmationDecisionRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SenderConfirmationDecisionResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SenderConfirmationDecisionResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SenderConfirmationDecisionResponse"}}}}}}},"/api/internal/smart-router/route":{"post":{"tags":["SmartRouterBridge"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SmartRouterBridgeController.SmartRouterRouteRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SmartRouterBridgeController.SmartRouterRouteRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SmartRouterBridgeController.SmartRouterRouteRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SmartRouterBridgeController.SmartRouterRouteResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SmartRouterBridgeController.SmartRouterRouteResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SmartRouterBridgeController.SmartRouterRouteResponse"}}}}}}},"/api/Streams":{"get":{"tags":["Streams"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Streams.StreamFlowConfiguration"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Streams.StreamFlowConfiguration"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Streams.StreamFlowConfiguration"}}}}}}},"post":{"tags":["Streams"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Streams.StreamFlowConfiguration"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Streams.StreamFlowConfiguration"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.Streams.StreamFlowConfiguration"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Streams.StreamFlowConfiguration"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Streams.StreamFlowConfiguration"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Streams.StreamFlowConfiguration"}}}}}}},"/api/Streams/{id}":{"get":{"tags":["Streams"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Streams.StreamFlowConfiguration"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Streams.StreamFlowConfiguration"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Streams.StreamFlowConfiguration"}}}}}},"delete":{"tags":["Streams"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/Streams/{id}/execute":{"post":{"tags":["Streams"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ExecuteStreamRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ExecuteStreamRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ExecuteStreamRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StreamExecutionResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StreamExecutionResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StreamExecutionResponse"}}}}}}},"/api/Streams/adhoc/execute":{"post":{"tags":["Streams"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AdhocStreamRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AdhocStreamRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.AdhocStreamRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StreamExecutionResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StreamExecutionResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StreamExecutionResponse"}}}}}}},"/api/studio/workspaces":{"get":{"tags":["Studio"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Services.StudioWorkspaceSummary"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Services.StudioWorkspaceSummary"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Services.StudioWorkspaceSummary"}}}}}}},"post":{"tags":["Studio"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateWorkspaceApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateWorkspaceApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CreateWorkspaceApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.StudioWorkspaceInfo"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.StudioWorkspaceInfo"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.StudioWorkspaceInfo"}}}}}}},"/api/studio/workspaces/{workspaceId}":{"get":{"tags":["Studio"],"parameters":[{"name":"workspaceId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.StudioWorkspaceInfo"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.StudioWorkspaceInfo"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.StudioWorkspaceInfo"}}}}}},"delete":{"tags":["Studio"],"parameters":[{"name":"workspaceId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/studio/workspaces/{workspaceId}/status":{"get":{"tags":["Studio"],"parameters":[{"name":"workspaceId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.StudioWorkspaceStatus"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.StudioWorkspaceStatus"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.StudioWorkspaceStatus"}}}}}}},"/api/studio/workspaces/{workspaceId}/graph/stats":{"get":{"tags":["Studio"],"parameters":[{"name":"workspaceId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.StudioGraphStats"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.StudioGraphStats"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.StudioGraphStats"}}}}}}},"/api/studio/workspaces/{workspaceId}/graph/entities":{"get":{"tags":["Studio"],"parameters":[{"name":"workspaceId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"skip","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":0}},{"name":"take","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":100}},{"name":"type","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{}}},"application/json":{"schema":{"type":"array","items":{}}},"text/json":{"schema":{"type":"array","items":{}}}}}}}},"/api/studio/workspaces/{workspaceId}/graph/facts":{"get":{"tags":["Studio"],"parameters":[{"name":"workspaceId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"skip","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":0}},{"name":"take","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":100}},{"name":"entityId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{}}},"application/json":{"schema":{"type":"array","items":{}}},"text/json":{"schema":{"type":"array","items":{}}}}}}}},"/api/studio/workspaces/{workspaceId}/graph/sources":{"get":{"tags":["Studio"],"parameters":[{"name":"workspaceId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{}}},"application/json":{"schema":{"type":"array","items":{}}},"text/json":{"schema":{"type":"array","items":{}}}}}}}},"/api/studio/workspaces/{workspaceId}/graph/ingest":{"post":{"tags":["Studio"],"parameters":[{"name":"workspaceId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"ContentType":{"type":"string"},"ContentDisposition":{"type":"string"},"Headers":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"Length":{"type":"integer","format":"int64"},"Name":{"type":"string"},"FileName":{"type":"string"},"format":{"type":"string"},"entityColumns":{"type":"string"},"factColumns":{"type":"string"},"idColumn":{"type":"string"},"append":{"type":"boolean","default":true}}},"encoding":{"ContentType":{"style":"form"},"ContentDisposition":{"style":"form"},"Headers":{"style":"form"},"Length":{"style":"form"},"Name":{"style":"form"},"FileName":{"style":"form"},"format":{"style":"form"},"entityColumns":{"style":"form"},"factColumns":{"style":"form"},"idColumn":{"style":"form"},"append":{"style":"form"}}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.StudioSourceMeta"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.StudioSourceMeta"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.StudioSourceMeta"}}}}}}},"/api/studio/workspaces/{workspaceId}/curation/stats":{"get":{"tags":["Studio"],"parameters":[{"name":"workspaceId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/studio/workspaces/{workspaceId}/curation/run":{"post":{"tags":["Studio"],"parameters":[{"name":"workspaceId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CurationApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CurationApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CurationApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.StudioCurationStats"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.StudioCurationStats"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.StudioCurationStats"}}}}}}},"/api/studio/workspaces/{workspaceId}/curation/preview/sft":{"get":{"tags":["Studio"],"parameters":[{"name":"workspaceId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":10}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{}}},"application/json":{"schema":{"type":"array","items":{}}},"text/json":{"schema":{"type":"array","items":{}}}}}}}},"/api/studio/workspaces/{workspaceId}/curation/preview/dpo":{"get":{"tags":["Studio"],"parameters":[{"name":"workspaceId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":10}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{}}},"application/json":{"schema":{"type":"array","items":{}}},"text/json":{"schema":{"type":"array","items":{}}}}}}}},"/api/studio/workspaces/{workspaceId}/training/runs":{"get":{"tags":["Studio"],"parameters":[{"name":"workspaceId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{}}},"application/json":{"schema":{"type":"array","items":{}}},"text/json":{"schema":{"type":"array","items":{}}}}}}}},"/api/studio/workspaces/{workspaceId}/training/start":{"post":{"tags":["Studio"],"parameters":[{"name":"workspaceId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TrainApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TrainApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TrainApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.StudioTrainRunResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.StudioTrainRunResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.StudioTrainRunResult"}}}}}}},"/api/studio/workspaces/{workspaceId}/training/runs/{runId}":{"get":{"tags":["Studio"],"parameters":[{"name":"workspaceId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"runId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/studio/workspaces/{workspaceId}/training/runs/{runId}/metrics":{"get":{"tags":["Studio"],"parameters":[{"name":"workspaceId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"runId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{}}},"application/json":{"schema":{"type":"array","items":{}}},"text/json":{"schema":{"type":"array","items":{}}}}}}}},"/api/studio/workspaces/{workspaceId}/delivery/run":{"post":{"tags":["Studio"],"parameters":[{"name":"workspaceId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeliveryApiRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeliveryApiRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeliveryApiRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.StudioDeliveryLog"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.StudioDeliveryLog"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Services.StudioDeliveryLog"}}}}}}},"/api/studio/workspaces/{workspaceId}/delivery/log":{"get":{"tags":["Studio"],"parameters":[{"name":"workspaceId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/study/start":{"post":{"tags":["StudySession"],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"File":{"type":"string","format":"binary"},"DocumentId":{"type":"string","format":"uuid"},"Title":{"type":"string"},"Description":{"type":"string"},"ConversationId":{"type":"string"},"UserId":{"type":"string"},"AutoRoute":{"type":"boolean"},"RouteHint":{"type":"string"},"WaitForCompletion":{"type":"boolean"},"WaitTimeoutSeconds":{"type":"integer","format":"int32"}}},"encoding":{"File":{"style":"form"},"DocumentId":{"style":"form"},"Title":{"style":"form"},"Description":{"style":"form"},"ConversationId":{"style":"form"},"UserId":{"style":"form"},"AutoRoute":{"style":"form"},"RouteHint":{"style":"form"},"WaitForCompletion":{"style":"form"},"WaitTimeoutSeconds":{"style":"form"}}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StartStudyResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StartStudyResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StartStudyResponse"}}}},"400":{"description":"Bad Request","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}},"/api/study/medical/start":{"post":{"tags":["StudySession"],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"File":{"type":"string","format":"binary"},"DocumentId":{"type":"string","format":"uuid"},"Title":{"type":"string"},"Description":{"type":"string"},"ConversationId":{"type":"string"},"UserId":{"type":"string"},"WaitForCompletion":{"type":"boolean"},"WaitTimeoutSeconds":{"type":"integer","format":"int32"},"Model":{"type":"string"},"RouteHint":{"type":"string"},"PromptOverride":{"type":"string"},"WindowPages":{"type":"integer","format":"int32"},"WindowStridePages":{"type":"integer","format":"int32"},"EnablePageCategorization":{"type":"boolean"},"CategorizationModel":{"type":"string"},"CategorizationRouteHint":{"type":"string"},"WorkspaceId":{"type":"string"},"WorkerProvider":{"type":"string"},"WorkerNodeId":{"type":"string"},"RuntimeProfile":{"type":"string"},"CostClass":{"type":"string"},"ComputeHourlyRateUsd":{"type":"number","format":"double"},"StartupDurationSeconds":{"type":"number","format":"double"},"KeepWarmDurationSeconds":{"type":"number","format":"double"},"DocumentsProcessedInRun":{"type":"integer","format":"int32"}}},"encoding":{"File":{"style":"form"},"DocumentId":{"style":"form"},"Title":{"style":"form"},"Description":{"style":"form"},"ConversationId":{"style":"form"},"UserId":{"style":"form"},"WaitForCompletion":{"style":"form"},"WaitTimeoutSeconds":{"style":"form"},"Model":{"style":"form"},"RouteHint":{"style":"form"},"PromptOverride":{"style":"form"},"WindowPages":{"style":"form"},"WindowStridePages":{"style":"form"},"EnablePageCategorization":{"style":"form"},"CategorizationModel":{"style":"form"},"CategorizationRouteHint":{"style":"form"},"WorkspaceId":{"style":"form"},"WorkerProvider":{"style":"form"},"WorkerNodeId":{"style":"form"},"RuntimeProfile":{"style":"form"},"CostClass":{"style":"form"},"ComputeHourlyRateUsd":{"style":"form"},"StartupDurationSeconds":{"style":"form"},"KeepWarmDurationSeconds":{"style":"form"},"DocumentsProcessedInRun":{"style":"form"}}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StartMedicalStudyResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StartMedicalStudyResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StartMedicalStudyResponse"}}}},"400":{"description":"Bad Request","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}},"/api/study/{sessionId}":{"get":{"tags":["StudySession"],"parameters":[{"name":"sessionId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySessionSummary"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySessionSummary"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySessionSummary"}}}},"404":{"description":"Not Found","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}},"/api/study":{"get":{"tags":["StudySession"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySession"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySession"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySession"}}}}}}}},"/api/study/conversation/{conversationId}":{"get":{"tags":["StudySession"],"parameters":[{"name":"conversationId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySession"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySession"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySession"}}}}}}}},"/api/study/{sessionId}/ready":{"get":{"tags":["StudySession"],"parameters":[{"name":"sessionId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ReadyForQuestionsResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ReadyForQuestionsResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ReadyForQuestionsResponse"}}}},"404":{"description":"Not Found","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}},"/api/study/{sessionId}/stats":{"get":{"tags":["StudySession"],"parameters":[{"name":"sessionId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudySessionStats"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudySessionStats"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudySessionStats"}}}},"404":{"description":"Not Found","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}},"/api/study/{sessionId}/pages":{"get":{"tags":["StudySession"],"parameters":[{"name":"sessionId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudySessionPagesResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudySessionPagesResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudySessionPagesResponse"}}}},"404":{"description":"Not Found","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}},"/api/study/{sessionId}/pages/{pageNumber}":{"get":{"tags":["StudySession"],"parameters":[{"name":"sessionId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"pageNumber","in":"path","required":true,"style":"simple","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudySessionPageElement"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudySessionPageElement"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudySessionPageElement"}}}},"404":{"description":"Not Found","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}},"/api/study/{sessionId}/layout":{"get":{"tags":["StudySession"],"parameters":[{"name":"sessionId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}},"/api/study/{sessionId}/content-list":{"get":{"tags":["StudySession"],"parameters":[{"name":"sessionId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}},"/api/study/{sessionId}/artifacts":{"post":{"tags":["StudySession"],"parameters":[{"name":"sessionId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudySessionArtifactRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudySessionArtifactRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudySessionArtifactRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudySessionArtifactResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudySessionArtifactResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudySessionArtifactResponse"}}}},"400":{"description":"Bad Request","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}},"404":{"description":"Not Found","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}},"/api/study/{sessionId}/steps":{"post":{"tags":["StudySession"],"parameters":[{"name":"sessionId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudySessionStepRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudySessionStepRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudySessionStepRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySessionStep"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySessionStep"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySessionStep"}}}},"400":{"description":"Bad Request","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}},"get":{"tags":["StudySession"],"parameters":[{"name":"sessionId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySessionStep"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySessionStep"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySessionStep"}}}}}}}},"/api/study/{sessionId}/previews":{"post":{"tags":["StudySession"],"parameters":[{"name":"sessionId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudySessionPreviewRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudySessionPreviewRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudySessionPreviewRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySessionPreviewSummary"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySessionPreviewSummary"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySessionPreviewSummary"}}}},"400":{"description":"Bad Request","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}},"get":{"tags":["StudySession"],"parameters":[{"name":"sessionId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySessionPreviewSummary"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySessionPreviewSummary"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySessionPreviewSummary"}}}}}}}},"/api/study/{sessionId}/previews/{previewId}":{"get":{"tags":["StudySession"],"parameters":[{"name":"sessionId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"previewId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySessionPreviewSummary"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySessionPreviewSummary"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySessionPreviewSummary"}}}},"404":{"description":"Not Found","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}},"/api/study/legal/start":{"post":{"tags":["StudySession"],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"File":{"type":"string","format":"binary"},"Title":{"type":"string"},"Description":{"type":"string"},"UserId":{"type":"string"},"DocumentType":{"type":"string"},"StudyGoal":{"type":"string"},"Model":{"type":"string"},"RouteHint":{"type":"string"},"ExtractDefinitions":{"type":"boolean"},"ExtractFinancialTerms":{"type":"boolean"},"ExtractObligations":{"type":"boolean"},"ConfidenceThreshold":{"type":"number","format":"float"}}},"encoding":{"File":{"style":"form"},"Title":{"style":"form"},"Description":{"style":"form"},"UserId":{"style":"form"},"DocumentType":{"style":"form"},"StudyGoal":{"style":"form"},"Model":{"style":"form"},"RouteHint":{"style":"form"},"ExtractDefinitions":{"style":"form"},"ExtractFinancialTerms":{"style":"form"},"ExtractObligations":{"style":"form"},"ConfidenceThreshold":{"style":"form"}}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StartLegalStudyResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StartLegalStudyResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.StartLegalStudyResponse"}}}},"400":{"description":"Bad Request","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}},"/api/study/{sessionId}/legal/extraction":{"get":{"tags":["StudySession"],"parameters":[{"name":"sessionId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.LegalExtractionResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.LegalExtractionResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.LegalExtractionResponse"}}}},"404":{"description":"Not Found","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}},"/api/study/{sessionId}/legal/obligations":{"get":{"tags":["StudySession"],"parameters":[{"name":"sessionId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"partyFilter","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.LegalObligationsResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.LegalObligationsResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.LegalObligationsResponse"}}}},"404":{"description":"Not Found","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}},"/api/study/{sessionId}/legal/entities":{"get":{"tags":["StudySession"],"parameters":[{"name":"sessionId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}},{"name":"entityType","in":"query","style":"form","schema":{"type":"string"}},{"name":"minConfidence","in":"query","style":"form","schema":{"type":"number","format":"float"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.LegalEntitiesResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.LegalEntitiesResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.LegalEntitiesResponse"}}}},"404":{"description":"Not Found","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}},"/api/study/{sessionId}/legal/apply":{"post":{"tags":["StudySession"],"parameters":[{"name":"sessionId","in":"path","required":true,"style":"simple","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ApplyLegalKnowledgeRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ApplyLegalKnowledgeRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ApplyLegalKnowledgeRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ApplyLegalKnowledgeResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ApplyLegalKnowledgeResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ApplyLegalKnowledgeResponse"}}}},"400":{"description":"Bad Request","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}},"404":{"description":"Not Found","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}},"/api/teams/messages":{"post":{"tags":["TeamsBot"],"responses":{"200":{"description":"Success"}}}},"/api/templates/prompts":{"get":{"tags":["Templates"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"userId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.PromptTemplateRecord"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.PromptTemplateRecord"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.PromptTemplateRecord"}}}}}}},"post":{"tags":["Templates"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.PromptTemplateRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.PromptTemplateRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.PromptTemplateRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.PromptTemplateRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.PromptTemplateRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.PromptTemplateRecord"}}}}}}},"/api/templates/prompts/{id}":{"put":{"tags":["Templates"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.PromptTemplateRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.PromptTemplateRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.PromptTemplateRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.PromptTemplateRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.PromptTemplateRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.PromptTemplateRecord"}}}}}},"delete":{"tags":["Templates"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/templates/conversations":{"get":{"tags":["Templates"],"parameters":[{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}},{"name":"userId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.ConversationTemplateRecord"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.ConversationTemplateRecord"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.ConversationTemplateRecord"}}}}}}},"post":{"tags":["Templates"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ConversationTemplateRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ConversationTemplateRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ConversationTemplateRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ConversationTemplateRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ConversationTemplateRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ConversationTemplateRecord"}}}}}}},"/api/templates/conversations/{id}":{"put":{"tags":["Templates"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ConversationTemplateRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ConversationTemplateRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ConversationTemplateRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ConversationTemplateRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ConversationTemplateRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.ConversationTemplateRecord"}}}}}},"delete":{"tags":["Templates"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/TestGrain/create":{"post":{"tags":["TestGrain"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TestGrainRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TestGrainRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TestGrainRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Memory.Models.KnowledgeGrain"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Memory.Models.KnowledgeGrain"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Memory.Models.KnowledgeGrain"}}}}}}},"/api/TestGrain/feedback/{grainId}":{"get":{"tags":["TestGrain"],"parameters":[{"name":"grainId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"expertDomain","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GrainFeedback"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GrainFeedback"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.GrainFeedback"}}}}}}},"/api/TestGrain/create-batch":{"post":{"tags":["TestGrain"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TestGrainBatchRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TestGrainBatchRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TestGrainBatchRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.KnowledgeGrain"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.KnowledgeGrain"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.KnowledgeGrain"}}}}}}}},"/api/TestGrain/uow/{unitOfWorkId}":{"get":{"tags":["TestGrain"],"parameters":[{"name":"unitOfWorkId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":100}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.KnowledgeGrain"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.KnowledgeGrain"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.KnowledgeGrain"}}}}}}}},"/api/TestGrain/important":{"get":{"tags":["TestGrain"],"parameters":[{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":20}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.KnowledgeGrain"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.KnowledgeGrain"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.KnowledgeGrain"}}}}}}}},"/api/twilio/sms":{"post":{"tags":["TwilioSmsWebhook"],"responses":{"200":{"description":"Success"}}}},"/api/User/register":{"post":{"tags":["User"],"parameters":[{"name":"userId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/User/message":{"post":{"tags":["User"],"parameters":[{"name":"userId","in":"query","style":"form","schema":{"type":"string"}},{"name":"content","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/vara/messages":{"post":{"tags":["VaraMessages"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.VaraMessageRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.VaraMessageRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.VaraMessageRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.VaraMessageResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.VaraMessageResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.VaraMessageResponse"}}}}}}},"/api/voice/transcribe":{"post":{"tags":["Voice"],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"audio":{"type":"string","format":"binary"},"language":{"type":"string"},"provider":{"type":"string"},"wordTimestamps":{"type":"boolean","default":false}}},"encoding":{"audio":{"style":"form"},"language":{"style":"form"},"provider":{"style":"form"},"wordTimestamps":{"style":"form"}}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TranscribeResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TranscribeResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TranscribeResponse"}}}}}}},"/api/voice/transcribe/bytes":{"post":{"tags":["Voice"],"parameters":[{"name":"language","in":"query","style":"form","schema":{"type":"string"}},{"name":"provider","in":"query","style":"form","schema":{"type":"string"}},{"name":"wordTimestamps","in":"query","style":"form","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TranscribeResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TranscribeResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.TranscribeResponse"}}}}}}},"/api/voice/synthesize":{"post":{"tags":["Voice"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SynthesizeRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SynthesizeRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SynthesizeRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/voice/synthesize/json":{"post":{"tags":["Voice"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SynthesizeRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SynthesizeRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SynthesizeRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SynthesizeJsonResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SynthesizeJsonResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SynthesizeJsonResponse"}}}}}}},"/api/voice/voices/clone":{"post":{"tags":["Voice"],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"referenceAudio":{"type":"string","format":"binary"},"name":{"type":"string"},"description":{"type":"string"},"provider":{"type":"string"}}},"encoding":{"referenceAudio":{"style":"form"},"name":{"style":"form"},"description":{"style":"form"},"provider":{"style":"form"}}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CloneVoiceResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CloneVoiceResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CloneVoiceResponse"}}}}}}},"/api/voice/voices":{"get":{"tags":["Voice"],"parameters":[{"name":"provider","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.VoicesResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.VoicesResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.VoicesResponse"}}}}}}},"/api/voice/providers":{"get":{"tags":["Voice"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.VoiceProvidersResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.VoiceProvidersResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.VoiceProvidersResponse"}}}}}}},"/api/voice/providers/defaults":{"post":{"tags":["Voice"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SetDefaultProvidersRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SetDefaultProvidersRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SetDefaultProvidersRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/voice/health":{"get":{"tags":["Voice"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.VoiceHealthResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.VoiceHealthResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.VoiceHealthResponse"}}}}}}},"/api/webhooks":{"post":{"tags":["Webhook"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RegisterWebhookRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RegisterWebhookRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RegisterWebhookRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.Webhook"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.Webhook"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.Webhook"}}}}}},"get":{"tags":["Webhook"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.Webhook"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.Webhook"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.Webhook"}}}}}}}},"/api/webhooks/{id}":{"delete":{"tags":["Webhook"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/webhooks/{id}/test":{"post":{"tags":["Webhook"],"parameters":[{"name":"id","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/workflows":{"post":{"tags":["Workflow"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Workflow.Models.WorkflowIR"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Workflow.Models.WorkflowIR"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.Workflow.Models.WorkflowIR"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SaveWorkflowResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SaveWorkflowResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.SaveWorkflowResponse"}}}}}},"get":{"tags":["Workflow"],"parameters":[{"name":"ownerId","in":"query","style":"form","schema":{"type":"string"}},{"name":"limit","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":50}},{"name":"offset","in":"query","style":"form","schema":{"type":"integer","format":"int32","default":0}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ListWorkflowsResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ListWorkflowsResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.ListWorkflowsResponse"}}}}}}},"/api/workflows/{workflowId}":{"get":{"tags":["Workflow"],"parameters":[{"name":"workflowId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"version","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Workflow.Models.WorkflowIR"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Workflow.Models.WorkflowIR"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Workflow.Models.WorkflowIR"}}}}}}},"/api/workflows/{workflowId}/build":{"post":{"tags":["Workflow"],"parameters":[{"name":"workflowId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Workflow.Models.WorkflowIR"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Workflow.Models.WorkflowIR"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.Workflow.Models.WorkflowIR"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Workflow.Models.CompilationResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Workflow.Models.CompilationResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Workflow.Models.CompilationResult"}}}}}}},"/api/workflows/{workflowId}/deploy":{"post":{"tags":["Workflow"],"parameters":[{"name":"workflowId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"version","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeployResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeployResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeployResponse"}}}}}}},"/api/workflows/{workflowId}/versions/{version}/bundle":{"get":{"tags":["Workflow"],"parameters":[{"name":"workflowId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"version","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/workflows/{workflowId}/run":{"post":{"tags":["Workflow"],"parameters":[{"name":"workflowId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"version","in":"query","style":"form","schema":{"type":"string"}},{"name":"personaId","in":"query","style":"form","schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{}},"text/json":{"schema":{}},"application/*+json":{"schema":{}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Workflow.Models.WorkflowRunResult"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Workflow.Models.WorkflowRunResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Workflow.Models.WorkflowRunResult"}}}}}}},"/api/workflows/{workflowId}/runs/{runId}/logs":{"get":{"tags":["Workflow"],"parameters":[{"name":"workflowId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"runId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Workflow.Models.WorkflowLogEntry"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Workflow.Models.WorkflowLogEntry"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Workflow.Models.WorkflowLogEntry"}}}}}}}},"/api/workflows/{workflowId}/runs/{runId}/events":{"get":{"tags":["Workflow"],"parameters":[{"name":"workflowId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"runId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/workflows/{workflowId}/runs/{runId}":{"get":{"tags":["Workflow"],"parameters":[{"name":"workflowId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"runId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.Workflow.WorkflowExecutionRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.Workflow.WorkflowExecutionRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.Workflow.WorkflowExecutionRecord"}}}}}}},"/api/workflows/{workflowId}/runs/{runId}/media":{"get":{"tags":["Workflow"],"parameters":[{"name":"workflowId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"runId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RunMediaListResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RunMediaListResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.RunMediaListResponse"}}}}}}},"/api/workflows/{workflowId}/runs/{runId}/media/{fileName}":{"get":{"tags":["Workflow"],"parameters":[{"name":"workflowId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"runId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"fileName","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/workflows/cache/stats":{"get":{"tags":["Workflow"],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CacheStatsResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CacheStatsResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.CacheStatsResponse"}}}}}}},"/api/workflows/cache":{"delete":{"tags":["Workflow"],"responses":{"200":{"description":"Success"}}}},"/api/workflow-capture/events":{"post":{"tags":["WorkflowCapture"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.CaptureEventDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.CaptureEventDto"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.CaptureEventDto"}}}}},"responses":{"200":{"description":"Success"}}}},"/api/workflow-capture/finalize":{"post":{"tags":["WorkflowCapture"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FinalizeCaptureRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FinalizeCaptureRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Controllers.FinalizeCaptureRequest"}}}},"responses":{"200":{"description":"Success"}}}},"/api/workspace-graph/{workspaceId}":{"get":{"tags":["WorkspaceGraph"],"parameters":[{"name":"workspaceId","in":"path","required":true,"style":"simple","schema":{"type":"string"}},{"name":"organizationId","in":"query","style":"form","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.WorkspaceGraphRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.WorkspaceGraphRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.WorkspaceGraphRecord"}}}}}}},"/api/workspace-graph/{workspaceId}/sync":{"post":{"tags":["WorkspaceGraph"],"parameters":[{"name":"workspaceId","in":"path","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.SyncWorkspaceGraphRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.SyncWorkspaceGraphRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.SyncWorkspaceGraphRequest"}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.WorkspaceGraphRecord"}},"application/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.WorkspaceGraphRecord"}},"text/json":{"schema":{"$ref":"#/components/schemas/Winnow.API.Models.WorkspaceGraphRecord"}}}}}}}},"components":{"schemas":{"ChatCompletionsRequest":{"type":"object","properties":{"model":{"type":"string","nullable":true},"messages":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Messages.ChatMessage"},"nullable":true},"stream":{"type":"boolean"},"max_tokens":{"type":"integer","format":"int32","nullable":true},"conversationId":{"type":"string","format":"uuid"},"tools":{"type":"array","items":{"$ref":"#/components/schemas/ToolDefinition"},"nullable":true},"tool_choice":{"nullable":true}},"additionalProperties":false},"EmbeddingsRequest":{"type":"object","properties":{"model":{"type":"string","nullable":true},"input":{"type":"string","nullable":true}},"additionalProperties":false},"Microsoft.AspNetCore.Mvc.ProblemDetails":{"type":"object","properties":{"type":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"status":{"type":"integer","format":"int32","nullable":true},"detail":{"type":"string","nullable":true},"instance":{"type":"string","nullable":true}},"additionalProperties":{}},"System.TimeSpan":{"type":"object","properties":{"ticks":{"type":"integer","format":"int64"},"days":{"type":"integer","format":"int32","readOnly":true},"hours":{"type":"integer","format":"int32","readOnly":true},"milliseconds":{"type":"integer","format":"int32","readOnly":true},"microseconds":{"type":"integer","format":"int32","readOnly":true},"nanoseconds":{"type":"integer","format":"int32","readOnly":true},"minutes":{"type":"integer","format":"int32","readOnly":true},"seconds":{"type":"integer","format":"int32","readOnly":true},"totalDays":{"type":"number","format":"double","readOnly":true},"totalHours":{"type":"number","format":"double","readOnly":true},"totalMilliseconds":{"type":"number","format":"double","readOnly":true},"totalMicroseconds":{"type":"number","format":"double","readOnly":true},"totalNanoseconds":{"type":"number","format":"double","readOnly":true},"totalMinutes":{"type":"number","format":"double","readOnly":true},"totalSeconds":{"type":"number","format":"double","readOnly":true}},"additionalProperties":false},"TextCompletionsRequest":{"type":"object","properties":{"model":{"type":"string","nullable":true},"prompt":{"type":"string","nullable":true},"max_tokens":{"type":"integer","format":"int32"},"temperature":{"type":"number","format":"float"}},"additionalProperties":false},"ToolDefinition":{"type":"object","properties":{"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"input_schema":{"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ActorRegisterRequest":{"type":"object","properties":{"id":{"type":"string","nullable":true},"actorType":{"type":"string","nullable":true},"props":{"type":"object","additionalProperties":{"type":"string"},"nullable":true},"capabilities":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.AddGroupMemberRequest":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"membershipType":{"type":"string","nullable":true},"expiresAt":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.AddModelRequest":{"type":"object","properties":{"modelId":{"type":"string","nullable":true},"provider":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"capabilities":{"type":"array","items":{"type":"string"},"nullable":true},"costPer1kInput":{"type":"number","format":"double","nullable":true},"costPer1kOutput":{"type":"number","format":"double","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.AdhocStreamRequest":{"type":"object","properties":{"configuration":{"$ref":"#/components/schemas/Winnow.Streams.StreamFlowConfiguration"},"input":{"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.AnchorConfiguration":{"type":"object","properties":{"enabled":{"type":"boolean"},"mode":{"type":"string","nullable":true},"maxDocumentChars":{"type":"integer","format":"int32"},"maxAnchorChars":{"type":"integer","format":"int32"},"maxAnchorsPerDocument":{"type":"integer","format":"int32"},"pageMaxChars":{"type":"integer","format":"int32"},"pageDelimiterRegex":{"type":"string","nullable":true},"entityWindowBeforeChars":{"type":"integer","format":"int32"},"entityWindowAfterChars":{"type":"integer","format":"int32"},"clampToParagraph":{"type":"boolean"},"paragraphDelimiterRegex":{"type":"string","nullable":true},"entityBoundaryRegex":{"type":"string","nullable":true},"temporalLinkingEnabled":{"type":"boolean"},"temporalWindowDays":{"type":"integer","format":"int32"},"entityCooccurrenceMin":{"type":"integer","format":"int32"},"timeMarkerRegex":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ApplyLegalKnowledgeRequest":{"type":"object","properties":{"entityIds":{"type":"array","items":{"type":"string"},"nullable":true},"claimIds":{"type":"array","items":{"type":"string"},"nullable":true},"applyAllEntities":{"type":"boolean"},"applyAllClaims":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.ApplyLegalKnowledgeResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string","nullable":true},"sessionId":{"type":"string","format":"uuid","nullable":true},"appliedEntityCount":{"type":"integer","format":"int32"},"appliedRelationshipCount":{"type":"integer","format":"int32"},"appliedClaimCount":{"type":"integer","format":"int32"},"errorMessage":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ApprovalResponse":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid"},"status":{"type":"string","nullable":true},"message":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ApproveAskApiRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"credentialId":{"type":"string","format":"uuid","nullable":true},"approvedBy":{"type":"string","nullable":true},"grantExpiresAtUtc":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ArchiveTasksRequest":{"type":"object","properties":{"taskIds":{"type":"array","items":{"type":"string"},"nullable":true},"archivedAt":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.AskApprovalResponse":{"type":"object","properties":{"ask":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialAskResponse"},"grant":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialGrantResponse"}},"additionalProperties":false},"Winnow.API.Controllers.AuditLogsResponse":{"type":"object","properties":{"logs":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.AuthAuditEvent"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.AuthLoginRequest":{"type":"object","properties":{"email":{"type":"string","nullable":true},"password":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.AuthLoginResponse":{"type":"object","properties":{"accessToken":{"type":"string","nullable":true},"tokenType":{"type":"string","nullable":true},"expiresIn":{"type":"integer","format":"int32"},"expiresAt":{"type":"integer","format":"int64"},"user":{"$ref":"#/components/schemas/Winnow.API.Controllers.AuthUser"},"organization":{"$ref":"#/components/schemas/Winnow.API.Controllers.OrganizationDto"}},"additionalProperties":false},"Winnow.API.Controllers.AuthMeResponse":{"type":"object","properties":{"user":{"$ref":"#/components/schemas/Winnow.API.Controllers.AuthUser"},"organization":{"$ref":"#/components/schemas/Winnow.API.Controllers.OrganizationDto"}},"additionalProperties":false},"Winnow.API.Controllers.AuthSignupRequest":{"type":"object","properties":{"email":{"type":"string","nullable":true},"password":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"organizationName":{"type":"string","nullable":true},"plan":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.AuthSignupResponse":{"type":"object","properties":{"success":{"type":"boolean"},"userId":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"}},"additionalProperties":false},"Winnow.API.Controllers.AuthUser":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"email":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"organizationId":{"type":"string","format":"uuid"},"role":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.AutoPromoteResult":{"type":"object","properties":{"promotedCount":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.BacklogGenerationResultResponse":{"type":"object","properties":{"success":{"type":"boolean"},"tasksCreated":{"type":"integer","format":"int32"},"steeringApproved":{"type":"boolean"},"steeringNotes":{"type":"string","nullable":true},"preferredProvider":{"type":"string","nullable":true},"effectivePlanningRole":{"type":"string","nullable":true},"tasks":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectTaskResponse"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.BatchGetApiRequest":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"keys":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.ArtifactActor.ArtifactKeyDto"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.BatchOperationError":{"type":"object","properties":{"index":{"type":"integer","format":"int32"},"id":{"type":"string","nullable":true},"error":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.BatchOperationResult":{"type":"object","properties":{"totalRequested":{"type":"integer","format":"int32"},"succeeded":{"type":"integer","format":"int32"},"failed":{"type":"integer","format":"int32"},"items":{"type":"array","items":{},"nullable":true},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.BatchOperationError"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.BatchSetApiRequest":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid","nullable":true},"artifacts":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.BatchSetItem"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.BatchSetItem":{"type":"object","properties":{"namespace":{"type":"string","nullable":true},"key":{"type":"string","nullable":true},"value":{"nullable":true},"valueType":{"type":"string","nullable":true},"scope":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.BlocklistRequest":{"type":"object","properties":{"terms":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.BrokerInvokeApiRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"method":{"type":"string","nullable":true},"url":{"type":"string","nullable":true},"headers":{"type":"object","additionalProperties":{"type":"string"},"nullable":true},"body":{"type":"string","nullable":true},"runId":{"type":"string","format":"uuid","nullable":true},"stepId":{"type":"string","nullable":true},"attempt":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.BrokerInvokeApiResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"headers":{"type":"object","additionalProperties":{"type":"string"},"nullable":true},"body":{"type":"string","nullable":true},"truncated":{"type":"boolean"},"replayed":{"type":"boolean"},"invocationId":{"type":"string","format":"uuid"},"latencyMs":{"type":"integer","format":"int64"},"idempotencyKey":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.BrowseUrlRequest":{"type":"object","properties":{"url":{"type":"string","nullable":true},"extractText":{"type":"boolean"},"extractLinks":{"type":"boolean"},"extractMetadata":{"type":"boolean"},"maxLength":{"type":"integer","format":"int32"},"useCache":{"type":"boolean"},"organizationId":{"type":"string","nullable":true},"userId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.BrowseUrlResponse":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string","nullable":true},"url":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"contentMarkdown":{"type":"string","nullable":true},"contentText":{"type":"string","nullable":true},"metaDescription":{"type":"string","nullable":true},"metaKeywords":{"type":"array","items":{"type":"string"},"nullable":true},"links":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ExtractedLinkDto"},"nullable":true},"wordCount":{"type":"integer","format":"int32"},"contentType":{"type":"string","nullable":true},"httpStatus":{"type":"integer","format":"int32"},"latencyMs":{"type":"integer","format":"int32"},"fromCache":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.BrowserActionRequest":{"type":"object","properties":{"actionName":{"type":"string","nullable":true},"targetSelector":{"type":"string","nullable":true},"value":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.BulkCreateFailure":{"type":"object","properties":{"index":{"type":"integer","format":"int32"},"error":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.BulkCreateKnowledgeRequest":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.UpsertKnowledgeItemRequest"},"nullable":true},"sourceSessionId":{"type":"string","nullable":true},"sourcePreviewId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.BulkCreateKnowledgeResponse":{"type":"object","properties":{"createdItems":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Repositories.KnowledgeItemRecord"},"nullable":true},"failedItems":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.BulkCreateFailure"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.CacheStatsResponse":{"type":"object","properties":{"enabled":{"type":"boolean"},"message":{"type":"string","nullable":true},"hits":{"type":"integer","format":"int64"},"misses":{"type":"integer","format":"int64"},"lookups":{"type":"integer","format":"int64"},"writes":{"type":"integer","format":"int64"},"invalidations":{"type":"integer","format":"int64"},"hitRate":{"type":"number","format":"double"}},"additionalProperties":false},"Winnow.API.Controllers.CancelDeepAgentHttpRequest":{"type":"object","properties":{"reason":{"type":"string","nullable":true},"waitForCurrentTask":{"type":"boolean","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.CaptureEventDto":{"type":"object","properties":{"sessionId":{"type":"string","nullable":true},"actionType":{"type":"string","nullable":true},"elementId":{"type":"string","nullable":true},"elementName":{"type":"string","nullable":true},"elementType":{"type":"string","nullable":true},"label":{"type":"string","nullable":true},"value":{"type":"string","nullable":true},"url":{"type":"string","nullable":true},"pageTitle":{"type":"string","nullable":true},"timestampUtc":{"type":"string","format":"date-time","nullable":true},"correlationId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.CatalogsResponse":{"type":"object","properties":{"catalogs":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.ModelCatalogActor.ModelCatalog"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ChatToolsResponse":{"type":"object","properties":{"tools":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.PluginRegistryActor.ChatTool"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.CleanupResult":{"type":"object","properties":{"deletedCount":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.CloneVoiceResponse":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string","nullable":true},"voice":{"$ref":"#/components/schemas/Winnow.API.Controllers.VoiceDto"}},"additionalProperties":false},"Winnow.API.Controllers.CompleteConnectionRequest":{"type":"object","properties":{"code":{"type":"string","nullable":true},"state":{"type":"string","nullable":true},"redirectUri":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ConfigureProviderRequest":{"type":"object","properties":{"apiKey":{"type":"string","nullable":true},"customEndpoint":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ConfigureSsoProviderRequest":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid"},"name":{"type":"string","nullable":true},"providerType":{"type":"string","nullable":true},"config":{"type":"object","additionalProperties":{},"nullable":true},"attributeMapping":{"type":"object","additionalProperties":{"type":"string"},"nullable":true},"autoProvision":{"type":"boolean","nullable":true},"defaultRoleId":{"type":"string","format":"uuid","nullable":true},"autoCreateGroups":{"type":"boolean","nullable":true},"allowedDomains":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ConnectionTestResult":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string","nullable":true},"error":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.CopyFileRequest":{"type":"object","properties":{"sourcePath":{"type":"string","nullable":true},"destinationPath":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.CreateCatalogRequest":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"visibility":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.CreateCustomModelApiRequest":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","nullable":true},"userId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string","nullable":true},"tag":{"type":"string","nullable":true},"baseModel":{"type":"string","nullable":true},"systemPrompt":{"type":"string","nullable":true},"temperature":{"type":"number","format":"double","nullable":true},"topK":{"type":"integer","format":"int32","nullable":true},"topP":{"type":"number","format":"double","nullable":true},"numCtx":{"type":"integer","format":"int32","nullable":true},"numPredict":{"type":"integer","format":"int32","nullable":true},"stopSequences":{"type":"array","items":{"type":"string"},"nullable":true},"displayName":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"buildImmediately":{"type":"boolean","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.CreateDeliverableRequest":{"type":"object","properties":{"projectId":{"type":"string","nullable":true},"sowId":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"dueDate":{"type":"string","format":"date-time","nullable":true},"estimatedHours":{"type":"number","format":"double","nullable":true},"acceptanceCriteria":{"type":"array","items":{"type":"string"},"nullable":true},"status":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.CreateEntityApiRequest":{"type":"object","properties":{"entityType":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"attributes":{"type":"object","additionalProperties":{},"nullable":true},"aliases":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.CreateEpisodeMemoryRequest":{"type":"object","properties":{"title":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"start":{"type":"string","format":"date-time","nullable":true},"end":{"type":"string","format":"date-time","nullable":true},"summary":{"type":"string","nullable":true},"unitOfWorkId":{"type":"string","nullable":true},"domains":{"type":"array","items":{"type":"string"},"nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"metadata":{"type":"object","additionalProperties":{"type":"string"},"nullable":true},"organizationId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.CreateFolderRequest":{"type":"object","properties":{"path":{"type":"string","nullable":true},"folderName":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.CreateHelloWorldDynamicActorRequest":{"type":"object","properties":{"actorName":{"type":"string","nullable":true},"greeting":{"type":"string","nullable":true},"message":{"type":"string","nullable":true},"role":{"type":"string","nullable":true},"preferredProvider":{"type":"string","nullable":true},"description":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.CreateIdentityReferenceApiRequest":{"type":"object","properties":{"provider":{"type":"string","nullable":true},"referenceId":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"sourcePhotoUrls":{"type":"array","items":{"type":"string"},"nullable":true},"strength":{"type":"number","format":"double","nullable":true},"voiceId":{"type":"string","nullable":true},"brandVoiceStance":{"type":"string","nullable":true},"formalityLevel":{"type":"integer","format":"int32","nullable":true},"trainedAt":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.CreatePersonaApiRequest":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","nullable":true},"userId":{"type":"string","format":"uuid"},"name":{"type":"string","nullable":true},"slug":{"type":"string","nullable":true},"systemPrompt":{"type":"string","nullable":true},"tone":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"bestFor":{"type":"string","nullable":true},"domain":{"type":"string","nullable":true},"defaultRole":{"type":"string","nullable":true},"icon":{"type":"string","nullable":true},"preferredModel":{"type":"string","nullable":true},"preferredProvider":{"type":"string","nullable":true},"temperature":{"type":"number","format":"double","nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"skills":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.CreatePipelineApiRequest":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","nullable":true},"userId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"triggerType":{"type":"string","nullable":true},"triggerConfig":{"type":"object","additionalProperties":{},"nullable":true},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.PipelineNode"},"nullable":true},"edges":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.PipelineEdge"},"nullable":true},"variables":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.PipelineVariable"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.CreateProjectTaskRequest":{"type":"object","properties":{"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"reviewReason":{"type":"string","nullable":true},"priority":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"complexity":{"type":"string","nullable":true},"impact":{"type":"string","nullable":true},"dueDate":{"type":"string","format":"date-time","nullable":true},"estimatedHours":{"type":"number","format":"double","nullable":true},"actualHours":{"type":"number","format":"double","nullable":true},"worktreePath":{"type":"string","nullable":true},"prUrl":{"type":"string","nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"subtasks":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Repositories.ProjectTaskSubtask"},"nullable":true},"executionProgress":{"$ref":"#/components/schemas/Winnow.API.Repositories.ProjectTaskExecutionProgress"},"metadata":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.CreateProjectWorkflowBindingRequest":{"type":"object","properties":{"workflowId":{"type":"string","nullable":true},"bindingName":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"isEnabled":{"type":"boolean","nullable":true},"versionPolicy":{"type":"string","nullable":true},"pinnedVersion":{"type":"string","nullable":true},"triggerType":{"type":"string","nullable":true},"triggerConfig":{"type":"object","additionalProperties":{},"nullable":true},"inputMapping":{"type":"object","additionalProperties":{},"nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.CreateRagDocumentRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"ownerId":{"type":"string","nullable":true},"content":{"type":"string","nullable":true},"sourceType":{"type":"string","nullable":true},"storagePath":{"type":"string","nullable":true},"mimeType":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true},"chunkingStrategy":{"type":"string","nullable":true},"chunkSize":{"type":"integer","format":"int32","nullable":true},"chunkOverlap":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.CreateRelationApiRequest":{"type":"object","properties":{"sourceEntityId":{"type":"string","format":"uuid"},"targetEntityId":{"type":"string","format":"uuid"},"relationType":{"type":"string","nullable":true},"relationSubtype":{"type":"string","nullable":true},"properties":{"type":"object","additionalProperties":{},"nullable":true},"isBidirectional":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.CreateSecretDropApiRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"service":{"type":"string","nullable":true},"accountLabel":{"type":"string","nullable":true},"journeyId":{"type":"string","format":"uuid","nullable":true},"requestedBy":{"type":"string","nullable":true},"expiresAt":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.CreateTemplateApiRequest":{"type":"object","properties":{"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"promptTemplate":{"type":"string","nullable":true},"negativePrompt":{"type":"string","nullable":true},"defaultParams":{"type":"object","additionalProperties":{},"nullable":true},"isPublic":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.CreateWorkspaceApiRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"packId":{"type":"string","nullable":true},"baseModel":{"type":"string","nullable":true},"domain":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"author":{"type":"string","nullable":true},"license":{"type":"string","nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.CredentialAskResponse":{"type":"object","properties":{"askId":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"credentialId":{"type":"string","format":"uuid","nullable":true},"service":{"type":"string","nullable":true},"requestedScopeKind":{"type":"string","nullable":true},"requestedScopeRef":{"type":"string","nullable":true},"purpose":{"type":"string","nullable":true},"requestedMode":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"requestedBy":{"type":"string","nullable":true},"resolvedBy":{"type":"string","nullable":true},"runId":{"type":"string","format":"uuid","nullable":true},"grantId":{"type":"string","format":"uuid","nullable":true},"note":{"type":"string","nullable":true},"createdAtUtc":{"type":"string","format":"date-time"},"resolvedAtUtc":{"type":"string","format":"date-time","nullable":true},"expiresAtUtc":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Controllers.CredentialGrantResponse":{"type":"object","properties":{"grantId":{"type":"string","format":"uuid"},"credentialId":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"granteeScopeKind":{"type":"string","nullable":true},"granteeScopeRef":{"type":"string","nullable":true},"mode":{"type":"string","nullable":true},"purpose":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"expiresAtUtc":{"type":"string","format":"date-time","nullable":true},"createdBy":{"type":"string","nullable":true},"askId":{"type":"string","format":"uuid","nullable":true},"journeyStage":{"type":"string","nullable":true},"createdAtUtc":{"type":"string","format":"date-time"},"revokedAtUtc":{"type":"string","format":"date-time","nullable":true},"usedAtUtc":{"type":"string","format":"date-time","nullable":true},"usedBy":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.CredentialUsageEntry":{"type":"object","properties":{"invocationId":{"type":"string","format":"uuid"},"grantId":{"type":"string","format":"uuid"},"credentialId":{"type":"string","format":"uuid","nullable":true},"credentialFingerprint":{"type":"string","nullable":true},"callerScopeKind":{"type":"string","nullable":true},"callerScopeRef":{"type":"string","nullable":true},"callerPrincipal":{"type":"string","nullable":true},"runId":{"type":"string","format":"uuid","nullable":true},"stepId":{"type":"string","nullable":true},"attempt":{"type":"integer","format":"int32","nullable":true},"method":{"type":"string","nullable":true},"targetHost":{"type":"string","nullable":true},"targetPath":{"type":"string","nullable":true},"outcome":{"type":"string","nullable":true},"refusalCode":{"type":"string","nullable":true},"upstreamStatus":{"type":"integer","format":"int32","nullable":true},"latencyMs":{"type":"integer","format":"int64"},"responseBytes":{"type":"integer","format":"int64","nullable":true},"idempotencyKey":{"type":"string","nullable":true},"occurredAtUtc":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Controllers.CredentialUsagePage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.CredentialUsageEntry"},"nullable":true},"page":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"total":{"type":"integer","format":"int64"},"hasMore":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.CurationApiRequest":{"type":"object","properties":{"objective":{"type":"string","nullable":true},"sftPerFact":{"type":"integer","format":"int32","nullable":true},"dpoPerFact":{"type":"integer","format":"int32","nullable":true},"valRatio":{"type":"number","format":"double","nullable":true},"systemPrompt":{"type":"string","nullable":true},"limit":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.CustomModelsResponse":{"type":"object","properties":{"models":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.ModelCatalogActor.CustomModelDefinition"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.DeclineAskApiRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"declinedBy":{"type":"string","nullable":true},"note":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.DeduplicationResult":{"type":"object","properties":{"mergedCount":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.DeepAgentBudgetRequest":{"type":"object","properties":{"maxTokens":{"type":"integer","format":"int32","nullable":true},"maxCost":{"type":"number","format":"double","nullable":true},"maxDurationMinutes":{"type":"integer","format":"int32","nullable":true},"maxTasks":{"type":"integer","format":"int32","nullable":true},"maxRetries":{"type":"integer","format":"int32","nullable":true},"providerTokenLimits":{"type":"object","additionalProperties":{"type":"integer","format":"int32"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.DeepAgentFollowUpHttpRequest":{"type":"object","properties":{"followUp":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"priority":{"type":"integer","format":"int32","nullable":true},"insertAtFront":{"type":"boolean","nullable":true},"metadata":{"type":"object","additionalProperties":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.DeliveryApiRequest":{"type":"object","properties":{"runId":{"type":"string","nullable":true},"skipEval":{"type":"boolean"},"skipSign":{"type":"boolean"},"evalTasks":{"type":"array","items":{"type":"string"},"nullable":true},"evalMaxSamples":{"type":"integer","format":"int32","nullable":true},"install":{"type":"boolean"},"registerRoute":{"type":"boolean"},"version":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.DemoteCandidateRequest":{"type":"object","properties":{"reason":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.DeployResponse":{"type":"object","properties":{"success":{"type":"boolean"},"workflowId":{"type":"string","nullable":true},"version":{"type":"string","nullable":true},"deployedAt":{"type":"string","format":"date-time","nullable":true},"error":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.DesignTokenDto":{"type":"object","properties":{"name":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"value":{"type":"string","nullable":true},"description":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.DesignTokensResponseDto":{"type":"object","properties":{"fileKey":{"type":"string","nullable":true},"tokens":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.DesignTokenDto"},"nullable":true},"extractedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Controllers.DeviceMemoryInfo":{"type":"object","properties":{"total_mb":{"type":"integer","format":"int64"},"used_mb":{"type":"integer","format":"int64"},"free_mb":{"type":"integer","format":"int64"}},"additionalProperties":false},"Winnow.API.Controllers.DeviceModeRequest":{"type":"object","properties":{"mode":{"type":"string","nullable":true},"gpu_index":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.DeviceStatusResponse":{"type":"object","properties":{"mode":{"type":"string","nullable":true},"active_device":{"type":"string","nullable":true},"gpu_available":{"type":"boolean"},"gpu_count":{"type":"integer","format":"int32"},"gpu_index":{"type":"integer","format":"int32","nullable":true},"memory":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeviceMemoryInfo"}},"additionalProperties":false},"Winnow.API.Controllers.DomainCheckResponse":{"type":"object","properties":{"domain":{"type":"string","nullable":true},"isBlocked":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.DomainExpertQueryRequest":{"type":"object","properties":{"query":{"type":"string","nullable":true},"domainHints":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.DomainExpertRequest":{"type":"object","properties":{"query":{"type":"string","nullable":true},"domainHints":{"type":"array","items":{"type":"string"},"nullable":true},"model":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.DomainPolicyRequest":{"type":"object","properties":{"domain":{"type":"string","nullable":true},"reason":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.EditImageApiRequest":{"type":"object","properties":{"sourceImageId":{"type":"string","format":"uuid"},"sourceImageBase64":{"type":"string","nullable":true},"prompt":{"type":"string","nullable":true},"negativePrompt":{"type":"string","nullable":true},"size":{"type":"string","nullable":true},"strength":{"type":"number","format":"double","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.EffectivePermissionsResponse":{"type":"object","properties":{"permissions":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.EffectivePermission"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.EmbedMissingResponse":{"type":"object","properties":{"embedded":{"type":"integer","format":"int32"},"failed":{"type":"integer","format":"int32"},"missingAfter":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.EpisodeMemoryDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"start":{"type":"string","format":"date-time"},"end":{"type":"string","format":"date-time","nullable":true},"summary":{"type":"string","nullable":true},"unitOfWorkId":{"type":"string","nullable":true},"knowledgeGrainIds":{"type":"array","items":{"type":"string"},"nullable":true},"domainExpertIds":{"type":"array","items":{"type":"string"},"nullable":true},"domains":{"type":"array","items":{"type":"string"},"nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"metadata":{"type":"object","additionalProperties":{"type":"string"},"nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Controllers.EvaluationFeedbackRequest":{"type":"object","properties":{"providerKey":{"type":"string","nullable":true},"model":{"type":"string","nullable":true},"domain":{"type":"string","nullable":true},"helpfulnessScore":{"type":"number","format":"double"},"relevancyScore":{"type":"number","format":"double"},"hallucinationScore":{"type":"number","format":"double"},"coherenceScore":{"type":"number","format":"double"},"safetyScore":{"type":"number","format":"double"},"overallScore":{"type":"number","format":"double"},"passedQualityGate":{"type":"boolean"},"correlationId":{"type":"string","format":"uuid","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ExecuteOperationRequest":{"type":"object","properties":{"kind":{"type":"string","nullable":true},"workspaceRoot":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":{"type":"string"},"nullable":true},"path":{"type":"string","nullable":true},"content":{"type":"string","nullable":true},"createDirectories":{"type":"boolean"},"overwrite":{"type":"boolean"},"encodingName":{"type":"string","nullable":true},"maxChars":{"type":"integer","format":"int32","nullable":true},"recursive":{"type":"boolean"},"maxDepth":{"type":"integer","format":"int32","nullable":true},"includeHidden":{"type":"boolean"},"followSymlinks":{"type":"boolean"},"command":{"type":"string","nullable":true},"arguments":{"type":"string","nullable":true},"workingDirectory":{"type":"string","nullable":true},"standardInput":{"type":"string","nullable":true},"timeoutSeconds":{"type":"integer","format":"int32","nullable":true},"repositoryRoot":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ExecutePipelineApiRequest":{"type":"object","properties":{"userId":{"type":"string","format":"uuid","nullable":true},"inputData":{"type":"object","additionalProperties":{},"nullable":true},"variables":{"type":"object","additionalProperties":{},"nullable":true},"conversationId":{"type":"string","format":"uuid","nullable":true},"async":{"type":"boolean","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ExecutePipelineApiResponse":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string","nullable":true},"executionId":{"type":"string","format":"uuid"},"status":{"type":"string","nullable":true},"outputData":{"type":"object","additionalProperties":{},"nullable":true},"durationMs":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.ExecuteStreamRequest":{"type":"object","properties":{"input":{"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ExportRequestDto":{"type":"object","properties":{"nodeIds":{"type":"array","items":{"type":"string"},"nullable":true},"format":{"type":"string","nullable":true},"scale":{"type":"number","format":"float","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ExportResultDto":{"type":"object","properties":{"fileKey":{"type":"string","nullable":true},"format":{"type":"string","nullable":true},"images":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ExportedImageDto"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ExportedImageDto":{"type":"object","properties":{"nodeId":{"type":"string","nullable":true},"url":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ExtractedLinkDto":{"type":"object","properties":{"text":{"type":"string","nullable":true},"url":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.FeatureBrowseResponse":{"type":"object","properties":{"featureCode":{"type":"string","nullable":true},"storageProvider":{"type":"string","nullable":true},"currentPath":{"type":"string","nullable":true},"parentPath":{"type":"string","nullable":true},"folders":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.Providers.FolderInfo"},"nullable":true},"files":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.Providers.FileInfo2"},"nullable":true},"totalFolders":{"type":"integer","format":"int32"},"totalFiles":{"type":"integer","format":"int32"},"totalSizeBytes":{"type":"integer","format":"int64"}},"additionalProperties":false},"Winnow.API.Controllers.FeatureCheckResponse":{"type":"object","properties":{"featureCode":{"type":"string","nullable":true},"hasAccess":{"type":"boolean"},"entitlement":{"$ref":"#/components/schemas/Winnow.Services.FeatureEntitlement"}},"additionalProperties":false},"Winnow.API.Controllers.FeatureCodeInfo":{"type":"object","properties":{"code":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.FeatureStorageConfigResponse":{"type":"object","properties":{"featureCode":{"type":"string","nullable":true},"storageProvider":{"type":"string","nullable":true},"rootFolderPath":{"type":"string","nullable":true},"namespaceTemplate":{"type":"string","nullable":true},"retentionDays":{"type":"integer","format":"int32","nullable":true},"maxFileSizeBytes":{"type":"integer","format":"int64"},"maxTotalSizeBytes":{"type":"integer","format":"int64","nullable":true},"isEnabled":{"type":"boolean"},"versioningEnabled":{"type":"boolean","nullable":true},"encryptionEnabled":{"type":"boolean","nullable":true},"syncEnabled":{"type":"boolean"},"syncIntervalMinutes":{"type":"integer","format":"int32"},"lastSyncAt":{"type":"string","format":"date-time","nullable":true},"syncStatus":{"type":"string","nullable":true},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Controllers.FeatureUploadResponse":{"type":"object","properties":{"success":{"type":"boolean"},"fileName":{"type":"string","nullable":true},"path":{"type":"string","nullable":true},"sizeBytes":{"type":"integer","format":"int64"},"mimeType":{"type":"string","nullable":true},"featureCode":{"type":"string","nullable":true},"storageProvider":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.FeaturesResponse":{"type":"object","properties":{"features":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.Feature"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.FigmaAssetDto":{"type":"object","properties":{"nodeId":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"availableFormats":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.FigmaAssetsResponseDto":{"type":"object","properties":{"fileKey":{"type":"string","nullable":true},"assets":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.FigmaAssetDto"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.FigmaFileDetailDto":{"type":"object","properties":{"key":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"lastModified":{"type":"string","format":"date-time"},"version":{"type":"string","nullable":true},"thumbnailUrl":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.FigmaFileDto":{"type":"object","properties":{"key":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"thumbnailUrl":{"type":"string","nullable":true},"lastModified":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Controllers.FigmaNodeDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"type":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.FigmaNodesResponseDto":{"type":"object","properties":{"fileKey":{"type":"string","nullable":true},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.FigmaNodeDto"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.FigmaProjectDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.FigmaTeamDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.FigmaVersionDto":{"type":"object","properties":{"version":{"type":"integer","format":"int32"},"createdAt":{"type":"string","format":"date-time"},"label":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.FinalizeCaptureRequest":{"type":"object","properties":{"sessionId":{"type":"string","nullable":true},"workflowName":{"type":"string","nullable":true},"correlationId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.GenerateBacklogFromRepoStudyRequest":{"type":"object","properties":{"projectRoot":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"allFeatures":{"type":"boolean"},"includeMemory":{"type":"boolean"},"focusTaskIds":{"type":"array","items":{"type":"string"},"nullable":true},"planPath":{"type":"string","nullable":true},"skipSteeringReview":{"type":"boolean"},"timeoutMinutes":{"type":"integer","format":"int32"},"preferredProvider":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.GenerateBacklogFromStudyRequest":{"type":"object","properties":{"studySessionId":{"type":"string","nullable":true},"skipSteeringReview":{"type":"boolean"},"preferredProvider":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.GenerateImageApiRequest":{"type":"object","properties":{"prompt":{"type":"string","nullable":true},"negativePrompt":{"type":"string","nullable":true},"size":{"type":"string","nullable":true},"count":{"type":"integer","format":"int32","nullable":true},"quality":{"type":"string","nullable":true},"style":{"type":"string","nullable":true},"stylePresetId":{"type":"string","format":"uuid","nullable":true},"templateId":{"type":"string","format":"uuid","nullable":true},"templateVariables":{"type":"object","additionalProperties":{"type":"string"},"nullable":true},"providerId":{"type":"string","format":"uuid","nullable":true},"autoSave":{"type":"boolean"},"saveFolder":{"type":"string","nullable":true},"extraParams":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.GenerateModelfileApiRequest":{"type":"object","properties":{"baseModel":{"type":"string","nullable":true},"systemPrompt":{"type":"string","nullable":true},"temperature":{"type":"number","format":"double","nullable":true},"topK":{"type":"integer","format":"int32","nullable":true},"topP":{"type":"number","format":"double","nullable":true},"numCtx":{"type":"integer","format":"int32","nullable":true},"numPredict":{"type":"integer","format":"int32","nullable":true},"stopSequences":{"type":"array","items":{"type":"string"},"nullable":true},"license":{"type":"string","nullable":true},"additionalParameters":{"type":"object","additionalProperties":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.GenerateModelfileResponse":{"type":"object","properties":{"modelfile":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.GhAwController.RunWorkflowRequest":{"type":"object","properties":{"workflowSlug":{"type":"string","nullable":true},"targetRepo":{"type":"string","nullable":true},"runId":{"type":"string","nullable":true},"triggerType":{"type":"string","nullable":true},"triggerComment":{"type":"string","nullable":true},"issueNumber":{"type":"integer","format":"int32","nullable":true},"contextPayload":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.GpuInfo":{"type":"object","properties":{"index":{"type":"integer","format":"int32"},"name":{"type":"string","nullable":true},"memory_total_mb":{"type":"integer","format":"int64"},"memory_free_mb":{"type":"integer","format":"int64"},"compute_capability":{"type":"string","nullable":true},"is_available":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.GpuListResponse":{"type":"object","properties":{"gpus":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.GpuInfo"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.GpuSelectRequest":{"type":"object","properties":{"gpu_index":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.GrainFeedback":{"type":"object","properties":{"originalGrainId":{"type":"string","nullable":true},"unitOfWorkId":{"type":"string","nullable":true},"expertDomain":{"type":"string","nullable":true},"insights":{"type":"array","items":{"type":"string"},"nullable":true},"suggestions":{"type":"array","items":{"type":"string"},"nullable":true},"domainRelevance":{"type":"number","format":"double"},"relatedTopics":{"type":"array","items":{"type":"string"},"nullable":true},"generatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Controllers.GrainSearchHitDto":{"type":"object","properties":{"rank":{"type":"number","format":"double","nullable":true},"snippet":{"type":"string","nullable":true},"grain":{"$ref":"#/components/schemas/Winnow.API.Controllers.KnowledgeGrainDto"}},"additionalProperties":false},"Winnow.API.Controllers.GrainSearchResponse":{"type":"object","properties":{"query":{"type":"string","nullable":true},"mode":{"type":"string","nullable":true},"count":{"type":"integer","format":"int32"},"results":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.GrainSearchHitDto"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.GrantPermissionRequest":{"type":"object","properties":{"permissionCode":{"type":"string","nullable":true},"granted":{"type":"boolean","nullable":true},"conditions":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.GrantPermissionsApiRequest":{"type":"object","properties":{"permissions":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.GroupsResponse":{"type":"object","properties":{"groups":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.Group"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.IdentityReferencesResponse":{"type":"object","properties":{"references":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.PersonaIdentityReference"},"nullable":true},"count":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.ImportPersonaRequest":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid"},"userId":{"type":"string","format":"uuid"},"content":{"type":"string","nullable":true},"format":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.IngredientAliasBatchMapApiRequest":{"type":"object","properties":{"aliases":{"type":"array","items":{"type":"string"},"nullable":true},"correlationId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.IngredientAliasBatchMapResponse":{"type":"object","properties":{"correlationId":{"type":"string","nullable":true},"results":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Domain.Messages.IngredientMappingResult"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.IngredientAliasMapApiRequest":{"type":"object","properties":{"ingredient":{"type":"string","nullable":true},"amount":{"type":"string","nullable":true},"correlationId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.InitialStudyController.DomainProcessingResult":{"type":"object","properties":{"domain":{"type":"string","nullable":true},"grainCount":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.InitialStudyController.InitialStudyRequest":{"type":"object","properties":{"unitOfWorkId":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"purpose":{"type":"string","nullable":true},"repositories":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.InitialStudyController.RepositoryRequest"},"nullable":true},"resources":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.InitialStudyController.ResourceRequest"},"nullable":true},"totalTimeoutMinutes":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.InitialStudyController.InitialStudyResponse":{"type":"object","properties":{"initialStudyId":{"type":"string","nullable":true},"studyEpisodeId":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"startTime":{"type":"string","format":"date-time"},"endTime":{"type":"string","format":"date-time","nullable":true},"completedExtractions":{"type":"integer","format":"int32"},"failedExtractions":{"type":"integer","format":"int32"},"totalKnowledgeGrains":{"type":"integer","format":"int32"},"processedDomains":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.InitialStudyController.DomainProcessingResult"},"nullable":true},"errorMessage":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.InitialStudyController.InitialStudyStatusResponse":{"type":"object","properties":{"studyEpisodeId":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"startTime":{"type":"string","format":"date-time"},"endTime":{"type":"string","format":"date-time","nullable":true},"grainCount":{"type":"integer","format":"int32"},"domainCounts":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.InitialStudyController.DomainProcessingResult"},"nullable":true},"summary":{"type":"string","nullable":true},"unitOfWorkId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.InitialStudyController.RepositoryRequest":{"type":"object","properties":{"path":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"recursionDepth":{"type":"integer","format":"int32"},"includeHistorical":{"type":"boolean"},"timeoutMinutes":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.InitialStudyController.ResourceRequest":{"type":"object","properties":{"uri":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"timeoutMinutes":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.InitiateConnectionRequest":{"type":"object","properties":{"redirectUri":{"type":"string","nullable":true},"scopes":{"type":"array","items":{"type":"string"},"nullable":true},"state":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.InitiateSsoLoginApiResponse":{"type":"object","properties":{"redirectUrl":{"type":"string","nullable":true},"requestId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.InpaintApiRequest":{"type":"object","properties":{"sourceImageId":{"type":"string","format":"uuid"},"sourceImageBase64":{"type":"string","nullable":true},"maskImageBase64":{"type":"string","nullable":true},"prompt":{"type":"string","nullable":true},"negativePrompt":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.InstallPluginApiRequest":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","nullable":true},"userId":{"type":"string","format":"uuid","nullable":true},"source":{"type":"string","nullable":true},"sourceType":{"type":"string","nullable":true},"enableImmediately":{"type":"boolean","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.InstallPluginApiResponse":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string","nullable":true},"plugin":{"$ref":"#/components/schemas/Winnow.Actors.PluginRegistryActor.PluginInfo"}},"additionalProperties":false},"Winnow.API.Controllers.IntegrationSettingsResponse":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"defaultProvider":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.CloudStorageProviderType"},"autoSyncEnabled":{"type":"boolean"},"syncIntervalMinutes":{"type":"integer","format":"int32"},"googleDrive":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProviderStatusResponse"},"oneDrive":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProviderStatusResponse"},"dropbox":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProviderStatusResponse"},"figma":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProviderStatusResponse"}},"additionalProperties":false},"Winnow.API.Controllers.InterruptRalphLoopRequest":{"type":"object","properties":{"reason":{"type":"string","nullable":true},"waitForCurrentTask":{"type":"boolean","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.InviteResponse":{"type":"object","properties":{"journeyId":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"operatorRef":{"type":"string","nullable":true},"mailbox":{"type":"string","nullable":true},"stage":{"type":"string","nullable":true},"subject":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"simulated":{"type":"boolean"},"workerMessageId":{"type":"string","nullable":true},"reason":{"type":"string","nullable":true},"journeyCreated":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.InvokeDynamicActorRequest":{"type":"object","properties":{"message":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.JournalEntriesApiResponse":{"type":"object","properties":{"entries":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.JournalEntry"},"nullable":true},"count":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.JournalSummaryApiResponse":{"type":"object","properties":{"summary":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.JournalTemplatesApiResponse":{"type":"object","properties":{"templates":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.JournalTemplate"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.JourneyAdvanceRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"toStage":{"type":"string","nullable":true},"advancedBy":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.JourneyCreateRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"operatorRef":{"type":"string","nullable":true},"mailbox":{"type":"string","nullable":true},"cloudflareAccountId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.JourneyInviteRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"operatorEmail":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.JourneyResponse":{"type":"object","properties":{"journeyId":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"operatorRef":{"type":"string","nullable":true},"mailbox":{"type":"string","nullable":true},"scopeRef":{"type":"string","nullable":true},"stage":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"openedAtUtc":{"type":"string","format":"date-time"},"advancedAtUtc":{"type":"string","format":"date-time","nullable":true},"advancedBy":{"type":"string","nullable":true},"history":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.JourneyTransitionRecord"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.JourneySenderDecisionRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"journeyId":{"type":"string","nullable":true},"address":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.JourneySenderResponse":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid"},"journeyId":{"type":"string","nullable":true},"address":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"addedBy":{"type":"string","nullable":true},"reason":{"type":"string","nullable":true},"confirmedAtUtc":{"type":"string","format":"date-time","nullable":true},"createdAtUtc":{"type":"string","format":"date-time"},"updatedAtUtc":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Controllers.JourneySenderReviewResponse":{"type":"object","properties":{"sender":{"$ref":"#/components/schemas/Winnow.API.Controllers.JourneySenderResponse"},"runsReleased":{"type":"integer","format":"int32"},"runsCancelled":{"type":"integer","format":"int32"},"handoffsResolved":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.JourneyStageResponse":{"type":"object","properties":{"stage":{"type":"string","nullable":true},"sortOrder":{"type":"integer","format":"int32"},"active":{"type":"boolean"},"profile":{}},"additionalProperties":false},"Winnow.API.Controllers.KgDraftClaimInput":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"sourceDocumentId":{"type":"string","format":"uuid"},"sourceChunkId":{"type":"string","format":"uuid"},"claimText":{"type":"string","nullable":true},"claimType":{"type":"string","nullable":true},"predicate":{"type":"string","nullable":true},"subjectNodeId":{"type":"string","format":"uuid","nullable":true},"objectNodeId":{"type":"string","format":"uuid","nullable":true},"confidenceScore":{"type":"number","format":"double","nullable":true},"actorSource":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.KgDraftEdgeInput":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"sourceNodeId":{"type":"string","format":"uuid"},"targetNodeId":{"type":"string","format":"uuid"},"relationType":{"type":"string","nullable":true},"relationSubtype":{"type":"string","nullable":true},"properties":{"type":"object","additionalProperties":{},"nullable":true},"confidenceScore":{"type":"number","format":"double","nullable":true},"sourceDocumentId":{"type":"string","format":"uuid","nullable":true},"sourceChunkId":{"type":"string","format":"uuid","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.KgDraftMentionInput":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"nodeId":{"type":"string","format":"uuid"},"sourceDocumentId":{"type":"string","format":"uuid"},"sourceChunkId":{"type":"string","format":"uuid"},"mentionText":{"type":"string","nullable":true},"spanStart":{"type":"integer","format":"int32","nullable":true},"spanEnd":{"type":"integer","format":"int32","nullable":true},"contextBefore":{"type":"string","nullable":true},"contextAfter":{"type":"string","nullable":true},"context":{"type":"string","nullable":true},"confidenceScore":{"type":"number","format":"double","nullable":true},"actorSource":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.KgDraftNodeInput":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"entityType":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"normalizedName":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"attributes":{"type":"object","additionalProperties":{},"nullable":true},"confidenceScore":{"type":"number","format":"double","nullable":true},"sourceDocumentId":{"type":"string","format":"uuid","nullable":true},"sourceChunkId":{"type":"string","format":"uuid","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.KnowledgeGrainDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"content":{"type":"string","nullable":true},"domain":{"type":"string","nullable":true},"confidence":{"type":"number","format":"double"},"importance":{"type":"integer","format":"int32"},"categories":{"type":"array","items":{"type":"string"},"nullable":true},"metadata":{"type":"object","additionalProperties":{"type":"string"},"nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"unitOfWorkId":{"type":"string","nullable":true},"sourceEpisodeId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.KnowledgeSearchResponse":{"type":"object","properties":{"query":{"type":"string","nullable":true},"count":{"type":"integer","format":"int32"},"results":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Repositories.KnowledgeItemSearchHit"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.LegalEntitiesResponse":{"type":"object","properties":{"sessionId":{"type":"string","format":"uuid"},"entityTypeFilter":{"type":"string","nullable":true},"minConfidenceFilter":{"type":"number","format":"float","nullable":true},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Services.LegalEntity"},"nullable":true},"totalCount":{"type":"integer","format":"int32"},"countByType":{"type":"object","additionalProperties":{"type":"integer","format":"int32"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.LegalExtractionResponse":{"type":"object","properties":{"sessionId":{"type":"string","format":"uuid"},"studyType":{"type":"string","nullable":true},"summary":{"$ref":"#/components/schemas/Winnow.API.Services.DocumentSummary"},"entities":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Services.LegalEntity"},"nullable":true},"relationships":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Services.LegalRelationship"},"nullable":true},"claims":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Services.LegalClaim"},"nullable":true},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Services.Definition"},"nullable":true},"keyDates":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Services.KeyDate"},"nullable":true},"financialTerms":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Services.FinancialTerm"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.LegalObligationsResponse":{"type":"object","properties":{"sessionId":{"type":"string","format":"uuid"},"partyFilter":{"type":"string","nullable":true},"obligationGroups":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.PartyObligationGroup"},"nullable":true},"totalObligations":{"type":"integer","format":"int32"},"partyCount":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.LegalStudyStats":{"type":"object","properties":{"entityCount":{"type":"integer","format":"int32"},"relationshipCount":{"type":"integer","format":"int32"},"claimCount":{"type":"integer","format":"int32"},"definitionCount":{"type":"integer","format":"int32"},"keyDateCount":{"type":"integer","format":"int32"},"financialTermCount":{"type":"integer","format":"int32"},"pageCount":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.LinearController.LinearIssuesRequest":{"type":"object","properties":{"token":{"type":"string","nullable":true},"teamKey":{"type":"string","nullable":true},"states":{"type":"array","items":{"type":"string"},"nullable":true},"labels":{"type":"array","items":{"type":"string"},"nullable":true},"assigneeEmail":{"type":"string","nullable":true},"priority":{"type":"integer","format":"int32","nullable":true},"limit":{"type":"integer","format":"int32"},"orderBy":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.LinearController.LinearPreviewRequest":{"type":"object","properties":{"token":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ListArtifactsApiResponse":{"type":"object","properties":{"artifacts":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.ArtifactActor.ArtifactSummaryDto"},"nullable":true},"totalCount":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.ListWorkflowsResponse":{"type":"object","properties":{"workflows":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.WorkflowSummary"},"nullable":true},"total":{"type":"integer","format":"int32"},"limit":{"type":"integer","format":"int32"},"offset":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.LogTimeEntryRequest":{"type":"object","properties":{"projectId":{"type":"string","nullable":true},"taskId":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"startedAt":{"type":"string","format":"date-time"},"durationMinutes":{"type":"integer","format":"int32"},"billable":{"type":"boolean"},"hourlyRate":{"type":"number","format":"double","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.LogTrackerEntryApiRequest":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"entryDate":{"type":"string","format":"date-time","nullable":true},"value":{"type":"number","format":"double"},"completed":{"type":"boolean","nullable":true},"notes":{"type":"string","nullable":true},"durationSeconds":{"type":"integer","format":"int32","nullable":true},"sessions":{"type":"integer","format":"int32","nullable":true},"checklistItems":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.ChecklistItem"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.LoopBudgetRequest":{"type":"object","properties":{"maxTokens":{"type":"integer","format":"int32","nullable":true},"maxCost":{"type":"number","format":"double","nullable":true},"maxDurationMinutes":{"type":"integer","format":"int32","nullable":true},"maxTasks":{"type":"integer","format":"int32","nullable":true},"maxRetries":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.MailboxBindingImportItem":{"type":"object","properties":{"address":{"type":"string","nullable":true},"scopeKind":{"type":"string","nullable":true},"scopeRef":{"type":"string","nullable":true},"posture":{"type":"string","nullable":true},"enabled":{"type":"boolean","nullable":true},"cloudflareAccountId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.MailboxBindingImportRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"bindings":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.MailboxBindingImportItem"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.MailboxBindingImportResult":{"type":"object","properties":{"imported":{"type":"integer","format":"int32"},"errors":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.MailboxBindingResponse":{"type":"object","properties":{"address":{"type":"string","nullable":true},"organizationId":{"type":"string","format":"uuid"},"scopeKind":{"type":"string","nullable":true},"scopeRef":{"type":"string","nullable":true},"posture":{"type":"string","nullable":true},"enabled":{"type":"boolean"},"cloudflareAccountId":{"type":"string","nullable":true},"createdAtUtc":{"type":"string","format":"date-time"},"updatedAtUtc":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Controllers.MailboxBindingUpsertRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"scopeKind":{"type":"string","nullable":true},"scopeRef":{"type":"string","nullable":true},"posture":{"type":"string","nullable":true},"enabled":{"type":"boolean","nullable":true},"cloudflareAccountId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.MintGrantApiRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"credentialId":{"type":"string","format":"uuid"},"granteeScopeKind":{"type":"string","nullable":true},"granteeScopeRef":{"type":"string","nullable":true},"mode":{"type":"string","nullable":true},"purpose":{"type":"string","nullable":true},"expiresAtUtc":{"type":"string","format":"date-time","nullable":true},"createdBy":{"type":"string","nullable":true},"askId":{"type":"string","format":"uuid","nullable":true},"journeyStage":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.MoveFileRequest":{"type":"object","properties":{"sourcePath":{"type":"string","nullable":true},"destinationPath":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ObligationItem":{"type":"object","properties":{"claimText":{"type":"string","nullable":true},"claimType":{"type":"string","nullable":true},"objectName":{"type":"string","nullable":true},"confidence":{"type":"number","format":"float"},"section":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.OfficeController.InitializeOfficeRequest":{"type":"object","properties":{"templateId":{"type":"string","nullable":true},"unitOfWorkId":{"type":"string","format":"uuid"}},"additionalProperties":false},"Winnow.API.Controllers.OfficeController.OfficeMessageRequest":{"type":"object","properties":{"unitOfWorkId":{"type":"string","format":"uuid"},"message":{"type":"string","nullable":true},"correlationId":{"type":"string","format":"uuid","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.OntologyRetrieveQueryApiRequest":{"type":"object","properties":{"query":{"type":"string","nullable":true},"ontologyFilters":{"type":"array","items":{"type":"string"},"nullable":true},"entityTypes":{"type":"array","items":{"type":"string"},"nullable":true},"minConfidence":{"type":"number","format":"double","nullable":true},"maxEntities":{"type":"integer","format":"int32","nullable":true},"maxDepth":{"type":"integer","format":"int32","nullable":true},"includeOntologyContext":{"type":"boolean","nullable":true},"expandViaOntology":{"type":"boolean","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.OrganizationDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","nullable":true},"plan":{"type":"string","nullable":true},"seats":{"type":"integer","format":"int32"},"usedSeats":{"type":"integer","format":"int32"},"tokenBalance":{"type":"integer","format":"int32"},"monthlyPrice":{"type":"integer","format":"int32"},"settings":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.OrganizationStorageSettingsResponse":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid"},"defaultStorageProvider":{"type":"string","nullable":true},"vectorStorageProvider":{"type":"string","nullable":true},"sessionStorageProvider":{"type":"string","nullable":true},"fileStorageProvider":{"type":"string","nullable":true},"localStorageRootPath":{"type":"string","nullable":true},"dockerVolumePaths":{"type":"array","items":{"type":"string"},"nullable":true},"storageQuotaBytes":{"type":"integer","format":"int64"},"storageUsedBytes":{"type":"integer","format":"int64"},"artifactRetentionDays":{"type":"integer","format":"int32"},"sessionRetentionDays":{"type":"integer","format":"int32"},"conversationRetentionDays":{"type":"integer","format":"int32"},"embeddingModel":{"type":"string","nullable":true},"embeddingDimensions":{"type":"integer","format":"int32"},"versioningEnabled":{"type":"boolean"},"encryptionAtRestEnabled":{"type":"boolean"},"compressionEnabled":{"type":"boolean"},"deduplicationEnabled":{"type":"boolean"},"hasGoogleDrive":{"type":"boolean"},"hasOneDrive":{"type":"boolean"},"hasDropbox":{"type":"boolean"},"anchorConfig":{"$ref":"#/components/schemas/Winnow.API.Controllers.AnchorConfiguration"},"mineruConfig":{"$ref":"#/components/schemas/Winnow.API.Services.MinerUSettings"},"studyFolderIngestionConfig":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudyFolderIngestionConfig"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Controllers.OutpaintApiRequest":{"type":"object","properties":{"sourceImageId":{"type":"string","format":"uuid"},"sourceImageBase64":{"type":"string","nullable":true},"prompt":{"type":"string","nullable":true},"targetWidth":{"type":"integer","format":"int32"},"targetHeight":{"type":"integer","format":"int32"},"direction":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.PartyObligationGroup":{"type":"object","properties":{"partyName":{"type":"string","nullable":true},"obligations":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ObligationItem"},"nullable":true},"totalCount":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.PermissionCheckResponse":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"permission":{"type":"string","nullable":true},"granted":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.PermissionsResponse":{"type":"object","properties":{"permissions":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.Permission"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.PersonaController.InitializePersonaRequest":{"type":"object","properties":{"personaId":{"type":"string","nullable":true},"unitOfWorkId":{"type":"string","format":"uuid"}},"additionalProperties":false},"Winnow.API.Controllers.PersonaController.PersonaMessageRequest":{"type":"object","properties":{"unitOfWorkId":{"type":"string","format":"uuid"},"message":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.PersonasResponse":{"type":"object","properties":{"personas":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.PersonaDefinition"},"nullable":true},"count":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.PipelinesResponse":{"type":"object","properties":{"pipelines":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.PipelineDefinition"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.PlanRequest":{"type":"object","properties":{"goal":{"type":"string","nullable":true},"featureName":{"type":"string","nullable":true},"domain":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.PlansResponse":{"type":"object","properties":{"plans":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.SubscriptionPlan"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.PluginDetailResponse":{"type":"object","properties":{"plugin":{"$ref":"#/components/schemas/Winnow.Actors.PluginRegistryActor.PluginInfo"},"functions":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.PluginRegistryActor.PluginFunction"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.PluginsResponse":{"type":"object","properties":{"plugins":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.PluginRegistryActor.PluginInfo"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.PrepareTaskWorkspaceRequest":{"type":"object","properties":{"repoRoot":{"type":"string","nullable":true},"baseBranch":{"type":"string","nullable":true},"branchName":{"type":"string","nullable":true},"worktreeRoot":{"type":"string","nullable":true},"reuseExistingWorkspace":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.ProcessSsoCallbackApiResponse":{"type":"object","properties":{"success":{"type":"boolean"},"userId":{"type":"string","format":"uuid","nullable":true},"sessionId":{"type":"string","format":"uuid","nullable":true},"isNewUser":{"type":"boolean"},"userInfo":{"$ref":"#/components/schemas/Winnow.Actors.SsoAuthActor.SsoUserInfo"}},"additionalProperties":false},"Winnow.API.Controllers.ProjectClientResponse":{"type":"object","properties":{"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"status":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ProjectDashboardStatsResponse":{"type":"object","properties":{"totalProjects":{"type":"integer","format":"int32"},"activeProjects":{"type":"integer","format":"int32"},"planningProjects":{"type":"integer","format":"int32"},"completedProjects":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.ProjectDeliverableResponse":{"type":"object","properties":{"id":{"type":"string","nullable":true},"projectId":{"type":"string","nullable":true},"sowId":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"acceptanceCriteria":{"type":"array","items":{"type":"string"},"nullable":true},"dueDate":{"type":"string","format":"date-time","nullable":true},"estimatedHours":{"type":"number","format":"double","nullable":true},"actualHours":{"type":"number","format":"double","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ProjectHealthSummaryResponse":{"type":"object","properties":{"projectId":{"type":"string","nullable":true},"healthStatus":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ProjectMemberResponse":{"type":"object","properties":{"id":{"type":"string","nullable":true},"userId":{"type":"string","nullable":true},"role":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ProjectResponse":{"type":"object","properties":{"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"clientId":{"type":"string","nullable":true},"startDate":{"type":"string","format":"date-time","nullable":true},"endDate":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ProjectRiskResponse":{"type":"object","properties":{"id":{"type":"string","nullable":true},"projectId":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"severity":{"type":"string","nullable":true},"status":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ProjectStatementOfWorkResponse":{"type":"object","properties":{"id":{"type":"string","nullable":true},"projectId":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"objectives":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ProjectTaskResponse":{"type":"object","properties":{"id":{"type":"string","nullable":true},"projectId":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"reviewReason":{"type":"string","nullable":true},"priority":{"type":"string","nullable":true},"estimatedHours":{"type":"number","format":"double","nullable":true},"actualHours":{"type":"number","format":"double","nullable":true},"dueDate":{"type":"string","format":"date-time","nullable":true},"subtasks":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Repositories.ProjectTaskSubtask"},"nullable":true},"executionProgress":{"$ref":"#/components/schemas/Winnow.API.Repositories.ProjectTaskExecutionProgress"},"metadata":{"type":"object","additionalProperties":{},"nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Controllers.ProjectTaskTypeResponse":{"type":"object","properties":{"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"color":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ProjectTimeEntryResponse":{"type":"object","properties":{"id":{"type":"string","nullable":true},"projectId":{"type":"string","nullable":true},"taskId":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"durationMinutes":{"type":"integer","format":"int32"},"startedAt":{"type":"string","format":"date-time"},"status":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ProjectWorkflowBindingResponse":{"type":"object","properties":{"id":{"type":"string","nullable":true},"projectId":{"type":"string","nullable":true},"workflowId":{"type":"string","nullable":true},"bindingName":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"isEnabled":{"type":"boolean"},"versionPolicy":{"type":"string","nullable":true},"pinnedVersion":{"type":"string","nullable":true},"triggerType":{"type":"string","nullable":true},"triggerConfig":{"type":"object","additionalProperties":{},"nullable":true},"inputMapping":{"type":"object","additionalProperties":{},"nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true},"lastRunId":{"type":"string","nullable":true},"lastRunStatus":{"type":"string","nullable":true},"lastRunStartedAt":{"type":"string","format":"date-time","nullable":true},"lastRunCompletedAt":{"type":"string","format":"date-time","nullable":true},"lastRunDurationMs":{"type":"integer","format":"int64","nullable":true},"lastRunError":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Controllers.ProjectWorkflowRunResponse":{"type":"object","properties":{"success":{"type":"boolean"},"workflowBindingId":{"type":"string","nullable":true},"workflowId":{"type":"string","nullable":true},"version":{"type":"string","nullable":true},"runId":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time","nullable":true},"durationMs":{"type":"integer","format":"int64"},"errorMessage":{"type":"string","nullable":true},"output":{"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ProjectWorkspaceDetailResponse":{"type":"object","properties":{"project":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectResponse"},"client":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectClientResponse"},"members":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectMemberResponse"},"nullable":true},"taskTypes":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectTaskTypeResponse"},"nullable":true},"tasks":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectTaskResponse"},"nullable":true},"statementsOfWork":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectStatementOfWorkResponse"},"nullable":true},"deliverables":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectDeliverableResponse"},"nullable":true},"timeEntries":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectTimeEntryResponse"},"nullable":true},"risks":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectRiskResponse"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ProjectWorkspaceOverviewResponse":{"type":"object","properties":{"stats":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectDashboardStatsResponse"},"projects":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectResponse"},"nullable":true},"totalProjects":{"type":"integer","format":"int32"},"clients":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectClientResponse"},"nullable":true},"totalClients":{"type":"integer","format":"int32"},"healthSummary":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProjectHealthSummaryResponse"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ProviderDto":{"type":"object","properties":{"name":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true},"isConfigured":{"type":"boolean"},"priority":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.ProviderHealthDto":{"type":"object","properties":{"name":{"type":"string","nullable":true},"isAvailable":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.ProviderStatusResponse":{"type":"object","properties":{"providerType":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.CloudStorageProviderType"},"isConnected":{"type":"boolean"},"displayName":{"type":"string","nullable":true},"connectedAt":{"type":"string","format":"date-time","nullable":true},"lastSyncedAt":{"type":"string","format":"date-time","nullable":true},"tokenExpiresAt":{"type":"string","format":"date-time","nullable":true},"isTokenExpired":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.ProvidersResponse":{"type":"object","properties":{"providers":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProviderDto"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.PublishPersonaRequest":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"visibility":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.PublishTaskPullRequestRequest":{"type":"object","properties":{"repoRoot":{"type":"string","nullable":true},"baseBranch":{"type":"string","nullable":true},"branchName":{"type":"string","nullable":true},"worktreeRoot":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"body":{"type":"string","nullable":true},"commitMessage":{"type":"string","nullable":true},"reviewers":{"type":"array","items":{"type":"string"},"nullable":true},"draft":{"type":"boolean"},"reuseExistingWorkspace":{"type":"boolean"},"allowSharedWorkspace":{"type":"boolean"},"updateTaskStatusToPrCreated":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.QueueRagDocumentsRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"documentIds":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"force":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.QueueRagDocumentsResponse":{"type":"object","properties":{"queued":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.RagChunkResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"documentId":{"type":"string","format":"uuid"},"chunkIndex":{"type":"integer","format":"int32"},"content":{"type":"string","nullable":true},"tokenCount":{"type":"integer","format":"int32","nullable":true},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Controllers.RagDocumentResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"chunkCount":{"type":"integer","format":"int32"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"sourceType":{"type":"string","nullable":true},"storagePath":{"type":"string","nullable":true},"mimeType":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.RagIndexingJobResponse":{"type":"object","properties":{"documentId":{"type":"string","format":"uuid"},"fileName":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"chunkCount":{"type":"integer","format":"int32"},"embeddedCount":{"type":"integer","format":"int32"},"progress":{"type":"integer","format":"int32"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Controllers.RagIndexingStateResponse":{"type":"object","properties":{"isPaused":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.RagSearchRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"query":{"type":"string","nullable":true},"topK":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.RaiseAskApiRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"credentialId":{"type":"string","format":"uuid","nullable":true},"service":{"type":"string","nullable":true},"requestedScopeKind":{"type":"string","nullable":true},"requestedScopeRef":{"type":"string","nullable":true},"purpose":{"type":"string","nullable":true},"requestedMode":{"type":"string","nullable":true},"requestedBy":{"type":"string","nullable":true},"runId":{"type":"string","format":"uuid","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ReadyForQuestionsResponse":{"type":"object","properties":{"sessionId":{"type":"string","format":"uuid"},"ready":{"type":"boolean"},"status":{"type":"string","nullable":true},"stage":{"type":"string","nullable":true},"progress":{"type":"integer","format":"int32"},"ragStatus":{"type":"string","nullable":true},"kgStatus":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.RecipeQuestionApiRequest":{"type":"object","properties":{"question":{"type":"string","nullable":true},"context":{"type":"string","nullable":true},"correlationId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.RefreshResult":{"type":"object","properties":{"refreshedCount":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.RegisterFunctionApiRequest":{"type":"object","properties":{"name":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"functionType":{"type":"string","nullable":true},"entryPoint":{"type":"string","nullable":true},"parameters":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Winnow.Actors.PluginRegistryActor.ParameterSchema"},"nullable":true},"isChatTool":{"type":"boolean","nullable":true},"toolSyntax":{"type":"string","nullable":true},"timeoutSeconds":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.RegisterFunctionApiResponse":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string","nullable":true},"functionId":{"type":"string","format":"uuid","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.RegisterWebhookRequest":{"type":"object","properties":{"url":{"type":"string","nullable":true},"events":{"type":"array","items":{"type":"string"},"nullable":true},"secret":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.RelevantSummariesApiRequest":{"type":"object","properties":{"query":{"type":"string","nullable":true},"entityIds":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"summaryTypes":{"type":"array","items":{"type":"string"},"nullable":true},"minFreshness":{"type":"number","format":"double","nullable":true},"maxResults":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.RemoveBackgroundApiRequest":{"type":"object","properties":{"sourceImageId":{"type":"string","format":"uuid"},"sourceImageBase64":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.RenameFileRequest":{"type":"object","properties":{"path":{"type":"string","nullable":true},"newName":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.RenameFolderRequest":{"type":"object","properties":{"path":{"type":"string","nullable":true},"newName":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.RepoStudyPreviewHttpRequest":{"type":"object","properties":{"projectRoot":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"allFeatures":{"type":"boolean"},"includeMemory":{"type":"boolean"},"focusTaskIds":{"type":"array","items":{"type":"string"},"nullable":true},"planPath":{"type":"string","nullable":true},"timeoutMinutes":{"type":"integer","format":"int32"},"preferredProvider":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.RequirementController.FormRequirementsRequest":{"type":"object","properties":{"workspaceRoot":{"type":"string","nullable":true},"tasks":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Services.GeneratedTaskItem"},"nullable":true},"createdBy":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.RequirementController.MarkAppliedRequest":{"type":"object","properties":{"workspaceRoot":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.RequirementController.MarkReviewedRequest":{"type":"object","properties":{"reviewedBy":{"type":"string","nullable":true},"reviewNotes":{"type":"string","nullable":true},"workspaceRoot":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.RequirementController.PrismaToGqlRequest":{"type":"object","properties":{"prismaSchema":{"type":"string","nullable":true},"schemaPath":{"type":"string","nullable":true},"schemaName":{"type":"string","nullable":true},"baseSchemaPath":{"type":"string","nullable":true},"outputPath":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.RequirementController.RegisterCodegenRequest":{"type":"object","properties":{"workspaceRoot":{"type":"string","nullable":true},"generatorName":{"type":"string","nullable":true},"templateVersion":{"type":"string","nullable":true},"inputSchemaHash":{"type":"string","nullable":true},"inputSchemaPath":{"type":"string","nullable":true},"regenerationCommand":{"type":"string","nullable":true},"outputFiles":{"type":"array","items":{"type":"string"},"nullable":true},"domain":{"type":"string","nullable":true},"createdBy":{"type":"string","nullable":true},"projectId":{"type":"string","nullable":true},"codegenRunId":{"type":"string","nullable":true},"schemaDrivenProjectId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.RequirementController.SyncRequest":{"type":"object","properties":{"workspaceRoot":{"type":"string","nullable":true},"projectId":{"type":"string","nullable":true},"triggeredBy":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.RestoreVersionApiRequest":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"version":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.RetrieveQueryApiRequest":{"type":"object","properties":{"query":{"type":"string","nullable":true},"entityTypes":{"type":"array","items":{"type":"string"},"nullable":true},"minConfidence":{"type":"number","format":"double","nullable":true},"maxEntities":{"type":"integer","format":"int32","nullable":true},"includeSummaries":{"type":"boolean","nullable":true},"includeProvenance":{"type":"boolean","nullable":true},"sessionId":{"type":"string","format":"uuid","nullable":true},"documentIds":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"conversationId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ReviewRequest":{"type":"object","properties":{"decision":{"$ref":"#/components/schemas/Winnow.Services.ReviewDecision"},"notes":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.RolesResponse":{"type":"object","properties":{"roles":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.Role"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.RunMediaFile":{"type":"object","properties":{"name":{"type":"string","nullable":true},"sizeBytes":{"type":"integer","format":"int64"},"mimeType":{"type":"string","nullable":true},"modifiedAt":{"type":"string","format":"date-time"},"url":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.RunMediaListResponse":{"type":"object","properties":{"workflowId":{"type":"string","nullable":true},"runId":{"type":"string","nullable":true},"files":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.RunMediaFile"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.RunProjectWorkflowBindingRequest":{"type":"object","properties":{"versionOverride":{"type":"string","nullable":true},"input":{"type":"object","additionalProperties":{},"nullable":true},"taskId":{"type":"string","nullable":true},"attachRunToTask":{"type":"boolean"},"allowDisabled":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.RuncrateInferenceController.CementRequest":{"type":"object","properties":{"bareMetalBaseUrl":{"type":"string","nullable":true},"bareMetalModel":{"type":"string","nullable":true},"restart":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.RuncrateInferenceController.RecordUsageRequest":{"type":"object","properties":{"inputTokens":{"type":"integer","format":"int64"},"outputTokens":{"type":"integer","format":"int64"}},"additionalProperties":false},"Winnow.API.Controllers.SaveImageApiRequest":{"type":"object","properties":{"imageId":{"type":"string","format":"uuid","nullable":true},"imageBase64":{"type":"string","nullable":true},"prompt":{"type":"string","nullable":true},"folderPath":{"type":"string","nullable":true},"fileName":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.SaveSessionApiRequest":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid","nullable":true},"deviceId":{"type":"string","nullable":true},"deviceType":{"type":"string","nullable":true},"stateData":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"contextSummary":{"type":"string","nullable":true},"lastConversationId":{"type":"string","format":"uuid","nullable":true},"activePersonaId":{"type":"string","format":"uuid","nullable":true},"activeArtifacts":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.SaveSessionApiResponse":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string","nullable":true},"syncVersion":{"type":"integer","format":"int32"},"conflict":{"$ref":"#/components/schemas/Winnow.Actors.ArtifactActor.ConflictInfo"}},"additionalProperties":false},"Winnow.API.Controllers.SaveWorkflowResponse":{"type":"object","properties":{"success":{"type":"boolean"},"workflowId":{"type":"string","nullable":true},"version":{"type":"string","nullable":true},"error":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.SchedulesController.ListSchedulesResponse":{"type":"object","properties":{"schedules":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Scheduling.ScheduledJobDefinition"},"nullable":true},"registeredProviders":{"type":"array","items":{"type":"string"},"nullable":true},"supportedTaskTypes":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.SchedulesController.UpsertScheduleRequest":{"type":"object","properties":{"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"provider":{"type":"string","nullable":true},"cronExpression":{"type":"string","nullable":true},"timeZoneId":{"type":"string","nullable":true},"taskType":{"type":"string","nullable":true},"payload":{"nullable":true},"isPaused":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.SchemaTemplateRequest":{"type":"object","properties":{"schemaPath":{"type":"string","nullable":true},"schemaArchivePath":{"type":"string","nullable":true},"outputRoot":{"type":"string","nullable":true},"appAlias":{"type":"string","nullable":true},"includeReviews":{"type":"boolean","nullable":true},"reviewCharLimit":{"type":"integer","format":"int32","nullable":true},"cleanWorkspace":{"type":"boolean","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ScimAuthScheme":{"type":"object","properties":{"type":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"specUri":{"type":"string","nullable":true},"primary":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.ScimBulkConfig":{"type":"object","properties":{"supported":{"type":"boolean"},"maxOperations":{"type":"integer","format":"int32"},"maxPayloadSize":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.ScimBulkOperation":{"type":"object","properties":{"method":{"type":"string","nullable":true},"bulkId":{"type":"string","nullable":true},"path":{"type":"string","nullable":true},"data":{"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ScimBulkOperationResponse":{"type":"object","properties":{"method":{"type":"string","nullable":true},"bulkId":{"type":"string","nullable":true},"location":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"response":{"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ScimBulkRequest":{"type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"},"nullable":true},"Operations":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimBulkOperation"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ScimBulkResponse":{"type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"},"nullable":true},"Operations":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimBulkOperationResponse"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ScimEmail":{"type":"object","properties":{"value":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"primary":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.ScimFilterConfig":{"type":"object","properties":{"supported":{"type":"boolean"},"maxResults":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.ScimGroup":{"type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"},"nullable":true},"id":{"type":"string","nullable":true},"externalId":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true},"members":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimMember"},"nullable":true},"meta":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimMeta"}},"additionalProperties":false},"Winnow.API.Controllers.ScimGroupRef":{"type":"object","properties":{"value":{"type":"string","nullable":true},"$ref":{"type":"string","nullable":true},"display":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ScimListResponse":{"type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"},"nullable":true},"totalResults":{"type":"integer","format":"int32"},"startIndex":{"type":"integer","format":"int32"},"itemsPerPage":{"type":"integer","format":"int32"},"resources":{"type":"array","items":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ScimListResponse`1[[Winnow.API.Controllers.ScimGroup, Winnow.API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]":{"type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"},"nullable":true},"totalResults":{"type":"integer","format":"int32"},"startIndex":{"type":"integer","format":"int32"},"itemsPerPage":{"type":"integer","format":"int32"},"Resources":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimGroup"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ScimListResponse`1[[Winnow.API.Controllers.ScimResourceType, Winnow.API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]":{"type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"},"nullable":true},"totalResults":{"type":"integer","format":"int32"},"startIndex":{"type":"integer","format":"int32"},"itemsPerPage":{"type":"integer","format":"int32"},"Resources":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimResourceType"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ScimListResponse`1[[Winnow.API.Controllers.ScimSchema, Winnow.API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]":{"type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"},"nullable":true},"totalResults":{"type":"integer","format":"int32"},"startIndex":{"type":"integer","format":"int32"},"itemsPerPage":{"type":"integer","format":"int32"},"Resources":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimSchema"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ScimListResponse`1[[Winnow.API.Controllers.ScimUser, Winnow.API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]":{"type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"},"nullable":true},"totalResults":{"type":"integer","format":"int32"},"startIndex":{"type":"integer","format":"int32"},"itemsPerPage":{"type":"integer","format":"int32"},"Resources":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimUser"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ScimMember":{"type":"object","properties":{"value":{"type":"string","nullable":true},"$ref":{"type":"string","nullable":true},"display":{"type":"string","nullable":true},"type":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ScimMeta":{"type":"object","properties":{"resourceType":{"type":"string","nullable":true},"created":{"type":"string","format":"date-time","nullable":true},"lastModified":{"type":"string","format":"date-time","nullable":true},"location":{"type":"string","nullable":true},"version":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ScimName":{"type":"object","properties":{"formatted":{"type":"string","nullable":true},"familyName":{"type":"string","nullable":true},"givenName":{"type":"string","nullable":true},"middleName":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ScimPatchOperation":{"type":"object","properties":{"op":{"type":"string","nullable":true},"path":{"type":"string","nullable":true},"value":{"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ScimPatchRequest":{"type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"},"nullable":true},"Operations":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimPatchOperation"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ScimResourceType":{"type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"},"nullable":true},"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"endpoint":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"schema":{"type":"string","nullable":true},"schemaExtensions":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimSchemaExtension"},"nullable":true},"meta":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimMeta"}},"additionalProperties":false},"Winnow.API.Controllers.ScimSchema":{"type":"object","properties":{"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"attributes":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimSchemaAttribute"},"nullable":true},"meta":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimMeta"}},"additionalProperties":false},"Winnow.API.Controllers.ScimSchemaAttribute":{"type":"object","properties":{"name":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"multiValued":{"type":"boolean"},"required":{"type":"boolean"},"caseExact":{"type":"boolean"},"mutability":{"type":"string","nullable":true},"returned":{"type":"string","nullable":true},"uniqueness":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ScimSchemaExtension":{"type":"object","properties":{"schema":{"type":"string","nullable":true},"required":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.ScimServiceProviderConfig":{"type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"},"nullable":true},"documentationUri":{"type":"string","nullable":true},"patch":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimSupported"},"bulk":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimBulkConfig"},"filter":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimFilterConfig"},"changePassword":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimSupported"},"sort":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimSupported"},"etag":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimSupported"},"authenticationSchemes":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimAuthScheme"},"nullable":true},"meta":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimMeta"}},"additionalProperties":false},"Winnow.API.Controllers.ScimSupported":{"type":"object","properties":{"supported":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.ScimUser":{"type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"},"nullable":true},"id":{"type":"string","nullable":true},"externalId":{"type":"string","nullable":true},"userName":{"type":"string","nullable":true},"name":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimName"},"displayName":{"type":"string","nullable":true},"emails":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimEmail"},"nullable":true},"active":{"type":"boolean"},"groups":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimGroupRef"},"nullable":true},"meta":{"$ref":"#/components/schemas/Winnow.API.Controllers.ScimMeta"}},"additionalProperties":false},"Winnow.API.Controllers.SecretDropCreationResponse":{"type":"object","properties":{"drop":{"$ref":"#/components/schemas/Winnow.API.Controllers.SecretDropResponse"},"url":{"type":"string","nullable":true},"token":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.SecretDropResponse":{"type":"object","properties":{"dropId":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"requestedBy":{"type":"string","nullable":true},"service":{"type":"string","nullable":true},"accountLabel":{"type":"string","nullable":true},"journeyId":{"type":"string","format":"uuid","nullable":true},"status":{"type":"string","nullable":true},"credentialId":{"type":"string","format":"uuid","nullable":true},"createdAtUtc":{"type":"string","format":"date-time"},"fulfilledAtUtc":{"type":"string","format":"date-time","nullable":true},"expiresAtUtc":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Controllers.SenderConfirmationDecisionRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"journeyId":{"type":"string","nullable":true},"address":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.SenderConfirmationDecisionResponse":{"type":"object","properties":{"journeyId":{"type":"string","nullable":true},"address":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"decidedBy":{"type":"string","nullable":true},"decidedAtUtc":{"type":"string","format":"date-time","nullable":true},"runsReleased":{"type":"integer","format":"int32"},"runsCancelled":{"type":"integer","format":"int32"},"handoffsResolved":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.SenderConfirmationListResponse":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.SenderConfirmationResponse"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.SenderConfirmationResponse":{"type":"object","properties":{"journeyId":{"type":"string","nullable":true},"address":{"type":"string","nullable":true},"fromDomain":{"type":"string","nullable":true},"spf":{"type":"string","nullable":true},"dkim":{"type":"string","nullable":true},"dmarc":{"type":"string","nullable":true},"reason":{"type":"string","nullable":true},"parkedRuns":{"type":"integer","format":"int32"},"mailbox":{"type":"string","nullable":true},"firstSeenAtUtc":{"type":"string","format":"date-time","nullable":true},"lastSeenAtUtc":{"type":"string","format":"date-time","nullable":true},"recordedAtUtc":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Controllers.SetArtifactApiRequest":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid","nullable":true},"value":{"nullable":true},"valueType":{"type":"string","nullable":true},"scope":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true},"expiresInSeconds":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.SetArtifactApiResponse":{"type":"object","properties":{"success":{"type":"boolean"},"artifactId":{"type":"string","format":"uuid","nullable":true},"version":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.SetDefaultProvidersRequest":{"type":"object","properties":{"sttProvider":{"type":"string","nullable":true},"ttsProvider":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.ShareArtifactApiRequest":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"scope":{"type":"string","nullable":true},"sharedWith":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.SmartRouterBridgeController.SmartRouterRouteRequest":{"type":"object","properties":{"role":{"type":"string","nullable":true},"prompt":{"type":"string","nullable":true},"correlationId":{"type":"string","format":"uuid"},"requestedCapability":{"type":"string","nullable":true},"desiredSkills":{"type":"array","items":{"type":"string"},"nullable":true},"domain":{"type":"string","nullable":true},"targetLatencyMs":{"type":"number","format":"double","nullable":true},"includeKnowledge":{"type":"boolean"},"knowledgeQuery":{"type":"string","nullable":true},"knowledgeMaxChars":{"type":"integer","format":"int32"},"stream":{"type":"boolean","nullable":true},"maxTokens":{"type":"integer","format":"int32","nullable":true},"askTimeoutSeconds":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.SmartRouterBridgeController.SmartRouterRouteResponse":{"type":"object","properties":{"completion":{"type":"string","nullable":true},"correlationId":{"type":"string","format":"uuid"}},"additionalProperties":false},"Winnow.API.Controllers.SsoCallbackRequest":{"type":"object","properties":{"code":{"type":"string","nullable":true},"state":{"type":"string","nullable":true},"samlResponse":{"type":"string","nullable":true},"error":{"type":"string","nullable":true},"errorDescription":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.SsoProvidersResponse":{"type":"object","properties":{"providers":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.SsoAuthActor.SsoProvider"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.StartBrowserSessionRequest":{"type":"object","properties":{"sessionId":{"type":"string","nullable":true},"startUrl":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.StartDeepAgentHttpRequest":{"type":"object","properties":{"runId":{"type":"string","format":"uuid","nullable":true},"goal":{"type":"string","nullable":true},"workspaceRoot":{"type":"string","nullable":true},"harnessMode":{"type":"string","nullable":true},"preferLsp":{"type":"boolean","nullable":true},"planningRole":{"type":"string","nullable":true},"executionRole":{"type":"string","nullable":true},"domain":{"type":"string","nullable":true},"preferredProvider":{"type":"string","nullable":true},"maxPlanTasks":{"type":"integer","format":"int32","nullable":true},"maxTokens":{"type":"integer","format":"int32","nullable":true},"maxConcurrentTasks":{"type":"integer","format":"int32","nullable":true},"taskTimeoutSeconds":{"type":"integer","format":"int32","nullable":true},"budgets":{"$ref":"#/components/schemas/Winnow.API.Controllers.DeepAgentBudgetRequest"},"targetFiles":{"type":"array","items":{"type":"string"},"nullable":true},"anchorFile":{"type":"string","nullable":true},"anchorLine":{"type":"integer","format":"int32","nullable":true},"anchorColumn":{"type":"integer","format":"int32","nullable":true},"enablePrSafetyNet":{"type":"boolean","nullable":true},"metadata":{"type":"object","additionalProperties":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.StartLegalStudyResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string","nullable":true},"organizationId":{"type":"string","nullable":true},"sessionId":{"type":"string","format":"uuid","nullable":true},"documentType":{"type":"string","nullable":true},"documentTitle":{"type":"string","nullable":true},"stats":{"$ref":"#/components/schemas/Winnow.API.Controllers.LegalStudyStats"},"durationSeconds":{"type":"number","format":"double","nullable":true},"errorMessage":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.StartMedicalStudyResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string","nullable":true},"organizationId":{"type":"string","nullable":true},"runId":{"type":"string","format":"uuid","nullable":true},"sessionId":{"type":"string","format":"uuid","nullable":true},"documentId":{"type":"string","format":"uuid","nullable":true},"results":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudySessionStats"},"extractionArtifactKey":{"type":"string","nullable":true},"durationSeconds":{"type":"number","format":"double","nullable":true},"medicalHistoryExtraction":{"nullable":true},"costSummary":{"$ref":"#/components/schemas/Winnow.API.Models.MedicalWorkloadCostSummary"},"errorMessage":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.StartRalphLoopRequest":{"type":"object","properties":{"goal":{"type":"string","nullable":true},"projectRoot":{"type":"string","nullable":true},"planPath":{"type":"string","nullable":true},"autoStudy":{"type":"boolean","nullable":true},"includeMemory":{"type":"boolean","nullable":true},"allFeatures":{"type":"boolean","nullable":true},"generateSow":{"type":"boolean","nullable":true},"sowFeatureName":{"type":"string","nullable":true},"focusTaskIds":{"type":"array","items":{"type":"string"},"nullable":true},"budgets":{"$ref":"#/components/schemas/Winnow.API.Controllers.LoopBudgetRequest"},"maxConcurrentTasks":{"type":"integer","format":"int32","nullable":true},"maxTasks":{"type":"integer","format":"int32","nullable":true},"maxTokens":{"type":"integer","format":"int32","nullable":true},"modelId":{"type":"string","nullable":true},"systemPrompt":{"type":"string","nullable":true},"gspCommand":{"type":"string","nullable":true},"gspArguments":{"type":"string","nullable":true},"taskTimeoutMinutes":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.StartStudyResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string","nullable":true},"organizationId":{"type":"string","nullable":true},"runId":{"type":"string","format":"uuid","nullable":true},"sessionId":{"type":"string","format":"uuid","nullable":true},"documentId":{"type":"string","format":"uuid","nullable":true},"kgJobId":{"type":"string","format":"uuid","nullable":true},"studyType":{"type":"string","nullable":true},"results":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudySessionStats"},"extractionArtifactKey":{"type":"string","nullable":true},"durationSeconds":{"type":"number","format":"double","nullable":true},"medicalHistoryExtraction":{"nullable":true},"costSummary":{"$ref":"#/components/schemas/Winnow.API.Models.MedicalWorkloadCostSummary"},"errorMessage":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.StartTrialRequest":{"type":"object","properties":{"planCode":{"type":"string","nullable":true},"durationDays":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.SteeringReviewRequest":{"type":"object","properties":{"summary":{"type":"string","nullable":true},"projectId":{"type":"string","nullable":true},"projectRoot":{"type":"string","nullable":true},"planPath":{"type":"string","nullable":true},"outputDirectory":{"type":"string","nullable":true},"requirementsFiles":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.StorageProviderInfo":{"type":"object","properties":{"code":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"requiresCredentials":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.StorageQuotaResponse":{"type":"object","properties":{"quotaBytes":{"type":"integer","format":"int64"},"usedBytes":{"type":"integer","format":"int64"},"availableBytes":{"type":"integer","format":"int64"},"usagePercentage":{"type":"number","format":"double"}},"additionalProperties":false},"Winnow.API.Controllers.StreamExecutionResponse":{"type":"object","properties":{"success":{"type":"boolean"},"streamId":{"type":"string","nullable":true},"streamName":{"type":"string","nullable":true},"executionTime":{"type":"string","format":"date-time"},"durationMs":{"type":"integer","format":"int64"},"output":{"nullable":true},"errorMessage":{"type":"string","nullable":true},"executionMode":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.StudyFolderIngestionConfig":{"type":"object","properties":{"enabled":{"type":"boolean","nullable":true},"watchPath":{"type":"string","nullable":true},"filePattern":{"type":"string","nullable":true},"includeSubdirectories":{"type":"boolean","nullable":true},"classifyEnabled":{"type":"boolean","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.StudyRequest":{"type":"object","properties":{"allFeatures":{"type":"boolean","nullable":true},"projectRoot":{"type":"string","nullable":true},"focusTaskIds":{"type":"array","items":{"type":"string"},"nullable":true},"planPath":{"type":"string","nullable":true},"includeMemory":{"type":"boolean","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.StudySessionArtifactRequest":{"type":"object","properties":{"userId":{"type":"string","format":"uuid","nullable":true},"organizationId":{"type":"string","format":"uuid","nullable":true},"namespace":{"type":"string","nullable":true},"key":{"type":"string","nullable":true},"value":{"nullable":true},"valueType":{"type":"string","nullable":true},"scope":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true},"conversationId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.StudySessionArtifactResponse":{"type":"object","properties":{"success":{"type":"boolean"},"artifactId":{"type":"string","format":"uuid","nullable":true},"version":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.StudySessionPageElement":{"type":"object","properties":{"pageNumber":{"type":"integer","format":"int32"},"markdown":{"type":"string","nullable":true},"anchoredText":{"type":"string","nullable":true},"somMarks":{"nullable":true},"imageDataUrl":{"type":"string","nullable":true},"layoutElements":{"nullable":true},"contentItems":{"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.StudySessionPagesResponse":{"type":"object","properties":{"sessionId":{"type":"string","format":"uuid"},"pageCount":{"type":"integer","format":"int32"},"pages":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudySessionPageElement"},"nullable":true},"layout":{"nullable":true},"contentList":{"nullable":true},"documentMarkdown":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.StudySessionPreviewRequest":{"type":"object","properties":{"status":{"type":"string","nullable":true},"actorSource":{"type":"string","nullable":true},"sourceDocumentId":{"type":"string","format":"uuid","nullable":true},"config":{"type":"object","additionalProperties":{},"nullable":true},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.KgDraftNodeInput"},"nullable":true},"edges":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.KgDraftEdgeInput"},"nullable":true},"mentions":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.KgDraftMentionInput"},"nullable":true},"claims":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.KgDraftClaimInput"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.StudySessionStats":{"type":"object","properties":{"sessionId":{"type":"string","format":"uuid"},"title":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"progress":{"type":"integer","format":"int32"},"readyForQuestions":{"type":"boolean"},"chunkCount":{"type":"integer","format":"int32"},"nodeCount":{"type":"integer","format":"int32"},"edgeCount":{"type":"integer","format":"int32"},"claimCount":{"type":"integer","format":"int32"},"durationSeconds":{"type":"number","format":"double","nullable":true},"errorMessage":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.StudySessionStepRequest":{"type":"object","properties":{"stepType":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"actorSource":{"type":"string","nullable":true},"input":{"type":"object","additionalProperties":{},"nullable":true},"output":{"type":"object","additionalProperties":{},"nullable":true},"errorMessage":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.SubmitApprovalRequest":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"message":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.SyncResultDto":{"type":"object","properties":{"success":{"type":"boolean"},"fileKey":{"type":"string","nullable":true},"syncedAt":{"type":"string","format":"date-time"},"message":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.SyncSessionApiRequest":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"deviceId":{"type":"string","nullable":true},"expectedVersion":{"type":"integer","format":"int32"},"stateData":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.SynthesizeJsonResponse":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string","nullable":true},"audioBase64":{"type":"string","nullable":true},"format":{"type":"string","nullable":true},"sampleRate":{"type":"integer","format":"int32"},"durationSeconds":{"type":"number","format":"double"},"provider":{"type":"string","nullable":true},"latencyMs":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.SynthesizeRequest":{"type":"object","properties":{"text":{"type":"string","nullable":true},"voiceId":{"type":"string","nullable":true},"provider":{"type":"string","nullable":true},"speed":{"type":"number","format":"float","nullable":true},"sampleRate":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.TaskPullRequestResponse":{"type":"object","properties":{"repoRoot":{"type":"string","nullable":true},"worktreePath":{"type":"string","nullable":true},"branchName":{"type":"string","nullable":true},"baseBranch":{"type":"string","nullable":true},"pullRequestUrl":{"type":"string","nullable":true},"pullRequestNumber":{"type":"integer","format":"int32"},"title":{"type":"string","nullable":true},"draft":{"type":"boolean"},"changedFiles":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.TaskWorkspaceResponse":{"type":"object","properties":{"repoRoot":{"type":"string","nullable":true},"worktreePath":{"type":"string","nullable":true},"branchName":{"type":"string","nullable":true},"baseBranch":{"type":"string","nullable":true},"reusedExistingWorkspace":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.TestGrainBatchRequest":{"type":"object","properties":{"count":{"type":"integer","format":"int32"},"contentPrefix":{"type":"string","nullable":true},"domain":{"type":"string","nullable":true},"correlationId":{"type":"string","nullable":true},"extractorModel":{"type":"string","nullable":true},"categories":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.TestGrainRequest":{"type":"object","properties":{"content":{"type":"string","nullable":true},"domain":{"type":"string","nullable":true},"correlationId":{"type":"string","nullable":true},"confidence":{"type":"number","format":"double","nullable":true},"importance":{"type":"integer","format":"int32","nullable":true},"extractorModel":{"type":"string","nullable":true},"categories":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.TestQueryRequest":{"type":"object","properties":{"query":{"type":"string","nullable":true},"domainHints":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.TokenCountsDto":{"type":"object","properties":{"colors":{"type":"integer","format":"int32"},"typography":{"type":"integer","format":"int32"},"spacing":{"type":"integer","format":"int32"},"shadows":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.TokenExportResultDto":{"type":"object","properties":{"fileKey":{"type":"string","nullable":true},"format":{"type":"string","nullable":true},"output":{"type":"string","nullable":true},"contentType":{"type":"string","nullable":true},"tokenCounts":{"$ref":"#/components/schemas/Winnow.API.Controllers.TokenCountsDto"},"exportedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Controllers.TrackUsageRequest":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"featureCode":{"type":"string","nullable":true},"count":{"type":"integer","format":"int32","nullable":true},"value":{"type":"number","format":"double","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.TrackerEntriesApiResponse":{"type":"object","properties":{"entries":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.TrackerEntry"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.TrackersApiResponse":{"type":"object","properties":{"trackers":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.Tracker"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.TrainApiRequest":{"type":"object","properties":{"objective":{"type":"string","nullable":true},"method":{"type":"string","nullable":true},"rank":{"type":"integer","format":"int32","nullable":true},"alpha":{"type":"integer","format":"int32","nullable":true},"dropout":{"type":"number","format":"double","nullable":true},"lr":{"type":"number","format":"double","nullable":true},"beta":{"type":"number","format":"double","nullable":true},"maxSteps":{"type":"integer","format":"int32","nullable":true},"batchSize":{"type":"integer","format":"int32","nullable":true},"seed":{"type":"integer","format":"int32","nullable":true},"dryRun":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.TranscribeResponse":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string","nullable":true},"text":{"type":"string","nullable":true},"confidence":{"type":"number","format":"double"},"language":{"type":"string","nullable":true},"durationSeconds":{"type":"number","format":"double","nullable":true},"provider":{"type":"string","nullable":true},"latencyMs":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Controllers.UomConversionApiRequest":{"type":"object","properties":{"ingredient":{"type":"string","nullable":true},"fromAmount":{"type":"string","nullable":true},"fromUnit":{"type":"string","nullable":true},"toUnit":{"type":"string","nullable":true},"correlationId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.UpdateDeliverableRequest":{"type":"object","properties":{"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"dueDate":{"type":"string","format":"date-time","nullable":true},"completedAt":{"type":"string","format":"date-time","nullable":true},"estimatedHours":{"type":"number","format":"double","nullable":true},"actualHours":{"type":"number","format":"double","nullable":true},"acceptanceCriteria":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.UpdateEntityApiRequest":{"type":"object","properties":{"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"attributes":{"type":"object","additionalProperties":{},"nullable":true},"aliases":{"type":"array","items":{"type":"string"},"nullable":true},"confidenceScore":{"type":"number","format":"double","nullable":true},"verificationStatus":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.UpdateEpisodeMemoryRequest":{"type":"object","properties":{"title":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"end":{"type":"string","format":"date-time","nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"domains":{"type":"array","items":{"type":"string"},"nullable":true},"metadata":{"type":"object","additionalProperties":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.UpdateFeatureStorageRequest":{"type":"object","properties":{"storageProvider":{"type":"string","nullable":true},"providerConfig":{"type":"object","additionalProperties":{},"nullable":true},"rootFolderPath":{"type":"string","nullable":true},"namespaceTemplate":{"type":"string","nullable":true},"retentionDays":{"type":"integer","format":"int32","nullable":true},"maxFileSizeBytes":{"type":"integer","format":"int64","nullable":true},"maxTotalSizeBytes":{"type":"integer","format":"int64","nullable":true},"isEnabled":{"type":"boolean","nullable":true},"versioningEnabled":{"type":"boolean","nullable":true},"encryptionEnabled":{"type":"boolean","nullable":true},"syncEnabled":{"type":"boolean","nullable":true},"syncIntervalMinutes":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.UpdateIdentityReferenceApiRequest":{"type":"object","properties":{"status":{"type":"string","nullable":true},"referenceId":{"type":"string","nullable":true},"trainedAt":{"type":"string","format":"date-time","nullable":true},"name":{"type":"string","nullable":true},"sourcePhotoUrls":{"type":"array","items":{"type":"string"},"nullable":true},"strength":{"type":"number","format":"double","nullable":true},"voiceId":{"type":"string","nullable":true},"brandVoiceStance":{"type":"string","nullable":true},"formalityLevel":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.UpdateIntegrationSettingsRequest":{"type":"object","properties":{"defaultProvider":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.CloudStorageProviderType"},"autoSyncEnabled":{"type":"boolean","nullable":true},"syncIntervalMinutes":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.UpdateOrganizationStorageRequest":{"type":"object","properties":{"defaultStorageProvider":{"type":"string","nullable":true},"vectorStorageProvider":{"type":"string","nullable":true},"sessionStorageProvider":{"type":"string","nullable":true},"fileStorageProvider":{"type":"string","nullable":true},"localStorageRootPath":{"type":"string","nullable":true},"dockerVolumePaths":{"type":"array","items":{"type":"string"},"nullable":true},"storageQuotaBytes":{"type":"integer","format":"int64","nullable":true},"artifactRetentionDays":{"type":"integer","format":"int32","nullable":true},"sessionRetentionDays":{"type":"integer","format":"int32","nullable":true},"conversationRetentionDays":{"type":"integer","format":"int32","nullable":true},"embeddingModel":{"type":"string","nullable":true},"embeddingDimensions":{"type":"integer","format":"int32","nullable":true},"versioningEnabled":{"type":"boolean","nullable":true},"encryptionAtRestEnabled":{"type":"boolean","nullable":true},"compressionEnabled":{"type":"boolean","nullable":true},"anchorConfig":{"$ref":"#/components/schemas/Winnow.API.Controllers.AnchorConfiguration"},"mineruConfig":{"$ref":"#/components/schemas/Winnow.API.Services.MinerUSettings"},"studyFolderIngestionConfig":{"$ref":"#/components/schemas/Winnow.API.Controllers.StudyFolderIngestionConfig"}},"additionalProperties":false},"Winnow.API.Controllers.UpdatePersonaApiRequest":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"name":{"type":"string","nullable":true},"systemPrompt":{"type":"string","nullable":true},"tone":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"bestFor":{"type":"string","nullable":true},"domain":{"type":"string","nullable":true},"defaultRole":{"type":"string","nullable":true},"icon":{"type":"string","nullable":true},"avatarUrl":{"type":"string","nullable":true},"preferredModel":{"type":"string","nullable":true},"preferredProvider":{"type":"string","nullable":true},"temperature":{"type":"number","format":"double","nullable":true},"maxTokens":{"type":"integer","format":"int32","nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"changeSummary":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.UpdatePipelineApiRequest":{"type":"object","properties":{"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.PipelineNode"},"nullable":true},"edges":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.PipelineEdge"},"nullable":true},"variables":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.PipelineVariable"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.UpdateProjectQuestionnaireRequest":{"type":"object","properties":{"responses":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"merge":{"type":"boolean"},"notes":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.UpdateProjectWorkflowBindingRequest":{"type":"object","properties":{"workflowId":{"type":"string","nullable":true},"bindingName":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"isEnabled":{"type":"boolean","nullable":true},"versionPolicy":{"type":"string","nullable":true},"pinnedVersion":{"type":"string","nullable":true},"triggerType":{"type":"string","nullable":true},"triggerConfig":{"type":"object","additionalProperties":{},"nullable":true},"inputMapping":{"type":"object","additionalProperties":{},"nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.UpdateProviderConfigRequest":{"type":"object","properties":{"clientId":{"type":"string","nullable":true},"clientSecret":{"type":"string","nullable":true},"tenantId":{"type":"string","nullable":true},"appKey":{"type":"string","nullable":true},"appSecret":{"type":"string","nullable":true},"rootFolderId":{"type":"string","nullable":true},"teamId":{"type":"string","nullable":true},"defaultFileKey":{"type":"string","nullable":true},"extractDesignTokens":{"type":"boolean","nullable":true},"autoExportAssets":{"type":"boolean","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.UpdateSandboxApiRequest":{"type":"object","properties":{"maxMemoryMb":{"type":"integer","format":"int32","nullable":true},"maxCpuPercent":{"type":"integer","format":"int32","nullable":true},"maxExecutionSeconds":{"type":"integer","format":"int32","nullable":true},"networkEnabled":{"type":"boolean","nullable":true},"filesystemAccess":{"type":"string","nullable":true},"allowedHosts":{"type":"array","items":{"type":"string"},"nullable":true},"allowedPaths":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.UpdateTaskMetadataRequest":{"type":"object","properties":{"metadata":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.UpdateTaskStatusRequest":{"type":"object","properties":{"status":{"type":"string","nullable":true},"reviewReason":{"type":"string","nullable":true},"publishPullRequest":{"type":"boolean"},"prepareWorkspace":{"$ref":"#/components/schemas/Winnow.API.Controllers.PrepareTaskWorkspaceRequest"},"pullRequest":{"$ref":"#/components/schemas/Winnow.API.Controllers.PublishTaskPullRequestRequest"}},"additionalProperties":false},"Winnow.API.Controllers.UpscaleApiRequest":{"type":"object","properties":{"sourceImageId":{"type":"string","format":"uuid"},"sourceImageBase64":{"type":"string","nullable":true},"scale":{"type":"integer","format":"int32","nullable":true},"upscaler":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.UpsertKnowledgeGrainRequest":{"type":"object","properties":{"content":{"type":"string","nullable":true},"domain":{"type":"string","nullable":true},"categories":{"type":"array","items":{"type":"string"},"nullable":true},"metadata":{"type":"object","additionalProperties":{"type":"string"},"nullable":true},"confidence":{"type":"number","format":"double","nullable":true},"importance":{"type":"integer","format":"int32","nullable":true},"unitOfWorkId":{"type":"string","nullable":true},"sourceEpisodeId":{"type":"string","nullable":true},"organizationId":{"type":"string","nullable":true},"extractorModel":{"type":"string","nullable":true},"semanticTags":{"type":"array","items":{"type":"string"},"nullable":true},"tokenCount":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.UpsertKnowledgeItemRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"parentId":{"type":"string","format":"uuid","nullable":true},"title":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"content":{"type":"string","nullable":true},"domain":{"type":"string","nullable":true},"confidence":{"type":"number","format":"double","nullable":true},"importance":{"type":"number","format":"double","nullable":true},"categories":{"type":"array","items":{"type":"string"},"nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.UserEntitlementsResponse":{"type":"object","properties":{"entitlements":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.FeatureEntitlement"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.VaraMessageRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"journeyId":{"type":"string","nullable":true},"messageId":{"type":"string","nullable":true},"threadId":{"type":"string","nullable":true},"subject":{"type":"string","nullable":true},"body":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.VaraMessageResponse":{"type":"object","properties":{"status":{"type":"string","nullable":true},"runId":{"type":"string","format":"uuid","nullable":true},"scopeKind":{"type":"string","nullable":true},"scopeRef":{"type":"string","nullable":true},"payloadRef":{"type":"string","nullable":true},"trustTier":{"type":"string","nullable":true},"source":{"type":"string","nullable":true},"reason":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.VariationsApiRequest":{"type":"object","properties":{"sourceImageId":{"type":"string","format":"uuid"},"sourceImageBase64":{"type":"string","nullable":true},"count":{"type":"integer","format":"int32","nullable":true},"variation":{"type":"number","format":"double","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.VaultCredentialCreateRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"service":{"type":"string","nullable":true},"accountLabel":{"type":"string","nullable":true},"kind":{"type":"string","nullable":true},"secret":{"type":"string","nullable":true,"writeOnly":true},"envKey":{"type":"string","nullable":true},"injection":{"$ref":"#/components/schemas/Winnow.API.Controllers.VaultInjectionSpec"},"allowedMethods":{"type":"array","items":{"type":"string"},"nullable":true},"allowedPathPrefixes":{"type":"array","items":{"type":"string"},"nullable":true},"expiresAt":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.VaultCredentialRotateRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"secret":{"type":"string","nullable":true,"writeOnly":true},"expiresAt":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.VaultInjectionSpec":{"type":"object","properties":{"header":{"type":"string","nullable":true},"scheme":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.VoiceDto":{"type":"object","properties":{"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"language":{"type":"string","nullable":true},"gender":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"provider":{"type":"string","nullable":true},"isCloned":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.VoiceHealthResponse":{"type":"object","properties":{"healthy":{"type":"boolean"},"sttAvailable":{"type":"boolean"},"ttsAvailable":{"type":"boolean"},"error":{"type":"string","nullable":true},"sttProviders":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProviderHealthDto"},"nullable":true},"ttsProviders":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.ProviderHealthDto"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.VoiceProviderDto":{"type":"object","properties":{"name":{"type":"string","nullable":true},"isAvailable":{"type":"boolean"},"supportsStreaming":{"type":"boolean"},"supportsVoiceCloning":{"type":"boolean"},"isDefault":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.VoiceProvidersResponse":{"type":"object","properties":{"sttProviders":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.VoiceProviderDto"},"nullable":true},"ttsProviders":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.VoiceProviderDto"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.VoicesResponse":{"type":"object","properties":{"voices":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.VoiceDto"},"nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.WebSearchRequest":{"type":"object","properties":{"query":{"type":"string","nullable":true},"provider":{"type":"string","nullable":true},"maxResults":{"type":"integer","format":"int32"},"region":{"type":"string","nullable":true},"safeSearch":{"type":"boolean"},"useCache":{"type":"boolean"},"organizationId":{"type":"string","nullable":true},"userId":{"type":"string","nullable":true},"conversationId":{"type":"string","format":"uuid","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.WebSearchResponse":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string","nullable":true},"provider":{"type":"string","nullable":true},"query":{"type":"string","nullable":true},"results":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Controllers.WebSearchResult"},"nullable":true},"totalResults":{"type":"integer","format":"int32"},"latencyMs":{"type":"integer","format":"int32"},"fromCache":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Controllers.WebSearchResult":{"type":"object","properties":{"title":{"type":"string","nullable":true},"url":{"type":"string","nullable":true},"snippet":{"type":"string","nullable":true},"displayUrl":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"publishedDate":{"type":"string","format":"date-time","nullable":true},"relevanceScore":{"type":"number","format":"double","nullable":true}},"additionalProperties":false},"Winnow.API.Controllers.WorkflowSummary":{"type":"object","properties":{"workflowId":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"latestVersion":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Gsp.AcceptanceExample":{"type":"object","properties":{"id":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"given":{"type":"string","nullable":true},"when":{"type":"string","nullable":true},"then":{"type":"string","nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Gsp.Capabilities":{"type":"object","properties":{"apiVersion":{"type":"string","nullable":true},"gspVersion":{"type":"string","nullable":true},"judgeProfiles":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Gsp.JudgeProfile"},"nullable":true},"limits":{"$ref":"#/components/schemas/Winnow.API.Gsp.CapabilitiesLimits"}},"additionalProperties":false},"Winnow.API.Gsp.CapabilitiesLimits":{"type":"object","properties":{"maxDiffLines":{"type":"integer","format":"int32"},"maxFilesTouched":{"type":"integer","format":"int32"},"maxSearchResults":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Gsp.CheckResult":{"type":"object","properties":{"name":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"durationMs":{"type":"integer","format":"int32"},"summary":{"type":"string","nullable":true},"artifactPaths":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Gsp.ContractChange":{"type":"object","properties":{"surface":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"breakingRisk":{"type":"string","nullable":true},"links":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Gsp.DocumentRef":{"type":"object","properties":{"source":{"type":"string","nullable":true},"id":{"type":"string","nullable":true},"url":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"snippet":{"type":"string","nullable":true},"content":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Gsp.EvaluateRequest":{"type":"object","properties":{"prompt":{"type":"string","nullable":true},"response":{"type":"string","nullable":true},"referenceAnswer":{"type":"string","nullable":true},"sourceModel":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Gsp.GateRequest":{"type":"object","properties":{"repoRoot":{"type":"string","nullable":true},"ticketKey":{"type":"string","nullable":true},"sources":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Gsp.DocumentRef"},"nullable":true},"writeFiles":{"type":"boolean"},"outDir":{"type":"string","nullable":true},"strict":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Gsp.JudgeMetrics":{"type":"object","properties":{"totalDurationMs":{"type":"integer","format":"int32"},"iteration":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Gsp.JudgeProfile":{"type":"object","properties":{"id":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"checks":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Gsp.JudgeRequest":{"type":"object","properties":{"repoRoot":{"type":"string","nullable":true},"slicePlan":{"$ref":"#/components/schemas/Winnow.API.Gsp.SlicePlan"},"sliceId":{"type":"string","nullable":true},"profiles":{"type":"array","items":{"type":"string"},"nullable":true},"failFast":{"type":"boolean"},"captureArtifacts":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Gsp.JudgeVerdict":{"type":"object","properties":{"status":{"type":"string","nullable":true},"checks":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Gsp.CheckResult"},"nullable":true},"changedFiles":{"type":"array","items":{"type":"string"},"nullable":true},"nextActions":{"type":"array","items":{"type":"string"},"nullable":true},"metrics":{"$ref":"#/components/schemas/Winnow.API.Gsp.JudgeMetrics"}},"additionalProperties":false},"Winnow.API.Gsp.PackRequest":{"type":"object","properties":{"spec":{"$ref":"#/components/schemas/Winnow.API.Gsp.SpecPacket"},"slicePlan":{"$ref":"#/components/schemas/Winnow.API.Gsp.SlicePlan"},"sliceId":{"type":"string","nullable":true},"verdict":{"$ref":"#/components/schemas/Winnow.API.Gsp.JudgeVerdict"},"format":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Gsp.ProposeRequest":{"type":"object","properties":{"repoRoot":{"type":"string","nullable":true},"spec":{"$ref":"#/components/schemas/Winnow.API.Gsp.SpecPacket"},"slicePlan":{"$ref":"#/components/schemas/Winnow.API.Gsp.SlicePlan"},"sliceId":{"type":"string","nullable":true},"model":{"type":"string","nullable":true},"contextPaths":{"type":"array","items":{"type":"string"},"nullable":true},"style":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Gsp.RepoApplyDiffRequest":{"type":"object","properties":{"repoRoot":{"type":"string","nullable":true},"diff":{"type":"string","nullable":true},"dryRun":{"type":"boolean"},"requireConfirmation":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Gsp.RepoChangedFilesRequest":{"type":"object","properties":{"repoRoot":{"type":"string","nullable":true},"baseRef":{"type":"string","nullable":true},"includeDiffSummary":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Gsp.RepoReadRequest":{"type":"object","properties":{"repoRoot":{"type":"string","nullable":true},"path":{"type":"string","nullable":true},"startLine":{"type":"integer","format":"int32","nullable":true},"endLine":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false},"Winnow.API.Gsp.RepoSearchRequest":{"type":"object","properties":{"repoRoot":{"type":"string","nullable":true},"query":{"type":"string","nullable":true},"globs":{"type":"array","items":{"type":"string"},"nullable":true},"maxResults":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Gsp.RiskItem":{"type":"object","properties":{"area":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"mitigation":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Gsp.RunRequest":{"type":"object","properties":{"repoRoot":{"type":"string","nullable":true},"ticketKey":{"type":"string","nullable":true},"sources":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Gsp.DocumentRef"},"nullable":true},"writeFiles":{"type":"boolean"},"outDir":{"type":"string","nullable":true},"createWorktree":{"type":"boolean"},"worktreeDir":{"type":"string","nullable":true},"baseRef":{"type":"string","nullable":true},"branchName":{"type":"string","nullable":true},"commitOnSuccess":{"type":"boolean"},"commitMessage":{"type":"string","nullable":true},"sliceId":{"type":"string","nullable":true},"maxDiffLinesPerSlice":{"type":"integer","format":"int32"},"preferContractFirst":{"type":"boolean"},"contextPaths":{"type":"array","items":{"type":"string"},"nullable":true},"failFast":{"type":"boolean"},"forwardJudgeFailuresToDeepAgent":{"type":"boolean"},"deepAgentRunId":{"type":"string","nullable":true},"captureArtifacts":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Gsp.ScopeHints":{"type":"object","properties":{"services":{"type":"array","items":{"type":"string"},"nullable":true},"uiAreas":{"type":"array","items":{"type":"string"},"nullable":true},"suggestedPaths":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Gsp.Slice":{"type":"object","properties":{"id":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"intent":{"type":"string","nullable":true},"allowlist":{"type":"array","items":{"type":"string"},"nullable":true},"blocklist":{"type":"array","items":{"type":"string"},"nullable":true},"diffBudgetLines":{"type":"integer","format":"int32"},"judgeProfiles":{"type":"array","items":{"type":"string"},"nullable":true},"notes":{"type":"string","nullable":true},"dependsOn":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Gsp.SlicePlan":{"type":"object","properties":{"id":{"type":"string","nullable":true},"ticketKey":{"type":"string","nullable":true},"slices":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Gsp.Slice"},"nullable":true}},"additionalProperties":false},"Winnow.API.Gsp.SliceRequest":{"type":"object","properties":{"repoRoot":{"type":"string","nullable":true},"spec":{"$ref":"#/components/schemas/Winnow.API.Gsp.SpecPacket"},"maxDiffLinesPerSlice":{"type":"integer","format":"int32"},"preferContractFirst":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Gsp.SpecPacket":{"type":"object","properties":{"id":{"type":"string","nullable":true},"ticketKey":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"goals":{"type":"array","items":{"type":"string"},"nullable":true},"nonGoals":{"type":"array","items":{"type":"string"},"nullable":true},"acceptance":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Gsp.AcceptanceExample"},"nullable":true},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Gsp.ContractChange"},"nullable":true},"risks":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Gsp.RiskItem"},"nullable":true},"scopeHints":{"$ref":"#/components/schemas/Winnow.API.Gsp.ScopeHints"},"references":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Gsp.DocumentRef"},"nullable":true}},"additionalProperties":false},"Winnow.API.Invoices.InvoiceCorrection":{"type":"object","properties":{"lineIndex":{"type":"integer","format":"int32"},"field":{"type":"string","nullable":true},"correctedNumber":{"type":"number","format":"double","nullable":true},"correctedText":{"type":"string","nullable":true},"reason":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Invoices.InvoiceResolution":{"type":"object","properties":{"lineIndex":{"type":"integer","format":"int32"},"resolution":{"type":"string","nullable":true},"note":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Models.ActorRegistryHeartbeatRequest":{"type":"object","properties":{"nodeId":{"type":"string","nullable":true},"actorSystemName":{"type":"string","nullable":true},"address":{"type":"string","nullable":true},"roles":{"type":"array","items":{"type":"string"},"nullable":true},"actorPaths":{"type":"array","items":{"type":"string"},"nullable":true},"providers":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.ActorRegistryProvider"},"nullable":true},"metadata":{"type":"object","additionalProperties":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Models.ActorRegistryProvider":{"type":"object","properties":{"name":{"type":"string","nullable":true},"model":{"type":"string","nullable":true},"provider":{"type":"string","nullable":true},"baseUrl":{"type":"string","nullable":true},"weight":{"type":"integer","format":"int32"},"maxConcurrency":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Models.AddCostLedgerEntryRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"workspaceId":{"type":"string","nullable":true},"runId":{"type":"string","format":"uuid"},"stepId":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"provider":{"type":"string","nullable":true},"toolName":{"type":"string","nullable":true},"workerNodeId":{"type":"string","nullable":true},"amountUsd":{"type":"number","format":"double"},"inputTokens":{"type":"integer","format":"int32"},"outputTokens":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Models.AgentSetRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"serviceId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string","nullable":true},"version":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"plannerRole":{"type":"string","nullable":true},"defaultJudgeProfiles":{"type":"array","items":{"type":"string"},"nullable":true},"sliceStrategy":{"type":"string","nullable":true},"maxConcurrentSlices":{"type":"integer","format":"int32","nullable":true},"slices":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.AgentSetSliceRecord"},"nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Models.AgentSetSliceRecord":{"type":"object","properties":{"id":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"preferredRole":{"type":"string","nullable":true},"allowlist":{"type":"array","items":{"type":"string"},"nullable":true},"blocklist":{"type":"array","items":{"type":"string"},"nullable":true},"diffBudgetLines":{"type":"integer","format":"int32","nullable":true},"judgeProfiles":{"type":"array","items":{"type":"string"},"nullable":true},"dependsOn":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Models.AppendRunEventRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"stepId":{"type":"string","nullable":true},"eventType":{"$ref":"#/components/schemas/Winnow.Domain.Messages.AcpEventType"},"attempt":{"type":"integer","format":"int32"},"idempotencyKey":{"type":"string","nullable":true},"payload":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Models.CallIntakeEditRequest":{"type":"object","properties":{"callSid":{"type":"string","nullable":true},"formId":{"type":"string","nullable":true},"variationId":{"type":"string","nullable":true},"modelKey":{"type":"string","nullable":true},"providerKey":{"type":"string","nullable":true},"modelName":{"type":"string","nullable":true},"correlationId":{"type":"string","format":"uuid","nullable":true},"transcript":{"type":"string","nullable":true},"originalOutput":{"type":"string","nullable":true},"correctedOutput":{"type":"string","nullable":true},"entityCorrections":{"type":"object","additionalProperties":{"type":"string"},"nullable":true},"notes":{"type":"string","nullable":true},"operatorId":{"type":"string","nullable":true},"source":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Models.CancelOrchestrationRunRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"reason":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Models.CapabilityScorecardRecord":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid"},"workspaceId":{"type":"string","nullable":true},"weekStart":{"type":"string","format":"date"},"crossToolInteroperabilityScore":{"type":"number","format":"double"},"costObservabilityScore":{"type":"number","format":"double"},"failureRecoveryScore":{"type":"number","format":"double"},"multiRepoOrchestrationScore":{"type":"number","format":"double"},"humanHandoffScore":{"type":"number","format":"double"},"trendDeltas":{"type":"object","additionalProperties":{"type":"number","format":"double"},"nullable":true},"topBlockers":{"type":"array","items":{"type":"string"},"nullable":true},"generatedAtUtc":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Models.ClusterSshConnectionRequest":{"type":"object","properties":{"host":{"type":"string","nullable":true},"port":{"type":"integer","format":"int32"},"username":{"type":"string","nullable":true},"password":{"type":"string","nullable":true},"privateKeyPath":{"type":"string","nullable":true},"privateKeyPassphrase":{"type":"string","nullable":true},"connectTimeoutSeconds":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Models.ClusterWorkerBootstrapRequest":{"type":"object","properties":{"deployRequest":{"$ref":"#/components/schemas/Winnow.API.Models.ClusterWorkerDeployRequest"},"ssh":{"$ref":"#/components/schemas/Winnow.API.Models.ClusterSshConnectionRequest"},"publicHostname":{"type":"string","nullable":true},"runPreflightChecks":{"type":"boolean"},"prepareHostDirectories":{"type":"boolean"},"skipExecution":{"type":"boolean"},"commandTimeoutSeconds":{"type":"integer","format":"int32"},"waitForRegistrationSeconds":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Models.ClusterWorkerDeployRequest":{"type":"object","properties":{"runtimeProfile":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"imageName":{"type":"string","nullable":true},"cloudType":{"type":"string","nullable":true},"interruptible":{"type":"boolean","nullable":true},"supportPublicIp":{"type":"boolean","nullable":true},"globalNetworking":{"type":"boolean","nullable":true},"gpuCount":{"type":"integer","format":"int32","nullable":true},"gpuType":{"type":"string","nullable":true},"containerDiskInGb":{"type":"integer","format":"int32","nullable":true},"volumeInGb":{"type":"integer","format":"int32","nullable":true},"volumeMountPath":{"type":"string","nullable":true},"ports":{"type":"array","items":{"type":"string"},"nullable":true},"startCommand":{"type":"string","nullable":true},"entrypointCommand":{"type":"string","nullable":true},"additionalEnv":{"type":"object","additionalProperties":{"type":"string"},"nullable":true},"model":{"type":"string","nullable":true},"vllmPort":{"type":"integer","format":"int32","nullable":true},"akkaPort":{"type":"integer","format":"int32","nullable":true},"actorSystemName":{"type":"string","nullable":true},"seedNodes":{"type":"array","items":{"type":"string"},"nullable":true},"registryEndpoint":{"type":"string","nullable":true},"nodeRole":{"type":"string","nullable":true},"nodeId":{"type":"string","nullable":true},"providerBaseUrl":{"type":"string","nullable":true},"workspaceId":{"type":"string","nullable":true},"capability":{"type":"string","nullable":true},"costClass":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Models.ClusterWorkerInspectionRequest":{"type":"object","properties":{"ssh":{"$ref":"#/components/schemas/Winnow.API.Models.ClusterSshConnectionRequest"},"commandTimeoutSeconds":{"type":"integer","format":"int32"},"volumeMountPath":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Models.ConversationTemplateRecord":{"type":"object","properties":{"id":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"system_prompt":{"type":"string","nullable":true},"initial_message":{"type":"string","nullable":true},"icon":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"is_public":{"type":"boolean"},"user_id":{"type":"string","nullable":true},"organization_id":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Models.ConversationTemplateRequest":{"type":"object","properties":{"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"system_prompt":{"type":"string","nullable":true},"initial_message":{"type":"string","nullable":true},"icon":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"is_public":{"type":"boolean"},"user_id":{"type":"string","nullable":true},"organization_id":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Models.CostLedgerEntryRecord":{"type":"object","properties":{"id":{"type":"integer","format":"int64","nullable":true},"organizationId":{"type":"string","format":"uuid"},"workspaceId":{"type":"string","nullable":true},"runId":{"type":"string","format":"uuid"},"stepId":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"provider":{"type":"string","nullable":true},"toolName":{"type":"string","nullable":true},"workerNodeId":{"type":"string","nullable":true},"amountUsd":{"type":"number","format":"double"},"inputTokens":{"type":"integer","format":"int32"},"outputTokens":{"type":"integer","format":"int32"},"occurredAtUtc":{"type":"string","format":"date-time"},"metadata":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Models.CostSummaryRecord":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid"},"workspaceId":{"type":"string","nullable":true},"totalCostUsd":{"type":"number","format":"double"},"providerCostUsd":{"type":"number","format":"double"},"toolCostUsd":{"type":"number","format":"double"},"workerCostUsd":{"type":"number","format":"double"},"totalInputTokens":{"type":"integer","format":"int32"},"totalOutputTokens":{"type":"integer","format":"int32"},"runCount":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Models.CreateAgentSetRequest":{"type":"object","properties":{"serviceId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string","nullable":true},"version":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"plannerRole":{"type":"string","nullable":true},"defaultJudgeProfiles":{"type":"array","items":{"type":"string"},"nullable":true},"sliceStrategy":{"type":"string","nullable":true},"maxConcurrentSlices":{"type":"integer","format":"int32","nullable":true},"slices":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.AgentSetSliceRecord"},"nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Models.CreateHandoffRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"workspaceId":{"type":"string","nullable":true},"runId":{"type":"string","format":"uuid"},"severity":{"type":"string","nullable":true},"reason":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"recommendedNextAction":{"type":"string","nullable":true},"projectId":{"type":"string","nullable":true},"context":{"type":"object","additionalProperties":{},"nullable":true},"suggestedActions":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Models.CreateMempackVersionRequest":{"type":"object","properties":{"serviceId":{"type":"string","format":"uuid"},"versionSemver":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"baseModelFamily":{"type":"string","nullable":true},"quantizationProfile":{"type":"string","nullable":true},"qdoraHash":{"type":"string","nullable":true},"eoraHash":{"type":"string","nullable":true},"memoryBundleHash":{"type":"string","nullable":true},"calibrationHash":{"type":"string","nullable":true},"calibrationMode":{"type":"string","nullable":true},"routingRulesHash":{"type":"string","nullable":true},"passiveRecipeHash":{"type":"string","nullable":true},"compatibilityFingerprint":{"type":"string","nullable":true},"manifest":{"type":"object","additionalProperties":{},"nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Models.CreateOrchestrationRunRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"envelope":{"$ref":"#/components/schemas/Winnow.Domain.Messages.AcpEnvelope"},"legacyMcp":{"$ref":"#/components/schemas/Winnow.API.Models.LegacyMcpAdapterInput"},"legacyPm":{"$ref":"#/components/schemas/Winnow.API.Models.LegacyPmAdapterInput"}},"additionalProperties":false},"Winnow.API.Models.CreatePolicyProfileRequest":{"type":"object","properties":{"name":{"type":"string","nullable":true},"version":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"profile":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Models.CreateRuntimeProfileRequest":{"type":"object","properties":{"name":{"type":"string","nullable":true},"version":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"profile":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Models.CreateServiceRegistryRequest":{"type":"object","properties":{"name":{"type":"string","nullable":true},"repoId":{"type":"string","nullable":true},"defaultBranch":{"type":"string","nullable":true},"language":{"type":"string","nullable":true},"policyProfileId":{"type":"string","format":"uuid","nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Models.CreateTaskRecipeRequest":{"type":"object","properties":{"taskTypeId":{"type":"string","format":"uuid"},"version":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"promptTemplate":{"type":"string","nullable":true},"toolContract":{"type":"object","additionalProperties":{},"nullable":true},"inputSchema":{"type":"object","additionalProperties":{},"nullable":true},"outputSchema":{"type":"object","additionalProperties":{},"nullable":true},"judgeSchema":{"type":"object","additionalProperties":{},"nullable":true},"executionProfile":{"type":"object","additionalProperties":{},"nullable":true},"allowedRuntimeProfiles":{"type":"array","items":{"type":"string"},"nullable":true},"deterministicKeyTemplate":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Models.CreateTaskRegistrationRequest":{"type":"object","properties":{"serviceId":{"type":"string","format":"uuid"},"taskTypeId":{"type":"string","format":"uuid"},"taskRecipeId":{"type":"string","format":"uuid"},"agentSetId":{"type":"string","format":"uuid","nullable":true},"enabled":{"type":"boolean","nullable":true},"priority":{"type":"integer","format":"int32","nullable":true},"maxParallelism":{"type":"integer","format":"int32","nullable":true},"scheduleCron":{"type":"string","nullable":true},"triggerMode":{"type":"string","nullable":true},"mempackVersionRange":{"type":"string","nullable":true},"executionMode":{"type":"string","nullable":true},"repoScope":{"type":"object","additionalProperties":{},"nullable":true},"policyProfileId":{"type":"string","format":"uuid","nullable":true},"runtimeProfileId":{"type":"string","format":"uuid","nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Models.CreateTaskTypeRequest":{"type":"object","properties":{"name":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"defaultTimeoutSec":{"type":"integer","format":"int32","nullable":true},"safetyClass":{"type":"string","nullable":true},"requiresRepoSnapshot":{"type":"boolean"},"requiresMempack":{"type":"boolean"},"outputKind":{"type":"string","nullable":true},"retryPolicy":{"type":"object","additionalProperties":{},"nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Models.DocumentAcceptRequest":{"type":"object","properties":{"note":{"type":"string","nullable":true},"overrideNote":{"type":"string","nullable":true},"reviewerId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Models.DocumentActionResponse":{"type":"object","properties":{"documentId":{"type":"string","nullable":true},"status":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentActionStatus"},"disposition":{"type":"string","nullable":true},"reason":{"type":"string","nullable":true},"message":{"type":"string","nullable":true},"warnings":{"type":"array","items":{"type":"string"},"nullable":true},"audit":{"type":"array","items":{"type":"string"},"nullable":true},"correctionsApplied":{"type":"integer","format":"int32"},"rowsChanged":{"type":"integer","format":"int32"},"crossFootPassing":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Models.DocumentActionStatus":{"enum":["Applied","NotFound","Refused","Invalid"],"type":"string"},"Winnow.API.Models.DocumentCalloutSummary":{"type":"object","properties":{"calloutId":{"type":"string","nullable":true},"kind":{"type":"string","nullable":true},"evidence":{"type":"object","additionalProperties":{"type":"string"},"nullable":true},"occurredAtUtc":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Models.DocumentCorrectionsRequest":{"type":"object","properties":{"corrections":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Invoices.InvoiceCorrection"},"nullable":true},"resolutions":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Invoices.InvoiceResolution"},"nullable":true},"acceptOnClean":{"type":"boolean"},"note":{"type":"string","nullable":true},"reviewerId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Models.DocumentExtractionReviewRequest":{"type":"object","properties":{"sessionId":{"type":"string","format":"uuid","nullable":true},"fileId":{"type":"string","nullable":true},"documentId":{"type":"string","nullable":true},"organizationId":{"type":"string","nullable":true},"model":{"type":"string","nullable":true},"routeHint":{"type":"string","nullable":true},"providerKey":{"type":"string","nullable":true},"answerFieldPath":{"type":"string","nullable":true},"originalAnswer":{"type":"string","nullable":true},"correctedAnswer":{"type":"string","nullable":true},"originalExtractionJson":{"type":"string","nullable":true},"correctedExtractionJson":{"type":"string","nullable":true},"fieldCorrections":{"type":"object","additionalProperties":{"type":"string"},"nullable":true},"parsedInput":{"type":"string","nullable":true},"parsedInputRef":{"type":"string","nullable":true},"decision":{"type":"string","nullable":true},"notes":{"type":"string","nullable":true},"reviewerId":{"type":"string","nullable":true},"source":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Models.DocumentExtractionRow":{"type":"object","properties":{"derivedId":{"type":"string","nullable":true},"entityType":{"type":"string","nullable":true},"entityRef":{"type":"string","nullable":true},"lineIndex":{"type":"integer","format":"int32"},"description":{"type":"string","nullable":true},"itemCode":{"type":"string","nullable":true},"quantity":{"type":"number","format":"double","nullable":true},"unitPrice":{"type":"number","format":"double","nullable":true},"amount":{"type":"number","format":"double","nullable":true},"confidence":{"type":"string","nullable":true},"issue":{"type":"string","nullable":true},"payloadJson":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Models.DocumentJudgmentEntry":{"type":"object","properties":{"from":{"type":"string","nullable":true},"to":{"type":"string","nullable":true},"reason":{"type":"string","nullable":true},"actor":{"type":"string","nullable":true},"atUtc":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Models.DocumentOrphanRequest":{"type":"object","properties":{"reason":{"type":"string","nullable":true},"reviewerId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Models.DocumentProvenance":{"type":"object","properties":{"messageId":{"type":"string","nullable":true},"mailbox":{"type":"string","nullable":true},"sender":{"type":"string","nullable":true},"spf":{"type":"string","nullable":true},"dkim":{"type":"string","nullable":true},"dmarc":{"type":"string","nullable":true},"fromDomain":{"type":"string","nullable":true},"runId":{"type":"string","nullable":true},"journeyId":{"type":"string","nullable":true},"accountRef":{"type":"string","nullable":true},"attachmentId":{"type":"string","nullable":true},"contentHash":{"type":"string","nullable":true},"scanRef":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Models.DocumentQueueItem":{"type":"object","properties":{"documentId":{"type":"string","nullable":true},"docType":{"type":"string","nullable":true},"disposition":{"type":"string","nullable":true},"reason":{"type":"string","nullable":true},"reasonGroup":{"type":"string","nullable":true},"classifyConfidence":{"type":"number","format":"double"},"vendor":{"type":"string","nullable":true},"invoiceNumber":{"type":"string","nullable":true},"totalAmount":{"type":"number","format":"double","nullable":true},"fileName":{"type":"string","nullable":true},"mediaType":{"type":"string","nullable":true},"contentBytes":{"type":"integer","format":"int64"},"hasOriginal":{"type":"boolean"},"duplicateOfDocumentId":{"type":"string","nullable":true},"accountRef":{"type":"string","nullable":true},"journeyId":{"type":"string","nullable":true},"mailbox":{"type":"string","nullable":true},"sender":{"type":"string","nullable":true},"receivedAtUtc":{"type":"string","format":"date-time"},"callouts":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentCalloutSummary"},"nullable":true},"requiresCorrectionOrOverride":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Models.DocumentQueueResponse":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentQueueItem"},"nullable":true},"total":{"type":"integer","format":"int32"},"skip":{"type":"integer","format":"int32"},"take":{"type":"integer","format":"int32"},"reasonCounts":{"type":"object","additionalProperties":{"type":"integer","format":"int32"},"nullable":true}},"additionalProperties":false},"Winnow.API.Models.DocumentReclassifyRequest":{"type":"object","properties":{"docType":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"reviewerId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Models.DocumentReviewDetail":{"type":"object","properties":{"summary":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentQueueItem"},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentExtractionRow"},"nullable":true},"provenance":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentProvenance"},"callouts":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentCalloutSummary"},"nullable":true},"history":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.DocumentJudgmentEntry"},"nullable":true},"warnings":{"type":"array","items":{"type":"string"},"nullable":true},"crossFootPassing":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Models.FolderUploadResponse":{"type":"object","properties":{"success":{"type":"boolean"},"jobId":{"type":"string","format":"uuid","nullable":true},"summary":{"$ref":"#/components/schemas/Winnow.API.Models.FolderUploadSummary"},"files":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.UploadedFileResult"},"nullable":true},"studySessions":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.StudySessionReference"},"nullable":true},"errors":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Models.FolderUploadStatus":{"type":"object","properties":{"jobId":{"type":"string","format":"uuid"},"status":{"type":"string","nullable":true},"totalFiles":{"type":"integer","format":"int32"},"processedFiles":{"type":"integer","format":"int32"},"progress":{"type":"integer","format":"int32"},"completedFiles":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.UploadedFileResult"},"nullable":true},"studySessions":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.StudySessionReference"},"nullable":true},"errorMessage":{"type":"string","nullable":true},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"Winnow.API.Models.FolderUploadSummary":{"type":"object","properties":{"totalFiles":{"type":"integer","format":"int32"},"successCount":{"type":"integer","format":"int32"},"errorCount":{"type":"integer","format":"int32"},"totalBytes":{"type":"integer","format":"int64"},"targetPath":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Models.FolderUploadValidationResult":{"type":"object","properties":{"isValid":{"type":"boolean"},"totalSizeBytes":{"type":"integer","format":"int64"},"fileCount":{"type":"integer","format":"int32"},"availableQuotaBytes":{"type":"integer","format":"int64"},"errors":{"type":"array","items":{"type":"string"},"nullable":true},"warnings":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Models.GenerateCapabilityScorecardRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"weekStart":{"type":"string","format":"date","nullable":true}},"additionalProperties":false},"Winnow.API.Models.HandoffRecord":{"type":"object","properties":{"handoffId":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"workspaceId":{"type":"string","nullable":true},"runId":{"type":"string","format":"uuid"},"status":{"type":"string","nullable":true},"severity":{"type":"string","nullable":true},"reason":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"recommendedNextAction":{"type":"string","nullable":true},"projectId":{"type":"string","nullable":true},"projectTaskId":{"type":"string","format":"uuid","nullable":true},"context":{"type":"object","additionalProperties":{},"nullable":true},"suggestedActions":{"type":"array","items":{"type":"string"},"nullable":true},"createdAtUtc":{"type":"string","format":"date-time"},"updatedAtUtc":{"type":"string","format":"date-time"},"resolvedAtUtc":{"type":"string","format":"date-time","nullable":true},"resolvedBy":{"type":"string","nullable":true},"resolutionNotes":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Models.JourneyTransitionRecord":{"type":"object","properties":{"from":{"type":"string","nullable":true},"to":{"type":"string","nullable":true},"advancedBy":{"type":"string","nullable":true},"at":{"type":"string","format":"date-time"},"runId":{"type":"string","format":"uuid","nullable":true}},"additionalProperties":false},"Winnow.API.Models.LegacyMcpAdapterInput":{"type":"object","properties":{"pack":{"type":"string","nullable":true},"toolName":{"type":"string","nullable":true},"parameters":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Models.LegacyPmAdapterInput":{"type":"object","properties":{"action":{"type":"string","nullable":true},"projectId":{"type":"string","nullable":true},"taskId":{"type":"string","nullable":true},"payload":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Models.MedicalWorkloadCostSummary":{"type":"object","properties":{"workspaceId":{"type":"string","nullable":true},"capability":{"type":"string","nullable":true},"workerProvider":{"type":"string","nullable":true},"workerNodeId":{"type":"string","nullable":true},"runtimeProfile":{"type":"string","nullable":true},"costClass":{"type":"string","nullable":true},"providerKey":{"type":"string","nullable":true},"model":{"type":"string","nullable":true},"pricingSource":{"type":"string","nullable":true},"usesEstimatedTokens":{"type":"boolean"},"successful":{"type":"boolean"},"computeHourlyRateUsd":{"type":"number","format":"double"},"startupDurationSeconds":{"type":"number","format":"double"},"processingDurationSeconds":{"type":"number","format":"double"},"keepWarmDurationSeconds":{"type":"number","format":"double"},"uploadDurationSeconds":{"type":"number","format":"double"},"mineruDurationSeconds":{"type":"number","format":"double"},"pageCategorizationDurationSeconds":{"type":"number","format":"double"},"llmDurationSeconds":{"type":"number","format":"double"},"llmInvocationCount":{"type":"integer","format":"int32"},"estimatedInputTokens":{"type":"integer","format":"int32"},"estimatedOutputTokens":{"type":"integer","format":"int32"},"documentsProcessedInRun":{"type":"integer","format":"int32"},"pageCount":{"type":"integer","format":"int32"},"startupCostUsd":{"type":"number","format":"double"},"processingCostUsd":{"type":"number","format":"double"},"keepWarmCostUsd":{"type":"number","format":"double"},"estimatedLlmCostUsd":{"type":"number","format":"double"},"totalCostUsd":{"type":"number","format":"double"},"costPerDocumentUsd":{"type":"number","format":"double"},"metadata":{"type":"object","additionalProperties":{"nullable":true},"nullable":true}},"additionalProperties":false},"Winnow.API.Models.MempackVersionRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"serviceId":{"type":"string","format":"uuid"},"versionSemver":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"isActive":{"type":"boolean"},"baseModelFamily":{"type":"string","nullable":true},"quantizationProfile":{"type":"string","nullable":true},"qdoraHash":{"type":"string","nullable":true},"eoraHash":{"type":"string","nullable":true},"memoryBundleHash":{"type":"string","nullable":true},"calibrationHash":{"type":"string","nullable":true},"calibrationMode":{"type":"string","nullable":true},"routingRulesHash":{"type":"string","nullable":true},"passiveRecipeHash":{"type":"string","nullable":true},"compatibilityFingerprint":{"type":"string","nullable":true},"manifest":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"metadata":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Models.OrchestrationRunRecord":{"type":"object","properties":{"runId":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"workspaceId":{"type":"string","nullable":true},"correlationId":{"type":"string","format":"uuid"},"status":{"$ref":"#/components/schemas/Winnow.Domain.Messages.OrchestrationRunStatus"},"envelope":{"$ref":"#/components/schemas/Winnow.Domain.Messages.AcpEnvelope"},"currentAttempt":{"type":"integer","format":"int32"},"costUsd":{"type":"number","format":"double"},"inputTokens":{"type":"integer","format":"int32"},"outputTokens":{"type":"integer","format":"int32"},"softCapExceeded":{"type":"boolean"},"hardCapExceeded":{"type":"boolean"},"lastCheckpointId":{"type":"string","nullable":true},"failureReason":{"type":"string","nullable":true},"createdAtUtc":{"type":"string","format":"date-time"},"updatedAtUtc":{"type":"string","format":"date-time"},"completedAtUtc":{"type":"string","format":"date-time","nullable":true},"cancelledAtUtc":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"Winnow.API.Models.PolicyProfileRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"name":{"type":"string","nullable":true},"version":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"profile":{"type":"object","additionalProperties":{},"nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Models.PromptTemplateRecord":{"type":"object","properties":{"id":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"content":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"is_public":{"type":"boolean"},"user_id":{"type":"string","nullable":true},"organization_id":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Models.PromptTemplateRequest":{"type":"object","properties":{"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"content":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"is_public":{"type":"boolean"},"user_id":{"type":"string","nullable":true},"organization_id":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Models.ProviderRegistryItem":{"type":"object","properties":{"id":{"type":"string","nullable":true},"scope":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"provider":{"type":"string","nullable":true},"model":{"type":"string","nullable":true},"baseUrl":{"type":"string","nullable":true},"hasApiKey":{"type":"boolean"},"maskedApiKey":{"type":"string","nullable":true},"weight":{"type":"integer","format":"int32"},"isEnabled":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Models.ProviderRegistryListResponse":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"userId":{"type":"string","nullable":true},"providers":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.ProviderRegistryItem"},"nullable":true}},"additionalProperties":false},"Winnow.API.Models.ProviderRegistryUpsertRequest":{"type":"object","properties":{"scope":{"type":"string","nullable":true},"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"provider":{"type":"string","nullable":true},"model":{"type":"string","nullable":true},"baseUrl":{"type":"string","nullable":true},"apiKey":{"type":"string","nullable":true},"systemPrompt":{"type":"string","nullable":true},"weight":{"type":"integer","format":"int32","nullable":true},"isEnabled":{"type":"boolean","nullable":true}},"additionalProperties":false},"Winnow.API.Models.ResolveHandoffRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"resolvedBy":{"type":"string","nullable":true},"resolutionNotes":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Models.ResumeOrchestrationRunRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"resumeReason":{"type":"string","nullable":true},"recoveryPoint":{"$ref":"#/components/schemas/Winnow.Domain.Messages.AcpRecoveryPoint"}},"additionalProperties":false},"Winnow.API.Models.RunEventRecord":{"type":"object","properties":{"eventId":{"type":"integer","format":"int64","nullable":true},"runId":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"stepId":{"type":"string","nullable":true},"eventType":{"$ref":"#/components/schemas/Winnow.Domain.Messages.AcpEventType"},"attempt":{"type":"integer","format":"int32"},"idempotencyKey":{"type":"string","nullable":true},"eventTimeUtc":{"type":"string","format":"date-time"},"payload":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Models.RuntimeProfileRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"name":{"type":"string","nullable":true},"version":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"profile":{"type":"object","additionalProperties":{},"nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Models.ServiceRegistryRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"name":{"type":"string","nullable":true},"repoId":{"type":"string","nullable":true},"defaultBranch":{"type":"string","nullable":true},"language":{"type":"string","nullable":true},"policyProfileId":{"type":"string","format":"uuid","nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Models.StudySessionReference":{"type":"object","properties":{"sessionId":{"type":"string","format":"uuid"},"fileName":{"type":"string","nullable":true},"status":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Models.SyncWorkspaceGraphRequest":{"type":"object","properties":{"organizationId":{"type":"string","nullable":true},"syncSource":{"type":"string","nullable":true},"repositories":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.WorkspaceGraphRepositoryNode"},"nullable":true},"services":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.WorkspaceGraphServiceNode"},"nullable":true},"dependencies":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.WorkspaceGraphDependencyEdge"},"nullable":true},"owners":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.WorkspaceGraphOwnerRecord"},"nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Models.TaskRecipeRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"taskTypeId":{"type":"string","format":"uuid"},"version":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"promptTemplate":{"type":"string","nullable":true},"toolContract":{"type":"object","additionalProperties":{},"nullable":true},"inputSchema":{"type":"object","additionalProperties":{},"nullable":true},"outputSchema":{"type":"object","additionalProperties":{},"nullable":true},"judgeSchema":{"type":"object","additionalProperties":{},"nullable":true},"executionProfile":{"type":"object","additionalProperties":{},"nullable":true},"allowedRuntimeProfiles":{"type":"array","items":{"type":"string"},"nullable":true},"deterministicKeyTemplate":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Models.TaskRegistrationRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"serviceId":{"type":"string","format":"uuid"},"taskTypeId":{"type":"string","format":"uuid"},"taskRecipeId":{"type":"string","format":"uuid"},"agentSetId":{"type":"string","format":"uuid","nullable":true},"enabled":{"type":"boolean"},"priority":{"type":"integer","format":"int32"},"maxParallelism":{"type":"integer","format":"int32","nullable":true},"scheduleCron":{"type":"string","nullable":true},"triggerMode":{"type":"string","nullable":true},"mempackVersionRange":{"type":"string","nullable":true},"executionMode":{"type":"string","nullable":true},"repoScope":{"type":"object","additionalProperties":{},"nullable":true},"policyProfileId":{"type":"string","format":"uuid","nullable":true},"runtimeProfileId":{"type":"string","format":"uuid","nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Models.TaskTypeRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"name":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"defaultTimeoutSec":{"type":"integer","format":"int32"},"safetyClass":{"type":"string","nullable":true},"requiresRepoSnapshot":{"type":"boolean"},"requiresMempack":{"type":"boolean"},"outputKind":{"type":"string","nullable":true},"retryPolicy":{"type":"object","additionalProperties":{},"nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Models.TenantCredentialKind":{"enum":["Env","File","Broker"],"type":"string"},"Winnow.API.Models.TenantCredentialMeta":{"type":"object","properties":{"credentialId":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"service":{"type":"string","nullable":true},"accountLabel":{"type":"string","nullable":true},"kind":{"$ref":"#/components/schemas/Winnow.API.Models.TenantCredentialKind"},"envKey":{"type":"string","nullable":true},"injectionHeader":{"type":"string","nullable":true},"injectionScheme":{"type":"string","nullable":true},"allowedMethods":{"type":"array","items":{"type":"string"},"nullable":true},"allowedPathPrefixes":{"type":"array","items":{"type":"string"},"nullable":true},"fingerprint":{"type":"string","nullable":true},"origin":{"type":"string","nullable":true},"expiresAtUtc":{"type":"string","format":"date-time","nullable":true},"createdBy":{"type":"string","nullable":true},"createdAtUtc":{"type":"string","format":"date-time"},"updatedAtUtc":{"type":"string","format":"date-time"},"revokedAtUtc":{"type":"string","format":"date-time","nullable":true},"lastUsedAtUtc":{"type":"string","format":"date-time","nullable":true},"isUsable":{"type":"boolean","readOnly":true}},"additionalProperties":false},"Winnow.API.Models.UploadedFileResult":{"type":"object","properties":{"originalPath":{"type":"string","nullable":true},"storedPath":{"type":"string","nullable":true},"fileName":{"type":"string","nullable":true},"sizeBytes":{"type":"integer","format":"int64"},"status":{"type":"string","nullable":true},"errorMessage":{"type":"string","nullable":true},"studySessionId":{"type":"string","format":"uuid","nullable":true}},"additionalProperties":false},"Winnow.API.Models.Webhook":{"type":"object","properties":{"id":{"type":"string","nullable":true},"url":{"type":"string","nullable":true},"events":{"type":"array","items":{"type":"string"},"nullable":true},"secret":{"type":"string","nullable":true},"userId":{"type":"string","nullable":true},"isActive":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"failureCount":{"type":"integer","format":"int32"},"lastTriggeredAt":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"Winnow.API.Models.WorkspaceGraphDependencyEdge":{"type":"object","properties":{"source":{"type":"string","nullable":true},"target":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Models.WorkspaceGraphOwnerRecord":{"type":"object","properties":{"entityId":{"type":"string","nullable":true},"ownerType":{"type":"string","nullable":true},"owner":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Models.WorkspaceGraphRecord":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid"},"workspaceId":{"type":"string","nullable":true},"syncSource":{"type":"string","nullable":true},"updatedAtUtc":{"type":"string","format":"date-time"},"repositories":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.WorkspaceGraphRepositoryNode"},"nullable":true},"services":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.WorkspaceGraphServiceNode"},"nullable":true},"dependencies":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.WorkspaceGraphDependencyEdge"},"nullable":true},"owners":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Models.WorkspaceGraphOwnerRecord"},"nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Models.WorkspaceGraphRepositoryNode":{"type":"object","properties":{"repo":{"type":"string","nullable":true},"branch":{"type":"string","nullable":true},"path":{"type":"string","nullable":true},"language":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":{"nullable":true},"nullable":true}},"additionalProperties":false},"Winnow.API.Models.WorkspaceGraphServiceNode":{"type":"object","properties":{"serviceId":{"type":"string","nullable":true},"repo":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"runtime":{"type":"string","nullable":true},"endpoint":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Packs.PackResidencyOptions.DesiredPack":{"type":"object","properties":{"name":{"type":"string","nullable":true},"path":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Receipts.InterpretLineRequest":{"type":"object","properties":{"line":{"$ref":"#/components/schemas/Winnow.API.Receipts.ReceiptLine"},"vendor":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Receipts.ReceiptLine":{"type":"object","properties":{"description":{"type":"string","nullable":true},"itemCode":{"type":"string","nullable":true},"quantity":{"type":"number","format":"double","nullable":true},"unit":{"type":"string","nullable":true},"weightLb":{"type":"number","format":"double","nullable":true},"unitPrice":{"type":"number","format":"double","nullable":true},"lineTotal":{"type":"number","format":"double","nullable":true},"isWeighed":{"type":"boolean"},"lineType":{"type":"string","nullable":true},"discountPercent":{"type":"number","format":"double","nullable":true}},"additionalProperties":false},"Winnow.API.Repositories.FileRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"name":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"size":{"type":"integer","format":"int32","nullable":true},"mimeType":{"type":"string","nullable":true},"source":{"type":"string","nullable":true},"path":{"type":"string","nullable":true},"indexed":{"type":"boolean"},"indexedAt":{"type":"string","format":"date-time","nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Repositories.KnowledgeItemRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"parentId":{"type":"string","format":"uuid","nullable":true},"title":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"content":{"type":"string","nullable":true},"domain":{"type":"string","nullable":true},"confidence":{"type":"number","format":"double","nullable":true},"importance":{"type":"number","format":"double","nullable":true},"categories":{"type":"array","items":{"type":"string"},"nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Repositories.KnowledgeItemSearchHit":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/Winnow.API.Repositories.KnowledgeItemRecord"},"rank":{"type":"number","format":"double","nullable":true},"snippet":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Repositories.LinkedFileRecord":{"type":"object","properties":{"file":{"$ref":"#/components/schemas/Winnow.API.Repositories.FileRecord"},"linkedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Repositories.LinkedKnowledgeRecord":{"type":"object","properties":{"knowledge":{"$ref":"#/components/schemas/Winnow.API.Repositories.KnowledgeItemRecord"},"linkedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Repositories.ProjectTaskExecutionProgress":{"type":"object","properties":{"phase":{"type":"string","nullable":true},"phaseProgress":{"type":"number","format":"double"},"overallProgress":{"type":"number","format":"double"},"currentSubtask":{"type":"string","nullable":true},"message":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Repositories.ProjectTaskSubtask":{"type":"object","properties":{"id":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"status":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Services.AppendRunEventResult":{"type":"object","properties":{"accepted":{"type":"boolean"},"duplicate":{"type":"boolean"},"event":{"$ref":"#/components/schemas/Winnow.API.Models.RunEventRecord"}},"additionalProperties":false},"Winnow.API.Services.BacklogPreviewResult":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string","nullable":true},"studyOutputSnippet":{"type":"string","nullable":true},"preferredProvider":{"type":"string","nullable":true},"effectivePlanningRole":{"type":"string","nullable":true},"generatedTasks":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Services.GeneratedTaskItem"},"nullable":true}},"additionalProperties":false},"Winnow.API.Services.DataVaultStewardshipRequest":{"type":"object","properties":{"objective":{"type":"string","nullable":true},"mode":{"type":"string","nullable":true},"businessProcess":{"type":"string","nullable":true},"proposedChange":{"type":"string","nullable":true},"focusTables":{"type":"array","items":{"type":"string"},"nullable":true},"maxTables":{"type":"integer","format":"int32","nullable":true},"forceRefresh":{"type":"boolean"},"correlationId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Services.DataVaultStewardshipResponse":{"type":"object","properties":{"correlationId":{"type":"string","nullable":true},"mode":{"type":"string","nullable":true},"model":{"type":"string","nullable":true},"backend":{"type":"string","nullable":true},"tableCount":{"type":"integer","format":"int32"},"focusTables":{"type":"array","items":{"type":"string"},"nullable":true},"answer":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Services.DeepAgentFollowUpTriggerRequest":{"type":"object","properties":{"runId":{"type":"string","format":"uuid","nullable":true},"source":{"type":"string","nullable":true},"externalId":{"type":"string","nullable":true},"workspaceRoot":{"type":"string","nullable":true},"followUp":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"priority":{"type":"integer","format":"int32","nullable":true},"insertAtFront":{"type":"boolean","nullable":true},"metadata":{"type":"object","additionalProperties":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Services.DeepAgentTriggerBudgetRequest":{"type":"object","properties":{"maxTokens":{"type":"integer","format":"int32","nullable":true},"maxCost":{"type":"number","format":"double","nullable":true},"maxDurationMinutes":{"type":"integer","format":"int32","nullable":true},"maxTasks":{"type":"integer","format":"int32","nullable":true},"maxRetries":{"type":"integer","format":"int32","nullable":true},"providerTokenLimits":{"type":"object","additionalProperties":{"type":"integer","format":"int32","nullable":true},"nullable":true}},"additionalProperties":false},"Winnow.API.Services.DeepAgentTriggerRequest":{"type":"object","properties":{"runId":{"type":"string","format":"uuid","nullable":true},"source":{"type":"string","nullable":true},"externalId":{"type":"string","nullable":true},"goal":{"type":"string","nullable":true},"workspaceRoot":{"type":"string","nullable":true},"contextTitle":{"type":"string","nullable":true},"contextBody":{"type":"string","nullable":true},"harnessMode":{"type":"string","nullable":true},"preferLsp":{"type":"boolean","nullable":true},"planningRole":{"type":"string","nullable":true},"executionRole":{"type":"string","nullable":true},"domain":{"type":"string","nullable":true},"preferredProvider":{"type":"string","nullable":true},"maxPlanTasks":{"type":"integer","format":"int32","nullable":true},"maxTokens":{"type":"integer","format":"int32","nullable":true},"maxConcurrentTasks":{"type":"integer","format":"int32","nullable":true},"taskTimeoutSeconds":{"type":"integer","format":"int32","nullable":true},"budgets":{"$ref":"#/components/schemas/Winnow.API.Services.DeepAgentTriggerBudgetRequest"},"enablePrSafetyNet":{"type":"boolean","nullable":true},"targetFiles":{"type":"array","items":{"type":"string"},"nullable":true},"anchorFile":{"type":"string","nullable":true},"anchorLine":{"type":"integer","format":"int32","nullable":true},"anchorColumn":{"type":"integer","format":"int32","nullable":true},"metadata":{"type":"object","additionalProperties":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Services.Definition":{"type":"object","properties":{"term":{"type":"string","nullable":true},"normalized_term":{"type":"string","nullable":true},"definition":{"type":"string","nullable":true},"section":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Services.DocumentSummary":{"type":"object","properties":{"type":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"effective_date":{"type":"string","nullable":true},"parties":{"type":"array","items":{"type":"string"},"nullable":true},"governing_law":{"type":"string","nullable":true},"summary_text":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Services.EntityMention":{"type":"object","properties":{"text":{"type":"string","nullable":true},"context":{"type":"string","nullable":true},"page":{"type":"integer","format":"int32","nullable":true},"section":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Services.FinancialTerm":{"type":"object","properties":{"amount":{"type":"string","nullable":true},"numeric_value":{"type":"number","format":"double","nullable":true},"currency":{"type":"string","nullable":true},"purpose":{"type":"string","nullable":true},"schedule":{"type":"string","nullable":true},"due_date":{"type":"string","nullable":true},"linked_to_party":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Services.GeneratedSubtaskItem":{"type":"object","properties":{"title":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Services.GeneratedTaskItem":{"type":"object","properties":{"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"priority":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"complexity":{"type":"string","nullable":true},"impact":{"type":"string","nullable":true},"estimatedHours":{"type":"number","format":"double","nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"acceptanceCriteria":{"type":"array","items":{"type":"string"},"nullable":true},"candidateFiles":{"type":"array","items":{"type":"string"},"nullable":true},"dependencies":{"type":"array","items":{"type":"string"},"nullable":true},"sourceEvidence":{"type":"string","nullable":true},"subtasks":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Services.GeneratedSubtaskItem"},"nullable":true}},"additionalProperties":false},"Winnow.API.Services.KeyDate":{"type":"object","properties":{"date":{"type":"string","nullable":true},"normalized_date":{"type":"string","nullable":true},"significance":{"type":"string","nullable":true},"description":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Services.LegalClaim":{"type":"object","properties":{"id":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"text":{"type":"string","nullable":true},"subject_id":{"type":"string","nullable":true},"modal_verb":{"type":"string","nullable":true},"predicate":{"type":"string","nullable":true},"object":{"type":"string","nullable":true},"section":{"type":"string","nullable":true},"conditions":{"type":"array","items":{"type":"string"},"nullable":true},"deadline":{"type":"string","nullable":true},"confidence":{"type":"number","format":"float"}},"additionalProperties":false},"Winnow.API.Services.LegalEntity":{"type":"object","properties":{"id":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"normalized_name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"confidence":{"type":"number","format":"float"},"legal_role":{"type":"string","nullable":true},"defined_as":{"type":"string","nullable":true},"jurisdiction":{"type":"string","nullable":true},"mentions":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Services.EntityMention"},"nullable":true}},"additionalProperties":false},"Winnow.API.Services.LegalRelationship":{"type":"object","properties":{"id":{"type":"string","nullable":true},"source_id":{"type":"string","nullable":true},"target_id":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"confidence":{"type":"number","format":"float"}},"additionalProperties":false},"Winnow.API.Services.MinerUSettings":{"type":"object","properties":{"baseUrl":{"type":"string","nullable":true},"endpoint":{"type":"string","nullable":true},"fileField":{"type":"string","nullable":true},"responseField":{"type":"string","nullable":true},"outputMimeType":{"type":"string","nullable":true},"timeoutSeconds":{"type":"integer","format":"int32"},"openAiCompatible":{"type":"boolean"},"openAiEndpoint":{"type":"string","nullable":true},"model":{"type":"string","nullable":true},"apiKey":{"type":"string","nullable":true},"systemPrompt":{"type":"string","nullable":true},"userPrompt":{"type":"string","nullable":true},"openAiImageBatchSize":{"type":"integer","format":"int32"},"openAiMaxConcurrency":{"type":"integer","format":"int32"},"maxTokens":{"type":"integer","format":"int32"},"temperature":{"type":"number","format":"double"},"renderDpi":{"type":"integer","format":"int32"},"maxPages":{"type":"integer","format":"int32"},"pageBatchSize":{"type":"integer","format":"int32"},"somMaxSpan":{"type":"integer","format":"int32"},"storePageImages":{"type":"boolean"},"useStructuredApi":{"type":"boolean"},"structuredApiEndpoint":{"type":"string","nullable":true},"parseMethod":{"type":"string","nullable":true},"formulaEnable":{"type":"boolean"},"tableEnable":{"type":"boolean"},"langList":{"type":"string","nullable":true},"returnLayout":{"type":"boolean"},"returnContentList":{"type":"boolean"},"returnImages":{"type":"boolean"}},"additionalProperties":false},"Winnow.API.Services.ProjectContinuousFeedbackResponse":{"type":"object","properties":{"generatedAtUtc":{"type":"string","format":"date-time"},"status":{"type":"string","nullable":true},"overallScore":{"type":"integer","format":"int32"},"summary":{"type":"string","nullable":true},"metrics":{"$ref":"#/components/schemas/Winnow.API.Services.ProjectFeedbackMetricsResponse"},"signals":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Services.ProjectFeedbackSignalResponse"},"nullable":true},"recommendations":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Services.ProjectFeedbackMetricsResponse":{"type":"object","properties":{"questionnaireRequiredCompletionPercent":{"type":"integer","format":"int32"},"totalTasks":{"type":"integer","format":"int32"},"doneTasks":{"type":"integer","format":"int32"},"blockedTasks":{"type":"integer","format":"int32"},"inProgressTasks":{"type":"integer","format":"int32"},"overdueTasks":{"type":"integer","format":"int32"},"staleTasks":{"type":"integer","format":"int32"},"deliverablesMissingAcceptanceCriteria":{"type":"integer","format":"int32"},"recentTimeEntries":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Services.ProjectFeedbackSignalResponse":{"type":"object","properties":{"code":{"type":"string","nullable":true},"severity":{"type":"string","nullable":true},"message":{"type":"string","nullable":true},"metricValue":{"type":"number","format":"double"}},"additionalProperties":false},"Winnow.API.Services.ProjectQuestionnaireCompletionResponse":{"type":"object","properties":{"requiredAnswered":{"type":"integer","format":"int32"},"requiredTotal":{"type":"integer","format":"int32"},"requiredCompletionPercent":{"type":"integer","format":"int32"},"answered":{"type":"integer","format":"int32"},"total":{"type":"integer","format":"int32"},"overallCompletionPercent":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Services.ProjectQuestionnaireInitialStateResponse":{"type":"object","properties":{"projectVision":{"type":"string","nullable":true},"targetUsers":{"type":"string","nullable":true},"successMetrics":{"type":"string","nullable":true},"deliveryModel":{"type":"string","nullable":true},"riskTolerance":{"type":"string","nullable":true},"mustHaveCapabilities":{"type":"array","items":{"type":"string"},"nullable":true},"decisionOwners":{"type":"array","items":{"type":"string"},"nullable":true},"feedbackCadence":{"type":"string","nullable":true},"definitionOfDone":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Services.ProjectQuestionnaireQuestionResponse":{"type":"object","properties":{"id":{"type":"string","nullable":true},"label":{"type":"string","nullable":true},"prompt":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"required":{"type":"boolean"},"options":{"type":"array","items":{"type":"string"},"nullable":true},"helpText":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Services.ProjectQuestionnaireSectionResponse":{"type":"object","properties":{"id":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"questions":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Services.ProjectQuestionnaireQuestionResponse"},"nullable":true}},"additionalProperties":false},"Winnow.API.Services.ProjectQuestionnaireStateResponse":{"type":"object","properties":{"projectId":{"type":"string","nullable":true},"version":{"type":"string","nullable":true},"readinessStatus":{"type":"string","nullable":true},"updatedAtUtc":{"type":"string","format":"date-time","nullable":true},"updatedBy":{"type":"string","nullable":true},"notes":{"type":"string","nullable":true},"completion":{"$ref":"#/components/schemas/Winnow.API.Services.ProjectQuestionnaireCompletionResponse"},"initialState":{"$ref":"#/components/schemas/Winnow.API.Services.ProjectQuestionnaireInitialStateResponse"},"sections":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Services.ProjectQuestionnaireSectionResponse"},"nullable":true},"responses":{"type":"object","additionalProperties":{},"nullable":true},"latestFeedback":{"$ref":"#/components/schemas/Winnow.API.Services.ProjectContinuousFeedbackResponse"}},"additionalProperties":false},"Winnow.API.Services.ProjectQuestionnaireTemplateResponse":{"type":"object","properties":{"version":{"type":"string","nullable":true},"sections":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Services.ProjectQuestionnaireSectionResponse"},"nullable":true}},"additionalProperties":false},"Winnow.API.Services.RcaBindFixRequest":{"type":"object","properties":{"workspaceRoot":{"type":"string","nullable":true},"fixedFiles":{"type":"array","items":{"type":"string"},"nullable":true},"requirementId":{"type":"string","nullable":true},"commitHash":{"type":"string","nullable":true},"boundBy":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"resolveOverrideId":{"type":"string","nullable":true},"resolvedBy":{"type":"string","nullable":true},"resolveNotes":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Services.RcaDraftUpdateRequest":{"type":"object","properties":{"workspaceRoot":{"type":"string","nullable":true},"requirementId":{"type":"string","nullable":true},"incidentDescription":{"type":"string","nullable":true},"additionalContext":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Services.RcaInvestigateRequest":{"type":"object","properties":{"workspaceRoot":{"type":"string","nullable":true},"affectedFiles":{"type":"array","items":{"type":"string"},"nullable":true},"incidentDescription":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Services.RcaSupersedeRequest":{"type":"object","properties":{"workspaceRoot":{"type":"string","nullable":true},"previousRequirementId":{"type":"string","nullable":true},"newName":{"type":"string","nullable":true},"newDescription":{"type":"string","nullable":true},"newRationale":{"type":"string","nullable":true},"reason":{"type":"string","nullable":true},"supersededBy":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Services.StudioConfig":{"type":"object","properties":{"packId":{"type":"string","nullable":true},"version":{"type":"string","nullable":true},"baseModel":{"type":"string","nullable":true},"domain":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"license":{"type":"string","nullable":true},"author":{"type":"string","nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"training":{"$ref":"#/components/schemas/Winnow.API.Services.StudioTrainingDefaults"},"curation":{"$ref":"#/components/schemas/Winnow.API.Services.StudioCurationDefaults"}},"additionalProperties":false},"Winnow.API.Services.StudioCurationDefaults":{"type":"object","properties":{"sftExamplesPerFact":{"type":"integer","format":"int32"},"dpoExamplesPerFact":{"type":"integer","format":"int32"},"valSplitRatio":{"type":"number","format":"double"},"seed":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Services.StudioCurationStats":{"type":"object","properties":{"sftTrainCount":{"type":"integer","format":"int32"},"sftValCount":{"type":"integer","format":"int32"},"dpoTrainCount":{"type":"integer","format":"int32"},"dpoValCount":{"type":"integer","format":"int32"},"factsUsed":{"type":"integer","format":"int32"},"templatesUsed":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Services.StudioDeliveryLog":{"type":"object","properties":{"packId":{"type":"string","nullable":true},"version":{"type":"string","nullable":true},"runId":{"type":"string","nullable":true},"steps":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.API.Services.StudioDeliveryStep"},"nullable":true},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"Winnow.API.Services.StudioDeliveryStep":{"type":"object","properties":{"name":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"startedAt":{"type":"string","format":"date-time","nullable":true},"completedAt":{"type":"string","format":"date-time","nullable":true},"error":{"type":"string","nullable":true},"artifactPath":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Services.StudioGraphStats":{"type":"object","properties":{"entityCount":{"type":"integer","format":"int32"},"relationCount":{"type":"integer","format":"int32"},"factCount":{"type":"integer","format":"int32"},"entityTypeCounts":{"type":"object","additionalProperties":{"type":"integer","format":"int32"},"nullable":true},"relationTypeCounts":{"type":"object","additionalProperties":{"type":"integer","format":"int32"},"nullable":true},"sourceCount":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Services.StudioPipelineState":{"type":"object","properties":{"ingest":{"$ref":"#/components/schemas/Winnow.API.Services.StudioStageState"},"curate":{"$ref":"#/components/schemas/Winnow.API.Services.StudioStageState"},"train":{"$ref":"#/components/schemas/Winnow.API.Services.StudioStageState"},"deliver":{"$ref":"#/components/schemas/Winnow.API.Services.StudioStageState"}},"additionalProperties":false},"Winnow.API.Services.StudioSourceMeta":{"type":"object","properties":{"id":{"type":"string","nullable":true},"path":{"type":"string","nullable":true},"format":{"type":"string","nullable":true},"ingestedAt":{"type":"string","format":"date-time"},"recordCount":{"type":"integer","format":"int32"},"entityCount":{"type":"integer","format":"int32"},"relationCount":{"type":"integer","format":"int32"},"factCount":{"type":"integer","format":"int32"},"columns":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.API.Services.StudioStageState":{"type":"object","properties":{"status":{"type":"string","nullable":true},"startedAt":{"type":"string","format":"date-time","nullable":true},"completedAt":{"type":"string","format":"date-time","nullable":true},"error":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.API.Services.StudioTrainRunResult":{"type":"object","properties":{"runId":{"type":"string","nullable":true},"objective":{"type":"string","nullable":true},"baseModel":{"type":"string","nullable":true},"method":{"type":"string","nullable":true},"rank":{"type":"integer","format":"int32"},"finalLoss":{"type":"number","format":"double","nullable":true},"totalSteps":{"type":"integer","format":"int32"},"startedAt":{"type":"string","format":"date-time","nullable":true},"completedAt":{"type":"string","format":"date-time","nullable":true},"adapterPath":{"type":"string","nullable":true},"error":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Services.StudioTrainingDefaults":{"type":"object","properties":{"method":{"type":"string","nullable":true},"rank":{"type":"integer","format":"int32"},"alpha":{"type":"integer","format":"int32"},"dropout":{"type":"number","format":"double"},"lr":{"type":"number","format":"double"},"beta":{"type":"number","format":"double"},"maxSteps":{"type":"integer","format":"int32"},"batchSize":{"type":"integer","format":"int32"},"seed":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.API.Services.StudioWorkspaceInfo":{"type":"object","properties":{"id":{"type":"string","nullable":true},"organizationId":{"type":"string","nullable":true},"path":{"type":"string","nullable":true},"config":{"$ref":"#/components/schemas/Winnow.API.Services.StudioConfig"},"state":{"$ref":"#/components/schemas/Winnow.API.Services.StudioPipelineState"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.API.Services.StudioWorkspaceStatus":{"type":"object","properties":{"workspace":{"type":"string","nullable":true},"config":{"$ref":"#/components/schemas/Winnow.API.Services.StudioConfig"},"state":{"$ref":"#/components/schemas/Winnow.API.Services.StudioPipelineState"},"graphStats":{"$ref":"#/components/schemas/Winnow.API.Services.StudioGraphStats"},"latestRunId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.API.Services.StudioWorkspaceSummary":{"type":"object","properties":{"id":{"type":"string","nullable":true},"packId":{"type":"string","nullable":true},"domain":{"type":"string","nullable":true},"baseModel":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"latestRunId":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Actors.ArtifactActor.ArtifactDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"namespace":{"type":"string","nullable":true},"key":{"type":"string","nullable":true},"valueType":{"type":"string","nullable":true},"value":{"nullable":true},"scope":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"metadata":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"version":{"type":"integer","format":"int32"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"Winnow.Actors.ArtifactActor.ArtifactKeyDto":{"type":"object","properties":{"namespace":{"type":"string","nullable":true},"key":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Actors.ArtifactActor.ArtifactSummaryDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"namespace":{"type":"string","nullable":true},"key":{"type":"string","nullable":true},"valueType":{"type":"string","nullable":true},"scope":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"version":{"type":"integer","format":"int32"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Actors.ArtifactActor.ArtifactVersionDto":{"type":"object","properties":{"version":{"type":"integer","format":"int32"},"value":{"nullable":true},"changeSummary":{"type":"string","nullable":true},"changedBy":{"type":"string","format":"uuid","nullable":true},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Actors.ArtifactActor.BatchGetResponse":{"type":"object","properties":{"artifacts":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Winnow.Actors.ArtifactActor.ArtifactDto"},"nullable":true}},"additionalProperties":false},"Winnow.Actors.ArtifactActor.BatchResultItem":{"type":"object","properties":{"namespace":{"type":"string","nullable":true},"key":{"type":"string","nullable":true},"success":{"type":"boolean"},"error":{"type":"string","nullable":true},"artifactId":{"type":"string","format":"uuid","nullable":true}},"additionalProperties":false},"Winnow.Actors.ArtifactActor.BatchSetResponse":{"type":"object","properties":{"success":{"type":"boolean"},"results":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.ArtifactActor.BatchResultItem"},"nullable":true}},"additionalProperties":false},"Winnow.Actors.ArtifactActor.ConflictInfo":{"type":"object","properties":{"serverVersion":{"type":"integer","format":"int32"},"clientVersion":{"type":"integer","format":"int32"},"serverState":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"conflictingKeys":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.Actors.ArtifactActor.GetArtifactHistoryResponse":{"type":"object","properties":{"success":{"type":"boolean"},"versions":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.ArtifactActor.ArtifactVersionDto"},"nullable":true}},"additionalProperties":false},"Winnow.Actors.ArtifactActor.SessionStateDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"sessionKey":{"type":"string","nullable":true},"deviceId":{"type":"string","nullable":true},"deviceType":{"type":"string","nullable":true},"stateData":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"contextSummary":{"type":"string","nullable":true},"lastConversationId":{"type":"string","format":"uuid","nullable":true},"activePersonaId":{"type":"string","format":"uuid","nullable":true},"activeArtifacts":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"syncVersion":{"type":"integer","format":"int32"},"lastSyncedAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Actors.ModelCatalogActor.BuildModelResponse":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"digest":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Actors.ModelCatalogActor.CreateCustomModelResponse":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string","nullable":true},"model":{"$ref":"#/components/schemas/Winnow.Actors.ModelCatalogActor.CustomModelDefinition"},"buildStatus":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Actors.ModelCatalogActor.CustomModelDefinition":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid","nullable":true},"createdBy":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string","nullable":true},"tag":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"baseModel":{"type":"string","nullable":true},"modelfileContent":{"type":"string","nullable":true},"systemPrompt":{"type":"string","nullable":true},"temperature":{"type":"number","format":"double","nullable":true},"topK":{"type":"integer","format":"int32","nullable":true},"topP":{"type":"number","format":"double","nullable":true},"numCtx":{"type":"integer","format":"int32","nullable":true},"numPredict":{"type":"integer","format":"int32","nullable":true},"stopSequences":{"type":"array","items":{"type":"string"},"nullable":true},"buildStatus":{"type":"string","nullable":true},"buildError":{"type":"string","nullable":true},"builtAt":{"type":"string","format":"date-time","nullable":true},"sizeBytes":{"type":"integer","format":"int64","nullable":true},"digest":{"type":"string","nullable":true},"version":{"type":"integer","format":"int32"},"visibility":{"type":"string","nullable":true},"isApproved":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Actors.ModelCatalogActor.ModelBuildStatus":{"type":"object","properties":{"modelName":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"progressPercent":{"type":"integer","format":"int32"},"statusMessage":{"type":"string","nullable":true},"error":{"type":"string","nullable":true},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"Winnow.Actors.ModelCatalogActor.ModelCatalog":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string","nullable":true},"slug":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"visibility":{"type":"string","nullable":true},"isDefault":{"type":"boolean"},"items":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.ModelCatalogActor.ModelCatalogItem"},"nullable":true},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Actors.ModelCatalogActor.ModelCatalogItem":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"modelId":{"type":"string","nullable":true},"provider":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"modelFamily":{"type":"string","nullable":true},"parameterCount":{"type":"string","nullable":true},"contextLength":{"type":"integer","format":"int32","nullable":true},"capabilities":{"type":"array","items":{"type":"string"},"nullable":true},"costPer1kInput":{"type":"number","format":"double"},"costPer1kOutput":{"type":"number","format":"double"},"isEnabled":{"type":"boolean"},"isFeatured":{"type":"boolean"},"usageCount":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.Actors.PipelineActor.EdgeCondition":{"type":"object","properties":{"field":{"type":"string","nullable":true},"operator":{"type":"string","nullable":true},"value":{"nullable":true}},"additionalProperties":false},"Winnow.Actors.PipelineActor.EdgeType":{"enum":["Default","Success","Error","Conditional"],"type":"string"},"Winnow.Actors.PipelineActor.ErrorHandling":{"enum":["Fail","Skip","Retry","Fallback"],"type":"string"},"Winnow.Actors.PipelineActor.ExecutionStatus":{"enum":["Pending","Running","Completed","Failed","Cancelled","Timeout"],"type":"string"},"Winnow.Actors.PipelineActor.NodeExecution":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"nodeId":{"type":"string","nullable":true},"inputData":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"outputData":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"status":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.ExecutionStatus"},"errorMessage":{"type":"string","nullable":true},"startedAt":{"type":"string","format":"date-time","nullable":true},"completedAt":{"type":"string","format":"date-time","nullable":true},"durationMs":{"type":"integer","format":"int32"},"attempt":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.Actors.PipelineActor.NodeType":{"enum":["Input","Output","PluginFunction","Transform","Condition","Switch","Merge","Split","Loop","Delay","LlmCall","HttpRequest"],"type":"string"},"Winnow.Actors.PipelineActor.PipelineDefinition":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid","nullable":true},"createdBy":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string","nullable":true},"slug":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"type":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.PipelineType"},"triggerType":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.TriggerType"},"triggerConfig":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"visibility":{"type":"string","nullable":true},"isEnabled":{"type":"boolean"},"version":{"type":"integer","format":"int32"},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.PipelineNode"},"nullable":true},"edges":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.PipelineEdge"},"nullable":true},"variables":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.PipelineVariable"},"nullable":true},"executionCount":{"type":"integer","format":"int32"},"successCount":{"type":"integer","format":"int32"},"failureCount":{"type":"integer","format":"int32"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Actors.PipelineActor.PipelineEdge":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"sourceNodeId":{"type":"string","nullable":true},"targetNodeId":{"type":"string","nullable":true},"sourceHandle":{"type":"string","nullable":true},"targetHandle":{"type":"string","nullable":true},"dataMapping":{"type":"object","additionalProperties":{"type":"string","nullable":true},"nullable":true},"condition":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.EdgeCondition"},"type":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.EdgeType"}},"additionalProperties":false},"Winnow.Actors.PipelineActor.PipelineExecution":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"pipelineId":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid","nullable":true},"triggeredBy":{"type":"string","format":"uuid","nullable":true},"triggerType":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.TriggerType"},"triggerData":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"conversationId":{"type":"string","format":"uuid","nullable":true},"inputData":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"outputData":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"variables":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"status":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.ExecutionStatus"},"errorMessage":{"type":"string","nullable":true},"errorNodeId":{"type":"string","nullable":true},"startedAt":{"type":"string","format":"date-time","nullable":true},"completedAt":{"type":"string","format":"date-time","nullable":true},"durationMs":{"type":"integer","format":"int32"},"nodesExecuted":{"type":"integer","format":"int32"},"nodesFailed":{"type":"integer","format":"int32"},"nodeExecutions":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.NodeExecution"},"nullable":true},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Actors.PipelineActor.PipelineNode":{"type":"object","properties":{"nodeId":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"type":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.NodeType"},"config":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"pluginId":{"type":"string","format":"uuid","nullable":true},"functionId":{"type":"string","format":"uuid","nullable":true},"positionX":{"type":"integer","format":"int32"},"positionY":{"type":"integer","format":"int32"},"executionOrder":{"type":"integer","format":"int32"},"onError":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.ErrorHandling"},"maxRetries":{"type":"integer","format":"int32"},"retryDelayMs":{"type":"integer","format":"int32"},"fallbackNodeId":{"type":"string","nullable":true},"timeoutSeconds":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.Actors.PipelineActor.PipelineType":{"enum":["Sequential","Parallel","Conditional","MapReduce"],"type":"string"},"Winnow.Actors.PipelineActor.PipelineVariable":{"type":"object","properties":{"name":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true},"varType":{"type":"string","nullable":true},"defaultValue":{"nullable":true},"source":{"$ref":"#/components/schemas/Winnow.Actors.PipelineActor.VariableSource"},"isRequired":{"type":"boolean"},"isSecret":{"type":"boolean"}},"additionalProperties":false},"Winnow.Actors.PipelineActor.TriggerType":{"enum":["Manual","Chat","Schedule","Webhook","Event"],"type":"string"},"Winnow.Actors.PipelineActor.VariableSource":{"enum":["User","Environment","Secret","Computed"],"type":"string"},"Winnow.Actors.PluginRegistryActor.ChatTool":{"type":"object","properties":{"pluginName":{"type":"string","nullable":true},"functionName":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"toolSyntax":{"type":"string","nullable":true},"parameters":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Winnow.Actors.PluginRegistryActor.ParameterSchema"},"nullable":true},"pluginId":{"type":"string","format":"uuid"},"functionId":{"type":"string","format":"uuid"}},"additionalProperties":false},"Winnow.Actors.PluginRegistryActor.FunctionDefinition":{"type":"object","properties":{"name":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"functionType":{"type":"string","nullable":true},"entryPoint":{"type":"string","nullable":true},"parameters":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Winnow.Actors.PluginRegistryActor.ParameterSchema"},"nullable":true},"returnSchema":{"$ref":"#/components/schemas/Winnow.Actors.PluginRegistryActor.ParameterSchema"},"isChatTool":{"type":"boolean"},"toolSyntax":{"type":"string","nullable":true},"timeoutSeconds":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.Actors.PluginRegistryActor.ParameterSchema":{"type":"object","properties":{"type":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"required":{"type":"boolean"},"default":{"nullable":true},"enum":{"type":"array","items":{},"nullable":true}},"additionalProperties":false},"Winnow.Actors.PluginRegistryActor.PluginDependency":{"type":"object","properties":{"name":{"type":"string","nullable":true},"version":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Actors.PluginRegistryActor.PluginFunction":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"pluginId":{"type":"string","format":"uuid"},"name":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"functionType":{"type":"string","nullable":true},"entryPoint":{"type":"string","nullable":true},"parametersSchema":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Winnow.Actors.PluginRegistryActor.ParameterSchema"},"nullable":true},"returnSchema":{"$ref":"#/components/schemas/Winnow.Actors.PluginRegistryActor.ParameterSchema"},"isChatTool":{"type":"boolean"},"toolSyntax":{"type":"string","nullable":true},"autoSuggest":{"type":"boolean"},"timeoutSeconds":{"type":"integer","format":"int32"},"requiresConfirmation":{"type":"boolean"},"isEnabled":{"type":"boolean"},"executionCount":{"type":"integer","format":"int32"},"lastExecutedAt":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"Winnow.Actors.PluginRegistryActor.PluginInfo":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string","nullable":true},"slug":{"type":"string","nullable":true},"version":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"author":{"type":"string","nullable":true},"pluginType":{"type":"string","nullable":true},"entryPoint":{"type":"string","nullable":true},"manifest":{"$ref":"#/components/schemas/Winnow.Actors.PluginRegistryActor.PluginManifest"},"capabilities":{"type":"array","items":{"type":"string"},"nullable":true},"requiredPermissions":{"type":"array","items":{"type":"string"},"nullable":true},"grantedPermissions":{"type":"array","items":{"type":"string"},"nullable":true},"status":{"$ref":"#/components/schemas/Winnow.Actors.PluginRegistryActor.PluginStatus"},"errorMessage":{"type":"string","nullable":true},"sandboxConfig":{"$ref":"#/components/schemas/Winnow.Actors.PluginRegistryActor.SandboxConfig"},"installedAt":{"type":"string","format":"date-time"},"enabledAt":{"type":"string","format":"date-time","nullable":true},"usageCount":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.Actors.PluginRegistryActor.PluginManifest":{"type":"object","properties":{"name":{"type":"string","nullable":true},"version":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"author":{"type":"string","nullable":true},"entryPoint":{"type":"string","nullable":true},"functions":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.PluginRegistryActor.FunctionDefinition"},"nullable":true},"dependencies":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.PluginRegistryActor.PluginDependency"},"nullable":true},"requiredPermissions":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.Actors.PluginRegistryActor.PluginStatus":{"enum":["Installed","Enabled","Disabled","Error","Updating"],"type":"string"},"Winnow.Actors.PluginRegistryActor.SandboxConfig":{"type":"object","properties":{"maxMemoryMb":{"type":"integer","format":"int32"},"maxCpuPercent":{"type":"integer","format":"int32"},"maxExecutionSeconds":{"type":"integer","format":"int32"},"networkEnabled":{"type":"boolean"},"filesystemAccess":{"type":"string","nullable":true},"allowedHosts":{"type":"array","items":{"type":"string"},"nullable":true},"allowedPaths":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.Actors.SsoAuthActor.ProviderType":{"enum":["Saml","Oidc","OAuth2","Ldap"],"type":"string"},"Winnow.Actors.SsoAuthActor.ScimEmail":{"type":"object","properties":{"value":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"primary":{"type":"boolean"}},"additionalProperties":false},"Winnow.Actors.SsoAuthActor.ScimGroup":{"type":"object","properties":{"id":{"type":"string","nullable":true},"externalId":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true},"members":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.SsoAuthActor.ScimMember"},"nullable":true},"meta":{"type":"object","additionalProperties":{"nullable":true},"nullable":true}},"additionalProperties":false},"Winnow.Actors.SsoAuthActor.ScimMember":{"type":"object","properties":{"value":{"type":"string","nullable":true},"display":{"type":"string","nullable":true},"type":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Actors.SsoAuthActor.ScimName":{"type":"object","properties":{"formatted":{"type":"string","nullable":true},"familyName":{"type":"string","nullable":true},"givenName":{"type":"string","nullable":true},"middleName":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Actors.SsoAuthActor.ScimUser":{"type":"object","properties":{"id":{"type":"string","nullable":true},"externalId":{"type":"string","nullable":true},"userName":{"type":"string","nullable":true},"name":{"$ref":"#/components/schemas/Winnow.Actors.SsoAuthActor.ScimName"},"displayName":{"type":"string","nullable":true},"emails":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.SsoAuthActor.ScimEmail"},"nullable":true},"active":{"type":"boolean"},"groups":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Actors.SsoAuthActor.ScimGroup"},"nullable":true},"meta":{"type":"object","additionalProperties":{"nullable":true},"nullable":true}},"additionalProperties":false},"Winnow.Actors.SsoAuthActor.SsoProvider":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"name":{"type":"string","nullable":true},"providerType":{"$ref":"#/components/schemas/Winnow.Actors.SsoAuthActor.ProviderType"},"isEnabled":{"type":"boolean"},"isPrimary":{"type":"boolean"},"config":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"attributeMapping":{"type":"object","additionalProperties":{"type":"string","nullable":true},"nullable":true},"autoProvision":{"type":"boolean"},"defaultRoleId":{"type":"string","format":"uuid","nullable":true},"autoCreateGroups":{"type":"boolean"},"allowedDomains":{"type":"array","items":{"type":"string"},"nullable":true},"metadata":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Actors.SsoAuthActor.SsoUserInfo":{"type":"object","properties":{"externalId":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"firstName":{"type":"string","nullable":true},"lastName":{"type":"string","nullable":true},"picture":{"type":"string","nullable":true},"groups":{"type":"array","items":{"type":"string"},"nullable":true},"attributes":{"type":"object","additionalProperties":{"nullable":true},"nullable":true}},"additionalProperties":false},"Winnow.Domain.Messages.AcpBudget":{"type":"object","properties":{"softCapUsd":{"type":"number","format":"double","nullable":true},"hardCapUsd":{"type":"number","format":"double","nullable":true},"currency":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Domain.Messages.AcpEnvelope":{"type":"object","properties":{"runId":{"type":"string","format":"uuid"},"workspaceId":{"type":"string","nullable":true},"repoScope":{"$ref":"#/components/schemas/Winnow.Domain.Messages.AcpRepoScope"},"stepId":{"type":"string","nullable":true},"parentStepId":{"type":"string","nullable":true},"intent":{"type":"string","nullable":true},"capability":{"type":"string","nullable":true},"payloadRef":{"type":"string","nullable":true},"budget":{"$ref":"#/components/schemas/Winnow.Domain.Messages.AcpBudget"},"deadline":{"type":"string","format":"date-time","nullable":true},"idempotencyKey":{"type":"string","nullable":true},"retryPolicy":{"$ref":"#/components/schemas/Winnow.Domain.Messages.AcpRetryPolicy"},"recoveryPoint":{"$ref":"#/components/schemas/Winnow.Domain.Messages.AcpRecoveryPoint"},"correlationId":{"type":"string","format":"uuid"},"fallbackPolicy":{"$ref":"#/components/schemas/Winnow.Domain.Messages.AcpFallbackPolicy"},"metadata":{"type":"object","additionalProperties":{"type":"string"},"nullable":true},"uow":{"$ref":"#/components/schemas/Winnow.Domain.Messages.UowEnvelope"}},"additionalProperties":false},"Winnow.Domain.Messages.AcpEventType":{"enum":["RunCreated","RunStarted","RunResumed","RunCancelled","RunCompleted","RunFailed","StepCheckpoint","ToolInvoked","WorkerDispatched","WorkerAcked","DeadLetter","LeaseClaimed","LeaseHeartbeat","LeaseReleased","LeaseRequeued","LeaseParked"],"type":"string"},"Winnow.Domain.Messages.AcpFallbackPolicy":{"enum":["LocalFirst","PremiumFallback","DeferWithHandoff"],"type":"string"},"Winnow.Domain.Messages.AcpRecoveryPoint":{"type":"object","properties":{"stage":{"type":"string","nullable":true},"checkpointId":{"type":"string","nullable":true},"capturedAtUtc":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"Winnow.Domain.Messages.AcpRepoRef":{"type":"object","properties":{"repo":{"type":"string","nullable":true},"branch":{"type":"string","nullable":true},"commit":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Domain.Messages.AcpRepoScope":{"type":"object","properties":{"repositories":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Domain.Messages.AcpRepoRef"},"nullable":true}},"additionalProperties":false},"Winnow.Domain.Messages.AcpRetryClass":{"enum":["Transient","Quota","Dependency","DeterministicFailure"],"type":"string"},"Winnow.Domain.Messages.AcpRetryPolicy":{"type":"object","properties":{"retryClass":{"$ref":"#/components/schemas/Winnow.Domain.Messages.AcpRetryClass"},"maxAttempts":{"type":"integer","format":"int32"},"initialBackoffMs":{"type":"integer","format":"int32"},"backoffMultiplier":{"type":"number","format":"double"},"maxBackoffMs":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.Domain.Messages.IngredientMappingResult":{"type":"object","properties":{"original":{"type":"string","nullable":true},"canonicalName":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"standardUnit":{"type":"string","nullable":true},"parsedQuantity":{"type":"number","format":"double","nullable":true},"parsedUnit":{"type":"string","nullable":true},"evidence":{"type":"string","nullable":true},"confidence":{"type":"number","format":"float"},"latencyMs":{"type":"integer","format":"int32"},"correlationId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Domain.Messages.OrchestrationRunStatus":{"enum":["Created","Running","Blocked","Failed","Completed","Cancelled"],"type":"string"},"Winnow.Domain.Messages.RecipeAnswer":{"type":"object","properties":{"answer":{"type":"string","nullable":true},"confidence":{"type":"number","format":"float"},"latencyMs":{"type":"integer","format":"int32"},"correlationId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Domain.Messages.UomConversionResult":{"type":"object","properties":{"ingredient":{"type":"string","nullable":true},"convertedAmount":{"type":"number","format":"double"},"unit":{"type":"string","nullable":true},"confidence":{"type":"number","format":"float"},"latencyMs":{"type":"integer","format":"int32"},"correlationId":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Domain.Messages.UowAuthVerdicts":{"type":"object","properties":{"spf":{"type":"string","nullable":true},"dkim":{"type":"string","nullable":true},"dmarc":{"type":"string","nullable":true},"fromDomain":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Domain.Messages.UowEnvelope":{"type":"object","properties":{"messageId":{"type":"string","nullable":true},"threadId":{"type":"string","nullable":true},"mailbox":{"type":"string","nullable":true},"scope":{"$ref":"#/components/schemas/Winnow.Domain.Messages.UowScopeRef"},"payloadRef":{"type":"string","nullable":true},"payloadSha256":{"type":"string","nullable":true},"payloadBytes":{"type":"integer","format":"int64"},"securityContextVersion":{"type":"integer","format":"int64","nullable":true},"source":{"type":"string","nullable":true},"trustTier":{"type":"string","nullable":true},"simulated":{"type":"boolean"},"sender":{"type":"string","nullable":true},"attributedUserId":{"type":"string","nullable":true},"authVerdicts":{"$ref":"#/components/schemas/Winnow.Domain.Messages.UowAuthVerdicts"},"quarantined":{"type":"boolean"},"quarantineReason":{"type":"string","nullable":true},"receivedAtUtc":{"type":"string","format":"date-time"},"ingestedAtUtc":{"type":"string","format":"date-time"},"annotations":{"type":"object","additionalProperties":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.Domain.Messages.UowScopeRef":{"type":"object","properties":{"kind":{"type":"string","nullable":true},"ref":{"type":"string","nullable":true},"posture":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Infrastructure.Integrations.CloudStorageProviderType":{"enum":["None","GoogleDrive","OneDrive","Dropbox","LocalFileSystem","Supabase","Figma","Slack","Discord","Teams"],"type":"string"},"Winnow.Infrastructure.Integrations.OAuth2AuthorizationResponse":{"type":"object","properties":{"authorizationUrl":{"type":"string","nullable":true},"state":{"type":"string","nullable":true},"providerType":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.CloudStorageProviderType"}},"additionalProperties":false},"Winnow.Infrastructure.Integrations.OAuth2CallbackResult":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string","nullable":true},"errorDescription":{"type":"string","nullable":true},"providerType":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.CloudStorageProviderType"},"userEmail":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Infrastructure.Integrations.ProviderConnectionStatus":{"type":"object","properties":{"providerType":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.CloudStorageProviderType"},"isConnected":{"type":"boolean"},"isTokenValid":{"type":"boolean"},"userEmail":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true},"connectedAt":{"type":"string","format":"date-time","nullable":true},"lastSyncedAt":{"type":"string","format":"date-time","nullable":true},"tokenExpiresAt":{"type":"string","format":"date-time","nullable":true},"storageUsedBytes":{"type":"integer","format":"int64","nullable":true},"storageTotalBytes":{"type":"integer","format":"int64","nullable":true}},"additionalProperties":false},"Winnow.Infrastructure.Integrations.Providers.BrowseFolderResult":{"type":"object","properties":{"currentPath":{"type":"string","nullable":true},"parentPath":{"type":"string","nullable":true},"folders":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.Providers.FolderInfo"},"nullable":true},"files":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Infrastructure.Integrations.Providers.FileInfo2"},"nullable":true},"totalFolders":{"type":"integer","format":"int32"},"totalFiles":{"type":"integer","format":"int32"},"totalSizeBytes":{"type":"integer","format":"int64"}},"additionalProperties":false},"Winnow.Infrastructure.Integrations.Providers.FileInfo2":{"type":"object","properties":{"name":{"type":"string","nullable":true},"path":{"type":"string","nullable":true},"relativePath":{"type":"string","nullable":true},"extension":{"type":"string","nullable":true},"sizeBytes":{"type":"integer","format":"int64"},"createdAt":{"type":"string","format":"date-time"},"modifiedAt":{"type":"string","format":"date-time"},"mimeType":{"type":"string","nullable":true},"isArtifact":{"type":"boolean"}},"additionalProperties":false},"Winnow.Infrastructure.Integrations.Providers.FolderInfo":{"type":"object","properties":{"name":{"type":"string","nullable":true},"path":{"type":"string","nullable":true},"relativePath":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time"},"modifiedAt":{"type":"string","format":"date-time"},"fileCount":{"type":"integer","format":"int32"},"subfolderCount":{"type":"integer","format":"int32"},"totalSizeBytes":{"type":"integer","format":"int64"},"isDockerVolume":{"type":"boolean"}},"additionalProperties":false},"Winnow.Memory.Models.Episode":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Winnow.Memory.ValueObjects.EpisodeId"},"unitOfWorkId":{"$ref":"#/components/schemas/Winnow.Memory.ValueObjects.UnitOfWorkId"},"content":{"type":"string","nullable":true},"timestamp":{"type":"string","format":"date-time"},"data":{"type":"object","additionalProperties":{},"nullable":true},"isCompressed":{"type":"boolean"},"compressionRatio":{"type":"number","format":"float"},"importance":{"type":"number","format":"double"},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"referencedEntities":{"type":"array","items":{"type":"string"},"nullable":true},"source":{"type":"string","nullable":true},"originalId":{"type":"string","nullable":true},"relevanceScore":{"type":"number","format":"double"}},"additionalProperties":false},"Winnow.Memory.Models.EpisodeContext":{"type":"object","properties":{"id":{"type":"string","nullable":true},"content":{"type":"string","nullable":true},"timestamp":{"type":"string","format":"date-time"},"importance":{"type":"integer","format":"int32"},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"referencedEntities":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.KnowledgeEntity"},"nullable":true},"source":{"type":"string","nullable":true},"isCompressed":{"type":"boolean"},"originalId":{"type":"string","nullable":true},"relevanceScore":{"type":"number","format":"double"},"metadata":{"type":"object","additionalProperties":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.Memory.Models.FactContext":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Winnow.Memory.ValueObjects.FactContextId"},"content":{"type":"string","nullable":true},"confidence":{"type":"number","format":"double"},"timestamp":{"type":"string","format":"date-time"},"categories":{"type":"array","items":{"type":"string"},"nullable":true},"referencedEntities":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.KnowledgeEntity"},"nullable":true},"identifiedRelationships":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.KnowledgeRelationship"},"nullable":true},"source":{"type":"string","nullable":true},"validityScore":{"type":"number","format":"double"},"relevanceScore":{"type":"number","format":"double"},"metadata":{"type":"object","additionalProperties":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.Memory.Models.KnowledgeEntity":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Winnow.Memory.ValueObjects.KnowledgeEntityId"},"name":{"type":"string","nullable":true},"entityType":{"type":"string","nullable":true},"importance":{"type":"number","format":"float"},"firstSeen":{"type":"string","format":"date-time"},"lastSeen":{"type":"string","format":"date-time"},"sourceCount":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.Memory.Models.KnowledgeGrain":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Winnow.Memory.ValueObjects.KnowledgeGrainId"},"content":{"type":"string","nullable":true},"domain":{"type":"string","nullable":true},"confidence":{"type":"number","format":"double"},"importance":{"type":"integer","format":"int32"},"sourceEpisode":{"$ref":"#/components/schemas/Winnow.Memory.Models.Episode"},"unitOfWork":{"$ref":"#/components/schemas/Winnow.Memory.Models.UnitOfWork"},"unitOfWorkId":{"$ref":"#/components/schemas/Winnow.Memory.ValueObjects.UnitOfWorkId"},"sourceEpisodeId":{"$ref":"#/components/schemas/Winnow.Memory.ValueObjects.EpisodeId"},"timestamp":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"extractorModel":{"type":"string","nullable":true},"categories":{"type":"array","items":{"type":"string"},"nullable":true},"referencedEntities":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.KnowledgeEntity"},"nullable":true},"identifiedRelationships":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.KnowledgeRelationship"},"nullable":true},"metadata":{"type":"object","additionalProperties":{"type":"string"},"nullable":true},"semanticTags":{"type":"array","items":{"type":"string"},"nullable":true},"lastUpdated":{"type":"string","format":"date-time"},"tokenCount":{"type":"integer","format":"int32"},"processingActors":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.Memory.Models.KnowledgeRelationship":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Winnow.Memory.ValueObjects.KnowledgeRelationshipId"},"sourceEntityId":{"$ref":"#/components/schemas/Winnow.Memory.ValueObjects.KnowledgeEntityId"},"targetEntityId":{"$ref":"#/components/schemas/Winnow.Memory.ValueObjects.KnowledgeEntityId"},"relationshipType":{"type":"string","nullable":true},"confidence":{"type":"number","format":"float"},"evidence":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Winnow.Memory.Models.StudySession":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","nullable":true},"documentId":{"type":"string","format":"uuid","nullable":true},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"status":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySessionStatus"},"stage":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySessionStage"},"progress":{"type":"integer","format":"int32"},"ragStatus":{"type":"string","nullable":true},"kgStatus":{"type":"string","nullable":true},"readyForQuestions":{"type":"boolean"},"errorMessage":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":{},"nullable":true},"startedAt":{"type":"string","format":"date-time","nullable":true},"completedAt":{"type":"string","format":"date-time","nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Memory.Models.StudySessionPreviewSummary":{"type":"object","properties":{"previewId":{"type":"string","format":"uuid"},"sessionId":{"type":"string","format":"uuid"},"status":{"type":"string","nullable":true},"nodeCount":{"type":"integer","format":"int32"},"edgeCount":{"type":"integer","format":"int32"},"mentionCount":{"type":"integer","format":"int32"},"claimCount":{"type":"integer","format":"int32"},"startedAt":{"type":"string","format":"date-time","nullable":true},"completedAt":{"type":"string","format":"date-time","nullable":true},"actorSource":{"type":"string","nullable":true},"sourceDocumentId":{"type":"string","format":"uuid","nullable":true},"errorMessage":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Memory.Models.StudySessionStage":{"enum":["Upload","Chunking","Embedding","KgExtraction","Complete"],"type":"string"},"Winnow.Memory.Models.StudySessionStatus":{"enum":["Pending","Processing","Completed","Failed"],"type":"string"},"Winnow.Memory.Models.StudySessionStep":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"sessionId":{"type":"string","format":"uuid"},"organizationId":{"type":"string","nullable":true},"stepType":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"actorSource":{"type":"string","nullable":true},"input":{"type":"object","additionalProperties":{},"nullable":true},"output":{"type":"object","additionalProperties":{},"nullable":true},"errorMessage":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Memory.Models.StudySessionSummary":{"type":"object","properties":{"sessionId":{"type":"string","format":"uuid"},"title":{"type":"string","nullable":true},"status":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySessionStatus"},"stage":{"$ref":"#/components/schemas/Winnow.Memory.Models.StudySessionStage"},"progress":{"type":"integer","format":"int32"},"readyForQuestions":{"type":"boolean"},"chunkCount":{"type":"integer","format":"int32"},"nodeCount":{"type":"integer","format":"int32"},"edgeCount":{"type":"integer","format":"int32"},"claimCount":{"type":"integer","format":"int32"},"duration":{"$ref":"#/components/schemas/System.TimeSpan"},"errorMessage":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Memory.Models.UnitOfWork":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Winnow.Memory.ValueObjects.UnitOfWorkId"},"modelType":{"type":"string","nullable":true,"readOnly":true},"status":{"$ref":"#/components/schemas/Winnow.Memory.Models.UnitOfWorkStatus"},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true},"completedAt":{"type":"string","format":"date-time","nullable":true,"readOnly":true},"episodicContext":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.EpisodeContext"},"nullable":true,"readOnly":true},"semanticContext":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Models.FactContext"},"nullable":true,"readOnly":true},"source":{"type":"string","nullable":true,"readOnly":true},"userId":{"type":"string","nullable":true,"readOnly":true},"metadata":{"type":"object","additionalProperties":{"type":"string"},"nullable":true,"readOnly":true}},"additionalProperties":false},"Winnow.Memory.Models.UnitOfWorkStatus":{"enum":["Created","Initialized","Active","Paused","Completed","Failed"],"type":"string"},"Winnow.Memory.Repositories.KgOntologyRef":{"type":"object","properties":{"ontologyName":{"type":"string","nullable":true},"ontologyValue":{"type":"string","nullable":true},"schemaNodeId":{"type":"string","format":"uuid","nullable":true},"schemaFieldId":{"type":"string","format":"uuid","nullable":true},"matchScore":{"type":"number","format":"double"}},"additionalProperties":false},"Winnow.Memory.Services.OntologyEnrichedEntity":{"type":"object","properties":{"nodeId":{"type":"string","format":"uuid"},"entityType":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"confidenceScore":{"type":"number","format":"double"},"ontologies":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Repositories.KgOntologyRef"},"nullable":true},"schemaNodeId":{"type":"string","format":"uuid","nullable":true},"schemaNodeName":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Memory.Services.OntologyEnrichedRelation":{"type":"object","properties":{"edgeId":{"type":"string","format":"uuid"},"sourceNodeId":{"type":"string","format":"uuid"},"targetNodeId":{"type":"string","format":"uuid"},"relationType":{"type":"string","nullable":true},"relationSubtype":{"type":"string","nullable":true},"confidenceScore":{"type":"number","format":"double"},"ontologies":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Repositories.KgOntologyRef"},"nullable":true}},"additionalProperties":false},"Winnow.Memory.Services.OntologyRetrievalResult":{"type":"object","properties":{"entities":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Services.OntologyEnrichedEntity"},"nullable":true},"relations":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Memory.Services.OntologyEnrichedRelation"},"nullable":true},"ontologyTypes":{"type":"array","items":{"type":"string"},"nullable":true},"contextText":{"type":"string","nullable":true},"totalEntitiesScanned":{"type":"integer","format":"int32"},"totalRelationsScanned":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.Memory.ValueObjects.EpisodeId":{"type":"object","properties":{"value":{"type":"string","nullable":true,"readOnly":true}},"additionalProperties":false},"Winnow.Memory.ValueObjects.FactContextId":{"type":"object","properties":{"value":{"type":"string","nullable":true,"readOnly":true}},"additionalProperties":false},"Winnow.Memory.ValueObjects.KnowledgeEntityId":{"type":"object","properties":{"value":{"type":"string","nullable":true,"readOnly":true}},"additionalProperties":false},"Winnow.Memory.ValueObjects.KnowledgeGrainId":{"type":"object","properties":{"value":{"type":"string","nullable":true,"readOnly":true}},"additionalProperties":false},"Winnow.Memory.ValueObjects.KnowledgeRelationshipId":{"type":"object","properties":{"value":{"type":"string","nullable":true,"readOnly":true}},"additionalProperties":false},"Winnow.Memory.ValueObjects.UnitOfWorkId":{"type":"object","properties":{"value":{"type":"string","nullable":true,"readOnly":true}},"additionalProperties":false},"Winnow.Messages.ChatMessage":{"type":"object","properties":{"role":{"type":"string","nullable":true},"content":{"type":"string","nullable":true},"reasoning":{"type":"string","nullable":true},"images":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.Messages.CodeGenOptions":{"type":"object","properties":{"autoMerge":{"type":"boolean"},"maxRetries":{"type":"integer","format":"int32"},"reviewers":{"type":"array","items":{"type":"string"},"nullable":true},"maxTestTier":{"$ref":"#/components/schemas/Winnow.Messages.TestTier"},"skipArchitectureCheck":{"type":"boolean"},"generateTests":{"type":"boolean"},"baseBranch":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Messages.CodeGenerationRequest":{"type":"object","properties":{"taskDescription":{"type":"string","nullable":true},"requirementSource":{"type":"string","nullable":true},"taskId":{"type":"string","format":"uuid","nullable":true},"targetFiles":{"type":"array","items":{"type":"string"},"nullable":true},"context":{"type":"object","additionalProperties":{"type":"string","nullable":true},"nullable":true},"options":{"$ref":"#/components/schemas/Winnow.Messages.CodeGenOptions"},"taskMandate":{"$ref":"#/components/schemas/Winnow.Messages.TaskMandate"}},"additionalProperties":false},"Winnow.Messages.TaskMandate":{"type":"object","properties":{"mandateId":{"type":"string","format":"uuid"},"runId":{"type":"string","format":"uuid"},"requestedCapability":{"type":"string","nullable":true},"assignedRole":{"type":"string","nullable":true},"delegatorActorId":{"type":"string","nullable":true},"requiredCapabilities":{"type":"array","items":{"type":"string"},"nullable":true},"allowedActorIds":{"type":"array","items":{"type":"string"},"nullable":true},"requireCapabilityAttestation":{"type":"boolean"},"minimumCapabilityConfidence":{"type":"number","format":"double","nullable":true},"requiredPolicyHash":{"type":"string","nullable":true},"requiredAttestationId":{"type":"string","nullable":true},"acceptedAttesters":{"type":"array","items":{"type":"string"},"nullable":true},"issuedAtUtc":{"type":"string","format":"date-time"},"expiresAtUtc":{"type":"string","format":"date-time"},"verificationPolicyId":{"type":"string","nullable":true},"delegatorPublicKeyId":{"type":"string","nullable":true},"signatureAlgorithm":{"type":"string","nullable":true},"delegatorSignature":{"type":"string","nullable":true},"constraints":{"type":"object","additionalProperties":{"type":"string"},"nullable":true},"hasSignature":{"type":"boolean","readOnly":true}},"additionalProperties":false},"Winnow.Messages.TestTier":{"enum":["None","Unit","Integration","E2E"],"type":"string"},"Winnow.Messages.WarmModelRequest":{"type":"object","properties":{"model":{"type":"string","nullable":true},"provider":{"type":"string","nullable":true},"prompt":{"type":"string","nullable":true},"maxTokens":{"type":"integer","format":"int32"},"timeoutSeconds":{"type":"integer","format":"int32"},"broadcast":{"type":"boolean"}},"additionalProperties":false},"Winnow.Scheduling.ScheduledJobDefinition":{"type":"object","properties":{"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"provider":{"type":"string","nullable":true},"cronExpression":{"type":"string","nullable":true},"timeZoneId":{"type":"string","nullable":true},"taskType":{"type":"string","nullable":true},"payloadJson":{"type":"string","nullable":true},"isPaused":{"type":"boolean"},"createdAtUtc":{"type":"string","format":"date-time"},"updatedAtUtc":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Scheduling.ScheduledJobRunRecord":{"type":"object","properties":{"runId":{"type":"string","nullable":true},"jobId":{"type":"string","nullable":true},"provider":{"type":"string","nullable":true},"taskType":{"type":"string","nullable":true},"isManualTrigger":{"type":"boolean"},"success":{"type":"boolean"},"errorMessage":{"type":"string","nullable":true},"outputJson":{"type":"string","nullable":true},"triggeredAtUtc":{"type":"string","format":"date-time"},"startedAtUtc":{"type":"string","format":"date-time"},"completedAtUtc":{"type":"string","format":"date-time"},"durationMs":{"type":"integer","format":"int64"}},"additionalProperties":false},"Winnow.Services.AuthAuditEvent":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid","nullable":true},"userId":{"type":"string","format":"uuid","nullable":true},"eventType":{"type":"string","nullable":true},"eventStatus":{"type":"string","nullable":true},"ipAddress":{"type":"string","nullable":true},"userAgent":{"type":"string","nullable":true},"geoLocation":{"$ref":"#/components/schemas/Winnow.Services.GeoLocation"},"details":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"errorMessage":{"type":"string","nullable":true},"targetUserId":{"type":"string","format":"uuid","nullable":true},"targetRoleId":{"type":"string","format":"uuid","nullable":true},"targetGroupId":{"type":"string","format":"uuid","nullable":true},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Services.CandidateMemory":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"userId":{"type":"string","format":"uuid","nullable":true},"sourceType":{"type":"string","nullable":true},"sourceId":{"type":"string","format":"uuid"},"sourceMessageId":{"type":"string","format":"uuid","nullable":true},"sourceChunkId":{"type":"string","format":"uuid","nullable":true},"memoryType":{"type":"string","nullable":true},"content":{"type":"string","nullable":true},"contentHash":{"type":"string","nullable":true},"extractedData":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"spanStart":{"type":"integer","format":"int32","nullable":true},"spanEnd":{"type":"integer","format":"int32","nullable":true},"contextBefore":{"type":"string","nullable":true},"contextAfter":{"type":"string","nullable":true},"extractionScore":{"type":"number","format":"double"},"relevanceScore":{"type":"number","format":"double"},"noveltyScore":{"type":"number","format":"double"},"combinedScore":{"type":"number","format":"double","readOnly":true},"status":{"type":"string","nullable":true},"promotedEntityId":{"type":"string","format":"uuid","nullable":true},"promotedRelationId":{"type":"string","format":"uuid","nullable":true},"reviewedBy":{"type":"string","format":"uuid","nullable":true},"reviewedAt":{"type":"string","format":"date-time","nullable":true},"reviewNotes":{"type":"string","nullable":true},"autoPromoteEligible":{"type":"boolean"},"autoPromoteThreshold":{"type":"number","format":"double"},"expiresAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Services.CategoryScore":{"type":"object","properties":{"category":{"type":"string","nullable":true},"score":{"type":"number","format":"double"},"flagged":{"type":"boolean"},"isFlagged":{"type":"boolean"}},"additionalProperties":false},"Winnow.Services.ChecklistItem":{"type":"object","properties":{"item":{"type":"string","nullable":true},"completed":{"type":"boolean"}},"additionalProperties":false},"Winnow.Services.ConversationTemplate":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"personaId":{"type":"string","format":"uuid"},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"templateType":{"type":"string","nullable":true},"content":{"type":"string","nullable":true},"triggerConditions":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"isDefault":{"type":"boolean"}},"additionalProperties":false},"Winnow.Services.CreateGroupRequest":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid"},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"externalId":{"type":"string","nullable":true},"externalSource":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"initialRoles":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true}},"additionalProperties":false},"Winnow.Services.CreateJournalEntryRequest":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid","nullable":true},"title":{"type":"string","nullable":true},"content":{"type":"string","nullable":true},"entryType":{"type":"string","nullable":true},"entryDate":{"type":"string","format":"date-time","nullable":true},"mood":{"type":"string","nullable":true},"energyLevel":{"type":"integer","format":"int32","nullable":true},"customMetrics":{"type":"object","additionalProperties":{"type":"number","format":"double","nullable":true},"nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"categories":{"type":"array","items":{"type":"string"},"nullable":true},"scope":{"type":"string","nullable":true},"sharedWith":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"templateId":{"type":"string","format":"uuid","nullable":true},"generateInsights":{"type":"boolean"}},"additionalProperties":false},"Winnow.Services.CreateJournalTemplateRequest":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","nullable":true},"createdBy":{"type":"string","format":"uuid"},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"templateType":{"type":"string","nullable":true},"prompts":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.TemplatePrompt"},"nullable":true},"defaultTags":{"type":"array","items":{"type":"string"},"nullable":true},"includeMood":{"type":"boolean"},"includeMetrics":{"type":"boolean"},"customMetricDefinitions":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.MetricDefinition"},"nullable":true},"scope":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Services.CreateRoleRequest":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","nullable":true},"code":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"isDefault":{"type":"boolean"},"priority":{"type":"integer","format":"int32"},"parentRoleId":{"type":"string","format":"uuid","nullable":true},"initialPermissions":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.Services.CreateTrackerRequest":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"icon":{"type":"string","nullable":true},"color":{"type":"string","nullable":true},"trackerType":{"type":"string","nullable":true},"config":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"frequency":{"type":"string","nullable":true},"scheduleConfig":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"targetValue":{"type":"number","format":"double","nullable":true},"scope":{"type":"string","nullable":true},"showOnLeaderboard":{"type":"boolean"}},"additionalProperties":false},"Winnow.Services.DailyStats":{"type":"object","properties":{"date":{"type":"string","format":"date-time"},"checks":{"type":"integer","format":"int32"},"flagged":{"type":"integer","format":"int32"},"blocked":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.Services.EffectivePermission":{"type":"object","properties":{"permissionCode":{"type":"string","nullable":true},"granted":{"type":"boolean"},"source":{"type":"string","nullable":true},"conditions":{"type":"object","additionalProperties":{"nullable":true},"nullable":true}},"additionalProperties":false},"Winnow.Services.EntityContext":{"type":"object","properties":{"entity":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeEntity"},"relations":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.RelationContext"},"nullable":true},"relatedEntities":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeEntity"},"nullable":true}},"additionalProperties":false},"Winnow.Services.Feature":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"defaultEnabled":{"type":"boolean"},"configSchema":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Services.FeatureEntitlement":{"type":"object","properties":{"featureCode":{"type":"string","nullable":true},"featureName":{"type":"string","nullable":true},"enabled":{"type":"boolean"},"limits":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"source":{"type":"string","nullable":true},"expiresAt":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"Winnow.Services.FeatureOverride":{"type":"object","properties":{"enabled":{"type":"boolean"},"limits":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"reason":{"type":"string","nullable":true},"grantedBy":{"type":"string","format":"uuid","nullable":true},"expiresAt":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"Winnow.Services.GeneratedImageInfo":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"requestId":{"type":"string","format":"uuid"},"parentImageId":{"type":"string","format":"uuid","nullable":true},"base64Data":{"type":"string","nullable":true},"url":{"type":"string","nullable":true},"prompt":{"type":"string","nullable":true},"revisedPrompt":{"type":"string","nullable":true},"seed":{"type":"integer","format":"int64","nullable":true},"width":{"type":"integer","format":"int32"},"height":{"type":"integer","format":"int32"},"format":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Services.GenerationHistoryItem":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"userId":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"requestType":{"type":"string","nullable":true},"prompt":{"type":"string","nullable":true},"negativePrompt":{"type":"string","nullable":true},"size":{"type":"string","nullable":true},"count":{"type":"integer","format":"int32"},"status":{"type":"string","nullable":true},"generatedCount":{"type":"integer","format":"int32"},"error":{"type":"string","nullable":true},"errorMessage":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"Winnow.Services.GeoLocation":{"type":"object","properties":{"country":{"type":"string","nullable":true},"city":{"type":"string","nullable":true},"region":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Services.GraphPath":{"type":"object","properties":{"entityIds":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true}},"additionalProperties":false},"Winnow.Services.GraphRetrievalResult":{"type":"object","properties":{"entities":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeEntity"},"nullable":true},"relations":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeRelation"},"nullable":true},"summaries":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeSummaryInfo"},"nullable":true},"provenance":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.ProvenanceInfo"},"nullable":true},"contextText":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Services.Group":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"externalId":{"type":"string","nullable":true},"externalSource":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.Role"},"nullable":true},"memberCount":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.Services.ImageResult":{"type":"object","properties":{"success":{"type":"boolean"},"requestId":{"type":"string","format":"uuid"},"images":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.GeneratedImageInfo"},"nullable":true},"error":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Services.ImageTemplate":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid","nullable":true},"createdBy":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"promptTemplate":{"type":"string","nullable":true},"negativePrompt":{"type":"string","nullable":true},"defaultParams":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"isPublic":{"type":"boolean"},"isSystem":{"type":"boolean"},"useCount":{"type":"integer","format":"int32"},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Services.JournalAiInsights":{"type":"object","properties":{"summary":{"type":"string","nullable":true},"keyInsights":{"type":"array","items":{"type":"string"},"nullable":true},"sentimentScore":{"type":"number","format":"double"},"sentimentLabel":{"type":"string","nullable":true},"suggestedTags":{"type":"array","items":{"type":"string"},"nullable":true},"reflectionPrompts":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.Services.JournalAttachment":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"url":{"type":"string","nullable":true},"size":{"type":"integer","format":"int64","nullable":true}},"additionalProperties":false},"Winnow.Services.JournalEntry":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid","nullable":true},"userId":{"type":"string","format":"uuid"},"title":{"type":"string","nullable":true},"content":{"type":"string","nullable":true},"contentHtml":{"type":"string","nullable":true},"entryType":{"type":"string","nullable":true},"entryDate":{"type":"string","format":"date-time"},"mood":{"type":"string","nullable":true},"energyLevel":{"type":"integer","format":"int32","nullable":true},"customMetrics":{"type":"object","additionalProperties":{"type":"number","format":"double","nullable":true},"nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"categories":{"type":"array","items":{"type":"string"},"nullable":true},"isPinned":{"type":"boolean"},"isFavorite":{"type":"boolean"},"scope":{"type":"string","nullable":true},"sharedWith":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"attachments":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.JournalAttachment"},"nullable":true},"summary":{"type":"string","nullable":true},"keyInsights":{"type":"array","items":{"type":"string"},"nullable":true},"sentimentScore":{"type":"number","format":"double","nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Services.JournalStats":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"totalEntries":{"type":"integer","format":"int32"},"entriesThisWeek":{"type":"integer","format":"int32"},"entriesThisMonth":{"type":"integer","format":"int32"},"currentStreak":{"type":"integer","format":"int32"},"longestStreak":{"type":"integer","format":"int32"},"entriesByType":{"type":"object","additionalProperties":{"type":"integer","format":"int32","nullable":true},"nullable":true},"entriesByMood":{"type":"object","additionalProperties":{"type":"integer","format":"int32","nullable":true},"nullable":true},"averageSentiment":{"type":"number","format":"double"},"topTags":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"Winnow.Services.JournalTemplate":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid","nullable":true},"createdBy":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"templateType":{"type":"string","nullable":true},"prompts":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.TemplatePrompt"},"nullable":true},"defaultTags":{"type":"array","items":{"type":"string"},"nullable":true},"includeMood":{"type":"boolean"},"includeMetrics":{"type":"boolean"},"customMetricDefinitions":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.MetricDefinition"},"nullable":true},"scope":{"type":"string","nullable":true},"isDefault":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Services.KnowledgeEntity":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"entityType":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"normalizedName":{"type":"string","nullable":true},"aliases":{"type":"array","items":{"type":"string"},"nullable":true},"description":{"type":"string","nullable":true},"attributes":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"confidenceScore":{"type":"number","format":"double"},"qualityScore":{"type":"number","format":"double"},"verificationStatus":{"type":"string","nullable":true},"sourceType":{"type":"string","nullable":true},"primarySourceId":{"type":"string","format":"uuid","nullable":true},"sourceRefs":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.SourceReference"},"nullable":true},"createdBy":{"type":"string","format":"uuid","nullable":true},"lastUpdatedBy":{"type":"string","format":"uuid","nullable":true},"mentionCount":{"type":"integer","format":"int32"},"lastMentionedAt":{"type":"string","format":"date-time"},"isActive":{"type":"boolean"},"mergedIntoId":{"type":"string","format":"uuid","nullable":true},"expiresAt":{"type":"string","format":"date-time","nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Services.KnowledgeRelation":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"sourceEntityId":{"type":"string","format":"uuid"},"targetEntityId":{"type":"string","format":"uuid"},"relationType":{"type":"string","nullable":true},"relationSubtype":{"type":"string","nullable":true},"properties":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"isBidirectional":{"type":"boolean"},"confidenceScore":{"type":"number","format":"double"},"evidenceCount":{"type":"integer","format":"int32"},"sourceRefs":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.SourceReference"},"nullable":true},"validFrom":{"type":"string","format":"date-time","nullable":true},"validUntil":{"type":"string","format":"date-time","nullable":true},"isActive":{"type":"boolean"},"createdBy":{"type":"string","format":"uuid","nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Services.KnowledgeSummary":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"summaryType":{"type":"string","nullable":true},"targetEntityId":{"type":"string","format":"uuid","nullable":true},"topicName":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"keyPoints":{"type":"array","items":{"type":"string"},"nullable":true},"sourceEntityIds":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"sourceRelationIds":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"sourceCandidateIds":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"sourceRefs":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.SummarySourceRef"},"nullable":true},"coverageScore":{"type":"number","format":"double"},"coherenceScore":{"type":"number","format":"double"},"freshnessScore":{"type":"number","format":"double"},"version":{"type":"integer","format":"int32"},"previousVersionId":{"type":"string","format":"uuid","nullable":true},"lastRefreshAt":{"type":"string","format":"date-time"},"nextRefreshAt":{"type":"string","format":"date-time","nullable":true},"refreshTrigger":{"type":"string","nullable":true},"needsRefresh":{"type":"boolean"},"isActive":{"type":"boolean"},"createdBy":{"type":"string","format":"uuid","nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Services.KnowledgeSummaryInfo":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"title":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"keyPoints":{"type":"array","items":{"type":"string"},"nullable":true},"freshnessScore":{"type":"number","format":"double"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Services.LimitOverrides":{"type":"object","properties":{"maxUsers":{"type":"integer","format":"int32","nullable":true},"maxConversations":{"type":"integer","format":"int32","nullable":true},"maxTokensPerMonth":{"type":"integer","format":"int64","nullable":true},"maxStorageGb":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false},"Winnow.Services.MetricDefinition":{"type":"object","properties":{"name":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"min":{"type":"number","format":"double","nullable":true},"max":{"type":"number","format":"double","nullable":true},"unit":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Services.ModerationConfig":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid"},"isEnabled":{"type":"boolean"},"moderationProvider":{"type":"string","nullable":true},"apiEndpoint":{"type":"string","nullable":true},"apiKey":{"type":"string","nullable":true},"moderatePrompts":{"type":"boolean"},"moderateOutputs":{"type":"boolean"},"outputThreshold":{"type":"number","format":"double"},"categoryThresholds":{"type":"object","additionalProperties":{"type":"number","format":"double","nullable":true},"nullable":true},"blockFlaggedContent":{"type":"boolean"},"logFlaggedContent":{"type":"boolean"},"notifyOnFlags":{"type":"boolean"},"notifyEmail":{"type":"string","nullable":true},"ageRestrictionEnabled":{"type":"boolean"},"minimumAge":{"type":"integer","format":"int32"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Services.ModerationLogEntry":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"userId":{"type":"string","format":"uuid","nullable":true},"requestId":{"type":"string","format":"uuid","nullable":true},"contentType":{"type":"string","nullable":true},"contentHash":{"type":"string","nullable":true},"isFlagged":{"type":"boolean"},"flaggedCategories":{"type":"array","items":{"type":"string"},"nullable":true},"categories":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Winnow.Services.CategoryScore"},"nullable":true},"overallScore":{"type":"number","format":"double"},"actionTaken":{"type":"string","nullable":true},"needsReview":{"type":"boolean"},"reviewedBy":{"type":"string","format":"uuid","nullable":true},"reviewedAt":{"type":"string","format":"date-time","nullable":true},"reviewDecision":{"type":"string","nullable":true},"reviewNotes":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Services.ModerationStats":{"type":"object","properties":{"totalChecks":{"type":"integer","format":"int32"},"totalFlagged":{"type":"integer","format":"int32"},"totalBlocked":{"type":"integer","format":"int32"},"totalAllowed":{"type":"integer","format":"int32"},"pendingReview":{"type":"integer","format":"int32"},"byCategory":{"type":"object","additionalProperties":{"type":"integer","format":"int32","nullable":true},"nullable":true},"byContentType":{"type":"object","additionalProperties":{"type":"integer","format":"int32","nullable":true},"nullable":true},"dailyBreakdown":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.DailyStats"},"nullable":true}},"additionalProperties":false},"Winnow.Services.MoodDataPoint":{"type":"object","properties":{"date":{"type":"string","format":"date-time"},"mood":{"type":"string","nullable":true},"moodScore":{"type":"integer","format":"int32"},"energyLevel":{"type":"integer","format":"int32","nullable":true},"sentimentScore":{"type":"number","format":"double","nullable":true}},"additionalProperties":false},"Winnow.Services.MoodTrend":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"startDate":{"type":"string","format":"date-time"},"endDate":{"type":"string","format":"date-time"},"dataPoints":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.MoodDataPoint"},"nullable":true},"overallTrend":{"type":"string","nullable":true},"averageMoodScore":{"type":"number","format":"double"}},"additionalProperties":false},"Winnow.Services.OrganizationEntitlement":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"planCode":{"type":"string","nullable":true},"plan":{"$ref":"#/components/schemas/Winnow.Services.SubscriptionPlan"},"status":{"type":"string","nullable":true},"trialEndsAt":{"type":"string","format":"date-time","nullable":true},"currentPeriodStart":{"type":"string","format":"date-time"},"currentPeriodEnd":{"type":"string","format":"date-time","nullable":true},"stripeSubscriptionId":{"type":"string","nullable":true},"stripeCustomerId":{"type":"string","nullable":true},"featureOverrides":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Winnow.Services.FeatureOverride"},"nullable":true},"limitOverrides":{"$ref":"#/components/schemas/Winnow.Services.LimitOverrides"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Services.Permission":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"resourceType":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Services.PersonaDefinition":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid","nullable":true},"createdBy":{"type":"string","format":"uuid","nullable":true},"slug":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"avatarUrl":{"type":"string","nullable":true},"icon":{"type":"string","nullable":true},"systemPrompt":{"type":"string","nullable":true},"tone":{"type":"string","nullable":true},"bestFor":{"type":"string","nullable":true},"domain":{"type":"string","nullable":true},"defaultRole":{"type":"string","nullable":true},"preferredModel":{"type":"string","nullable":true},"preferredProvider":{"type":"string","nullable":true},"temperature":{"type":"number","format":"double"},"maxTokens":{"type":"integer","format":"int32","nullable":true},"topP":{"type":"number","format":"double","nullable":true},"frequencyPenalty":{"type":"number","format":"double","nullable":true},"presencePenalty":{"type":"number","format":"double","nullable":true},"visibility":{"type":"string","nullable":true},"isFeatured":{"type":"boolean"},"isApproved":{"type":"boolean"},"approvedBy":{"type":"string","format":"uuid","nullable":true},"approvedAt":{"type":"string","format":"date-time","nullable":true},"version":{"type":"integer","format":"int32"},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"metadata":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"usageCount":{"type":"integer","format":"int32"},"ratingAvg":{"type":"number","format":"double"},"ratingCount":{"type":"integer","format":"int32"},"skills":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.PersonaSkill"},"nullable":true},"tools":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.PersonaTool"},"nullable":true},"templates":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.ConversationTemplate"},"nullable":true},"identityReferences":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.PersonaIdentityReference"},"nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Services.PersonaIdentityReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"personaId":{"type":"string","format":"uuid"},"provider":{"type":"string","nullable":true},"referenceId":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"sourcePhotoUrls":{"type":"array","items":{"type":"string"},"nullable":true},"strength":{"type":"number","format":"double","nullable":true},"voiceId":{"type":"string","nullable":true},"brandVoiceStance":{"type":"string","nullable":true},"formalityLevel":{"type":"integer","format":"int32","nullable":true},"trainedAt":{"type":"string","format":"date-time","nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Services.PersonaSkill":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"personaId":{"type":"string","format":"uuid"},"skillName":{"type":"string","nullable":true},"proficiencyLevel":{"type":"integer","format":"int32"},"isPrimary":{"type":"boolean"}},"additionalProperties":false},"Winnow.Services.PersonaTool":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"personaId":{"type":"string","format":"uuid"},"toolType":{"type":"string","nullable":true},"toolName":{"type":"string","nullable":true},"config":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"isEnabled":{"type":"boolean"},"executionOrder":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.Services.PersonaVersion":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"personaId":{"type":"string","format":"uuid"},"version":{"type":"integer","format":"int32"},"snapshot":{"$ref":"#/components/schemas/Winnow.Services.PersonaDefinition"},"changeSummary":{"type":"string","nullable":true},"changedBy":{"type":"string","format":"uuid","nullable":true},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Services.PlanFeatureConfig":{"type":"object","properties":{"featureCode":{"type":"string","nullable":true},"enabled":{"type":"boolean"},"limits":{"type":"object","additionalProperties":{"nullable":true},"nullable":true}},"additionalProperties":false},"Winnow.Services.PromotionResult":{"type":"object","properties":{"candidateId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"entityId":{"type":"string","format":"uuid","nullable":true},"relationId":{"type":"string","format":"uuid","nullable":true},"error":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Services.ProvenanceInfo":{"type":"object","properties":{"sourceType":{"type":"string","nullable":true},"sourceId":{"type":"string","format":"uuid"},"context":{"type":"string","nullable":true},"confidence":{"type":"number","format":"double"},"documentId":{"type":"string","format":"uuid","nullable":true},"chunkId":{"type":"string","format":"uuid","nullable":true},"nodeId":{"type":"string","format":"uuid","nullable":true}},"additionalProperties":false},"Winnow.Services.QuotaInfo":{"type":"object","properties":{"dailyLimit":{"type":"integer","format":"int32"},"dailyUsed":{"type":"integer","format":"int32"},"dailyRemaining":{"type":"integer","format":"int32"},"monthlyLimit":{"type":"integer","format":"int32"},"monthlyUsed":{"type":"integer","format":"int32"},"monthlyRemaining":{"type":"integer","format":"int32"},"resetsDailyAt":{"type":"string","format":"date-time"},"resetsMonthlyAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Services.QuotaStatus":{"type":"object","properties":{"featureCode":{"type":"string","nullable":true},"featureName":{"type":"string","nullable":true},"currentUsage":{"type":"integer","format":"int32"},"limit":{"type":"integer","format":"int32","nullable":true},"remaining":{"type":"integer","format":"int32","nullable":true},"usagePercent":{"type":"number","format":"double"},"status":{"type":"string","nullable":true},"periodStart":{"type":"string","format":"date-time"},"periodEnd":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Services.RelationContext":{"type":"object","properties":{"relation":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeRelation"},"direction":{"type":"string","nullable":true},"otherEntity":{"$ref":"#/components/schemas/Winnow.Services.KnowledgeEntity"}},"additionalProperties":false},"Winnow.Services.ReviewDecision":{"enum":["Approved","Rejected","Escalated"],"type":"string"},"Winnow.Services.Role":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid","nullable":true},"code":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"roleType":{"type":"string","nullable":true},"isDefault":{"type":"boolean"},"priority":{"type":"integer","format":"int32"},"parentRoleId":{"type":"string","format":"uuid","nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"permissions":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.RolePermission"},"nullable":true}},"additionalProperties":false},"Winnow.Services.RolePermission":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"roleId":{"type":"string","format":"uuid"},"permissionId":{"type":"string","format":"uuid"},"granted":{"type":"boolean"},"conditions":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"createdAt":{"type":"string","format":"date-time"},"permission":{"$ref":"#/components/schemas/Winnow.Services.Permission"}},"additionalProperties":false},"Winnow.Services.SavedImage":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"userId":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"parentImageId":{"type":"string","format":"uuid","nullable":true},"prompt":{"type":"string","nullable":true},"revisedPrompt":{"type":"string","nullable":true},"base64Data":{"type":"string","nullable":true},"folderPath":{"type":"string","nullable":true},"fileName":{"type":"string","nullable":true},"filePath":{"type":"string","nullable":true},"storageKey":{"type":"string","nullable":true},"cdnUrl":{"type":"string","nullable":true},"thumbnailUrl":{"type":"string","nullable":true},"format":{"type":"string","nullable":true},"width":{"type":"integer","format":"int32"},"height":{"type":"integer","format":"int32"},"fileSizeBytes":{"type":"integer","format":"int64"},"version":{"type":"integer","format":"int32"},"isFavorite":{"type":"boolean"},"isDeleted":{"type":"boolean"},"deletedAt":{"type":"string","format":"date-time","nullable":true},"savedAt":{"type":"string","format":"date-time"},"metadata":{"type":"object","additionalProperties":{"nullable":true},"nullable":true}},"additionalProperties":false},"Winnow.Services.SetPlanRequest":{"type":"object","properties":{"planCode":{"type":"string","nullable":true},"stripeSubscriptionId":{"type":"string","nullable":true},"stripeCustomerId":{"type":"string","nullable":true},"periodEnd":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"Winnow.Services.SourceReference":{"type":"object","properties":{"type":{"type":"string","nullable":true},"id":{"type":"string","format":"uuid"},"messageId":{"type":"string","format":"uuid","nullable":true},"chunkId":{"type":"string","format":"uuid","nullable":true},"externalId":{"type":"string","nullable":true},"uri":{"type":"string","nullable":true},"path":{"type":"string","nullable":true},"commitHash":{"type":"string","nullable":true},"branch":{"type":"string","nullable":true},"lineStart":{"type":"integer","format":"int32","nullable":true},"lineEnd":{"type":"integer","format":"int32","nullable":true},"columnStart":{"type":"integer","format":"int32","nullable":true},"columnEnd":{"type":"integer","format":"int32","nullable":true},"spanStart":{"type":"integer","format":"int32","nullable":true},"spanEnd":{"type":"integer","format":"int32","nullable":true},"language":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":{"nullable":true},"nullable":true}},"additionalProperties":false},"Winnow.Services.StylePreset":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"stylePrompt":{"type":"string","nullable":true},"negativePrompt":{"type":"string","nullable":true},"previewImageUrl":{"type":"string","nullable":true},"providerSettings":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"isActive":{"type":"boolean"},"sortOrder":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.Services.SubscriptionPlan":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"priceMonthly":{"type":"number","format":"double","nullable":true},"priceYearly":{"type":"number","format":"double","nullable":true},"currency":{"type":"string","nullable":true},"maxUsers":{"type":"integer","format":"int32","nullable":true},"maxConversations":{"type":"integer","format":"int32","nullable":true},"maxTokensPerMonth":{"type":"integer","format":"int64","nullable":true},"maxStorageGb":{"type":"integer","format":"int32","nullable":true},"isActive":{"type":"boolean"},"features":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Winnow.Services.PlanFeatureConfig"},"nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Services.SummarySourceRef":{"type":"object","properties":{"type":{"type":"string","nullable":true},"id":{"type":"string","format":"uuid"},"context":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Services.TemplatePrompt":{"type":"object","properties":{"question":{"type":"string","nullable":true},"placeholder":{"type":"string","nullable":true},"required":{"type":"boolean"}},"additionalProperties":false},"Winnow.Services.Tracker":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid","nullable":true},"userId":{"type":"string","format":"uuid"},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"icon":{"type":"string","nullable":true},"color":{"type":"string","nullable":true},"trackerType":{"type":"string","nullable":true},"config":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"frequency":{"type":"string","nullable":true},"scheduleConfig":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"currentValue":{"type":"number","format":"double"},"targetValue":{"type":"number","format":"double","nullable":true},"currentStreak":{"type":"integer","format":"int32"},"bestStreak":{"type":"integer","format":"int32"},"completionCount":{"type":"integer","format":"int32"},"status":{"type":"string","nullable":true},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time","nullable":true},"scope":{"type":"string","nullable":true},"sharedWith":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"showOnLeaderboard":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Services.TrackerEntry":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"trackerId":{"type":"string","format":"uuid"},"userId":{"type":"string","format":"uuid"},"entryDate":{"type":"string","format":"date-time"},"value":{"type":"number","format":"double"},"completed":{"type":"boolean"},"notes":{"type":"string","nullable":true},"durationSeconds":{"type":"integer","format":"int32","nullable":true},"sessions":{"type":"integer","format":"int32","nullable":true},"checklistItems":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Services.ChecklistItem"},"nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"Winnow.Services.UpdateJournalEntryRequest":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"title":{"type":"string","nullable":true},"content":{"type":"string","nullable":true},"mood":{"type":"string","nullable":true},"energyLevel":{"type":"integer","format":"int32","nullable":true},"customMetrics":{"type":"object","additionalProperties":{"type":"number","format":"double","nullable":true},"nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"categories":{"type":"array","items":{"type":"string"},"nullable":true},"isPinned":{"type":"boolean","nullable":true},"isFavorite":{"type":"boolean","nullable":true},"scope":{"type":"string","nullable":true},"sharedWith":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true},"regenerateInsights":{"type":"boolean"}},"additionalProperties":false},"Winnow.Services.UpdateModerationConfigRequest":{"type":"object","properties":{"isEnabled":{"type":"boolean","nullable":true},"moderationProvider":{"type":"string","nullable":true},"apiEndpoint":{"type":"string","nullable":true},"apiKey":{"type":"string","nullable":true},"moderatePrompts":{"type":"boolean","nullable":true},"moderateOutputs":{"type":"boolean","nullable":true},"outputThreshold":{"type":"number","format":"double","nullable":true},"categoryThresholds":{"type":"object","additionalProperties":{"type":"number","format":"double","nullable":true},"nullable":true},"blockFlaggedContent":{"type":"boolean","nullable":true},"logFlaggedContent":{"type":"boolean","nullable":true},"notifyOnFlags":{"type":"boolean","nullable":true},"notifyEmail":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Services.UpdateRoleRequest":{"type":"object","properties":{"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"isDefault":{"type":"boolean","nullable":true},"priority":{"type":"integer","format":"int32","nullable":true},"parentRoleId":{"type":"string","format":"uuid","nullable":true}},"additionalProperties":false},"Winnow.Services.UpdateTrackerRequest":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"icon":{"type":"string","nullable":true},"color":{"type":"string","nullable":true},"config":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"frequency":{"type":"string","nullable":true},"scheduleConfig":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"targetValue":{"type":"number","format":"double","nullable":true},"status":{"type":"string","nullable":true},"scope":{"type":"string","nullable":true},"showOnLeaderboard":{"type":"boolean","nullable":true}},"additionalProperties":false},"Winnow.Services.UsageResult":{"type":"object","properties":{"success":{"type":"boolean"},"quotaExceeded":{"type":"boolean"},"error":{"type":"string","nullable":true},"currentUsage":{"type":"integer","format":"int32"},"limit":{"type":"integer","format":"int32","nullable":true},"remaining":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false},"Winnow.Streams.ConnectionConfig":{"type":"object","properties":{"id":{"type":"string","nullable":true},"source":{"type":"string","nullable":true},"target":{"type":"string","nullable":true},"messageType":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Streams.DeepResearchChecklist":{"type":"object","properties":{"approved":{"type":"boolean"},"missingCriteria":{"type":"array","items":{"type":"string"},"nullable":true},"raw":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Streams.DeepResearchEvidenceBundle":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Streams.DeepResearchEvidenceItem"},"nullable":true}},"additionalProperties":false},"Winnow.Streams.DeepResearchEvidenceItem":{"type":"object","properties":{"evidenceId":{"type":"string","nullable":true},"stepId":{"type":"string","nullable":true},"query":{"type":"string","nullable":true},"url":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"snippet":{"type":"string","nullable":true},"contentText":{"type":"string","nullable":true},"contentMarkdown":{"type":"string","nullable":true},"wordCount":{"type":"integer","format":"int32"},"error":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Streams.DeepResearchPlan":{"type":"object","properties":{"planId":{"type":"string","nullable":true},"question":{"type":"string","nullable":true},"domain":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time"},"steps":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Streams.DeepResearchPlanStep"},"nullable":true}},"additionalProperties":false},"Winnow.Streams.DeepResearchPlanStep":{"type":"object","properties":{"stepId":{"type":"string","nullable":true},"query":{"type":"string","nullable":true},"objective":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Streams.DeepResearchReport":{"type":"object","properties":{"title":{"type":"string","nullable":true},"contentMarkdown":{"type":"string","nullable":true},"citations":{"type":"array","items":{"type":"string"},"nullable":true},"raw":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Streams.DeepResearchRequest":{"type":"object","properties":{"question":{"type":"string","nullable":true},"domain":{"type":"string","nullable":true},"maxSteps":{"type":"integer","format":"int32"},"maxSearchResults":{"type":"integer","format":"int32"},"maxSourcesPerStep":{"type":"integer","format":"int32"},"maxEvidenceChars":{"type":"integer","format":"int32"},"useCache":{"type":"boolean"},"provider":{"type":"string","nullable":true},"region":{"type":"string","nullable":true},"safeSearch":{"type":"boolean"},"organizationId":{"type":"string","nullable":true},"userId":{"type":"string","nullable":true},"conversationId":{"type":"string","format":"uuid","nullable":true}},"additionalProperties":false},"Winnow.Streams.DeepResearchResult":{"type":"object","properties":{"request":{"$ref":"#/components/schemas/Winnow.Streams.DeepResearchRequest"},"plan":{"$ref":"#/components/schemas/Winnow.Streams.DeepResearchPlan"},"search":{"$ref":"#/components/schemas/Winnow.Streams.DeepResearchSearchBundle"},"evidence":{"$ref":"#/components/schemas/Winnow.Streams.DeepResearchEvidenceBundle"},"verification":{"$ref":"#/components/schemas/Winnow.Streams.DeepResearchVerification"},"report":{"$ref":"#/components/schemas/Winnow.Streams.DeepResearchReport"},"checklist":{"$ref":"#/components/schemas/Winnow.Streams.DeepResearchChecklist"},"errors":{"type":"array","items":{"type":"string"},"nullable":true},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"Winnow.Streams.DeepResearchSearchBundle":{"type":"object","properties":{"steps":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Streams.DeepResearchSearchResult"},"nullable":true}},"additionalProperties":false},"Winnow.Streams.DeepResearchSearchHit":{"type":"object","properties":{"rank":{"type":"integer","format":"int32"},"title":{"type":"string","nullable":true},"url":{"type":"string","nullable":true},"snippet":{"type":"string","nullable":true},"publishedDate":{"type":"string","format":"date-time","nullable":true},"relevanceScore":{"type":"number","format":"double","nullable":true}},"additionalProperties":false},"Winnow.Streams.DeepResearchSearchResult":{"type":"object","properties":{"stepId":{"type":"string","nullable":true},"query":{"type":"string","nullable":true},"provider":{"type":"string","nullable":true},"error":{"type":"string","nullable":true},"hits":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Streams.DeepResearchSearchHit"},"nullable":true}},"additionalProperties":false},"Winnow.Streams.DeepResearchVerification":{"type":"object","properties":{"summary":{"type":"string","nullable":true},"issues":{"type":"array","items":{"type":"string"},"nullable":true},"verifiedEvidenceIds":{"type":"array","items":{"type":"string"},"nullable":true},"raw":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Streams.FlowConfig":{"type":"object","properties":{"id":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"actorId":{"type":"string","nullable":true},"messageTransformer":{"type":"string","nullable":true},"expectReply":{"type":"boolean"},"askTimeout":{"type":"integer","format":"int32"},"props":{"type":"object","additionalProperties":{"nullable":true},"nullable":true}},"additionalProperties":false},"Winnow.Streams.SinkConfig":{"type":"object","properties":{"id":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"props":{"type":"object","additionalProperties":{"nullable":true},"nullable":true}},"additionalProperties":false},"Winnow.Streams.SourceConfig":{"type":"object","properties":{"id":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"props":{"type":"object","additionalProperties":{"nullable":true},"nullable":true}},"additionalProperties":false},"Winnow.Streams.StreamFlowConfiguration":{"type":"object","properties":{"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"unitOfWorkId":{"type":"string","nullable":true},"sources":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Streams.SourceConfig"},"nullable":true},"flows":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Streams.FlowConfig"},"nullable":true},"sinks":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Streams.SinkConfig"},"nullable":true},"connections":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Streams.ConnectionConfig"},"nullable":true}},"additionalProperties":false},"Winnow.Workflow.Models.CompilationDiagnostic":{"type":"object","properties":{"severity":{"type":"string","nullable":true},"code":{"type":"string","nullable":true},"message":{"type":"string","nullable":true},"project":{"type":"string","nullable":true},"filePath":{"type":"string","nullable":true},"line":{"type":"integer","format":"int32","nullable":true},"column":{"type":"integer","format":"int32","nullable":true},"count":{"type":"integer","format":"int32"},"locations":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Workflow.Models.CompilationDiagnosticLocation"},"nullable":true}},"additionalProperties":false},"Winnow.Workflow.Models.CompilationDiagnosticLocation":{"type":"object","properties":{"filePath":{"type":"string","nullable":true},"line":{"type":"integer","format":"int32","nullable":true},"column":{"type":"integer","format":"int32","nullable":true},"project":{"type":"string","nullable":true},"rawLocation":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Workflow.Models.CompilationDiagnosticSummary":{"type":"object","properties":{"errorCount":{"type":"integer","format":"int32"},"warningCount":{"type":"integer","format":"int32"},"uniqueErrorCount":{"type":"integer","format":"int32"},"uniqueWarningCount":{"type":"integer","format":"int32"},"totalCount":{"type":"integer","format":"int32"},"uniqueCount":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.Workflow.Models.CompilationError":{"type":"object","properties":{"code":{"type":"string","nullable":true},"message":{"type":"string","nullable":true},"location":{"type":"string","nullable":true},"project":{"type":"string","nullable":true},"nodeId":{"type":"string","nullable":true},"count":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.Workflow.Models.CompilationResult":{"type":"object","properties":{"success":{"type":"boolean"},"workflowId":{"type":"string","nullable":true},"version":{"type":"string","nullable":true},"bundlePath":{"type":"string","nullable":true},"storageKey":{"type":"string","nullable":true},"artifactUri":{"type":"string","nullable":true},"manifest":{"$ref":"#/components/schemas/Winnow.Workflow.Models.WorkflowManifest"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Workflow.Models.CompilationError"},"nullable":true},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Workflow.Models.CompilationWarning"},"nullable":true},"diagnostics":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Workflow.Models.CompilationDiagnostic"},"nullable":true},"diagnosticSummary":{"$ref":"#/components/schemas/Winnow.Workflow.Models.CompilationDiagnosticSummary"},"buildOutputExcerpt":{"type":"string","nullable":true},"compilationTimeMs":{"type":"integer","format":"int64"},"compiledAt":{"type":"string","format":"date-time"},"fromCache":{"type":"boolean"}},"additionalProperties":false},"Winnow.Workflow.Models.CompilationWarning":{"type":"object","properties":{"code":{"type":"string","nullable":true},"message":{"type":"string","nullable":true},"location":{"type":"string","nullable":true},"project":{"type":"string","nullable":true},"nodeId":{"type":"string","nullable":true},"count":{"type":"integer","format":"int32"}},"additionalProperties":false},"Winnow.Workflow.Models.NodeExecutionResult":{"type":"object","properties":{"nodeId":{"type":"string","nullable":true},"nodeType":{"type":"string","nullable":true},"success":{"type":"boolean"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time","nullable":true},"durationMs":{"type":"integer","format":"int64"},"inputCount":{"type":"integer","format":"int32"},"outputCount":{"type":"integer","format":"int32"},"errorMessage":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Workflow.Models.WorkflowEdgeIR":{"type":"object","properties":{"id":{"type":"string","nullable":true},"sourceNodeId":{"type":"string","nullable":true},"targetNodeId":{"type":"string","nullable":true},"messageType":{"type":"string","nullable":true},"description":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Workflow.Models.WorkflowExecutionStatus":{"enum":["Pending","Running","Completed","Failed","Cancelled","TimedOut"],"type":"string"},"Winnow.Workflow.Models.WorkflowIR":{"type":"object","properties":{"workflowId":{"type":"string","nullable":true},"version":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Workflow.Models.WorkflowNodeIR"},"nullable":true},"edges":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Workflow.Models.WorkflowEdgeIR"},"nullable":true},"metadata":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"createdAt":{"type":"string","format":"date-time"},"owner":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Workflow.Models.WorkflowLogEntry":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time"},"level":{"type":"string","nullable":true},"nodeId":{"type":"string","nullable":true},"message":{"type":"string","nullable":true},"data":{"type":"object","additionalProperties":{"nullable":true},"nullable":true}},"additionalProperties":false},"Winnow.Workflow.Models.WorkflowManifest":{"type":"object","properties":{"workflowId":{"type":"string","nullable":true},"version":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"entryAssembly":{"type":"string","nullable":true},"entryType":{"type":"string","nullable":true},"integrations":{"type":"array","items":{"type":"string"},"nullable":true},"createdAt":{"type":"string","format":"date-time"},"checksum":{"type":"string","nullable":true},"targetFramework":{"type":"string","nullable":true},"akkaVersion":{"type":"string","nullable":true},"metadata":{"$ref":"#/components/schemas/Winnow.Workflow.Models.WorkflowManifestMetadata"}},"additionalProperties":false},"Winnow.Workflow.Models.WorkflowManifestMetadata":{"type":"object","properties":{"nodeCount":{"type":"integer","format":"int32"},"edgeCount":{"type":"integer","format":"int32"},"hasStreamPipeline":{"type":"boolean"},"compiledBy":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Workflow.Models.WorkflowNodeIR":{"type":"object","properties":{"id":{"type":"string","nullable":true},"nodeType":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"inputType":{"type":"string","nullable":true},"outputType":{"type":"string","nullable":true},"props":{"type":"object","additionalProperties":{"nullable":true},"nullable":true},"integrationIds":{"type":"array","items":{"type":"string"},"nullable":true},"dependencies":{"type":"array","items":{"type":"string"},"nullable":true},"description":{"type":"string","nullable":true}},"additionalProperties":false},"Winnow.Workflow.Models.WorkflowRunResult":{"type":"object","properties":{"success":{"type":"boolean"},"runId":{"type":"string","nullable":true},"workflowId":{"type":"string","nullable":true},"version":{"type":"string","nullable":true},"status":{"$ref":"#/components/schemas/Winnow.Workflow.Models.WorkflowExecutionStatus"},"output":{"nullable":true},"errorMessage":{"type":"string","nullable":true},"exceptionType":{"type":"string","nullable":true},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time","nullable":true},"durationMs":{"type":"integer","format":"int64"},"logs":{"type":"array","items":{"$ref":"#/components/schemas/Winnow.Workflow.Models.WorkflowLogEntry"},"nullable":true},"nodeResults":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Winnow.Workflow.Models.NodeExecutionResult"},"nullable":true}},"additionalProperties":false},"Winnow.Workflow.WorkflowExecutionRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid","nullable":true},"runId":{"type":"string","nullable":true},"workflowId":{"type":"string","nullable":true},"version":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"input":{"nullable":true},"output":{"nullable":true},"errorMessage":{"type":"string","nullable":true},"exceptionType":{"type":"string","nullable":true},"hostId":{"type":"string","nullable":true},"triggeredBy":{"type":"string","nullable":true},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time","nullable":true},"durationMs":{"type":"integer","format":"int64","nullable":true},"metadata":{"type":"object","additionalProperties":{"nullable":true},"nullable":true}},"additionalProperties":false}},"securitySchemes":{"Bearer":{"type":"http","description":"Use `Bearer <customer-api-key>`.","scheme":"bearer","bearerFormat":"API key"}}},"security":[{"Bearer":[]}],"x-schemadriven-access":"operator-reference"}