{"components":{"schemas":{"Entity":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"concept":{"type":"string"},"facts":{"items":{"$ref":"#/components/schemas/Entity__Fact"},"type":"array"},"id":{"type":"string"},"revisionId":{"type":"string"}},"required":["id","concept","revisionId","facts"],"title":"Entity","type":"object"},"Entity__Fact":{"additionalProperties":false,"properties":{"predicate":{"type":"string"},"sourcePointer":{"type":["string","null"]},"state":{"$ref":"#/components/schemas/Entity__FactState"},"value":true},"required":["predicate","state","value"],"type":"object"},"Entity__FactState":{"enum":["known","unknown","absent","conditional","conflicting"],"type":"string"},"Feed":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"_sam":{"$ref":"#/components/schemas/Feed__FeedContext"},"feed_url":{"type":"string"},"home_page_url":{"type":"string"},"items":{"items":{"$ref":"#/components/schemas/Feed__FeedItem"},"type":"array"},"next_url":{"type":["string","null"]},"title":{"type":"string"},"version":{"type":"string"}},"required":["version","title","home_page_url","feed_url","items","_sam"],"title":"Feed","type":"object"},"FeedQuery":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"cursor":{"type":["string","null"]},"limit":{"default":25,"format":"uint","maximum":25,"minimum":1,"type":"integer"},"naics":{"type":["string","null"]},"q":{"type":["string","null"]},"setAside":{"type":["string","null"]},"state":{"type":["string","null"]},"unknownPolicy":{"$ref":"#/components/schemas/FeedQuery__UnknownPolicy","default":"exclude"}},"title":"Query","type":"object"},"FeedQuery__UnknownPolicy":{"enum":["exclude","include"],"type":"string"},"Feed__FeedContext":{"properties":{"evaluatedAt":{"format":"date-time","type":"string"},"expiresAt":{"format":"date-time","type":"string"},"metadata":true,"ontologyVersion":{"type":"string"},"snapshotId":{"type":"string"},"total":{"format":"uint","minimum":0,"type":"integer"}},"required":["ontologyVersion","snapshotId","evaluatedAt","expiresAt","total","metadata"],"type":"object"},"Feed__FeedItem":{"properties":{"_sam":{"$ref":"#/components/schemas/Feed__SearchResult"},"content_text":{"type":"string"},"date_published":{"format":"date-time","type":["string","null"]},"external_url":{"type":["string","null"]},"id":{"type":"string"},"summary":{"type":["string","null"]},"title":{"type":"string"},"url":{"type":"string"}},"required":["id","url","title","content_text","_sam"],"type":"object"},"Feed__GenerationSource":{"enum":["llm","extractive"],"type":"string"},"Feed__Money":{"additionalProperties":false,"properties":{"amount":{"pattern":"^-?[0-9]+(\\.[0-9]+)?$","type":"string"},"currency":{"type":"string"}},"required":["amount","currency"],"type":"object"},"Feed__Opportunity":{"additionalProperties":false,"properties":{"active":{"type":["boolean","null"]},"agencyId":{"type":["string","null"]},"currentRevisionId":{"type":"string"},"firstSeenAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"lastSeenAt":{"format":"date-time","type":"string"},"naics":{"type":["string","null"]},"noticeId":{"type":"string"},"noticeType":{"type":["string","null"]},"officeId":{"type":["string","null"]},"placeOfPerformance":{"anyOf":[{"$ref":"#/components/schemas/Feed__Place"},{"type":"null"}]},"postedDate":{"anyOf":[{"$ref":"#/components/schemas/Feed__SourceDate"},{"type":"null"}]},"psc":{"type":["string","null"]},"responseDeadline":{"anyOf":[{"$ref":"#/components/schemas/Feed__SourceDate"},{"type":"null"}]},"setAside":{"type":["string","null"]},"solicitationNumber":{"type":["string","null"]},"source":{"$ref":"#/components/schemas/Feed__Source"},"title":{"type":["string","null"]},"uiLink":{"type":["string","null"]}},"required":["id","noticeId","currentRevisionId","source","firstSeenAt","lastSeenAt"],"type":"object"},"Feed__Place":{"additionalProperties":false,"properties":{"city":{"type":["string","null"]},"countryCode":{"type":["string","null"]},"postalCode":{"type":["string","null"]},"stateCode":{"type":["string","null"]}},"type":"object"},"Feed__RuleOutcome":{"additionalProperties":false,"properties":{"evaluatedValue":true,"evidenceIds":{"items":{"type":"string"},"type":"array"},"explanation":{"type":"string"},"ruleId":{"type":"string"},"ruleVersion":{"type":"string"},"status":{"$ref":"#/components/schemas/Feed__RuleStatus"}},"required":["ruleId","ruleVersion","status","explanation","evidenceIds"],"type":"object"},"Feed__RuleStatus":{"enum":["satisfied","unsatisfied","unknown"],"type":"string"},"Feed__SearchResult":{"additionalProperties":false,"properties":{"evidenceIds":{"items":{"type":"string"},"type":"array"},"opportunity":{"$ref":"#/components/schemas/Feed__Opportunity"},"reasons":{"items":{"type":"string"},"type":"array"},"ruleOutcomes":{"items":{"$ref":"#/components/schemas/Feed__RuleOutcome"},"type":"array"},"score":{"format":"double","type":"number"},"scoreComponents":{"additionalProperties":{"format":"double","type":"number"},"type":"object"},"summary":{"anyOf":[{"$ref":"#/components/schemas/Feed__Summary"},{"type":"null"}]}},"required":["opportunity","score","scoreComponents","reasons","ruleOutcomes","evidenceIds"],"type":"object"},"Feed__Source":{"additionalProperties":false,"properties":{"retrievedAt":{"format":"date-time","type":"string"},"system":{"type":"string"},"url":{"type":"string"}},"required":["system","url","retrievedAt"],"type":"object"},"Feed__SourceDate":{"description":"Preserve dates with unknown timezone rather than inventing a UTC instant.","oneOf":[{"properties":{"precision":{"const":"instant","type":"string"},"value":{"format":"date-time","type":"string"}},"required":["precision","value"],"type":"object"},{"properties":{"precision":{"const":"date","type":"string"},"value":{"format":"date","type":"string"}},"required":["precision","value"],"type":"object"},{"properties":{"precision":{"const":"unresolved","type":"string"},"value":{"type":"string"}},"required":["precision","value"],"type":"object"}]},"Feed__Summary":{"additionalProperties":false,"properties":{"bullets":{"items":{"type":"string"},"type":"array"},"deadline":{"anyOf":[{"$ref":"#/components/schemas/Feed__SourceDate"},{"type":"null"}]},"evidenceIds":{"items":{"type":"string"},"type":"array"},"generatedAt":{"format":"date-time","type":"string"},"generationSource":{"$ref":"#/components/schemas/Feed__GenerationSource"},"id":{"type":"string"},"model":{"type":["string","null"]},"ontologyVersion":{"type":"string"},"promptVersion":{"type":["string","null"]},"revisionId":{"type":"string"},"setAside":{"type":["string","null"]},"tags":{"items":{"type":"string"},"type":"array"},"text":{"type":"string"},"value":{"anyOf":[{"$ref":"#/components/schemas/Feed__Money"},{"type":"null"}]},"what":{"type":["string","null"]},"who":{"type":["string","null"]}},"required":["id","revisionId","text","bullets","tags","evidenceIds","generationSource","generatedAt","ontologyVersion"],"type":"object"},"FitEvaluation":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"assumptions":{"items":{"type":"string"},"type":"array"},"eligibilityOutcomes":{"items":{"$ref":"#/components/schemas/FitEvaluation__RuleOutcome"},"type":"array"},"eligibilityStatus":{"$ref":"#/components/schemas/FitEvaluation__RuleStatus"},"evaluatedAt":{"format":"date-time","type":"string"},"inputFingerprint":{"type":"string"},"noticeId":{"type":"string"},"preferenceOutcomes":{"items":{"$ref":"#/components/schemas/FitEvaluation__RuleOutcome"},"type":"array"},"preferenceStatus":{"$ref":"#/components/schemas/FitEvaluation__RuleStatus"},"profileId":{"type":"string"},"relevance":{"anyOf":[{"$ref":"#/components/schemas/FitEvaluation__RuleOutcome"},{"type":"null"}]},"revisionId":{"type":"string"},"snapshotAt":{"format":"date-time","type":"string"},"version":{"type":"string"}},"required":["version","profileId","noticeId","revisionId","inputFingerprint","evaluatedAt","snapshotAt","preferenceStatus","eligibilityStatus","preferenceOutcomes","eligibilityOutcomes","assumptions"],"title":"Evaluation","type":"object"},"FitEvaluation__RuleOutcome":{"additionalProperties":false,"properties":{"evaluatedValue":true,"evidenceIds":{"items":{"type":"string"},"type":"array"},"explanation":{"type":"string"},"ruleId":{"type":"string"},"ruleVersion":{"type":"string"},"status":{"$ref":"#/components/schemas/FitEvaluation__RuleStatus"}},"required":["ruleId","ruleVersion","status","explanation","evidenceIds"],"type":"object"},"FitEvaluation__RuleStatus":{"enum":["satisfied","unsatisfied","unknown"],"type":"string"},"FitInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"asOf":{"format":"date-time","type":["string","null"]},"profile":{"$ref":"#/components/schemas/FitInput__Profile"}},"required":["profile"],"title":"Input","type":"object"},"FitInput__Profile":{"additionalProperties":false,"properties":{"assertions":{"additionalProperties":true,"description":"User assertions are not verified certifications.","type":"object"},"createdAt":{"format":"date-time","type":"string"},"exclusions":{"items":{"type":"string"},"type":"array"},"id":{"type":"string"},"keywords":{"items":{"type":"string"},"type":"array"},"minimumDaysToDeadline":{"format":"uint32","minimum":0,"type":["integer","null"]},"naicsPrefixes":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"narrative":{"type":["string","null"]},"noticeTypes":{"items":{"type":"string"},"type":"array"},"ownerId":{"type":"string"},"setAsides":{"items":{"type":"string"},"type":"array"},"states":{"items":{"type":"string"},"type":"array"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","ownerId","name","keywords","exclusions","naicsPrefixes","setAsides","states","noticeTypes","assertions","createdAt","updatedAt"],"type":"object"},"Graph":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"entities":{"items":{"$ref":"#/components/schemas/Graph__Entity"},"type":"array"},"ontologyVersion":{"type":"string"},"relationships":{"items":{"$ref":"#/components/schemas/Graph__Relationship"},"type":"array"},"revisionId":{"type":"string"},"validationErrors":{"items":{"type":"string"},"type":"array"}},"required":["ontologyVersion","revisionId","entities","relationships","validationErrors"],"title":"Graph","type":"object"},"Graph__Entity":{"additionalProperties":false,"properties":{"concept":{"type":"string"},"facts":{"items":{"$ref":"#/components/schemas/Graph__Fact"},"type":"array"},"id":{"type":"string"},"revisionId":{"type":"string"}},"required":["id","concept","revisionId","facts"],"type":"object"},"Graph__Fact":{"additionalProperties":false,"properties":{"predicate":{"type":"string"},"sourcePointer":{"type":["string","null"]},"state":{"$ref":"#/components/schemas/Graph__FactState"},"value":true},"required":["predicate","state","value"],"type":"object"},"Graph__FactState":{"enum":["known","unknown","absent","conditional","conflicting"],"type":"string"},"Graph__Relationship":{"additionalProperties":false,"properties":{"object":{"type":"string"},"predicate":{"type":"string"},"sourcePointer":{"type":["string","null"]},"subject":{"type":"string"}},"required":["subject","predicate","object"],"type":"object"},"Opportunity":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"active":{"type":["boolean","null"]},"agencyId":{"type":["string","null"]},"currentRevisionId":{"type":"string"},"firstSeenAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"lastSeenAt":{"format":"date-time","type":"string"},"naics":{"type":["string","null"]},"noticeId":{"type":"string"},"noticeType":{"type":["string","null"]},"officeId":{"type":["string","null"]},"placeOfPerformance":{"anyOf":[{"$ref":"#/components/schemas/Opportunity__Place"},{"type":"null"}]},"postedDate":{"anyOf":[{"$ref":"#/components/schemas/Opportunity__SourceDate"},{"type":"null"}]},"psc":{"type":["string","null"]},"responseDeadline":{"anyOf":[{"$ref":"#/components/schemas/Opportunity__SourceDate"},{"type":"null"}]},"setAside":{"type":["string","null"]},"solicitationNumber":{"type":["string","null"]},"source":{"$ref":"#/components/schemas/Opportunity__Source"},"title":{"type":["string","null"]},"uiLink":{"type":["string","null"]}},"required":["id","noticeId","currentRevisionId","source","firstSeenAt","lastSeenAt"],"title":"Opportunity","type":"object"},"Opportunity__Place":{"additionalProperties":false,"properties":{"city":{"type":["string","null"]},"countryCode":{"type":["string","null"]},"postalCode":{"type":["string","null"]},"stateCode":{"type":["string","null"]}},"type":"object"},"Opportunity__Source":{"additionalProperties":false,"properties":{"retrievedAt":{"format":"date-time","type":"string"},"system":{"type":"string"},"url":{"type":"string"}},"required":["system","url","retrievedAt"],"type":"object"},"Opportunity__SourceDate":{"description":"Preserve dates with unknown timezone rather than inventing a UTC instant.","oneOf":[{"properties":{"precision":{"const":"instant","type":"string"},"value":{"format":"date-time","type":"string"}},"required":["precision","value"],"type":"object"},{"properties":{"precision":{"const":"date","type":"string"},"value":{"format":"date","type":"string"}},"required":["precision","value"],"type":"object"},{"properties":{"precision":{"const":"unresolved","type":"string"},"value":{"type":"string"}},"required":["precision","value"],"type":"object"}]},"Plan":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"assumptions":{"items":{"type":"string"},"type":"array"},"executable":{"type":"boolean"},"interpretations":{"items":{"$ref":"#/components/schemas/Plan__Interpretation"},"type":"array"},"issues":{"items":{"type":"string"},"type":"array"},"normalizedInput":{"$ref":"#/components/schemas/Plan__Input"},"planHash":{"type":"string"},"plannerVersion":{"type":"string"},"request":{"anyOf":[{"$ref":"#/components/schemas/Plan__Request"},{"type":"null"}]}},"required":["plannerVersion","normalizedInput","interpretations","assumptions","issues","executable","planHash"],"title":"Plan","type":"object"},"PlanExecution":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"cursor":{"type":["string","null"]},"expectedPlanHash":{"type":"string"},"input":{"$ref":"#/components/schemas/PlanExecution__Input"}},"required":["input","expectedPlanHash"],"title":"Execution","type":"object"},"PlanExecution__Input":{"additionalProperties":false,"properties":{"asOf":{"format":"date-time","type":["string","null"]},"limit":{"default":25,"format":"uint","minimum":0,"type":"integer"},"text":{"type":"string"},"unknownPolicy":{"$ref":"#/components/schemas/PlanExecution__UnknownPolicy","default":"exclude"}},"required":["text"],"type":"object"},"PlanExecution__UnknownPolicy":{"enum":["exclude","include"],"type":"string"},"PlanInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"asOf":{"format":"date-time","type":["string","null"]},"limit":{"default":25,"format":"uint","minimum":0,"type":"integer"},"text":{"type":"string"},"unknownPolicy":{"$ref":"#/components/schemas/PlanInput__UnknownPolicy","default":"exclude"}},"required":["text"],"title":"Input","type":"object"},"PlanInput__UnknownPolicy":{"enum":["exclude","include"],"type":"string"},"Plan__Filters":{"additionalProperties":false,"properties":{"active":{"default":null,"type":["boolean","null"]},"agencyIds":{"default":[],"items":{"type":"string"},"type":"array"},"countries":{"default":[],"items":{"type":"string"},"type":"array"},"deadlineFrom":{"default":null,"format":"date-time","type":["string","null"]},"deadlineTo":{"default":null,"format":"date-time","type":["string","null"]},"minimumDaysToDeadline":{"default":null,"format":"uint32","minimum":0,"type":["integer","null"]},"naicsPrefixes":{"default":[],"items":{"type":"string"},"type":"array"},"noticeTypes":{"default":[],"items":{"type":"string"},"type":"array"},"postedFrom":{"default":null,"format":"date","type":["string","null"]},"postedTo":{"default":null,"format":"date","type":["string","null"]},"pscCodes":{"default":[],"items":{"type":"string"},"type":"array"},"setAsides":{"default":[],"items":{"type":"string"},"type":"array"},"states":{"default":[],"items":{"type":"string"},"type":"array"}},"type":"object"},"Plan__Input":{"additionalProperties":false,"properties":{"asOf":{"format":"date-time","type":["string","null"]},"limit":{"default":25,"format":"uint","minimum":0,"type":"integer"},"text":{"type":"string"},"unknownPolicy":{"$ref":"#/components/schemas/Plan__UnknownPolicy","default":"exclude"}},"required":["text"],"type":"object"},"Plan__Interpretation":{"additionalProperties":false,"properties":{"field":{"type":"string"},"meaning":{"type":"string"},"sourceText":{"type":"string"}},"required":["field","sourceText","meaning"],"type":"object"},"Plan__QueryEmbedding":{"additionalProperties":false,"properties":{"minimumSimilarity":{"default":0.2,"format":"double","type":"number"},"model":{"type":"string"},"spaceId":{"type":"string"},"values":{"items":{"format":"double","type":"number"},"type":"array"}},"required":["spaceId","model","values"],"type":"object"},"Plan__Request":{"additionalProperties":false,"properties":{"asOf":{"format":"date-time","type":["string","null"]},"cursor":{"type":["string","null"]},"exclusions":{"default":[],"items":{"type":"string"},"type":"array"},"filters":{"$ref":"#/components/schemas/Plan__Filters","default":{"active":null,"agencyIds":[],"countries":[],"deadlineFrom":null,"deadlineTo":null,"minimumDaysToDeadline":null,"naicsPrefixes":[],"noticeTypes":[],"postedFrom":null,"postedTo":null,"pscCodes":[],"setAsides":[],"states":[]}},"limit":{"default":25,"format":"uint","minimum":0,"type":"integer"},"q":{"type":["string","null"]},"queryEmbedding":{"anyOf":[{"$ref":"#/components/schemas/Plan__QueryEmbedding"},{"type":"null"}]},"unknownPolicy":{"$ref":"#/components/schemas/Plan__UnknownPolicy","default":"exclude"}},"type":"object"},"Plan__UnknownPolicy":{"enum":["exclude","include"],"type":"string"},"PlannedPage":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"page":{"$ref":"#/components/schemas/PlannedPage__Page"},"plan":{"$ref":"#/components/schemas/PlannedPage__Plan"}},"required":["plan","page"],"title":"ResultPage","type":"object"},"PlannedPage__Filters":{"additionalProperties":false,"properties":{"active":{"default":null,"type":["boolean","null"]},"agencyIds":{"default":[],"items":{"type":"string"},"type":"array"},"countries":{"default":[],"items":{"type":"string"},"type":"array"},"deadlineFrom":{"default":null,"format":"date-time","type":["string","null"]},"deadlineTo":{"default":null,"format":"date-time","type":["string","null"]},"minimumDaysToDeadline":{"default":null,"format":"uint32","minimum":0,"type":["integer","null"]},"naicsPrefixes":{"default":[],"items":{"type":"string"},"type":"array"},"noticeTypes":{"default":[],"items":{"type":"string"},"type":"array"},"postedFrom":{"default":null,"format":"date","type":["string","null"]},"postedTo":{"default":null,"format":"date","type":["string","null"]},"pscCodes":{"default":[],"items":{"type":"string"},"type":"array"},"setAsides":{"default":[],"items":{"type":"string"},"type":"array"},"states":{"default":[],"items":{"type":"string"},"type":"array"}},"type":"object"},"PlannedPage__GenerationSource":{"enum":["llm","extractive"],"type":"string"},"PlannedPage__Input":{"additionalProperties":false,"properties":{"asOf":{"format":"date-time","type":["string","null"]},"limit":{"default":25,"format":"uint","minimum":0,"type":"integer"},"text":{"type":"string"},"unknownPolicy":{"$ref":"#/components/schemas/PlannedPage__UnknownPolicy","default":"exclude"}},"required":["text"],"type":"object"},"PlannedPage__Interpretation":{"additionalProperties":false,"properties":{"field":{"type":"string"},"meaning":{"type":"string"},"sourceText":{"type":"string"}},"required":["field","sourceText","meaning"],"type":"object"},"PlannedPage__Money":{"additionalProperties":false,"properties":{"amount":{"pattern":"^-?[0-9]+(\\.[0-9]+)?$","type":"string"},"currency":{"type":"string"}},"required":["amount","currency"],"type":"object"},"PlannedPage__Opportunity":{"additionalProperties":false,"properties":{"active":{"type":["boolean","null"]},"agencyId":{"type":["string","null"]},"currentRevisionId":{"type":"string"},"firstSeenAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"lastSeenAt":{"format":"date-time","type":"string"},"naics":{"type":["string","null"]},"noticeId":{"type":"string"},"noticeType":{"type":["string","null"]},"officeId":{"type":["string","null"]},"placeOfPerformance":{"anyOf":[{"$ref":"#/components/schemas/PlannedPage__Place"},{"type":"null"}]},"postedDate":{"anyOf":[{"$ref":"#/components/schemas/PlannedPage__SourceDate"},{"type":"null"}]},"psc":{"type":["string","null"]},"responseDeadline":{"anyOf":[{"$ref":"#/components/schemas/PlannedPage__SourceDate"},{"type":"null"}]},"setAside":{"type":["string","null"]},"solicitationNumber":{"type":["string","null"]},"source":{"$ref":"#/components/schemas/PlannedPage__Source"},"title":{"type":["string","null"]},"uiLink":{"type":["string","null"]}},"required":["id","noticeId","currentRevisionId","source","firstSeenAt","lastSeenAt"],"type":"object"},"PlannedPage__Page":{"properties":{"evaluatedAt":{"format":"date-time","type":"string"},"expiresAt":{"format":"date-time","type":"string"},"items":{"items":{"$ref":"#/components/schemas/PlannedPage__SearchResult"},"type":"array"},"metadata":true,"nextCursor":{"type":["string","null"]},"snapshotId":{"type":"string"},"total":{"format":"uint","minimum":0,"type":"integer"}},"required":["items","total","snapshotId","evaluatedAt","expiresAt","metadata"],"type":"object"},"PlannedPage__Place":{"additionalProperties":false,"properties":{"city":{"type":["string","null"]},"countryCode":{"type":["string","null"]},"postalCode":{"type":["string","null"]},"stateCode":{"type":["string","null"]}},"type":"object"},"PlannedPage__Plan":{"additionalProperties":false,"properties":{"assumptions":{"items":{"type":"string"},"type":"array"},"executable":{"type":"boolean"},"interpretations":{"items":{"$ref":"#/components/schemas/PlannedPage__Interpretation"},"type":"array"},"issues":{"items":{"type":"string"},"type":"array"},"normalizedInput":{"$ref":"#/components/schemas/PlannedPage__Input"},"planHash":{"type":"string"},"plannerVersion":{"type":"string"},"request":{"anyOf":[{"$ref":"#/components/schemas/PlannedPage__Request"},{"type":"null"}]}},"required":["plannerVersion","normalizedInput","interpretations","assumptions","issues","executable","planHash"],"type":"object"},"PlannedPage__QueryEmbedding":{"additionalProperties":false,"properties":{"minimumSimilarity":{"default":0.2,"format":"double","type":"number"},"model":{"type":"string"},"spaceId":{"type":"string"},"values":{"items":{"format":"double","type":"number"},"type":"array"}},"required":["spaceId","model","values"],"type":"object"},"PlannedPage__Request":{"additionalProperties":false,"properties":{"asOf":{"format":"date-time","type":["string","null"]},"cursor":{"type":["string","null"]},"exclusions":{"default":[],"items":{"type":"string"},"type":"array"},"filters":{"$ref":"#/components/schemas/PlannedPage__Filters","default":{"active":null,"agencyIds":[],"countries":[],"deadlineFrom":null,"deadlineTo":null,"minimumDaysToDeadline":null,"naicsPrefixes":[],"noticeTypes":[],"postedFrom":null,"postedTo":null,"pscCodes":[],"setAsides":[],"states":[]}},"limit":{"default":25,"format":"uint","minimum":0,"type":"integer"},"q":{"type":["string","null"]},"queryEmbedding":{"anyOf":[{"$ref":"#/components/schemas/PlannedPage__QueryEmbedding"},{"type":"null"}]},"unknownPolicy":{"$ref":"#/components/schemas/PlannedPage__UnknownPolicy","default":"exclude"}},"type":"object"},"PlannedPage__RuleOutcome":{"additionalProperties":false,"properties":{"evaluatedValue":true,"evidenceIds":{"items":{"type":"string"},"type":"array"},"explanation":{"type":"string"},"ruleId":{"type":"string"},"ruleVersion":{"type":"string"},"status":{"$ref":"#/components/schemas/PlannedPage__RuleStatus"}},"required":["ruleId","ruleVersion","status","explanation","evidenceIds"],"type":"object"},"PlannedPage__RuleStatus":{"enum":["satisfied","unsatisfied","unknown"],"type":"string"},"PlannedPage__SearchResult":{"additionalProperties":false,"properties":{"evidenceIds":{"items":{"type":"string"},"type":"array"},"opportunity":{"$ref":"#/components/schemas/PlannedPage__Opportunity"},"reasons":{"items":{"type":"string"},"type":"array"},"ruleOutcomes":{"items":{"$ref":"#/components/schemas/PlannedPage__RuleOutcome"},"type":"array"},"score":{"format":"double","type":"number"},"scoreComponents":{"additionalProperties":{"format":"double","type":"number"},"type":"object"},"summary":{"anyOf":[{"$ref":"#/components/schemas/PlannedPage__Summary"},{"type":"null"}]}},"required":["opportunity","score","scoreComponents","reasons","ruleOutcomes","evidenceIds"],"type":"object"},"PlannedPage__Source":{"additionalProperties":false,"properties":{"retrievedAt":{"format":"date-time","type":"string"},"system":{"type":"string"},"url":{"type":"string"}},"required":["system","url","retrievedAt"],"type":"object"},"PlannedPage__SourceDate":{"description":"Preserve dates with unknown timezone rather than inventing a UTC instant.","oneOf":[{"properties":{"precision":{"const":"instant","type":"string"},"value":{"format":"date-time","type":"string"}},"required":["precision","value"],"type":"object"},{"properties":{"precision":{"const":"date","type":"string"},"value":{"format":"date","type":"string"}},"required":["precision","value"],"type":"object"},{"properties":{"precision":{"const":"unresolved","type":"string"},"value":{"type":"string"}},"required":["precision","value"],"type":"object"}]},"PlannedPage__Summary":{"additionalProperties":false,"properties":{"bullets":{"items":{"type":"string"},"type":"array"},"deadline":{"anyOf":[{"$ref":"#/components/schemas/PlannedPage__SourceDate"},{"type":"null"}]},"evidenceIds":{"items":{"type":"string"},"type":"array"},"generatedAt":{"format":"date-time","type":"string"},"generationSource":{"$ref":"#/components/schemas/PlannedPage__GenerationSource"},"id":{"type":"string"},"model":{"type":["string","null"]},"ontologyVersion":{"type":"string"},"promptVersion":{"type":["string","null"]},"revisionId":{"type":"string"},"setAside":{"type":["string","null"]},"tags":{"items":{"type":"string"},"type":"array"},"text":{"type":"string"},"value":{"anyOf":[{"$ref":"#/components/schemas/PlannedPage__Money"},{"type":"null"}]},"what":{"type":["string","null"]},"who":{"type":["string","null"]}},"required":["id","revisionId","text","bullets","tags","evidenceIds","generationSource","generatedAt","ontologyVersion"],"type":"object"},"PlannedPage__UnknownPolicy":{"enum":["exclude","include"],"type":"string"},"PublicInvocation":{"$schema":"https://json-schema.org/draft/2020-12/schema","oneOf":[{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/PublicInvocation__Input"},"name":{"const":"investigate_opportunities","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/PublicInvocation__Request"},"name":{"const":"search_opportunities","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/PublicInvocation__Selection"},"name":{"const":"get_opportunity","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/PublicInvocation__Listing"},"name":{"const":"list_documents","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/PublicInvocation__DocumentInput"},"name":{"const":"get_document","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/PublicInvocation__Listing"},"name":{"const":"list_revisions","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/PublicInvocation__OntologyInput"},"name":{"const":"inspect_ontology","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/PublicInvocation__RelationshipsInput"},"name":{"const":"traverse_relationships","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/PublicInvocation__EvidenceInput"},"name":{"const":"get_evidence","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/PublicInvocation__Selection"},"name":{"const":"get_summary","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/PublicInvocation__FitInput"},"name":{"const":"evaluate_profile_fit","type":"string"}},"required":["name","arguments"],"type":"object"}],"title":"Invocation"},"PublicInvocation__Direction":{"enum":["outgoing","incoming","both"],"type":"string"},"PublicInvocation__DocumentInput":{"additionalProperties":false,"properties":{"documentId":{"type":"string"},"maxBytes":{"default":4096,"format":"uint","maximum":16384,"minimum":1,"type":"integer"},"noticeId":{"maxLength":128,"minLength":1,"type":"string"},"revisionId":{"type":["string","null"]},"startByte":{"default":0,"format":"uint","maximum":2147483646,"minimum":0,"type":"integer"}},"required":["noticeId","documentId"],"type":"object"},"PublicInvocation__EvidenceInput":{"additionalProperties":false,"properties":{"evidenceId":{"type":"string"},"noticeId":{"maxLength":128,"minLength":1,"type":"string"},"revisionId":{"type":["string","null"]}},"required":["noticeId","evidenceId"],"type":"object"},"PublicInvocation__Filters":{"additionalProperties":false,"properties":{"active":{"default":null,"type":["boolean","null"]},"agencyIds":{"default":[],"items":{"type":"string"},"type":"array"},"countries":{"default":[],"items":{"type":"string"},"type":"array"},"deadlineFrom":{"default":null,"format":"date-time","type":["string","null"]},"deadlineTo":{"default":null,"format":"date-time","type":["string","null"]},"minimumDaysToDeadline":{"default":null,"format":"uint32","minimum":0,"type":["integer","null"]},"naicsPrefixes":{"default":[],"items":{"type":"string"},"type":"array"},"noticeTypes":{"default":[],"items":{"type":"string"},"type":"array"},"postedFrom":{"default":null,"format":"date","type":["string","null"]},"postedTo":{"default":null,"format":"date","type":["string","null"]},"pscCodes":{"default":[],"items":{"type":"string"},"type":"array"},"setAsides":{"default":[],"items":{"type":"string"},"type":"array"},"states":{"default":[],"items":{"type":"string"},"type":"array"}},"type":"object"},"PublicInvocation__FitInput":{"additionalProperties":false,"properties":{"input":{"$ref":"#/components/schemas/PublicInvocation__Input2"},"noticeId":{"maxLength":128,"minLength":1,"type":"string"}},"required":["noticeId","input"],"type":"object"},"PublicInvocation__Input":{"additionalProperties":false,"properties":{"maxToolCalls":{"default":31,"format":"uint","maximum":31,"minimum":1,"type":"integer"},"maxToolOutputBytes":{"default":524288,"format":"uint","maximum":524288,"minimum":1024,"type":"integer"},"query":{"$ref":"#/components/schemas/PublicInvocation__Query"},"runtimeMilliseconds":{"default":20000,"format":"uint64","maximum":20000,"minimum":100,"type":"integer"}},"required":["query"],"type":"object"},"PublicInvocation__Input2":{"additionalProperties":false,"properties":{"asOf":{"format":"date-time","type":["string","null"]},"profile":{"$ref":"#/components/schemas/PublicInvocation__Profile"}},"required":["profile"],"type":"object"},"PublicInvocation__Listing":{"additionalProperties":false,"properties":{"afterId":{"type":["string","null"]},"limit":{"default":25,"format":"uint","maximum":100,"minimum":1,"type":"integer"},"noticeId":{"maxLength":128,"minLength":1,"type":"string"},"revisionId":{"type":["string","null"]}},"required":["noticeId"],"type":"object"},"PublicInvocation__OntologyInput":{"additionalProperties":false,"properties":{"concept":{"type":["string","null"]},"limit":{"default":200,"format":"uint","maximum":500,"minimum":1,"type":"integer"},"offset":{"default":0,"format":"uint","maximum":100000,"minimum":0,"type":"integer"},"section":{"anyOf":[{"$ref":"#/components/schemas/PublicInvocation__OntologySection"},{"type":"null"}],"description":"Page the per-tool interface ontology instead of returning the catalog summary."}},"type":"object"},"PublicInvocation__OntologySection":{"enum":["interfaceOntology"],"type":"string"},"PublicInvocation__Profile":{"additionalProperties":false,"properties":{"assertions":{"additionalProperties":true,"description":"User assertions are not verified certifications.","type":"object"},"createdAt":{"format":"date-time","type":"string"},"exclusions":{"items":{"type":"string"},"type":"array"},"id":{"type":"string"},"keywords":{"items":{"type":"string"},"type":"array"},"minimumDaysToDeadline":{"format":"uint32","minimum":0,"type":["integer","null"]},"naicsPrefixes":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"narrative":{"type":["string","null"]},"noticeTypes":{"items":{"type":"string"},"type":"array"},"ownerId":{"type":"string"},"setAsides":{"items":{"type":"string"},"type":"array"},"states":{"items":{"type":"string"},"type":"array"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","ownerId","name","keywords","exclusions","naicsPrefixes","setAsides","states","noticeTypes","assertions","createdAt","updatedAt"],"type":"object"},"PublicInvocation__Query":{"additionalProperties":false,"properties":{"asOf":{"format":"date-time","type":["string","null"]},"limit":{"default":3,"format":"uint","maximum":5,"minimum":1,"type":"integer"},"text":{"type":"string"},"unknownPolicy":{"$ref":"#/components/schemas/PublicInvocation__UnknownPolicy","default":"exclude"}},"required":["text"],"type":"object"},"PublicInvocation__QueryEmbedding":{"additionalProperties":false,"properties":{"minimumSimilarity":{"default":0.2,"format":"double","type":"number"},"model":{"type":"string"},"spaceId":{"type":"string"},"values":{"items":{"format":"double","type":"number"},"type":"array"}},"required":["spaceId","model","values"],"type":"object"},"PublicInvocation__RelationshipsInput":{"additionalProperties":false,"properties":{"direction":{"anyOf":[{"$ref":"#/components/schemas/PublicInvocation__Direction"},{"type":"null"}]},"entityId":{"type":["string","null"]},"limit":{"default":25,"format":"uint","maximum":100,"minimum":1,"type":"integer"},"noticeId":{"maxLength":128,"minLength":1,"type":"string"},"offset":{"default":0,"format":"uint","maximum":10000,"minimum":0,"type":"integer"},"predicate":{"type":["string","null"]},"revisionId":{"type":["string","null"]}},"required":["noticeId"],"type":"object"},"PublicInvocation__Request":{"additionalProperties":false,"properties":{"asOf":{"format":"date-time","type":["string","null"]},"cursor":{"type":["string","null"]},"exclusions":{"default":[],"items":{"type":"string"},"type":"array"},"filters":{"$ref":"#/components/schemas/PublicInvocation__Filters","default":{"active":null,"agencyIds":[],"countries":[],"deadlineFrom":null,"deadlineTo":null,"minimumDaysToDeadline":null,"naicsPrefixes":[],"noticeTypes":[],"postedFrom":null,"postedTo":null,"pscCodes":[],"setAsides":[],"states":[]}},"limit":{"default":25,"format":"uint","minimum":0,"type":"integer"},"q":{"type":["string","null"]},"queryEmbedding":{"anyOf":[{"$ref":"#/components/schemas/PublicInvocation__QueryEmbedding"},{"type":"null"}]},"unknownPolicy":{"$ref":"#/components/schemas/PublicInvocation__UnknownPolicy","default":"exclude"}},"type":"object"},"PublicInvocation__Selection":{"additionalProperties":false,"properties":{"noticeId":{"maxLength":128,"minLength":1,"type":"string"},"revisionId":{"type":["string","null"]}},"required":["noticeId"],"type":"object"},"PublicInvocation__UnknownPolicy":{"enum":["exclude","include"],"type":"string"},"PublicOutput_evaluate_profile_fit":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/PublicOutput_evaluate_profile_fit__Evaluation"},"name":{"const":"evaluate_profile_fit","type":"string"},"ontologyVersion":{"type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","ontologyVersion","name","data"],"title":"Output","type":"object"},"PublicOutput_evaluate_profile_fit__Evaluation":{"properties":{"assumptions":{"items":{"type":"string"},"type":"array"},"eligibilityOutcomes":{"items":{"$ref":"#/components/schemas/PublicOutput_evaluate_profile_fit__RuleOutcome"},"type":"array"},"eligibilityStatus":{"$ref":"#/components/schemas/PublicOutput_evaluate_profile_fit__RuleStatus"},"evaluatedAt":{"format":"date-time","type":"string"},"inputFingerprint":{"type":"string"},"noticeId":{"type":"string"},"preferenceOutcomes":{"items":{"$ref":"#/components/schemas/PublicOutput_evaluate_profile_fit__RuleOutcome"},"type":"array"},"preferenceStatus":{"$ref":"#/components/schemas/PublicOutput_evaluate_profile_fit__RuleStatus"},"profileId":{"type":"string"},"relevance":{"anyOf":[{"$ref":"#/components/schemas/PublicOutput_evaluate_profile_fit__RuleOutcome"},{"type":"null"}]},"revisionId":{"type":"string"},"snapshotAt":{"format":"date-time","type":"string"},"version":{"type":"string"}},"required":["version","profileId","noticeId","revisionId","inputFingerprint","evaluatedAt","snapshotAt","preferenceStatus","eligibilityStatus","preferenceOutcomes","eligibilityOutcomes","assumptions"],"type":"object"},"PublicOutput_evaluate_profile_fit__RuleOutcome":{"additionalProperties":false,"properties":{"evaluatedValue":true,"evidenceIds":{"items":{"type":"string"},"type":"array"},"explanation":{"type":"string"},"ruleId":{"type":"string"},"ruleVersion":{"type":"string"},"status":{"$ref":"#/components/schemas/PublicOutput_evaluate_profile_fit__RuleStatus"}},"required":["ruleId","ruleVersion","status","explanation","evidenceIds"],"type":"object"},"PublicOutput_evaluate_profile_fit__RuleStatus":{"enum":["satisfied","unsatisfied","unknown"],"type":"string"},"PublicOutput_get_document":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/PublicOutput_get_document__DocumentExcerpt"},"name":{"const":"get_document","type":"string"},"ontologyVersion":{"type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","ontologyVersion","name","data"],"title":"Output","type":"object"},"PublicOutput_get_document__DocumentExcerpt":{"properties":{"document":{"$ref":"#/components/schemas/PublicOutput_get_document__DocumentMetadata"},"endByte":{"format":"uint","minimum":0,"type":"integer"},"nextStartByte":{"format":"uint","minimum":0,"type":["integer","null"]},"startByte":{"format":"uint","minimum":0,"type":"integer"},"text":{"type":["string","null"]},"totalBytes":{"format":"uint","minimum":0,"type":["integer","null"]}},"required":["document","startByte","endByte"],"type":"object"},"PublicOutput_get_document__DocumentMetadata":{"properties":{"contentHash":{"type":["string","null"]},"extractionQuality":true,"extractionStatus":{"type":"string"},"extractionVersion":{"type":["string","null"]},"id":{"type":"string"},"mediaType":{"type":["string","null"]},"retrievalStatus":{"type":"string"},"revisionId":{"type":"string"},"sourceUrl":{"type":"string"}},"required":["id","revisionId","sourceUrl","retrievalStatus","extractionStatus"],"type":"object"},"PublicOutput_get_evidence":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/PublicOutput_get_evidence__EvidenceRecord"},"name":{"const":"get_evidence","type":"string"},"ontologyVersion":{"type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","ontologyVersion","name","data"],"title":"Output","type":"object"},"PublicOutput_get_evidence__EvidenceRecord":{"properties":{"documentContentHash":{"type":["string","null"]},"documentId":{"type":["string","null"]},"id":{"type":"string"},"locator":true,"matchesCurrentDocument":{"type":["boolean","null"]},"quote":{"type":["string","null"]},"revisionId":{"type":"string"},"sourceUrl":{"type":"string"}},"required":["id","revisionId","sourceUrl","locator"],"type":"object"},"PublicOutput_get_opportunity":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/PublicOutput_get_opportunity__Opportunity"},"name":{"const":"get_opportunity","type":"string"},"ontologyVersion":{"type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","ontologyVersion","name","data"],"title":"Output","type":"object"},"PublicOutput_get_opportunity__Opportunity":{"additionalProperties":false,"properties":{"active":{"type":["boolean","null"]},"agencyId":{"type":["string","null"]},"currentRevisionId":{"type":"string"},"firstSeenAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"lastSeenAt":{"format":"date-time","type":"string"},"naics":{"type":["string","null"]},"noticeId":{"type":"string"},"noticeType":{"type":["string","null"]},"officeId":{"type":["string","null"]},"placeOfPerformance":{"anyOf":[{"$ref":"#/components/schemas/PublicOutput_get_opportunity__Place"},{"type":"null"}]},"postedDate":{"anyOf":[{"$ref":"#/components/schemas/PublicOutput_get_opportunity__SourceDate"},{"type":"null"}]},"psc":{"type":["string","null"]},"responseDeadline":{"anyOf":[{"$ref":"#/components/schemas/PublicOutput_get_opportunity__SourceDate"},{"type":"null"}]},"setAside":{"type":["string","null"]},"solicitationNumber":{"type":["string","null"]},"source":{"$ref":"#/components/schemas/PublicOutput_get_opportunity__Source"},"title":{"type":["string","null"]},"uiLink":{"type":["string","null"]}},"required":["id","noticeId","currentRevisionId","source","firstSeenAt","lastSeenAt"],"type":"object"},"PublicOutput_get_opportunity__Place":{"additionalProperties":false,"properties":{"city":{"type":["string","null"]},"countryCode":{"type":["string","null"]},"postalCode":{"type":["string","null"]},"stateCode":{"type":["string","null"]}},"type":"object"},"PublicOutput_get_opportunity__Source":{"additionalProperties":false,"properties":{"retrievedAt":{"format":"date-time","type":"string"},"system":{"type":"string"},"url":{"type":"string"}},"required":["system","url","retrievedAt"],"type":"object"},"PublicOutput_get_opportunity__SourceDate":{"description":"Preserve dates with unknown timezone rather than inventing a UTC instant.","oneOf":[{"properties":{"precision":{"const":"instant","type":"string"},"value":{"format":"date-time","type":"string"}},"required":["precision","value"],"type":"object"},{"properties":{"precision":{"const":"date","type":"string"},"value":{"format":"date","type":"string"}},"required":["precision","value"],"type":"object"},{"properties":{"precision":{"const":"unresolved","type":"string"},"value":{"type":"string"}},"required":["precision","value"],"type":"object"}]},"PublicOutput_get_summary":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":true,"name":{"const":"get_summary","type":"string"},"ontologyVersion":{"type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","ontologyVersion","name","data"],"title":"Output","type":"object"},"PublicOutput_inspect_ontology":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":true,"name":{"const":"inspect_ontology","type":"string"},"ontologyVersion":{"type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","ontologyVersion","name","data"],"title":"Output","type":"object"},"PublicOutput_investigate_opportunities":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__Report"},"name":{"const":"investigate_opportunities","type":"string"},"ontologyVersion":{"type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","ontologyVersion","name","data"],"title":"Output","type":"object"},"PublicOutput_investigate_opportunities__DocumentMetadata":{"properties":{"contentHash":{"type":["string","null"]},"extractionQuality":true,"extractionStatus":{"type":"string"},"extractionVersion":{"type":["string","null"]},"id":{"type":"string"},"mediaType":{"type":["string","null"]},"retrievalStatus":{"type":"string"},"revisionId":{"type":"string"},"sourceUrl":{"type":"string"}},"required":["id","revisionId","sourceUrl","retrievalStatus","extractionStatus"],"type":"object"},"PublicOutput_investigate_opportunities__ErrorCode":{"enum":["invalidInput","notFound","resultTooLarge","upstreamUnavailable","timeLimit"],"type":"string"},"PublicOutput_investigate_opportunities__EvidenceRecord":{"properties":{"documentContentHash":{"type":["string","null"]},"documentId":{"type":["string","null"]},"id":{"type":"string"},"locator":true,"matchesCurrentDocument":{"type":["boolean","null"]},"quote":{"type":["string","null"]},"revisionId":{"type":"string"},"sourceUrl":{"type":"string"}},"required":["id","revisionId","sourceUrl","locator"],"type":"object"},"PublicOutput_investigate_opportunities__Filters":{"additionalProperties":false,"properties":{"active":{"default":null,"type":["boolean","null"]},"agencyIds":{"default":[],"items":{"type":"string"},"type":"array"},"countries":{"default":[],"items":{"type":"string"},"type":"array"},"deadlineFrom":{"default":null,"format":"date-time","type":["string","null"]},"deadlineTo":{"default":null,"format":"date-time","type":["string","null"]},"minimumDaysToDeadline":{"default":null,"format":"uint32","minimum":0,"type":["integer","null"]},"naicsPrefixes":{"default":[],"items":{"type":"string"},"type":"array"},"noticeTypes":{"default":[],"items":{"type":"string"},"type":"array"},"postedFrom":{"default":null,"format":"date","type":["string","null"]},"postedTo":{"default":null,"format":"date","type":["string","null"]},"pscCodes":{"default":[],"items":{"type":"string"},"type":"array"},"setAsides":{"default":[],"items":{"type":"string"},"type":"array"},"states":{"default":[],"items":{"type":"string"},"type":"array"}},"type":"object"},"PublicOutput_investigate_opportunities__GenerationSource":{"enum":["llm","extractive"],"type":"string"},"PublicOutput_investigate_opportunities__Input":{"additionalProperties":false,"properties":{"asOf":{"format":"date-time","type":["string","null"]},"limit":{"default":25,"format":"uint","minimum":0,"type":"integer"},"text":{"type":"string"},"unknownPolicy":{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__UnknownPolicy","default":"exclude"}},"required":["text"],"type":"object"},"PublicOutput_investigate_opportunities__Interpretation":{"additionalProperties":false,"properties":{"field":{"type":"string"},"meaning":{"type":"string"},"sourceText":{"type":"string"}},"required":["field","sourceText","meaning"],"type":"object"},"PublicOutput_investigate_opportunities__Item":{"properties":{"documents":{"anyOf":[{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__ListPage"},{"type":"null"}]},"evidence":{"items":{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__EvidenceRecord"},"type":"array"},"groundedSummary":{"anyOf":[{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__Summary"},{"type":"null"}]},"issues":{"items":{"type":"string"},"type":"array"},"result":{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__SearchResult"},"screeningOutcomes":{"items":{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__RuleOutcome"},"type":"array"},"sourceSynopsis":{"description":"Canonical source fields from the frozen search result; not model prose.","type":"string"},"summaryStatus":{"type":"string"},"uninspectedEvidenceIds":{"items":{"type":"string"},"type":"array"},"unknownRuleIds":{"items":{"type":"string"},"type":"array"}},"required":["result","evidence","summaryStatus","screeningOutcomes","unknownRuleIds","uninspectedEvidenceIds","sourceSynopsis","issues"],"type":"object"},"PublicOutput_investigate_opportunities__ListPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__DocumentMetadata"},"type":"array"},"limit":{"format":"uint","minimum":0,"type":"integer"},"nextAfterId":{"type":["string","null"]},"revisionId":{"type":["string","null"]}},"required":["items","limit"],"type":"object"},"PublicOutput_investigate_opportunities__Money":{"additionalProperties":false,"properties":{"amount":{"pattern":"^-?[0-9]+(\\.[0-9]+)?$","type":"string"},"currency":{"type":"string"}},"required":["amount","currency"],"type":"object"},"PublicOutput_investigate_opportunities__Opportunity":{"additionalProperties":false,"properties":{"active":{"type":["boolean","null"]},"agencyId":{"type":["string","null"]},"currentRevisionId":{"type":"string"},"firstSeenAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"lastSeenAt":{"format":"date-time","type":"string"},"naics":{"type":["string","null"]},"noticeId":{"type":"string"},"noticeType":{"type":["string","null"]},"officeId":{"type":["string","null"]},"placeOfPerformance":{"anyOf":[{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__Place"},{"type":"null"}]},"postedDate":{"anyOf":[{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__SourceDate"},{"type":"null"}]},"psc":{"type":["string","null"]},"responseDeadline":{"anyOf":[{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__SourceDate"},{"type":"null"}]},"setAside":{"type":["string","null"]},"solicitationNumber":{"type":["string","null"]},"source":{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__Source"},"title":{"type":["string","null"]},"uiLink":{"type":["string","null"]}},"required":["id","noticeId","currentRevisionId","source","firstSeenAt","lastSeenAt"],"type":"object"},"PublicOutput_investigate_opportunities__Place":{"additionalProperties":false,"properties":{"city":{"type":["string","null"]},"countryCode":{"type":["string","null"]},"postalCode":{"type":["string","null"]},"stateCode":{"type":["string","null"]}},"type":"object"},"PublicOutput_investigate_opportunities__Plan":{"additionalProperties":false,"properties":{"assumptions":{"items":{"type":"string"},"type":"array"},"executable":{"type":"boolean"},"interpretations":{"items":{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__Interpretation"},"type":"array"},"issues":{"items":{"type":"string"},"type":"array"},"normalizedInput":{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__Input"},"planHash":{"type":"string"},"plannerVersion":{"type":"string"},"request":{"anyOf":[{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__Request"},{"type":"null"}]}},"required":["plannerVersion","normalizedInput","interpretations","assumptions","issues","executable","planHash"],"type":"object"},"PublicOutput_investigate_opportunities__QueryEmbedding":{"additionalProperties":false,"properties":{"minimumSimilarity":{"default":0.2,"format":"double","type":"number"},"model":{"type":"string"},"spaceId":{"type":"string"},"values":{"items":{"format":"double","type":"number"},"type":"array"}},"required":["spaceId","model","values"],"type":"object"},"PublicOutput_investigate_opportunities__Report":{"properties":{"candidateTotal":{"format":"uint","minimum":0,"type":["integer","null"]},"elapsedMilliseconds":{"format":"uint64","minimum":0,"type":"integer"},"issues":{"items":{"type":"string"},"type":"array"},"items":{"items":{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__Item"},"type":"array"},"modelCostUsd":{"format":"uint","minimum":0,"type":"integer"},"modelTokens":{"format":"uint","minimum":0,"type":"integer"},"moreResultsAvailable":{"type":"boolean"},"plan":{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__Plan"},"searchSnapshotId":{"type":["string","null"]},"stages":{"items":{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__Stage"},"type":"array"},"startedAt":{"format":"date-time","type":"string"},"status":{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__Status"},"toolOutputBytes":{"format":"uint","minimum":0,"type":"integer"},"trace":{"items":{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__Trace"},"type":"array"},"workflowVersion":{"type":"string"}},"required":["workflowVersion","status","startedAt","plan","stages","items","moreResultsAvailable","trace","issues","elapsedMilliseconds","toolOutputBytes","modelTokens","modelCostUsd"],"type":"object"},"PublicOutput_investigate_opportunities__Request":{"additionalProperties":false,"properties":{"asOf":{"format":"date-time","type":["string","null"]},"cursor":{"type":["string","null"]},"exclusions":{"default":[],"items":{"type":"string"},"type":"array"},"filters":{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__Filters","default":{"active":null,"agencyIds":[],"countries":[],"deadlineFrom":null,"deadlineTo":null,"minimumDaysToDeadline":null,"naicsPrefixes":[],"noticeTypes":[],"postedFrom":null,"postedTo":null,"pscCodes":[],"setAsides":[],"states":[]}},"limit":{"default":25,"format":"uint","minimum":0,"type":"integer"},"q":{"type":["string","null"]},"queryEmbedding":{"anyOf":[{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__QueryEmbedding"},{"type":"null"}]},"unknownPolicy":{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__UnknownPolicy","default":"exclude"}},"type":"object"},"PublicOutput_investigate_opportunities__RuleOutcome":{"additionalProperties":false,"properties":{"evaluatedValue":true,"evidenceIds":{"items":{"type":"string"},"type":"array"},"explanation":{"type":"string"},"ruleId":{"type":"string"},"ruleVersion":{"type":"string"},"status":{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__RuleStatus"}},"required":["ruleId","ruleVersion","status","explanation","evidenceIds"],"type":"object"},"PublicOutput_investigate_opportunities__RuleStatus":{"enum":["satisfied","unsatisfied","unknown"],"type":"string"},"PublicOutput_investigate_opportunities__SearchResult":{"additionalProperties":false,"properties":{"evidenceIds":{"items":{"type":"string"},"type":"array"},"opportunity":{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__Opportunity"},"reasons":{"items":{"type":"string"},"type":"array"},"ruleOutcomes":{"items":{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__RuleOutcome"},"type":"array"},"score":{"format":"double","type":"number"},"scoreComponents":{"additionalProperties":{"format":"double","type":"number"},"type":"object"},"summary":{"anyOf":[{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__Summary"},{"type":"null"}]}},"required":["opportunity","score","scoreComponents","reasons","ruleOutcomes","evidenceIds"],"type":"object"},"PublicOutput_investigate_opportunities__Source":{"additionalProperties":false,"properties":{"retrievedAt":{"format":"date-time","type":"string"},"system":{"type":"string"},"url":{"type":"string"}},"required":["system","url","retrievedAt"],"type":"object"},"PublicOutput_investigate_opportunities__SourceDate":{"description":"Preserve dates with unknown timezone rather than inventing a UTC instant.","oneOf":[{"properties":{"precision":{"const":"instant","type":"string"},"value":{"format":"date-time","type":"string"}},"required":["precision","value"],"type":"object"},{"properties":{"precision":{"const":"date","type":"string"},"value":{"format":"date","type":"string"}},"required":["precision","value"],"type":"object"},{"properties":{"precision":{"const":"unresolved","type":"string"},"value":{"type":"string"}},"required":["precision","value"],"type":"object"}]},"PublicOutput_investigate_opportunities__Stage":{"properties":{"completed":{"type":"boolean"},"detail":{"type":"string"},"step":{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__Step"}},"required":["step","completed","detail"],"type":"object"},"PublicOutput_investigate_opportunities__Status":{"enum":["completed","needsInput","partial"],"type":"string"},"PublicOutput_investigate_opportunities__Step":{"enum":["plan","retrieve","inspect","reason","summarize","report"],"type":"string"},"PublicOutput_investigate_opportunities__Summary":{"additionalProperties":false,"properties":{"bullets":{"items":{"type":"string"},"type":"array"},"deadline":{"anyOf":[{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__SourceDate"},{"type":"null"}]},"evidenceIds":{"items":{"type":"string"},"type":"array"},"generatedAt":{"format":"date-time","type":"string"},"generationSource":{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__GenerationSource"},"id":{"type":"string"},"model":{"type":["string","null"]},"ontologyVersion":{"type":"string"},"promptVersion":{"type":["string","null"]},"revisionId":{"type":"string"},"setAside":{"type":["string","null"]},"tags":{"items":{"type":"string"},"type":"array"},"text":{"type":"string"},"value":{"anyOf":[{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__Money"},{"type":"null"}]},"what":{"type":["string","null"]},"who":{"type":["string","null"]}},"required":["id","revisionId","text","bullets","tags","evidenceIds","generationSource","generatedAt","ontologyVersion"],"type":"object"},"PublicOutput_investigate_opportunities__ToolError":{"properties":{"code":{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__ErrorCode"},"message":{"type":"string"},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"type":"object"},"PublicOutput_investigate_opportunities__Trace":{"properties":{"arguments":true,"elapsedMilliseconds":{"format":"uint64","minimum":0,"type":"integer"},"error":{"anyOf":[{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__ToolError"},{"type":"null"}]},"outputBytes":{"format":"uint","minimum":0,"type":"integer"},"outputHash":{"type":["string","null"]},"step":{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities__Step"},"tool":{"type":"string"}},"required":["step","tool","arguments","elapsedMilliseconds","outputBytes"],"type":"object"},"PublicOutput_investigate_opportunities__UnknownPolicy":{"enum":["exclude","include"],"type":"string"},"PublicOutput_list_documents":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/PublicOutput_list_documents__ListPage"},"name":{"const":"list_documents","type":"string"},"ontologyVersion":{"type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","ontologyVersion","name","data"],"title":"Output","type":"object"},"PublicOutput_list_documents__DocumentMetadata":{"properties":{"contentHash":{"type":["string","null"]},"extractionQuality":true,"extractionStatus":{"type":"string"},"extractionVersion":{"type":["string","null"]},"id":{"type":"string"},"mediaType":{"type":["string","null"]},"retrievalStatus":{"type":"string"},"revisionId":{"type":"string"},"sourceUrl":{"type":"string"}},"required":["id","revisionId","sourceUrl","retrievalStatus","extractionStatus"],"type":"object"},"PublicOutput_list_documents__ListPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PublicOutput_list_documents__DocumentMetadata"},"type":"array"},"limit":{"format":"uint","minimum":0,"type":"integer"},"nextAfterId":{"type":["string","null"]},"revisionId":{"type":["string","null"]}},"required":["items","limit"],"type":"object"},"PublicOutput_list_revisions":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/PublicOutput_list_revisions__ListPage"},"name":{"const":"list_revisions","type":"string"},"ontologyVersion":{"type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","ontologyVersion","name","data"],"title":"Output","type":"object"},"PublicOutput_list_revisions__ListPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PublicOutput_list_revisions__RevisionMetadata"},"type":"array"},"limit":{"format":"uint","minimum":0,"type":"integer"},"nextAfterId":{"type":["string","null"]},"revisionId":{"type":["string","null"]}},"required":["items","limit"],"type":"object"},"PublicOutput_list_revisions__RevisionMetadata":{"properties":{"contentHash":{"type":"string"},"id":{"type":"string"},"observedAt":{"format":"date-time","type":"string"},"opportunityId":{"type":"string"},"sourceUrl":{"type":"string"},"supersedesRevisionId":{"type":["string","null"]},"upstreamRevisionId":{"type":["string","null"]}},"required":["id","opportunityId","contentHash","sourceUrl","observedAt"],"type":"object"},"PublicOutput_search_opportunities":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/PublicOutput_search_opportunities__Page"},"name":{"const":"search_opportunities","type":"string"},"ontologyVersion":{"type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","ontologyVersion","name","data"],"title":"Output","type":"object"},"PublicOutput_search_opportunities__GenerationSource":{"enum":["llm","extractive"],"type":"string"},"PublicOutput_search_opportunities__Money":{"additionalProperties":false,"properties":{"amount":{"pattern":"^-?[0-9]+(\\.[0-9]+)?$","type":"string"},"currency":{"type":"string"}},"required":["amount","currency"],"type":"object"},"PublicOutput_search_opportunities__Opportunity":{"additionalProperties":false,"properties":{"active":{"type":["boolean","null"]},"agencyId":{"type":["string","null"]},"currentRevisionId":{"type":"string"},"firstSeenAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"lastSeenAt":{"format":"date-time","type":"string"},"naics":{"type":["string","null"]},"noticeId":{"type":"string"},"noticeType":{"type":["string","null"]},"officeId":{"type":["string","null"]},"placeOfPerformance":{"anyOf":[{"$ref":"#/components/schemas/PublicOutput_search_opportunities__Place"},{"type":"null"}]},"postedDate":{"anyOf":[{"$ref":"#/components/schemas/PublicOutput_search_opportunities__SourceDate"},{"type":"null"}]},"psc":{"type":["string","null"]},"responseDeadline":{"anyOf":[{"$ref":"#/components/schemas/PublicOutput_search_opportunities__SourceDate"},{"type":"null"}]},"setAside":{"type":["string","null"]},"solicitationNumber":{"type":["string","null"]},"source":{"$ref":"#/components/schemas/PublicOutput_search_opportunities__Source"},"title":{"type":["string","null"]},"uiLink":{"type":["string","null"]}},"required":["id","noticeId","currentRevisionId","source","firstSeenAt","lastSeenAt"],"type":"object"},"PublicOutput_search_opportunities__Page":{"properties":{"evaluatedAt":{"format":"date-time","type":"string"},"expiresAt":{"format":"date-time","type":"string"},"items":{"items":{"$ref":"#/components/schemas/PublicOutput_search_opportunities__SearchResult"},"type":"array"},"metadata":true,"nextCursor":{"type":["string","null"]},"snapshotId":{"type":"string"},"total":{"format":"uint","minimum":0,"type":"integer"}},"required":["items","total","snapshotId","evaluatedAt","expiresAt","metadata"],"type":"object"},"PublicOutput_search_opportunities__Place":{"additionalProperties":false,"properties":{"city":{"type":["string","null"]},"countryCode":{"type":["string","null"]},"postalCode":{"type":["string","null"]},"stateCode":{"type":["string","null"]}},"type":"object"},"PublicOutput_search_opportunities__RuleOutcome":{"additionalProperties":false,"properties":{"evaluatedValue":true,"evidenceIds":{"items":{"type":"string"},"type":"array"},"explanation":{"type":"string"},"ruleId":{"type":"string"},"ruleVersion":{"type":"string"},"status":{"$ref":"#/components/schemas/PublicOutput_search_opportunities__RuleStatus"}},"required":["ruleId","ruleVersion","status","explanation","evidenceIds"],"type":"object"},"PublicOutput_search_opportunities__RuleStatus":{"enum":["satisfied","unsatisfied","unknown"],"type":"string"},"PublicOutput_search_opportunities__SearchResult":{"additionalProperties":false,"properties":{"evidenceIds":{"items":{"type":"string"},"type":"array"},"opportunity":{"$ref":"#/components/schemas/PublicOutput_search_opportunities__Opportunity"},"reasons":{"items":{"type":"string"},"type":"array"},"ruleOutcomes":{"items":{"$ref":"#/components/schemas/PublicOutput_search_opportunities__RuleOutcome"},"type":"array"},"score":{"format":"double","type":"number"},"scoreComponents":{"additionalProperties":{"format":"double","type":"number"},"type":"object"},"summary":{"anyOf":[{"$ref":"#/components/schemas/PublicOutput_search_opportunities__Summary"},{"type":"null"}]}},"required":["opportunity","score","scoreComponents","reasons","ruleOutcomes","evidenceIds"],"type":"object"},"PublicOutput_search_opportunities__Source":{"additionalProperties":false,"properties":{"retrievedAt":{"format":"date-time","type":"string"},"system":{"type":"string"},"url":{"type":"string"}},"required":["system","url","retrievedAt"],"type":"object"},"PublicOutput_search_opportunities__SourceDate":{"description":"Preserve dates with unknown timezone rather than inventing a UTC instant.","oneOf":[{"properties":{"precision":{"const":"instant","type":"string"},"value":{"format":"date-time","type":"string"}},"required":["precision","value"],"type":"object"},{"properties":{"precision":{"const":"date","type":"string"},"value":{"format":"date","type":"string"}},"required":["precision","value"],"type":"object"},{"properties":{"precision":{"const":"unresolved","type":"string"},"value":{"type":"string"}},"required":["precision","value"],"type":"object"}]},"PublicOutput_search_opportunities__Summary":{"additionalProperties":false,"properties":{"bullets":{"items":{"type":"string"},"type":"array"},"deadline":{"anyOf":[{"$ref":"#/components/schemas/PublicOutput_search_opportunities__SourceDate"},{"type":"null"}]},"evidenceIds":{"items":{"type":"string"},"type":"array"},"generatedAt":{"format":"date-time","type":"string"},"generationSource":{"$ref":"#/components/schemas/PublicOutput_search_opportunities__GenerationSource"},"id":{"type":"string"},"model":{"type":["string","null"]},"ontologyVersion":{"type":"string"},"promptVersion":{"type":["string","null"]},"revisionId":{"type":"string"},"setAside":{"type":["string","null"]},"tags":{"items":{"type":"string"},"type":"array"},"text":{"type":"string"},"value":{"anyOf":[{"$ref":"#/components/schemas/PublicOutput_search_opportunities__Money"},{"type":"null"}]},"what":{"type":["string","null"]},"who":{"type":["string","null"]}},"required":["id","revisionId","text","bullets","tags","evidenceIds","generationSource","generatedAt","ontologyVersion"],"type":"object"},"PublicOutput_traverse_relationships":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/PublicOutput_traverse_relationships__RelationshipPage"},"name":{"const":"traverse_relationships","type":"string"},"ontologyVersion":{"type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","ontologyVersion","name","data"],"title":"Output","type":"object"},"PublicOutput_traverse_relationships__Relationship":{"additionalProperties":false,"properties":{"object":{"type":"string"},"predicate":{"type":"string"},"sourcePointer":{"type":["string","null"]},"subject":{"type":"string"}},"required":["subject","predicate","object"],"type":"object"},"PublicOutput_traverse_relationships__RelationshipPage":{"properties":{"nextOffset":{"format":"uint","minimum":0,"type":["integer","null"]},"ontologyVersion":{"type":"string"},"relationships":{"items":{"$ref":"#/components/schemas/PublicOutput_traverse_relationships__Relationship"},"type":"array"},"revisionId":{"type":"string"},"total":{"format":"uint","minimum":0,"type":"integer"}},"required":["ontologyVersion","revisionId","relationships","total"],"type":"object"},"Relationship":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"object":{"type":"string"},"predicate":{"type":"string"},"sourcePointer":{"type":["string","null"]},"subject":{"type":"string"}},"required":["subject","predicate","object"],"title":"Relationship","type":"object"},"RetrievalPage":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"evaluatedAt":{"format":"date-time","type":"string"},"expiresAt":{"format":"date-time","type":"string"},"items":{"items":{"$ref":"#/components/schemas/RetrievalPage__SearchResult"},"type":"array"},"metadata":true,"nextCursor":{"type":["string","null"]},"snapshotId":{"type":"string"},"total":{"format":"uint","minimum":0,"type":"integer"}},"required":["items","total","snapshotId","evaluatedAt","expiresAt","metadata"],"title":"Page","type":"object"},"RetrievalPage__GenerationSource":{"enum":["llm","extractive"],"type":"string"},"RetrievalPage__Money":{"additionalProperties":false,"properties":{"amount":{"pattern":"^-?[0-9]+(\\.[0-9]+)?$","type":"string"},"currency":{"type":"string"}},"required":["amount","currency"],"type":"object"},"RetrievalPage__Opportunity":{"additionalProperties":false,"properties":{"active":{"type":["boolean","null"]},"agencyId":{"type":["string","null"]},"currentRevisionId":{"type":"string"},"firstSeenAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"lastSeenAt":{"format":"date-time","type":"string"},"naics":{"type":["string","null"]},"noticeId":{"type":"string"},"noticeType":{"type":["string","null"]},"officeId":{"type":["string","null"]},"placeOfPerformance":{"anyOf":[{"$ref":"#/components/schemas/RetrievalPage__Place"},{"type":"null"}]},"postedDate":{"anyOf":[{"$ref":"#/components/schemas/RetrievalPage__SourceDate"},{"type":"null"}]},"psc":{"type":["string","null"]},"responseDeadline":{"anyOf":[{"$ref":"#/components/schemas/RetrievalPage__SourceDate"},{"type":"null"}]},"setAside":{"type":["string","null"]},"solicitationNumber":{"type":["string","null"]},"source":{"$ref":"#/components/schemas/RetrievalPage__Source"},"title":{"type":["string","null"]},"uiLink":{"type":["string","null"]}},"required":["id","noticeId","currentRevisionId","source","firstSeenAt","lastSeenAt"],"type":"object"},"RetrievalPage__Place":{"additionalProperties":false,"properties":{"city":{"type":["string","null"]},"countryCode":{"type":["string","null"]},"postalCode":{"type":["string","null"]},"stateCode":{"type":["string","null"]}},"type":"object"},"RetrievalPage__RuleOutcome":{"additionalProperties":false,"properties":{"evaluatedValue":true,"evidenceIds":{"items":{"type":"string"},"type":"array"},"explanation":{"type":"string"},"ruleId":{"type":"string"},"ruleVersion":{"type":"string"},"status":{"$ref":"#/components/schemas/RetrievalPage__RuleStatus"}},"required":["ruleId","ruleVersion","status","explanation","evidenceIds"],"type":"object"},"RetrievalPage__RuleStatus":{"enum":["satisfied","unsatisfied","unknown"],"type":"string"},"RetrievalPage__SearchResult":{"additionalProperties":false,"properties":{"evidenceIds":{"items":{"type":"string"},"type":"array"},"opportunity":{"$ref":"#/components/schemas/RetrievalPage__Opportunity"},"reasons":{"items":{"type":"string"},"type":"array"},"ruleOutcomes":{"items":{"$ref":"#/components/schemas/RetrievalPage__RuleOutcome"},"type":"array"},"score":{"format":"double","type":"number"},"scoreComponents":{"additionalProperties":{"format":"double","type":"number"},"type":"object"},"summary":{"anyOf":[{"$ref":"#/components/schemas/RetrievalPage__Summary"},{"type":"null"}]}},"required":["opportunity","score","scoreComponents","reasons","ruleOutcomes","evidenceIds"],"type":"object"},"RetrievalPage__Source":{"additionalProperties":false,"properties":{"retrievedAt":{"format":"date-time","type":"string"},"system":{"type":"string"},"url":{"type":"string"}},"required":["system","url","retrievedAt"],"type":"object"},"RetrievalPage__SourceDate":{"description":"Preserve dates with unknown timezone rather than inventing a UTC instant.","oneOf":[{"properties":{"precision":{"const":"instant","type":"string"},"value":{"format":"date-time","type":"string"}},"required":["precision","value"],"type":"object"},{"properties":{"precision":{"const":"date","type":"string"},"value":{"format":"date","type":"string"}},"required":["precision","value"],"type":"object"},{"properties":{"precision":{"const":"unresolved","type":"string"},"value":{"type":"string"}},"required":["precision","value"],"type":"object"}]},"RetrievalPage__Summary":{"additionalProperties":false,"properties":{"bullets":{"items":{"type":"string"},"type":"array"},"deadline":{"anyOf":[{"$ref":"#/components/schemas/RetrievalPage__SourceDate"},{"type":"null"}]},"evidenceIds":{"items":{"type":"string"},"type":"array"},"generatedAt":{"format":"date-time","type":"string"},"generationSource":{"$ref":"#/components/schemas/RetrievalPage__GenerationSource"},"id":{"type":"string"},"model":{"type":["string","null"]},"ontologyVersion":{"type":"string"},"promptVersion":{"type":["string","null"]},"revisionId":{"type":"string"},"setAside":{"type":["string","null"]},"tags":{"items":{"type":"string"},"type":"array"},"text":{"type":"string"},"value":{"anyOf":[{"$ref":"#/components/schemas/RetrievalPage__Money"},{"type":"null"}]},"what":{"type":["string","null"]},"who":{"type":["string","null"]}},"required":["id","revisionId","text","bullets","tags","evidenceIds","generationSource","generatedAt","ontologyVersion"],"type":"object"},"Revisions":{"$schema":"https://json-schema.org/draft/2020-12/schema","items":{"$ref":"#/components/schemas/Revisions__Revision"},"title":"Array_of_Revision","type":"array"},"Revisions__Revision":{"additionalProperties":false,"properties":{"contentHash":{"type":"string"},"id":{"type":"string"},"observedAt":{"format":"date-time","type":"string"},"opportunityId":{"type":"string"},"rawPayload":true,"sourcePublishedAt":{"anyOf":[{"$ref":"#/components/schemas/Revisions__SourceDate"},{"type":"null"}]},"sourceUrl":{"type":"string"},"supersedesRevisionId":{"type":["string","null"]},"upstreamRevisionId":{"type":["string","null"]}},"required":["id","opportunityId","contentHash","observedAt","sourceUrl","rawPayload"],"type":"object"},"Revisions__SourceDate":{"description":"Preserve dates with unknown timezone rather than inventing a UTC instant.","oneOf":[{"properties":{"precision":{"const":"instant","type":"string"},"value":{"format":"date-time","type":"string"}},"required":["precision","value"],"type":"object"},{"properties":{"precision":{"const":"date","type":"string"},"value":{"format":"date","type":"string"}},"required":["precision","value"],"type":"object"},{"properties":{"precision":{"const":"unresolved","type":"string"},"value":{"type":"string"}},"required":["precision","value"],"type":"object"}]},"SearchPage":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"items":{"items":{"$ref":"#/components/schemas/SearchPage__Opportunity"},"type":"array"},"limit":{"format":"int64","type":"integer"},"offset":{"format":"int64","type":"integer"},"total":{"format":"int64","type":"integer"}},"required":["total","items","limit","offset"],"title":"SearchPage","type":"object"},"SearchPage__Opportunity":{"additionalProperties":false,"properties":{"active":{"type":["boolean","null"]},"agencyId":{"type":["string","null"]},"currentRevisionId":{"type":"string"},"firstSeenAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"lastSeenAt":{"format":"date-time","type":"string"},"naics":{"type":["string","null"]},"noticeId":{"type":"string"},"noticeType":{"type":["string","null"]},"officeId":{"type":["string","null"]},"placeOfPerformance":{"anyOf":[{"$ref":"#/components/schemas/SearchPage__Place"},{"type":"null"}]},"postedDate":{"anyOf":[{"$ref":"#/components/schemas/SearchPage__SourceDate"},{"type":"null"}]},"psc":{"type":["string","null"]},"responseDeadline":{"anyOf":[{"$ref":"#/components/schemas/SearchPage__SourceDate"},{"type":"null"}]},"setAside":{"type":["string","null"]},"solicitationNumber":{"type":["string","null"]},"source":{"$ref":"#/components/schemas/SearchPage__Source"},"title":{"type":["string","null"]},"uiLink":{"type":["string","null"]}},"required":["id","noticeId","currentRevisionId","source","firstSeenAt","lastSeenAt"],"type":"object"},"SearchPage__Place":{"additionalProperties":false,"properties":{"city":{"type":["string","null"]},"countryCode":{"type":["string","null"]},"postalCode":{"type":["string","null"]},"stateCode":{"type":["string","null"]}},"type":"object"},"SearchPage__Source":{"additionalProperties":false,"properties":{"retrievedAt":{"format":"date-time","type":"string"},"system":{"type":"string"},"url":{"type":"string"}},"required":["system","url","retrievedAt"],"type":"object"},"SearchPage__SourceDate":{"description":"Preserve dates with unknown timezone rather than inventing a UTC instant.","oneOf":[{"properties":{"precision":{"const":"instant","type":"string"},"value":{"format":"date-time","type":"string"}},"required":["precision","value"],"type":"object"},{"properties":{"precision":{"const":"date","type":"string"},"value":{"format":"date","type":"string"}},"required":["precision","value"],"type":"object"},{"properties":{"precision":{"const":"unresolved","type":"string"},"value":{"type":"string"}},"required":["precision","value"],"type":"object"}]},"SearchRequest":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"asOf":{"format":"date-time","type":["string","null"]},"cursor":{"type":["string","null"]},"exclusions":{"default":[],"items":{"type":"string"},"type":"array"},"filters":{"$ref":"#/components/schemas/SearchRequest__Filters","default":{"active":null,"agencyIds":[],"countries":[],"deadlineFrom":null,"deadlineTo":null,"minimumDaysToDeadline":null,"naicsPrefixes":[],"noticeTypes":[],"postedFrom":null,"postedTo":null,"pscCodes":[],"setAsides":[],"states":[]}},"limit":{"default":25,"format":"uint","minimum":0,"type":"integer"},"q":{"type":["string","null"]},"queryEmbedding":{"anyOf":[{"$ref":"#/components/schemas/SearchRequest__QueryEmbedding"},{"type":"null"}]},"unknownPolicy":{"$ref":"#/components/schemas/SearchRequest__UnknownPolicy","default":"exclude"}},"title":"Request","type":"object"},"SearchRequest__Filters":{"additionalProperties":false,"properties":{"active":{"default":null,"type":["boolean","null"]},"agencyIds":{"default":[],"items":{"type":"string"},"type":"array"},"countries":{"default":[],"items":{"type":"string"},"type":"array"},"deadlineFrom":{"default":null,"format":"date-time","type":["string","null"]},"deadlineTo":{"default":null,"format":"date-time","type":["string","null"]},"minimumDaysToDeadline":{"default":null,"format":"uint32","minimum":0,"type":["integer","null"]},"naicsPrefixes":{"default":[],"items":{"type":"string"},"type":"array"},"noticeTypes":{"default":[],"items":{"type":"string"},"type":"array"},"postedFrom":{"default":null,"format":"date","type":["string","null"]},"postedTo":{"default":null,"format":"date","type":["string","null"]},"pscCodes":{"default":[],"items":{"type":"string"},"type":"array"},"setAsides":{"default":[],"items":{"type":"string"},"type":"array"},"states":{"default":[],"items":{"type":"string"},"type":"array"}},"type":"object"},"SearchRequest__QueryEmbedding":{"additionalProperties":false,"properties":{"minimumSimilarity":{"default":0.2,"format":"double","type":"number"},"model":{"type":"string"},"spaceId":{"type":"string"},"values":{"items":{"format":"double","type":"number"},"type":"array"}},"required":["spaceId","model","values"],"type":"object"},"SearchRequest__UnknownPolicy":{"enum":["exclude","include"],"type":"string"},"SourceError":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"apiVersion":{"type":"string"},"error":{"$ref":"#/components/schemas/SourceError__ApiError"},"requestId":{"type":"string"}},"required":["apiVersion","requestId","error"],"title":"ErrorResponse","type":"object"},"SourceError__ApiError":{"additionalProperties":false,"properties":{"code":{"$ref":"#/components/schemas/SourceError__ErrorCode"},"details":true,"message":{"type":"string"},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"type":"object"},"SourceError__ErrorCode":{"enum":["invalidInput","unauthenticated","forbidden","notFound","conflict","rateLimited","upstreamUnavailable","internal"],"type":"string"},"SourceGraphQuery":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"direction":{"type":["string","null"]},"entityId":{"type":["string","null"]},"predicate":{"type":["string","null"]},"revisionId":{"type":["string","null"]}},"title":"GraphQuery","type":"object"},"SourceSearchQuery":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"active":{"type":["boolean","null"]},"limit":{"format":"int64","type":["integer","null"]},"naics":{"type":["string","null"]},"offset":{"format":"int64","type":["integer","null"]},"q":{"type":["string","null"]},"state":{"type":["string","null"]}},"title":"Search","type":"object"},"SourceSummaryQuery":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"revisionId":{"type":["string","null"]}},"title":"SummaryQuery","type":"object"},"Summary":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"bullets":{"items":{"type":"string"},"type":"array"},"deadline":{"anyOf":[{"$ref":"#/components/schemas/Summary__SourceDate"},{"type":"null"}]},"evidenceIds":{"items":{"type":"string"},"type":"array"},"generatedAt":{"format":"date-time","type":"string"},"generationSource":{"$ref":"#/components/schemas/Summary__GenerationSource"},"id":{"type":"string"},"model":{"type":["string","null"]},"ontologyVersion":{"type":"string"},"promptVersion":{"type":["string","null"]},"revisionId":{"type":"string"},"setAside":{"type":["string","null"]},"tags":{"items":{"type":"string"},"type":"array"},"text":{"type":"string"},"value":{"anyOf":[{"$ref":"#/components/schemas/Summary__Money"},{"type":"null"}]},"what":{"type":["string","null"]},"who":{"type":["string","null"]}},"required":["id","revisionId","text","bullets","tags","evidenceIds","generationSource","generatedAt","ontologyVersion"],"title":"Summary","type":"object"},"Summary__GenerationSource":{"enum":["llm","extractive"],"type":"string"},"Summary__Money":{"additionalProperties":false,"properties":{"amount":{"pattern":"^-?[0-9]+(\\.[0-9]+)?$","type":"string"},"currency":{"type":"string"}},"required":["amount","currency"],"type":"object"},"Summary__SourceDate":{"description":"Preserve dates with unknown timezone rather than inventing a UTC instant.","oneOf":[{"properties":{"precision":{"const":"instant","type":"string"},"value":{"format":"date-time","type":"string"}},"required":["precision","value"],"type":"object"},{"properties":{"precision":{"const":"date","type":"string"},"value":{"format":"date","type":"string"}},"required":["precision","value"],"type":"object"},{"properties":{"precision":{"const":"unresolved","type":"string"},"value":{"type":"string"}},"required":["precision","value"],"type":"object"}]},"ToolError":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"code":{"$ref":"#/components/schemas/ToolError__ErrorCode"},"message":{"type":"string"},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"title":"ToolError","type":"object"},"ToolError__ErrorCode":{"enum":["invalidInput","notFound","resultTooLarge","upstreamUnavailable","timeLimit"],"type":"string"},"UserError":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"code":{"$ref":"#/components/schemas/UserError__ErrorCode"},"message":{"type":"string"},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"title":"UserError","type":"object"},"UserError__ErrorCode":{"enum":["invalidInput","unauthenticated","forbidden","notFound","conflict","resourceLimit","resultTooLarge","upstreamUnavailable","timeLimit"],"type":"string"},"UserInvocation":{"$schema":"https://json-schema.org/draft/2020-12/schema","oneOf":[{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__Create"},"name":{"const":"create_workflow_run","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__VersionInput"},"name":{"const":"execute_workflow_run","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__VersionInput"},"name":{"const":"advance_workflow_run","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__VersionInput"},"name":{"const":"cancel_workflow_run","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__VersionInput"},"name":{"const":"resume_workflow_run","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__ResourceInput"},"name":{"const":"get_workflow_run","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__Listing"},"name":{"const":"list_workflow_runs","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__ResourceInput"},"name":{"const":"get_workflow_report","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__Entries"},"name":{"const":"list_workflow_checkpoints","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__Entries"},"name":{"const":"list_workflow_traces","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__Entries"},"name":{"const":"list_workflow_artifacts","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__ArtifactInput"},"name":{"const":"get_workflow_artifact","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__EmptyInput"},"name":{"const":"describe_credential","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__Create2"},"name":{"const":"create_alert","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__ResourceInput"},"name":{"const":"get_alert","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__Listing"},"name":{"const":"list_alerts","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__Update"},"name":{"const":"update_alert","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__VersionedId"},"name":{"const":"delete_alert","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__ResourceInput"},"name":{"const":"get_alert_signing_secret","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__DeliveryListing"},"name":{"const":"list_alert_deliveries","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__Create3"},"name":{"const":"create_agent_run","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__VersionInput"},"name":{"const":"advance_agent_run","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__ResourceInput"},"name":{"const":"get_agent_run","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__StepInput"},"name":{"const":"get_agent_run_step","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__Listing"},"name":{"const":"list_agent_runs","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__CreateWatch"},"name":{"const":"create_watch","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__ResourceInput"},"name":{"const":"get_watch","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__Listing"},"name":{"const":"list_watches","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__UpdateWatch"},"name":{"const":"update_watch","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__VersionInput"},"name":{"const":"delete_watch","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__CreateBrief"},"name":{"const":"create_brief","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__Create4"},"name":{"const":"create_comparison_brief","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__ResourceInput"},"name":{"const":"get_brief","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__Listing"},"name":{"const":"list_briefs","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__VersionInput"},"name":{"const":"delete_brief","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__Create5"},"name":{"const":"create_supplier_model_attempt","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__VersionInput"},"name":{"const":"execute_supplier_model_attempt","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__ResourceInput"},"name":{"const":"get_supplier_model_attempt","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__Listing"},"name":{"const":"list_supplier_model_attempts","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__Input2"},"name":{"const":"select_supplier_capabilities","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__TextInput"},"name":{"const":"extract_supplier_text","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__WebsiteInput"},"name":{"const":"extract_supplier_website","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__CreateProfile"},"name":{"const":"create_profile","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__ResourceInput"},"name":{"const":"get_profile","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__ResourceInput"},"name":{"const":"get_profile_provenance","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__AddSource"},"name":{"const":"add_profile_source","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__SourceListing"},"name":{"const":"list_profile_sources","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__SourceSelection"},"name":{"const":"get_profile_source","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__Listing"},"name":{"const":"list_profiles","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__UpdateProfile"},"name":{"const":"update_profile","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__VersionInput"},"name":{"const":"delete_profile","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__CreateSearch"},"name":{"const":"create_saved_search","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__ResourceInput"},"name":{"const":"get_saved_search","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__Listing"},"name":{"const":"list_saved_searches","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__UpdateSearch"},"name":{"const":"update_saved_search","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__VersionInput"},"name":{"const":"delete_saved_search","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__Start"},"name":{"const":"start_ingestion","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__Inspection"},"name":{"const":"get_ingestion_job","type":"string"}},"required":["name","arguments"],"type":"object"},{"additionalProperties":false,"properties":{"arguments":{"$ref":"#/components/schemas/UserInvocation__Selection"},"name":{"const":"cancel_ingestion_job","type":"string"}},"required":["name","arguments"],"type":"object"}],"title":"Invocation"},"UserInvocation__AddSource":{"additionalProperties":false,"properties":{"profileId":{"type":"string"},"requestKey":{"type":"string"},"source":{"$ref":"#/components/schemas/UserInvocation__SourceInput"}},"required":["requestKey","profileId","source"],"type":"object"},"UserInvocation__AlertDraft":{"additionalProperties":false,"properties":{"savedSearchId":{"type":"string"},"webhookUrl":{"description":"HTTPS destination; every resolved address must be public. No credentials or fragment.","type":"string"}},"required":["savedSearchId","webhookUrl"],"type":"object"},"UserInvocation__ArtifactInput":{"additionalProperties":false,"properties":{"id":{"type":"string"},"maxBytes":{"default":4096,"format":"uint","maximum":16384,"minimum":1,"type":"integer"},"ordinal":{"format":"int32","type":"integer"},"startByte":{"default":0,"format":"uint","minimum":0,"type":"integer"}},"required":["id","ordinal"],"type":"object"},"UserInvocation__BoundedCrawl":{"additionalProperties":false,"properties":{"maxPages":{"default":10,"format":"uint32","maximum":100,"minimum":1,"type":"integer"},"naics":{"type":["string","null"]},"noticeId":{"type":["string","null"]},"pageSize":{"default":100,"format":"uint32","maximum":1000,"minimum":1,"type":"integer"},"postedFrom":{"format":"date","type":"string"},"postedTo":{"format":"date","type":"string"},"setAside":{"type":["string","null"]},"state":{"type":["string","null"]},"title":{"type":["string","null"]}},"required":["postedFrom","postedTo"],"type":"object"},"UserInvocation__Create":{"additionalProperties":false,"properties":{"requestKey":{"type":"string"},"workflow":{"$ref":"#/components/schemas/UserInvocation__Input"}},"required":["requestKey","workflow"],"type":"object"},"UserInvocation__Create2":{"additionalProperties":false,"properties":{"alert":{"$ref":"#/components/schemas/UserInvocation__AlertDraft"},"requestKey":{"type":"string"}},"required":["requestKey","alert"],"type":"object"},"UserInvocation__Create3":{"additionalProperties":false,"properties":{"requestKey":{"type":"string"},"task":{"$ref":"#/components/schemas/UserInvocation__Task"}},"required":["requestKey","task"],"type":"object"},"UserInvocation__Create4":{"additionalProperties":false,"properties":{"noticeIds":{"items":{"type":"string"},"maxItems":5,"minItems":2,"type":"array"},"requestKey":{"type":"string"},"title":{"type":"string"}},"required":["requestKey","title","noticeIds"],"type":"object"},"UserInvocation__Create5":{"additionalProperties":false,"properties":{"requestKey":{"type":"string"},"selection":{"$ref":"#/components/schemas/UserInvocation__Input2"}},"required":["requestKey","selection"],"type":"object"},"UserInvocation__CreateBrief":{"additionalProperties":false,"properties":{"noticeIds":{"items":{"type":"string"},"type":"array"},"requestKey":{"type":"string"},"title":{"type":"string"}},"required":["requestKey","title","noticeIds"],"type":"object"},"UserInvocation__CreateProfile":{"additionalProperties":false,"properties":{"profile":{"$ref":"#/components/schemas/UserInvocation__ProfileDraft"},"requestKey":{"type":"string"},"source":{"anyOf":[{"$ref":"#/components/schemas/UserInvocation__SourceInput"},{"type":"null"}],"description":"Optional immutable creation source; caller attribution remains unverified."}},"required":["requestKey","profile"],"type":"object"},"UserInvocation__CreateSearch":{"additionalProperties":false,"properties":{"requestKey":{"type":"string"},"search":{"$ref":"#/components/schemas/UserInvocation__SearchDraft"}},"required":["requestKey","search"],"type":"object"},"UserInvocation__CreateWatch":{"additionalProperties":false,"properties":{"note":{"type":["string","null"]},"noticeId":{"type":"string"},"requestKey":{"type":"string"}},"required":["requestKey","noticeId"],"type":"object"},"UserInvocation__DeliveryListing":{"additionalProperties":false,"properties":{"afterId":{"type":["string","null"]},"id":{"type":"string"},"limit":{"default":25,"format":"uint","maximum":100,"minimum":1,"type":"integer"}},"required":["id"],"type":"object"},"UserInvocation__EmptyInput":{"additionalProperties":false,"type":"object"},"UserInvocation__Entries":{"additionalProperties":false,"properties":{"afterOrdinal":{"format":"int32","type":["integer","null"]},"id":{"type":"string"},"limit":{"default":10,"format":"uint","maximum":10,"minimum":1,"type":"integer"}},"required":["id"],"type":"object"},"UserInvocation__Filters":{"additionalProperties":false,"properties":{"active":{"default":null,"type":["boolean","null"]},"agencyIds":{"default":[],"items":{"type":"string"},"type":"array"},"countries":{"default":[],"items":{"type":"string"},"type":"array"},"deadlineFrom":{"default":null,"format":"date-time","type":["string","null"]},"deadlineTo":{"default":null,"format":"date-time","type":["string","null"]},"minimumDaysToDeadline":{"default":null,"format":"uint32","minimum":0,"type":["integer","null"]},"naicsPrefixes":{"default":[],"items":{"type":"string"},"type":"array"},"noticeTypes":{"default":[],"items":{"type":"string"},"type":"array"},"postedFrom":{"default":null,"format":"date","type":["string","null"]},"postedTo":{"default":null,"format":"date","type":["string","null"]},"pscCodes":{"default":[],"items":{"type":"string"},"type":"array"},"setAsides":{"default":[],"items":{"type":"string"},"type":"array"},"states":{"default":[],"items":{"type":"string"},"type":"array"}},"type":"object"},"UserInvocation__Input":{"additionalProperties":false,"properties":{"maxToolCalls":{"default":31,"format":"uint","maximum":31,"minimum":1,"type":"integer"},"maxToolOutputBytes":{"default":524288,"format":"uint","maximum":524288,"minimum":1024,"type":"integer"},"query":{"$ref":"#/components/schemas/UserInvocation__Query"},"runtimeMilliseconds":{"default":20000,"format":"uint64","maximum":20000,"minimum":100,"type":"integer"}},"required":["query"],"type":"object"},"UserInvocation__Input2":{"additionalProperties":false,"properties":{"name":{"type":["string","null"]},"sendToModel":{"description":"Must be true. Explicitly authorize sending this source to the operator-configured model provider.","type":"boolean"},"text":{"description":"Nonempty text, at most 8192 UTF-8 bytes; blocks must fit 2048 bytes, maximum six.","type":"string"}},"required":["text","sendToModel"],"type":"object"},"UserInvocation__Inspection":{"additionalProperties":false,"properties":{"afterEventId":{"format":"int64","type":["integer","null"]},"id":{"type":"string"},"limit":{"default":25,"format":"uint","maximum":100,"minimum":1,"type":"integer"}},"required":["id"],"type":"object"},"UserInvocation__Listing":{"additionalProperties":false,"properties":{"afterId":{"type":["string","null"]},"limit":{"default":25,"format":"uint","maximum":100,"minimum":1,"type":"integer"}},"type":"object"},"UserInvocation__ProfileDraft":{"additionalProperties":false,"properties":{"assertions":{"additionalProperties":true,"default":{},"type":"object"},"exclusions":{"default":[],"items":{"type":"string"},"type":"array"},"keywords":{"default":[],"items":{"type":"string"},"type":"array"},"minimumDaysToDeadline":{"format":"uint32","minimum":0,"type":["integer","null"]},"naicsPrefixes":{"default":[],"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"narrative":{"type":["string","null"]},"noticeTypes":{"default":[],"items":{"type":"string"},"type":"array"},"setAsides":{"default":[],"items":{"type":"string"},"type":"array"},"states":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["name"],"type":"object"},"UserInvocation__Query":{"additionalProperties":false,"properties":{"asOf":{"format":"date-time","type":["string","null"]},"limit":{"default":3,"format":"uint","maximum":5,"minimum":1,"type":"integer"},"text":{"type":"string"},"unknownPolicy":{"$ref":"#/components/schemas/UserInvocation__UnknownPolicy","default":"exclude"}},"required":["text"],"type":"object"},"UserInvocation__QueryEmbedding":{"additionalProperties":false,"properties":{"minimumSimilarity":{"default":0.2,"format":"double","type":"number"},"model":{"type":"string"},"spaceId":{"type":"string"},"values":{"items":{"format":"double","type":"number"},"type":"array"}},"required":["spaceId","model","values"],"type":"object"},"UserInvocation__Request":{"additionalProperties":false,"properties":{"asOf":{"format":"date-time","type":["string","null"]},"cursor":{"type":["string","null"]},"exclusions":{"default":[],"items":{"type":"string"},"type":"array"},"filters":{"$ref":"#/components/schemas/UserInvocation__Filters","default":{"active":null,"agencyIds":[],"countries":[],"deadlineFrom":null,"deadlineTo":null,"minimumDaysToDeadline":null,"naicsPrefixes":[],"noticeTypes":[],"postedFrom":null,"postedTo":null,"pscCodes":[],"setAsides":[],"states":[]}},"limit":{"default":25,"format":"uint","minimum":0,"type":"integer"},"q":{"type":["string","null"]},"queryEmbedding":{"anyOf":[{"$ref":"#/components/schemas/UserInvocation__QueryEmbedding"},{"type":"null"}]},"unknownPolicy":{"$ref":"#/components/schemas/UserInvocation__UnknownPolicy","default":"exclude"}},"type":"object"},"UserInvocation__ResourceInput":{"additionalProperties":false,"properties":{"id":{"type":"string"}},"required":["id"],"type":"object"},"UserInvocation__RetrievalAttestation":{"additionalProperties":false,"description":"Server-signed statement that Rust retrieved these pages and derived exactly this text.","properties":{"pages":{"items":{"$ref":"#/components/schemas/UserInvocation__RetrievedPage"},"type":"array"},"retrievedAt":{"format":"date-time","type":"string"},"signature":{"description":"Hex HMAC-SHA256 under the operator attestation key; opaque to callers.","type":"string"},"textSha256":{"type":"string"},"version":{"type":"string"}},"required":["version","pages","textSha256","retrievedAt","signature"],"type":"object"},"UserInvocation__RetrievedPage":{"additionalProperties":false,"properties":{"sha256":{"description":"SHA-256 of the downloaded bytes.","type":"string"},"url":{"type":"string"}},"required":["url","sha256"],"type":"object"},"UserInvocation__SearchDraft":{"additionalProperties":false,"properties":{"name":{"type":"string"},"query":{"$ref":"#/components/schemas/UserInvocation__Request"}},"required":["name","query"],"type":"object"},"UserInvocation__Selection":{"additionalProperties":false,"properties":{"id":{"type":"string"}},"required":["id"],"type":"object"},"UserInvocation__SourceInput":{"additionalProperties":false,"description":"Caller-submitted source retained only by an explicit profile creation.","properties":{"attestation":{"anyOf":[{"$ref":"#/components/schemas/UserInvocation__RetrievalAttestation"},{"type":"null"}],"description":"Optional retrieval attestation from extract_supplier_website for exactly this text."},"draftName":{"type":"string"},"maxKeywords":{"default":12,"format":"uint","maximum":20,"minimum":1,"type":"integer"},"reportedObservedAt":{"format":"date-time","type":["string","null"]},"sourceSha256":{"description":"Caller-reported downloaded-byte SHA-256, never verified by this save operation.","type":["string","null"]},"sourceUrl":{"description":"Optional caller-attributed website URL; saving never retrieves this URL.","type":["string","null"]},"text":{"description":"At most 32768 UTF-8 bytes. Rust regenerates literal citations from this text.","type":"string"}},"required":["text","draftName"],"type":"object"},"UserInvocation__SourceListing":{"additionalProperties":false,"properties":{"afterOrdinal":{"format":"uint32","minimum":0,"type":["integer","null"]},"id":{"type":"string"},"limit":{"default":20,"format":"uint32","maximum":50,"minimum":1,"type":"integer"}},"required":["id"],"type":"object"},"UserInvocation__SourceSelection":{"additionalProperties":false,"properties":{"id":{"type":"string"},"ordinal":{"format":"uint32","maximum":50,"minimum":1,"type":"integer"}},"required":["id","ordinal"],"type":"object"},"UserInvocation__Start":{"additionalProperties":false,"properties":{"crawl":{"$ref":"#/components/schemas/UserInvocation__BoundedCrawl"},"requestKey":{"type":"string"}},"required":["requestKey","crawl"],"type":"object"},"UserInvocation__StepInput":{"additionalProperties":false,"properties":{"id":{"type":"string"},"ordinal":{"format":"uint32","maximum":6,"minimum":1,"type":"integer"}},"required":["id","ordinal"],"type":"object"},"UserInvocation__Task":{"additionalProperties":false,"properties":{"maxSteps":{"default":4,"description":"Planning steps, 1–6. Each step is one provider call and at most one public read tool call.","format":"uint32","maximum":6,"minimum":1,"type":"integer"},"question":{"description":"Question for the planner, 1–2000 UTF-8 bytes. Untrusted; grants no privileges.","type":"string"},"sendToModel":{"description":"Must be true. Authorizes sending the question and public source tool results to the operator-configured provider.","type":"boolean"}},"required":["question","sendToModel"],"type":"object"},"UserInvocation__TextInput":{"additionalProperties":false,"properties":{"maxKeywords":{"default":12,"format":"uint","maximum":20,"minimum":1,"type":"integer"},"name":{"type":["string","null"]},"text":{"description":"Nonempty supplier source text, at most 32768 UTF-8 bytes; inert unverified data.","type":"string"}},"required":["text"],"type":"object"},"UserInvocation__UnknownPolicy":{"enum":["exclude","include"],"type":"string"},"UserInvocation__Update":{"additionalProperties":false,"properties":{"enabled":{"description":"Disabling cancels undelivered notifications. Re-enabling starts from the current time.","type":"boolean"},"expectedVersion":{"format":"uint64","minimum":0,"type":"integer"},"id":{"type":"string"},"webhookUrl":{"type":["string","null"]}},"required":["id","expectedVersion","enabled"],"type":"object"},"UserInvocation__UpdateProfile":{"additionalProperties":false,"properties":{"expectedVersion":{"format":"uint64","minimum":0,"type":"integer"},"id":{"type":"string"},"profile":{"$ref":"#/components/schemas/UserInvocation__ProfileDraft"}},"required":["id","expectedVersion","profile"],"type":"object"},"UserInvocation__UpdateSearch":{"additionalProperties":false,"properties":{"expectedVersion":{"format":"uint64","minimum":0,"type":"integer"},"id":{"type":"string"},"search":{"$ref":"#/components/schemas/UserInvocation__SearchDraft"}},"required":["id","expectedVersion","search"],"type":"object"},"UserInvocation__UpdateWatch":{"additionalProperties":false,"properties":{"acknowledgeCurrentRevision":{"type":"boolean"},"expectedVersion":{"format":"uint64","minimum":0,"type":"integer"},"id":{"type":"string"},"note":{"type":["string","null"]}},"required":["id","expectedVersion","acknowledgeCurrentRevision"],"type":"object"},"UserInvocation__VersionInput":{"additionalProperties":false,"properties":{"expectedVersion":{"format":"uint64","minimum":0,"type":"integer"},"id":{"type":"string"}},"required":["id","expectedVersion"],"type":"object"},"UserInvocation__VersionedId":{"additionalProperties":false,"properties":{"expectedVersion":{"format":"uint64","minimum":0,"type":"integer"},"id":{"type":"string"}},"required":["id","expectedVersion"],"type":"object"},"UserInvocation__WebsiteInput":{"additionalProperties":false,"properties":{"followLinks":{"description":"Follow up to this many same-host allowlisted links from the first page (document order).","format":"uint32","maximum":3,"minimum":0,"type":"integer"},"maxKeywords":{"default":12,"format":"uint","maximum":20,"minimum":1,"type":"integer"},"name":{"type":["string","null"]},"url":{"description":"Operator-allowlisted HTTPS page, max 2048 bytes, no credentials/query/fragment.","type":"string"}},"required":["url"],"type":"object"},"UserOutput_add_profile_source":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_add_profile_source__SourceRevision"},"name":{"const":"add_profile_source","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_add_profile_source__ProvenanceSummary":{"additionalProperties":false,"properties":{"attribution":{"description":"callerSubmitted, or serverRetrievalAttested when a valid retrieval attestation matched.","type":"string"},"extractionVersion":{"type":"string"},"profileVersion":{"format":"int64","type":"integer"},"retainedAt":{"format":"date-time","type":"string"},"retrievedAt":{"format":"date-time","type":["string","null"]},"retrievedPages":{"items":{"$ref":"#/components/schemas/UserOutput_add_profile_source__RetrievedPage"},"type":"array"},"sourceRetrievalVerified":{"description":"True only for a verified attestation: Rust retrieved the pages and derived this text.\nIt never verifies supplier qualifications.","type":"boolean"},"textSha256":{"type":"string"},"version":{"type":"string"}},"required":["version","extractionVersion","profileVersion","retainedAt","textSha256","attribution","sourceRetrievalVerified"],"type":"object"},"UserOutput_add_profile_source__RetrievedPage":{"additionalProperties":false,"properties":{"sha256":{"description":"SHA-256 of the downloaded bytes.","type":"string"},"url":{"type":"string"}},"required":["url","sha256"],"type":"object"},"UserOutput_add_profile_source__SourceRevision":{"properties":{"ordinal":{"format":"int32","type":"integer"},"profileId":{"type":"string"},"retainedAt":{"format":"date-time","type":"string"},"summary":{"$ref":"#/components/schemas/UserOutput_add_profile_source__ProvenanceSummary"}},"required":["profileId","ordinal","retainedAt","summary"],"type":"object"},"UserOutput_advance_agent_run":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_advance_agent_run__Advance"},"name":{"const":"advance_agent_run","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_advance_agent_run__Advance":{"properties":{"outcome":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_advance_agent_run__Outcome"},{"type":"null"}]},"run":{"$ref":"#/components/schemas/UserOutput_advance_agent_run__Header"},"step":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_advance_agent_run__StepSummary"},{"type":"null"}]}},"required":["run"],"type":"object"},"UserOutput_advance_agent_run__Citation":{"properties":{"evidenceId":{"type":"string"},"noticeId":{"type":"string"},"quote":{"type":"string"},"revisionId":{"type":"string"},"sourceUrl":{"type":"string"}},"required":["evidenceId","noticeId","revisionId","sourceUrl","quote"],"type":"object"},"UserOutput_advance_agent_run__Header":{"properties":{"budgetDay":{"format":"date","type":"string"},"completedAt":{"format":"date-time","type":["string","null"]},"createdAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"maxSteps":{"format":"int32","type":"integer"},"model":{"type":"string"},"nextAction":{"description":"\"advance\" when another step may be committed; null when terminal.","type":["string","null"]},"ownerId":{"type":"string"},"providerConfigHash":{"type":"string"},"recordVersion":{"format":"int64","type":"integer"},"reservedCostUsd":{"format":"double","type":"number"},"state":{"description":"queued, running, completed or partial.","type":"string"},"stepsStarted":{"format":"int32","type":"integer"},"taskHash":{"type":"string"},"updatedAt":{"format":"date-time","type":"string"},"workflowVersion":{"type":"string"}},"required":["id","ownerId","workflowVersion","state","recordVersion","taskHash","providerConfigHash","model","budgetDay","reservedCostUsd","maxSteps","stepsStarted","createdAt","updatedAt"],"type":"object"},"UserOutput_advance_agent_run__Outcome":{"properties":{"answer":{"description":"Model-generated synthesis; only citations are verified as exact source substrings.","type":["string","null"]},"citations":{"items":{"$ref":"#/components/schemas/UserOutput_advance_agent_run__Citation"},"type":"array"},"issues":{"items":{"type":"string"},"type":"array"},"noticeIds":{"items":{"type":"string"},"type":"array"},"providerSteps":{"format":"uint32","minimum":0,"type":"integer"},"status":{"description":"grounded (answer published), withheld (citations failed) or incomplete.","type":"string"},"toolCalls":{"format":"uint32","minimum":0,"type":"integer"},"version":{"type":"string"}},"required":["version","status","citations","noticeIds","issues","providerSteps","toolCalls"],"type":"object"},"UserOutput_advance_agent_run__StepSummary":{"properties":{"arguments":true,"completedAt":{"format":"date-time","type":["string","null"]},"issue":{"type":["string","null"]},"observationBytes":{"format":"uint","minimum":0,"type":["integer","null"]},"observationHash":{"type":["string","null"]},"ordinal":{"format":"int32","type":"integer"},"outcomeUnknown":{"description":"True for a spent fence without a stored result after its execution window.","type":"boolean"},"startedAt":{"format":"date-time","type":"string"},"state":{"description":"reserved, completed or interrupted. Interrupted steps remain spent and never reissue.","type":"string"},"status":{"type":["string","null"]},"tool":{"type":["string","null"]}},"required":["ordinal","state","startedAt","outcomeUnknown"],"type":"object"},"UserOutput_advance_workflow_run":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_advance_workflow_run__Run"},"name":{"const":"advance_workflow_run","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_advance_workflow_run__Run":{"properties":{"completedAt":{"format":"date-time","type":["string","null"]},"createdAt":{"format":"date-time","type":"string"},"elapsedMilliseconds":{"format":"int64","type":"integer"},"id":{"type":"string"},"nextStep":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_advance_workflow_run__Step"},{"type":"null"}]},"ownerId":{"type":"string"},"planExecutable":{"type":"boolean"},"planHash":{"type":"string"},"recordVersion":{"format":"int64","type":"integer"},"state":{"$ref":"#/components/schemas/UserOutput_advance_workflow_run__State"},"toolCalls":{"format":"int32","type":"integer"},"toolOutputBytes":{"format":"int64","type":"integer"},"updatedAt":{"format":"date-time","type":"string"},"workflowVersion":{"type":"string"}},"required":["id","ownerId","workflowVersion","state","recordVersion","planHash","planExecutable","toolCalls","toolOutputBytes","elapsedMilliseconds","createdAt","updatedAt"],"type":"object"},"UserOutput_advance_workflow_run__State":{"enum":["queued","running","cancelled","completed","needsInput","partial"],"type":"string"},"UserOutput_advance_workflow_run__Step":{"enum":["plan","retrieve","inspect","reason","summarize","report"],"type":"string"},"UserOutput_cancel_ingestion_job":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_cancel_ingestion_job__Cancellation"},"name":{"const":"cancel_ingestion_job","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_cancel_ingestion_job__Cancellation":{"properties":{"changed":{"type":"boolean"},"job":{"$ref":"#/components/schemas/UserOutput_cancel_ingestion_job__JobView"}},"required":["job","changed"],"type":"object"},"UserOutput_cancel_ingestion_job__JobView":{"properties":{"attempt":{"format":"int32","type":"integer"},"cancellationRequested":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"maxAttempts":{"format":"int32","type":"integer"},"ownerId":{"type":"string"},"state":{"type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","ownerId","state","cancellationRequested","attempt","maxAttempts","createdAt","updatedAt"],"type":"object"},"UserOutput_cancel_workflow_run":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_cancel_workflow_run__Run"},"name":{"const":"cancel_workflow_run","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_cancel_workflow_run__Run":{"properties":{"completedAt":{"format":"date-time","type":["string","null"]},"createdAt":{"format":"date-time","type":"string"},"elapsedMilliseconds":{"format":"int64","type":"integer"},"id":{"type":"string"},"nextStep":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_cancel_workflow_run__Step"},{"type":"null"}]},"ownerId":{"type":"string"},"planExecutable":{"type":"boolean"},"planHash":{"type":"string"},"recordVersion":{"format":"int64","type":"integer"},"state":{"$ref":"#/components/schemas/UserOutput_cancel_workflow_run__State"},"toolCalls":{"format":"int32","type":"integer"},"toolOutputBytes":{"format":"int64","type":"integer"},"updatedAt":{"format":"date-time","type":"string"},"workflowVersion":{"type":"string"}},"required":["id","ownerId","workflowVersion","state","recordVersion","planHash","planExecutable","toolCalls","toolOutputBytes","elapsedMilliseconds","createdAt","updatedAt"],"type":"object"},"UserOutput_cancel_workflow_run__State":{"enum":["queued","running","cancelled","completed","needsInput","partial"],"type":"string"},"UserOutput_cancel_workflow_run__Step":{"enum":["plan","retrieve","inspect","reason","summarize","report"],"type":"string"},"UserOutput_create_agent_run":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_create_agent_run__Header"},"name":{"const":"create_agent_run","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_create_agent_run__Header":{"properties":{"budgetDay":{"format":"date","type":"string"},"completedAt":{"format":"date-time","type":["string","null"]},"createdAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"maxSteps":{"format":"int32","type":"integer"},"model":{"type":"string"},"nextAction":{"description":"\"advance\" when another step may be committed; null when terminal.","type":["string","null"]},"ownerId":{"type":"string"},"providerConfigHash":{"type":"string"},"recordVersion":{"format":"int64","type":"integer"},"reservedCostUsd":{"format":"double","type":"number"},"state":{"description":"queued, running, completed or partial.","type":"string"},"stepsStarted":{"format":"int32","type":"integer"},"taskHash":{"type":"string"},"updatedAt":{"format":"date-time","type":"string"},"workflowVersion":{"type":"string"}},"required":["id","ownerId","workflowVersion","state","recordVersion","taskHash","providerConfigHash","model","budgetDay","reservedCostUsd","maxSteps","stepsStarted","createdAt","updatedAt"],"type":"object"},"UserOutput_create_alert":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_create_alert__Alert"},"name":{"const":"create_alert","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_create_alert__Alert":{"properties":{"checkpointAt":{"description":"Revisions observed after this time are evaluated next.","format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"},"dead":{"format":"int64","type":"integer"},"delivered":{"format":"int64","type":"integer"},"enabled":{"type":"boolean"},"id":{"type":"string"},"nextEvaluationAt":{"format":"date-time","type":"string"},"ownerId":{"type":"string"},"pendingDeliveries":{"format":"int64","type":"integer"},"recordVersion":{"format":"int64","type":"integer"},"savedSearchId":{"type":"string"},"updatedAt":{"format":"date-time","type":"string"},"webhookUrl":{"type":"string"}},"required":["id","ownerId","savedSearchId","webhookUrl","enabled","recordVersion","checkpointAt","nextEvaluationAt","createdAt","updatedAt","pendingDeliveries","delivered","dead"],"type":"object"},"UserOutput_create_brief":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_create_brief__Brief"},"name":{"const":"create_brief","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_create_brief__Brief":{"properties":{"comparison":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_create_brief__Comparison"},{"type":"null"}]},"header":{"$ref":"#/components/schemas/UserOutput_create_brief__BriefHeader"},"items":{"items":{"$ref":"#/components/schemas/UserOutput_create_brief__BriefItem"},"type":"array"}},"required":["header","items"],"type":"object"},"UserOutput_create_brief__BriefHeader":{"properties":{"createdAt":{"format":"date-time","type":"string"},"definitionVersion":{"type":"string"},"id":{"type":"string"},"ownerId":{"type":"string"},"recordVersion":{"format":"int64","type":"integer"},"title":{"type":"string"}},"required":["id","ownerId","title","definitionVersion","recordVersion","createdAt"],"type":"object"},"UserOutput_create_brief__BriefItem":{"properties":{"contentHash":{"type":"string"},"facts":{"items":{"$ref":"#/components/schemas/UserOutput_create_brief__Fact"},"type":"array"},"noticeId":{"type":"string"},"observedAt":{"format":"date-time","type":"string"},"opportunityId":{"type":"string"},"revisionId":{"type":"string"},"sourceUrl":{"type":"string"}},"required":["noticeId","opportunityId","revisionId","contentHash","sourceUrl","observedAt","facts"],"type":"object"},"UserOutput_create_brief__Cell":{"properties":{"fact":{"$ref":"#/components/schemas/UserOutput_create_brief__Fact"},"noticeId":{"type":"string"},"revisionId":{"type":"string"},"sourceUrl":{"type":"string"}},"required":["noticeId","revisionId","sourceUrl","fact"],"type":"object"},"UserOutput_create_brief__Comparison":{"properties":{"elapsedMilliseconds":{"format":"uint64","minimum":0,"type":"integer"},"modelCostUsd":{"format":"uint","minimum":0,"type":"integer"},"modelTokens":{"format":"uint","minimum":0,"type":"integer"},"rows":{"items":{"$ref":"#/components/schemas/UserOutput_create_brief__ComparisonRow"},"type":"array"},"sourceOutputBytes":{"format":"uint","minimum":0,"type":"integer"},"sourceReadStatements":{"format":"uint","minimum":0,"type":"integer"},"stages":{"items":{"$ref":"#/components/schemas/UserOutput_create_brief__Stage"},"type":"array"},"summary":{"$ref":"#/components/schemas/UserOutput_create_brief__ComparisonSummary"},"trace":{"items":{"$ref":"#/components/schemas/UserOutput_create_brief__OperationTrace"},"type":"array"},"workflowVersion":{"type":"string"}},"required":["workflowVersion","stages","rows","summary","trace","sourceReadStatements","sourceOutputBytes","elapsedMilliseconds","modelTokens","modelCostUsd"],"type":"object"},"UserOutput_create_brief__ComparisonRow":{"properties":{"cells":{"items":{"$ref":"#/components/schemas/UserOutput_create_brief__Cell"},"type":"array"},"complete":{"type":"boolean"},"knownValueRelation":{"$ref":"#/components/schemas/UserOutput_create_brief__Relation"},"predicate":{"type":"string"}},"required":["predicate","knownValueRelation","complete","cells"],"type":"object"},"UserOutput_create_brief__ComparisonSummary":{"properties":{"fieldsCompared":{"format":"uint","minimum":0,"type":"integer"},"fieldsWithKnownDifferences":{"format":"uint","minimum":0,"type":"integer"},"fieldsWithUnknowns":{"format":"uint","minimum":0,"type":"integer"},"scope":{"type":"string"},"sourceCount":{"format":"uint","minimum":0,"type":"integer"}},"required":["sourceCount","fieldsCompared","fieldsWithKnownDifferences","fieldsWithUnknowns","scope"],"type":"object"},"UserOutput_create_brief__Fact":{"additionalProperties":false,"properties":{"predicate":{"type":"string"},"sourcePointer":{"type":["string","null"]},"state":{"$ref":"#/components/schemas/UserOutput_create_brief__FactState"},"value":true},"required":["predicate","state","value"],"type":"object"},"UserOutput_create_brief__FactState":{"enum":["known","unknown","absent","conditional","conflicting"],"type":"string"},"UserOutput_create_brief__Operation":{"enum":["captureSourceSnapshots","validateSourceMetadata","compareKnownMetadata"],"type":"string"},"UserOutput_create_brief__OperationTrace":{"properties":{"elapsedMilliseconds":{"format":"uint64","minimum":0,"type":"integer"},"operation":{"$ref":"#/components/schemas/UserOutput_create_brief__Operation"},"outputBytes":{"format":"uint","minimum":0,"type":"integer"},"outputHash":{"type":"string"},"step":{"$ref":"#/components/schemas/UserOutput_create_brief__Step"}},"required":["step","operation","elapsedMilliseconds","outputBytes","outputHash"],"type":"object"},"UserOutput_create_brief__Relation":{"enum":["same","different","insufficientKnownValues"],"type":"string"},"UserOutput_create_brief__Stage":{"properties":{"completed":{"type":"boolean"},"detail":{"type":"string"},"step":{"$ref":"#/components/schemas/UserOutput_create_brief__Step"}},"required":["step","completed","detail"],"type":"object"},"UserOutput_create_brief__Step":{"enum":["plan","retrieve","inspect","reason","summarize","report"],"type":"string"},"UserOutput_create_comparison_brief":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_create_comparison_brief__Brief"},"name":{"const":"create_comparison_brief","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_create_comparison_brief__Brief":{"properties":{"comparison":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_create_comparison_brief__Comparison"},{"type":"null"}]},"header":{"$ref":"#/components/schemas/UserOutput_create_comparison_brief__BriefHeader"},"items":{"items":{"$ref":"#/components/schemas/UserOutput_create_comparison_brief__BriefItem"},"type":"array"}},"required":["header","items"],"type":"object"},"UserOutput_create_comparison_brief__BriefHeader":{"properties":{"createdAt":{"format":"date-time","type":"string"},"definitionVersion":{"type":"string"},"id":{"type":"string"},"ownerId":{"type":"string"},"recordVersion":{"format":"int64","type":"integer"},"title":{"type":"string"}},"required":["id","ownerId","title","definitionVersion","recordVersion","createdAt"],"type":"object"},"UserOutput_create_comparison_brief__BriefItem":{"properties":{"contentHash":{"type":"string"},"facts":{"items":{"$ref":"#/components/schemas/UserOutput_create_comparison_brief__Fact"},"type":"array"},"noticeId":{"type":"string"},"observedAt":{"format":"date-time","type":"string"},"opportunityId":{"type":"string"},"revisionId":{"type":"string"},"sourceUrl":{"type":"string"}},"required":["noticeId","opportunityId","revisionId","contentHash","sourceUrl","observedAt","facts"],"type":"object"},"UserOutput_create_comparison_brief__Cell":{"properties":{"fact":{"$ref":"#/components/schemas/UserOutput_create_comparison_brief__Fact"},"noticeId":{"type":"string"},"revisionId":{"type":"string"},"sourceUrl":{"type":"string"}},"required":["noticeId","revisionId","sourceUrl","fact"],"type":"object"},"UserOutput_create_comparison_brief__Comparison":{"properties":{"elapsedMilliseconds":{"format":"uint64","minimum":0,"type":"integer"},"modelCostUsd":{"format":"uint","minimum":0,"type":"integer"},"modelTokens":{"format":"uint","minimum":0,"type":"integer"},"rows":{"items":{"$ref":"#/components/schemas/UserOutput_create_comparison_brief__ComparisonRow"},"type":"array"},"sourceOutputBytes":{"format":"uint","minimum":0,"type":"integer"},"sourceReadStatements":{"format":"uint","minimum":0,"type":"integer"},"stages":{"items":{"$ref":"#/components/schemas/UserOutput_create_comparison_brief__Stage"},"type":"array"},"summary":{"$ref":"#/components/schemas/UserOutput_create_comparison_brief__ComparisonSummary"},"trace":{"items":{"$ref":"#/components/schemas/UserOutput_create_comparison_brief__OperationTrace"},"type":"array"},"workflowVersion":{"type":"string"}},"required":["workflowVersion","stages","rows","summary","trace","sourceReadStatements","sourceOutputBytes","elapsedMilliseconds","modelTokens","modelCostUsd"],"type":"object"},"UserOutput_create_comparison_brief__ComparisonRow":{"properties":{"cells":{"items":{"$ref":"#/components/schemas/UserOutput_create_comparison_brief__Cell"},"type":"array"},"complete":{"type":"boolean"},"knownValueRelation":{"$ref":"#/components/schemas/UserOutput_create_comparison_brief__Relation"},"predicate":{"type":"string"}},"required":["predicate","knownValueRelation","complete","cells"],"type":"object"},"UserOutput_create_comparison_brief__ComparisonSummary":{"properties":{"fieldsCompared":{"format":"uint","minimum":0,"type":"integer"},"fieldsWithKnownDifferences":{"format":"uint","minimum":0,"type":"integer"},"fieldsWithUnknowns":{"format":"uint","minimum":0,"type":"integer"},"scope":{"type":"string"},"sourceCount":{"format":"uint","minimum":0,"type":"integer"}},"required":["sourceCount","fieldsCompared","fieldsWithKnownDifferences","fieldsWithUnknowns","scope"],"type":"object"},"UserOutput_create_comparison_brief__Fact":{"additionalProperties":false,"properties":{"predicate":{"type":"string"},"sourcePointer":{"type":["string","null"]},"state":{"$ref":"#/components/schemas/UserOutput_create_comparison_brief__FactState"},"value":true},"required":["predicate","state","value"],"type":"object"},"UserOutput_create_comparison_brief__FactState":{"enum":["known","unknown","absent","conditional","conflicting"],"type":"string"},"UserOutput_create_comparison_brief__Operation":{"enum":["captureSourceSnapshots","validateSourceMetadata","compareKnownMetadata"],"type":"string"},"UserOutput_create_comparison_brief__OperationTrace":{"properties":{"elapsedMilliseconds":{"format":"uint64","minimum":0,"type":"integer"},"operation":{"$ref":"#/components/schemas/UserOutput_create_comparison_brief__Operation"},"outputBytes":{"format":"uint","minimum":0,"type":"integer"},"outputHash":{"type":"string"},"step":{"$ref":"#/components/schemas/UserOutput_create_comparison_brief__Step"}},"required":["step","operation","elapsedMilliseconds","outputBytes","outputHash"],"type":"object"},"UserOutput_create_comparison_brief__Relation":{"enum":["same","different","insufficientKnownValues"],"type":"string"},"UserOutput_create_comparison_brief__Stage":{"properties":{"completed":{"type":"boolean"},"detail":{"type":"string"},"step":{"$ref":"#/components/schemas/UserOutput_create_comparison_brief__Step"}},"required":["step","completed","detail"],"type":"object"},"UserOutput_create_comparison_brief__Step":{"enum":["plan","retrieve","inspect","reason","summarize","report"],"type":"string"},"UserOutput_create_profile":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_create_profile__ProfileRecord"},"name":{"const":"create_profile","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_create_profile__Profile":{"additionalProperties":false,"properties":{"assertions":{"additionalProperties":true,"description":"User assertions are not verified certifications.","type":"object"},"createdAt":{"format":"date-time","type":"string"},"exclusions":{"items":{"type":"string"},"type":"array"},"id":{"type":"string"},"keywords":{"items":{"type":"string"},"type":"array"},"minimumDaysToDeadline":{"format":"uint32","minimum":0,"type":["integer","null"]},"naicsPrefixes":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"narrative":{"type":["string","null"]},"noticeTypes":{"items":{"type":"string"},"type":"array"},"ownerId":{"type":"string"},"setAsides":{"items":{"type":"string"},"type":"array"},"states":{"items":{"type":"string"},"type":"array"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","ownerId","name","keywords","exclusions","naicsPrefixes","setAsides","states","noticeTypes","assertions","createdAt","updatedAt"],"type":"object"},"UserOutput_create_profile__ProfileRecord":{"properties":{"profile":{"$ref":"#/components/schemas/UserOutput_create_profile__Profile"},"recordVersion":{"format":"int64","type":"integer"},"sourceProvenance":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_create_profile__ProvenanceSummary"},{"type":"null"}]}},"required":["profile","recordVersion"],"type":"object"},"UserOutput_create_profile__ProvenanceSummary":{"additionalProperties":false,"properties":{"attribution":{"description":"callerSubmitted, or serverRetrievalAttested when a valid retrieval attestation matched.","type":"string"},"extractionVersion":{"type":"string"},"profileVersion":{"format":"int64","type":"integer"},"retainedAt":{"format":"date-time","type":"string"},"retrievedAt":{"format":"date-time","type":["string","null"]},"retrievedPages":{"items":{"$ref":"#/components/schemas/UserOutput_create_profile__RetrievedPage"},"type":"array"},"sourceRetrievalVerified":{"description":"True only for a verified attestation: Rust retrieved the pages and derived this text.\nIt never verifies supplier qualifications.","type":"boolean"},"textSha256":{"type":"string"},"version":{"type":"string"}},"required":["version","extractionVersion","profileVersion","retainedAt","textSha256","attribution","sourceRetrievalVerified"],"type":"object"},"UserOutput_create_profile__RetrievedPage":{"additionalProperties":false,"properties":{"sha256":{"description":"SHA-256 of the downloaded bytes.","type":"string"},"url":{"type":"string"}},"required":["url","sha256"],"type":"object"},"UserOutput_create_saved_search":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_create_saved_search__SavedSearch"},"name":{"const":"create_saved_search","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_create_saved_search__Filters":{"additionalProperties":false,"properties":{"active":{"default":null,"type":["boolean","null"]},"agencyIds":{"default":[],"items":{"type":"string"},"type":"array"},"countries":{"default":[],"items":{"type":"string"},"type":"array"},"deadlineFrom":{"default":null,"format":"date-time","type":["string","null"]},"deadlineTo":{"default":null,"format":"date-time","type":["string","null"]},"minimumDaysToDeadline":{"default":null,"format":"uint32","minimum":0,"type":["integer","null"]},"naicsPrefixes":{"default":[],"items":{"type":"string"},"type":"array"},"noticeTypes":{"default":[],"items":{"type":"string"},"type":"array"},"postedFrom":{"default":null,"format":"date","type":["string","null"]},"postedTo":{"default":null,"format":"date","type":["string","null"]},"pscCodes":{"default":[],"items":{"type":"string"},"type":"array"},"setAsides":{"default":[],"items":{"type":"string"},"type":"array"},"states":{"default":[],"items":{"type":"string"},"type":"array"}},"type":"object"},"UserOutput_create_saved_search__QueryEmbedding":{"additionalProperties":false,"properties":{"minimumSimilarity":{"default":0.2,"format":"double","type":"number"},"model":{"type":"string"},"spaceId":{"type":"string"},"values":{"items":{"format":"double","type":"number"},"type":"array"}},"required":["spaceId","model","values"],"type":"object"},"UserOutput_create_saved_search__Request":{"additionalProperties":false,"properties":{"asOf":{"format":"date-time","type":["string","null"]},"cursor":{"type":["string","null"]},"exclusions":{"default":[],"items":{"type":"string"},"type":"array"},"filters":{"$ref":"#/components/schemas/UserOutput_create_saved_search__Filters","default":{"active":null,"agencyIds":[],"countries":[],"deadlineFrom":null,"deadlineTo":null,"minimumDaysToDeadline":null,"naicsPrefixes":[],"noticeTypes":[],"postedFrom":null,"postedTo":null,"pscCodes":[],"setAsides":[],"states":[]}},"limit":{"default":25,"format":"uint","minimum":0,"type":"integer"},"q":{"type":["string","null"]},"queryEmbedding":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_create_saved_search__QueryEmbedding"},{"type":"null"}]},"unknownPolicy":{"$ref":"#/components/schemas/UserOutput_create_saved_search__UnknownPolicy","default":"exclude"}},"type":"object"},"UserOutput_create_saved_search__SavedSearch":{"properties":{"createdAt":{"format":"date-time","type":"string"},"definitionVersion":{"type":"string"},"enabled":{"type":"boolean"},"id":{"type":"string"},"name":{"type":"string"},"ownerId":{"type":"string"},"query":{"$ref":"#/components/schemas/UserOutput_create_saved_search__Request"},"recordVersion":{"format":"int64","type":"integer"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","ownerId","name","query","definitionVersion","recordVersion","enabled","createdAt","updatedAt"],"type":"object"},"UserOutput_create_saved_search__UnknownPolicy":{"enum":["exclude","include"],"type":"string"},"UserOutput_create_supplier_model_attempt":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_create_supplier_model_attempt__Header"},"name":{"const":"create_supplier_model_attempt","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_create_supplier_model_attempt__Header":{"properties":{"budgetDay":{"format":"date","type":"string"},"completedAt":{"format":"date-time","type":["string","null"]},"createdAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"inputHash":{"type":"string"},"model":{"type":"string"},"outcomeUnknown":{"description":"True for a spent fence without a stored result after its execution window.","type":"boolean"},"ownerId":{"type":"string"},"providerConfigHash":{"type":"string"},"recordVersion":{"format":"int64","type":"integer"},"reservedCostUsd":{"format":"double","type":"number"},"startedAt":{"format":"date-time","type":["string","null"]},"state":{"type":"string"}},"required":["id","ownerId","state","recordVersion","inputHash","providerConfigHash","model","budgetDay","reservedCostUsd","createdAt","outcomeUnknown"],"type":"object"},"UserOutput_create_watch":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_create_watch__Watch"},"name":{"const":"create_watch","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_create_watch__Watch":{"properties":{"baselineRevisionId":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"currentRevisionId":{"type":"string"},"id":{"type":"string"},"note":{"type":["string","null"]},"noticeId":{"type":"string"},"ownerId":{"type":"string"},"recordVersion":{"format":"int64","type":"integer"},"sourceChanged":{"type":"boolean"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","ownerId","noticeId","baselineRevisionId","currentRevisionId","sourceChanged","recordVersion","createdAt","updatedAt"],"type":"object"},"UserOutput_create_workflow_run":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_create_workflow_run__Run"},"name":{"const":"create_workflow_run","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_create_workflow_run__Run":{"properties":{"completedAt":{"format":"date-time","type":["string","null"]},"createdAt":{"format":"date-time","type":"string"},"elapsedMilliseconds":{"format":"int64","type":"integer"},"id":{"type":"string"},"nextStep":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_create_workflow_run__Step"},{"type":"null"}]},"ownerId":{"type":"string"},"planExecutable":{"type":"boolean"},"planHash":{"type":"string"},"recordVersion":{"format":"int64","type":"integer"},"state":{"$ref":"#/components/schemas/UserOutput_create_workflow_run__State"},"toolCalls":{"format":"int32","type":"integer"},"toolOutputBytes":{"format":"int64","type":"integer"},"updatedAt":{"format":"date-time","type":"string"},"workflowVersion":{"type":"string"}},"required":["id","ownerId","workflowVersion","state","recordVersion","planHash","planExecutable","toolCalls","toolOutputBytes","elapsedMilliseconds","createdAt","updatedAt"],"type":"object"},"UserOutput_create_workflow_run__State":{"enum":["queued","running","cancelled","completed","needsInput","partial"],"type":"string"},"UserOutput_create_workflow_run__Step":{"enum":["plan","retrieve","inspect","reason","summarize","report"],"type":"string"},"UserOutput_delete_alert":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_delete_alert__Deleted"},"name":{"const":"delete_alert","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_delete_alert__Deleted":{"properties":{"deleted":{"type":"boolean"},"id":{"type":"string"},"previousVersion":{"format":"int64","type":"integer"}},"required":["id","deleted","previousVersion"],"type":"object"},"UserOutput_delete_brief":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_delete_brief__Deleted"},"name":{"const":"delete_brief","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_delete_brief__Deleted":{"properties":{"deleted":{"type":"boolean"},"id":{"type":"string"},"previousVersion":{"format":"int64","type":"integer"}},"required":["id","deleted","previousVersion"],"type":"object"},"UserOutput_delete_profile":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_delete_profile__Deleted"},"name":{"const":"delete_profile","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_delete_profile__Deleted":{"properties":{"deleted":{"type":"boolean"},"id":{"type":"string"},"previousVersion":{"format":"int64","type":"integer"}},"required":["id","deleted","previousVersion"],"type":"object"},"UserOutput_delete_saved_search":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_delete_saved_search__Deleted"},"name":{"const":"delete_saved_search","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_delete_saved_search__Deleted":{"properties":{"deleted":{"type":"boolean"},"id":{"type":"string"},"previousVersion":{"format":"int64","type":"integer"}},"required":["id","deleted","previousVersion"],"type":"object"},"UserOutput_delete_watch":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_delete_watch__Deleted"},"name":{"const":"delete_watch","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_delete_watch__Deleted":{"properties":{"deleted":{"type":"boolean"},"id":{"type":"string"},"previousVersion":{"format":"int64","type":"integer"}},"required":["id","deleted","previousVersion"],"type":"object"},"UserOutput_describe_credential":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_describe_credential__CredentialView"},"name":{"const":"describe_credential","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_describe_credential__CredentialView":{"properties":{"credentialId":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"principalId":{"type":"string"},"scopes":{"items":{"$ref":"#/components/schemas/UserOutput_describe_credential__Scope"},"type":"array"}},"required":["principalId","credentialId","scopes","expiresAt"],"type":"object"},"UserOutput_describe_credential__Scope":{"enum":["workflows:read","workflows:write","watches:read","watches:write","briefs:read","briefs:write","profiles:read","profiles:write","searches:read","searches:write","ingestion:read","ingestion:write","alerts:read","alerts:write"],"type":"string"},"UserOutput_execute_supplier_model_attempt":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_execute_supplier_model_attempt__Execution"},"name":{"const":"execute_supplier_model_attempt","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_execute_supplier_model_attempt__Citation":{"additionalProperties":false,"properties":{"endByte":{"format":"uint","minimum":0,"type":"integer"},"field":{"type":"string"},"quote":{"type":"string"},"ruleId":{"type":"string"},"startByte":{"format":"uint","minimum":0,"type":"integer"}},"required":["field","ruleId","startByte","endByte","quote"],"type":"object"},"UserOutput_execute_supplier_model_attempt__Execution":{"properties":{"attempt":{"$ref":"#/components/schemas/UserOutput_execute_supplier_model_attempt__Header"},"result":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_execute_supplier_model_attempt__Output"},{"type":"null"}]}},"required":["attempt"],"type":"object"},"UserOutput_execute_supplier_model_attempt__Header":{"properties":{"budgetDay":{"format":"date","type":"string"},"completedAt":{"format":"date-time","type":["string","null"]},"createdAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"inputHash":{"type":"string"},"model":{"type":"string"},"outcomeUnknown":{"description":"True for a spent fence without a stored result after its execution window.","type":"boolean"},"ownerId":{"type":"string"},"providerConfigHash":{"type":"string"},"recordVersion":{"format":"int64","type":"integer"},"reservedCostUsd":{"format":"double","type":"number"},"startedAt":{"format":"date-time","type":["string","null"]},"state":{"type":"string"}},"required":["id","ownerId","state","recordVersion","inputHash","providerConfigHash","model","budgetDay","reservedCostUsd","createdAt","outcomeUnknown"],"type":"object"},"UserOutput_execute_supplier_model_attempt__Output":{"additionalProperties":false,"properties":{"inference":{"$ref":"#/components/schemas/UserOutput_execute_supplier_model_attempt__Report"},"proposal":{"$ref":"#/components/schemas/UserOutput_execute_supplier_model_attempt__Proposal"}},"required":["proposal","inference"],"type":"object"},"UserOutput_execute_supplier_model_attempt__ProfileDraft":{"additionalProperties":false,"properties":{"assertions":{"additionalProperties":true,"default":{},"type":"object"},"exclusions":{"default":[],"items":{"type":"string"},"type":"array"},"keywords":{"default":[],"items":{"type":"string"},"type":"array"},"minimumDaysToDeadline":{"format":"uint32","minimum":0,"type":["integer","null"]},"naicsPrefixes":{"default":[],"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"narrative":{"type":["string","null"]},"noticeTypes":{"default":[],"items":{"type":"string"},"type":"array"},"setAsides":{"default":[],"items":{"type":"string"},"type":"array"},"states":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["name"],"type":"object"},"UserOutput_execute_supplier_model_attempt__Proposal":{"additionalProperties":false,"properties":{"attestation":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_execute_supplier_model_attempt__RetrievalAttestation"},{"type":"null"}],"description":"Present for server-retrieved website text when the operator configured an attestation key."},"citations":{"items":{"$ref":"#/components/schemas/UserOutput_execute_supplier_model_attempt__Citation"},"type":"array"},"draft":{"$ref":"#/components/schemas/UserOutput_execute_supplier_model_attempt__ProfileDraft"},"observedAt":{"format":"date-time","type":"string"},"requiresReview":{"type":"boolean"},"sourceSha256":{"type":["string","null"]},"sourceText":{"type":"string"},"sourceUrl":{"type":["string","null"]},"textSha256":{"type":"string"},"version":{"type":"string"},"warnings":{"items":{"type":"string"},"type":"array"}},"required":["version","requiresReview","draft","sourceText","textSha256","observedAt","citations","warnings"],"type":"object"},"UserOutput_execute_supplier_model_attempt__Report":{"additionalProperties":false,"properties":{"configuredModel":{"type":"string"},"inputBlocks":{"format":"uint","minimum":0,"type":"integer"},"promptHash":{"type":"string"},"providerAttempts":{"format":"uint32","minimum":0,"type":"integer"},"reservedCostUsd":{"format":"double","type":["number","null"]},"selectedBlocks":{"format":"uint","minimum":0,"type":"integer"},"status":{"type":"string"},"version":{"type":"string"}},"required":["version","status","configuredModel","promptHash","providerAttempts","inputBlocks","selectedBlocks"],"type":"object"},"UserOutput_execute_supplier_model_attempt__RetrievalAttestation":{"additionalProperties":false,"description":"Server-signed statement that Rust retrieved these pages and derived exactly this text.","properties":{"pages":{"items":{"$ref":"#/components/schemas/UserOutput_execute_supplier_model_attempt__RetrievedPage"},"type":"array"},"retrievedAt":{"format":"date-time","type":"string"},"signature":{"description":"Hex HMAC-SHA256 under the operator attestation key; opaque to callers.","type":"string"},"textSha256":{"type":"string"},"version":{"type":"string"}},"required":["version","pages","textSha256","retrievedAt","signature"],"type":"object"},"UserOutput_execute_supplier_model_attempt__RetrievedPage":{"additionalProperties":false,"properties":{"sha256":{"description":"SHA-256 of the downloaded bytes.","type":"string"},"url":{"type":"string"}},"required":["url","sha256"],"type":"object"},"UserOutput_execute_workflow_run":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_execute_workflow_run__Run"},"name":{"const":"execute_workflow_run","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_execute_workflow_run__Run":{"properties":{"completedAt":{"format":"date-time","type":["string","null"]},"createdAt":{"format":"date-time","type":"string"},"elapsedMilliseconds":{"format":"int64","type":"integer"},"id":{"type":"string"},"nextStep":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_execute_workflow_run__Step"},{"type":"null"}]},"ownerId":{"type":"string"},"planExecutable":{"type":"boolean"},"planHash":{"type":"string"},"recordVersion":{"format":"int64","type":"integer"},"state":{"$ref":"#/components/schemas/UserOutput_execute_workflow_run__State"},"toolCalls":{"format":"int32","type":"integer"},"toolOutputBytes":{"format":"int64","type":"integer"},"updatedAt":{"format":"date-time","type":"string"},"workflowVersion":{"type":"string"}},"required":["id","ownerId","workflowVersion","state","recordVersion","planHash","planExecutable","toolCalls","toolOutputBytes","elapsedMilliseconds","createdAt","updatedAt"],"type":"object"},"UserOutput_execute_workflow_run__State":{"enum":["queued","running","cancelled","completed","needsInput","partial"],"type":"string"},"UserOutput_execute_workflow_run__Step":{"enum":["plan","retrieve","inspect","reason","summarize","report"],"type":"string"},"UserOutput_extract_supplier_text":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_extract_supplier_text__Proposal"},"name":{"const":"extract_supplier_text","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_extract_supplier_text__Citation":{"additionalProperties":false,"properties":{"endByte":{"format":"uint","minimum":0,"type":"integer"},"field":{"type":"string"},"quote":{"type":"string"},"ruleId":{"type":"string"},"startByte":{"format":"uint","minimum":0,"type":"integer"}},"required":["field","ruleId","startByte","endByte","quote"],"type":"object"},"UserOutput_extract_supplier_text__ProfileDraft":{"additionalProperties":false,"properties":{"assertions":{"additionalProperties":true,"default":{},"type":"object"},"exclusions":{"default":[],"items":{"type":"string"},"type":"array"},"keywords":{"default":[],"items":{"type":"string"},"type":"array"},"minimumDaysToDeadline":{"format":"uint32","minimum":0,"type":["integer","null"]},"naicsPrefixes":{"default":[],"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"narrative":{"type":["string","null"]},"noticeTypes":{"default":[],"items":{"type":"string"},"type":"array"},"setAsides":{"default":[],"items":{"type":"string"},"type":"array"},"states":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["name"],"type":"object"},"UserOutput_extract_supplier_text__Proposal":{"additionalProperties":false,"properties":{"attestation":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_extract_supplier_text__RetrievalAttestation"},{"type":"null"}],"description":"Present for server-retrieved website text when the operator configured an attestation key."},"citations":{"items":{"$ref":"#/components/schemas/UserOutput_extract_supplier_text__Citation"},"type":"array"},"draft":{"$ref":"#/components/schemas/UserOutput_extract_supplier_text__ProfileDraft"},"observedAt":{"format":"date-time","type":"string"},"requiresReview":{"type":"boolean"},"sourceSha256":{"type":["string","null"]},"sourceText":{"type":"string"},"sourceUrl":{"type":["string","null"]},"textSha256":{"type":"string"},"version":{"type":"string"},"warnings":{"items":{"type":"string"},"type":"array"}},"required":["version","requiresReview","draft","sourceText","textSha256","observedAt","citations","warnings"],"type":"object"},"UserOutput_extract_supplier_text__RetrievalAttestation":{"additionalProperties":false,"description":"Server-signed statement that Rust retrieved these pages and derived exactly this text.","properties":{"pages":{"items":{"$ref":"#/components/schemas/UserOutput_extract_supplier_text__RetrievedPage"},"type":"array"},"retrievedAt":{"format":"date-time","type":"string"},"signature":{"description":"Hex HMAC-SHA256 under the operator attestation key; opaque to callers.","type":"string"},"textSha256":{"type":"string"},"version":{"type":"string"}},"required":["version","pages","textSha256","retrievedAt","signature"],"type":"object"},"UserOutput_extract_supplier_text__RetrievedPage":{"additionalProperties":false,"properties":{"sha256":{"description":"SHA-256 of the downloaded bytes.","type":"string"},"url":{"type":"string"}},"required":["url","sha256"],"type":"object"},"UserOutput_extract_supplier_website":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_extract_supplier_website__Proposal"},"name":{"const":"extract_supplier_website","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_extract_supplier_website__Citation":{"additionalProperties":false,"properties":{"endByte":{"format":"uint","minimum":0,"type":"integer"},"field":{"type":"string"},"quote":{"type":"string"},"ruleId":{"type":"string"},"startByte":{"format":"uint","minimum":0,"type":"integer"}},"required":["field","ruleId","startByte","endByte","quote"],"type":"object"},"UserOutput_extract_supplier_website__ProfileDraft":{"additionalProperties":false,"properties":{"assertions":{"additionalProperties":true,"default":{},"type":"object"},"exclusions":{"default":[],"items":{"type":"string"},"type":"array"},"keywords":{"default":[],"items":{"type":"string"},"type":"array"},"minimumDaysToDeadline":{"format":"uint32","minimum":0,"type":["integer","null"]},"naicsPrefixes":{"default":[],"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"narrative":{"type":["string","null"]},"noticeTypes":{"default":[],"items":{"type":"string"},"type":"array"},"setAsides":{"default":[],"items":{"type":"string"},"type":"array"},"states":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["name"],"type":"object"},"UserOutput_extract_supplier_website__Proposal":{"additionalProperties":false,"properties":{"attestation":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_extract_supplier_website__RetrievalAttestation"},{"type":"null"}],"description":"Present for server-retrieved website text when the operator configured an attestation key."},"citations":{"items":{"$ref":"#/components/schemas/UserOutput_extract_supplier_website__Citation"},"type":"array"},"draft":{"$ref":"#/components/schemas/UserOutput_extract_supplier_website__ProfileDraft"},"observedAt":{"format":"date-time","type":"string"},"requiresReview":{"type":"boolean"},"sourceSha256":{"type":["string","null"]},"sourceText":{"type":"string"},"sourceUrl":{"type":["string","null"]},"textSha256":{"type":"string"},"version":{"type":"string"},"warnings":{"items":{"type":"string"},"type":"array"}},"required":["version","requiresReview","draft","sourceText","textSha256","observedAt","citations","warnings"],"type":"object"},"UserOutput_extract_supplier_website__RetrievalAttestation":{"additionalProperties":false,"description":"Server-signed statement that Rust retrieved these pages and derived exactly this text.","properties":{"pages":{"items":{"$ref":"#/components/schemas/UserOutput_extract_supplier_website__RetrievedPage"},"type":"array"},"retrievedAt":{"format":"date-time","type":"string"},"signature":{"description":"Hex HMAC-SHA256 under the operator attestation key; opaque to callers.","type":"string"},"textSha256":{"type":"string"},"version":{"type":"string"}},"required":["version","pages","textSha256","retrievedAt","signature"],"type":"object"},"UserOutput_extract_supplier_website__RetrievedPage":{"additionalProperties":false,"properties":{"sha256":{"description":"SHA-256 of the downloaded bytes.","type":"string"},"url":{"type":"string"}},"required":["url","sha256"],"type":"object"},"UserOutput_get_agent_run":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_get_agent_run__Detail"},"name":{"const":"get_agent_run","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_get_agent_run__Citation":{"properties":{"evidenceId":{"type":"string"},"noticeId":{"type":"string"},"quote":{"type":"string"},"revisionId":{"type":"string"},"sourceUrl":{"type":"string"}},"required":["evidenceId","noticeId","revisionId","sourceUrl","quote"],"type":"object"},"UserOutput_get_agent_run__Detail":{"properties":{"outcome":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_get_agent_run__Outcome"},{"type":"null"}]},"run":{"$ref":"#/components/schemas/UserOutput_get_agent_run__Header"},"steps":{"items":{"$ref":"#/components/schemas/UserOutput_get_agent_run__StepSummary"},"type":"array"},"task":{"$ref":"#/components/schemas/UserOutput_get_agent_run__Task"}},"required":["run","task","steps"],"type":"object"},"UserOutput_get_agent_run__Header":{"properties":{"budgetDay":{"format":"date","type":"string"},"completedAt":{"format":"date-time","type":["string","null"]},"createdAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"maxSteps":{"format":"int32","type":"integer"},"model":{"type":"string"},"nextAction":{"description":"\"advance\" when another step may be committed; null when terminal.","type":["string","null"]},"ownerId":{"type":"string"},"providerConfigHash":{"type":"string"},"recordVersion":{"format":"int64","type":"integer"},"reservedCostUsd":{"format":"double","type":"number"},"state":{"description":"queued, running, completed or partial.","type":"string"},"stepsStarted":{"format":"int32","type":"integer"},"taskHash":{"type":"string"},"updatedAt":{"format":"date-time","type":"string"},"workflowVersion":{"type":"string"}},"required":["id","ownerId","workflowVersion","state","recordVersion","taskHash","providerConfigHash","model","budgetDay","reservedCostUsd","maxSteps","stepsStarted","createdAt","updatedAt"],"type":"object"},"UserOutput_get_agent_run__Outcome":{"properties":{"answer":{"description":"Model-generated synthesis; only citations are verified as exact source substrings.","type":["string","null"]},"citations":{"items":{"$ref":"#/components/schemas/UserOutput_get_agent_run__Citation"},"type":"array"},"issues":{"items":{"type":"string"},"type":"array"},"noticeIds":{"items":{"type":"string"},"type":"array"},"providerSteps":{"format":"uint32","minimum":0,"type":"integer"},"status":{"description":"grounded (answer published), withheld (citations failed) or incomplete.","type":"string"},"toolCalls":{"format":"uint32","minimum":0,"type":"integer"},"version":{"type":"string"}},"required":["version","status","citations","noticeIds","issues","providerSteps","toolCalls"],"type":"object"},"UserOutput_get_agent_run__StepSummary":{"properties":{"arguments":true,"completedAt":{"format":"date-time","type":["string","null"]},"issue":{"type":["string","null"]},"observationBytes":{"format":"uint","minimum":0,"type":["integer","null"]},"observationHash":{"type":["string","null"]},"ordinal":{"format":"int32","type":"integer"},"outcomeUnknown":{"description":"True for a spent fence without a stored result after its execution window.","type":"boolean"},"startedAt":{"format":"date-time","type":"string"},"state":{"description":"reserved, completed or interrupted. Interrupted steps remain spent and never reissue.","type":"string"},"status":{"type":["string","null"]},"tool":{"type":["string","null"]}},"required":["ordinal","state","startedAt","outcomeUnknown"],"type":"object"},"UserOutput_get_agent_run__Task":{"additionalProperties":false,"properties":{"maxSteps":{"default":4,"description":"Planning steps, 1–6. Each step is one provider call and at most one public read tool call.","format":"uint32","maximum":6,"minimum":1,"type":"integer"},"question":{"description":"Question for the planner, 1–2000 UTF-8 bytes. Untrusted; grants no privileges.","type":"string"},"sendToModel":{"description":"Must be true. Authorizes sending the question and public source tool results to the operator-configured provider.","type":"boolean"}},"required":["question","sendToModel"],"type":"object"},"UserOutput_get_agent_run_step":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_get_agent_run_step__StepDetail"},"name":{"const":"get_agent_run_step","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_get_agent_run_step__Action":{"additionalProperties":false,"description":"Model output contract. Rust rejects unsupported combinations instead of repairing them.","properties":{"action":{"type":"string"},"answer":{"type":["string","null"]},"citations":{"default":[],"items":{"$ref":"#/components/schemas/UserOutput_get_agent_run_step__ProposedCitation"},"type":"array"},"evidenceId":{"type":["string","null"]},"noticeId":{"type":["string","null"]},"noticeIds":{"default":[],"items":{"type":"string"},"type":"array"},"query":{"type":["string","null"]},"tool":{"type":["string","null"]}},"required":["action"],"type":"object"},"UserOutput_get_agent_run_step__ErrorCode":{"enum":["invalidInput","notFound","resultTooLarge","upstreamUnavailable","timeLimit"],"type":"string"},"UserOutput_get_agent_run_step__ProposedCitation":{"additionalProperties":false,"properties":{"evidenceId":{"type":"string"},"quote":{"type":"string"}},"required":["evidenceId","quote"],"type":"object"},"UserOutput_get_agent_run_step__StepDetail":{"properties":{"completedAt":{"format":"date-time","type":["string","null"]},"ordinal":{"format":"int32","type":"integer"},"record":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_get_agent_run_step__StepRecord"},{"type":"null"}]},"requestHash":{"type":"string"},"runId":{"type":"string"},"startedAt":{"format":"date-time","type":"string"},"state":{"type":"string"}},"required":["runId","ordinal","state","startedAt","requestHash"],"type":"object"},"UserOutput_get_agent_run_step__StepRecord":{"properties":{"action":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_get_agent_run_step__Action"},{"type":"null"}]},"arguments":true,"completionTokens":{"format":"uint64","minimum":0,"type":["integer","null"]},"elapsedMilliseconds":{"format":"uint64","minimum":0,"type":"integer"},"error":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_get_agent_run_step__ToolError"},{"type":"null"}]},"issue":{"type":["string","null"]},"observation":{"description":"Full accepted public tool data, at most 64 KiB."},"observationBytes":{"format":"uint","minimum":0,"type":["integer","null"]},"observationHash":{"type":["string","null"]},"promptTokens":{"format":"uint64","minimum":0,"type":["integer","null"]},"status":{"description":"toolCalled, toolFailed, finished, rejected or providerFailed.","type":"string"},"tool":{"type":["string","null"]}},"required":["status","elapsedMilliseconds"],"type":"object"},"UserOutput_get_agent_run_step__ToolError":{"properties":{"code":{"$ref":"#/components/schemas/UserOutput_get_agent_run_step__ErrorCode"},"message":{"type":"string"},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"type":"object"},"UserOutput_get_alert":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_get_alert__Alert"},"name":{"const":"get_alert","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_get_alert__Alert":{"properties":{"checkpointAt":{"description":"Revisions observed after this time are evaluated next.","format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"},"dead":{"format":"int64","type":"integer"},"delivered":{"format":"int64","type":"integer"},"enabled":{"type":"boolean"},"id":{"type":"string"},"nextEvaluationAt":{"format":"date-time","type":"string"},"ownerId":{"type":"string"},"pendingDeliveries":{"format":"int64","type":"integer"},"recordVersion":{"format":"int64","type":"integer"},"savedSearchId":{"type":"string"},"updatedAt":{"format":"date-time","type":"string"},"webhookUrl":{"type":"string"}},"required":["id","ownerId","savedSearchId","webhookUrl","enabled","recordVersion","checkpointAt","nextEvaluationAt","createdAt","updatedAt","pendingDeliveries","delivered","dead"],"type":"object"},"UserOutput_get_alert_signing_secret":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_get_alert_signing_secret__SigningSecret"},"name":{"const":"get_alert_signing_secret","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_get_alert_signing_secret__SigningSecret":{"properties":{"alertId":{"type":"string"},"algorithm":{"type":"string"},"signatureHeader":{"type":"string"},"signedContent":{"type":"string"},"signingSecret":{"type":"string"}},"required":["alertId","signingSecret","algorithm","signatureHeader","signedContent"],"type":"object"},"UserOutput_get_brief":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_get_brief__Brief"},"name":{"const":"get_brief","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_get_brief__Brief":{"properties":{"comparison":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_get_brief__Comparison"},{"type":"null"}]},"header":{"$ref":"#/components/schemas/UserOutput_get_brief__BriefHeader"},"items":{"items":{"$ref":"#/components/schemas/UserOutput_get_brief__BriefItem"},"type":"array"}},"required":["header","items"],"type":"object"},"UserOutput_get_brief__BriefHeader":{"properties":{"createdAt":{"format":"date-time","type":"string"},"definitionVersion":{"type":"string"},"id":{"type":"string"},"ownerId":{"type":"string"},"recordVersion":{"format":"int64","type":"integer"},"title":{"type":"string"}},"required":["id","ownerId","title","definitionVersion","recordVersion","createdAt"],"type":"object"},"UserOutput_get_brief__BriefItem":{"properties":{"contentHash":{"type":"string"},"facts":{"items":{"$ref":"#/components/schemas/UserOutput_get_brief__Fact"},"type":"array"},"noticeId":{"type":"string"},"observedAt":{"format":"date-time","type":"string"},"opportunityId":{"type":"string"},"revisionId":{"type":"string"},"sourceUrl":{"type":"string"}},"required":["noticeId","opportunityId","revisionId","contentHash","sourceUrl","observedAt","facts"],"type":"object"},"UserOutput_get_brief__Cell":{"properties":{"fact":{"$ref":"#/components/schemas/UserOutput_get_brief__Fact"},"noticeId":{"type":"string"},"revisionId":{"type":"string"},"sourceUrl":{"type":"string"}},"required":["noticeId","revisionId","sourceUrl","fact"],"type":"object"},"UserOutput_get_brief__Comparison":{"properties":{"elapsedMilliseconds":{"format":"uint64","minimum":0,"type":"integer"},"modelCostUsd":{"format":"uint","minimum":0,"type":"integer"},"modelTokens":{"format":"uint","minimum":0,"type":"integer"},"rows":{"items":{"$ref":"#/components/schemas/UserOutput_get_brief__ComparisonRow"},"type":"array"},"sourceOutputBytes":{"format":"uint","minimum":0,"type":"integer"},"sourceReadStatements":{"format":"uint","minimum":0,"type":"integer"},"stages":{"items":{"$ref":"#/components/schemas/UserOutput_get_brief__Stage"},"type":"array"},"summary":{"$ref":"#/components/schemas/UserOutput_get_brief__ComparisonSummary"},"trace":{"items":{"$ref":"#/components/schemas/UserOutput_get_brief__OperationTrace"},"type":"array"},"workflowVersion":{"type":"string"}},"required":["workflowVersion","stages","rows","summary","trace","sourceReadStatements","sourceOutputBytes","elapsedMilliseconds","modelTokens","modelCostUsd"],"type":"object"},"UserOutput_get_brief__ComparisonRow":{"properties":{"cells":{"items":{"$ref":"#/components/schemas/UserOutput_get_brief__Cell"},"type":"array"},"complete":{"type":"boolean"},"knownValueRelation":{"$ref":"#/components/schemas/UserOutput_get_brief__Relation"},"predicate":{"type":"string"}},"required":["predicate","knownValueRelation","complete","cells"],"type":"object"},"UserOutput_get_brief__ComparisonSummary":{"properties":{"fieldsCompared":{"format":"uint","minimum":0,"type":"integer"},"fieldsWithKnownDifferences":{"format":"uint","minimum":0,"type":"integer"},"fieldsWithUnknowns":{"format":"uint","minimum":0,"type":"integer"},"scope":{"type":"string"},"sourceCount":{"format":"uint","minimum":0,"type":"integer"}},"required":["sourceCount","fieldsCompared","fieldsWithKnownDifferences","fieldsWithUnknowns","scope"],"type":"object"},"UserOutput_get_brief__Fact":{"additionalProperties":false,"properties":{"predicate":{"type":"string"},"sourcePointer":{"type":["string","null"]},"state":{"$ref":"#/components/schemas/UserOutput_get_brief__FactState"},"value":true},"required":["predicate","state","value"],"type":"object"},"UserOutput_get_brief__FactState":{"enum":["known","unknown","absent","conditional","conflicting"],"type":"string"},"UserOutput_get_brief__Operation":{"enum":["captureSourceSnapshots","validateSourceMetadata","compareKnownMetadata"],"type":"string"},"UserOutput_get_brief__OperationTrace":{"properties":{"elapsedMilliseconds":{"format":"uint64","minimum":0,"type":"integer"},"operation":{"$ref":"#/components/schemas/UserOutput_get_brief__Operation"},"outputBytes":{"format":"uint","minimum":0,"type":"integer"},"outputHash":{"type":"string"},"step":{"$ref":"#/components/schemas/UserOutput_get_brief__Step"}},"required":["step","operation","elapsedMilliseconds","outputBytes","outputHash"],"type":"object"},"UserOutput_get_brief__Relation":{"enum":["same","different","insufficientKnownValues"],"type":"string"},"UserOutput_get_brief__Stage":{"properties":{"completed":{"type":"boolean"},"detail":{"type":"string"},"step":{"$ref":"#/components/schemas/UserOutput_get_brief__Step"}},"required":["step","completed","detail"],"type":"object"},"UserOutput_get_brief__Step":{"enum":["plan","retrieve","inspect","reason","summarize","report"],"type":"string"},"UserOutput_get_ingestion_job":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_get_ingestion_job__InspectionResult"},"name":{"const":"get_ingestion_job","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_get_ingestion_job__Checkpoint":{"properties":{"completed":{"type":"boolean"},"fetched":{"format":"int64","type":"integer"},"nextPage":{"format":"int32","type":"integer"},"reportedTotal":{"format":"int64","type":["integer","null"]}},"required":["nextPage","fetched","completed"],"type":"object"},"UserOutput_get_ingestion_job__Event":{"properties":{"eventType":{"type":"string"},"id":{"format":"int64","type":"integer"},"occurredAt":{"format":"date-time","type":"string"}},"required":["id","eventType","occurredAt"],"type":"object"},"UserOutput_get_ingestion_job__InspectionResult":{"properties":{"checkpoint":{"$ref":"#/components/schemas/UserOutput_get_ingestion_job__Checkpoint"},"events":{"items":{"$ref":"#/components/schemas/UserOutput_get_ingestion_job__Event"},"type":"array"},"job":{"$ref":"#/components/schemas/UserOutput_get_ingestion_job__JobView"},"nextAfterEventId":{"format":"int64","type":["integer","null"]}},"required":["job","checkpoint","events"],"type":"object"},"UserOutput_get_ingestion_job__JobView":{"properties":{"attempt":{"format":"int32","type":"integer"},"cancellationRequested":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"maxAttempts":{"format":"int32","type":"integer"},"ownerId":{"type":"string"},"state":{"type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","ownerId","state","cancellationRequested","attempt","maxAttempts","createdAt","updatedAt"],"type":"object"},"UserOutput_get_profile":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_get_profile__ProfileRecord"},"name":{"const":"get_profile","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_get_profile__Profile":{"additionalProperties":false,"properties":{"assertions":{"additionalProperties":true,"description":"User assertions are not verified certifications.","type":"object"},"createdAt":{"format":"date-time","type":"string"},"exclusions":{"items":{"type":"string"},"type":"array"},"id":{"type":"string"},"keywords":{"items":{"type":"string"},"type":"array"},"minimumDaysToDeadline":{"format":"uint32","minimum":0,"type":["integer","null"]},"naicsPrefixes":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"narrative":{"type":["string","null"]},"noticeTypes":{"items":{"type":"string"},"type":"array"},"ownerId":{"type":"string"},"setAsides":{"items":{"type":"string"},"type":"array"},"states":{"items":{"type":"string"},"type":"array"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","ownerId","name","keywords","exclusions","naicsPrefixes","setAsides","states","noticeTypes","assertions","createdAt","updatedAt"],"type":"object"},"UserOutput_get_profile__ProfileRecord":{"properties":{"profile":{"$ref":"#/components/schemas/UserOutput_get_profile__Profile"},"recordVersion":{"format":"int64","type":"integer"},"sourceProvenance":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_get_profile__ProvenanceSummary"},{"type":"null"}]}},"required":["profile","recordVersion"],"type":"object"},"UserOutput_get_profile__ProvenanceSummary":{"additionalProperties":false,"properties":{"attribution":{"description":"callerSubmitted, or serverRetrievalAttested when a valid retrieval attestation matched.","type":"string"},"extractionVersion":{"type":"string"},"profileVersion":{"format":"int64","type":"integer"},"retainedAt":{"format":"date-time","type":"string"},"retrievedAt":{"format":"date-time","type":["string","null"]},"retrievedPages":{"items":{"$ref":"#/components/schemas/UserOutput_get_profile__RetrievedPage"},"type":"array"},"sourceRetrievalVerified":{"description":"True only for a verified attestation: Rust retrieved the pages and derived this text.\nIt never verifies supplier qualifications.","type":"boolean"},"textSha256":{"type":"string"},"version":{"type":"string"}},"required":["version","extractionVersion","profileVersion","retainedAt","textSha256","attribution","sourceRetrievalVerified"],"type":"object"},"UserOutput_get_profile__RetrievedPage":{"additionalProperties":false,"properties":{"sha256":{"description":"SHA-256 of the downloaded bytes.","type":"string"},"url":{"type":"string"}},"required":["url","sha256"],"type":"object"},"UserOutput_get_profile_provenance":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_get_profile_provenance__Provenance"},"name":{"const":"get_profile_provenance","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_get_profile_provenance__Citation":{"additionalProperties":false,"properties":{"endByte":{"format":"uint","minimum":0,"type":"integer"},"field":{"type":"string"},"quote":{"type":"string"},"ruleId":{"type":"string"},"startByte":{"format":"uint","minimum":0,"type":"integer"}},"required":["field","ruleId","startByte","endByte","quote"],"type":"object"},"UserOutput_get_profile_provenance__ProfileDraft":{"additionalProperties":false,"properties":{"assertions":{"additionalProperties":true,"default":{},"type":"object"},"exclusions":{"default":[],"items":{"type":"string"},"type":"array"},"keywords":{"default":[],"items":{"type":"string"},"type":"array"},"minimumDaysToDeadline":{"format":"uint32","minimum":0,"type":["integer","null"]},"naicsPrefixes":{"default":[],"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"narrative":{"type":["string","null"]},"noticeTypes":{"default":[],"items":{"type":"string"},"type":"array"},"setAsides":{"default":[],"items":{"type":"string"},"type":"array"},"states":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["name"],"type":"object"},"UserOutput_get_profile_provenance__Provenance":{"additionalProperties":false,"properties":{"citations":{"items":{"$ref":"#/components/schemas/UserOutput_get_profile_provenance__Citation"},"type":"array"},"extractedDraft":{"$ref":"#/components/schemas/UserOutput_get_profile_provenance__ProfileDraft"},"source":{"$ref":"#/components/schemas/UserOutput_get_profile_provenance__SourceInput"},"summary":{"$ref":"#/components/schemas/UserOutput_get_profile_provenance__ProvenanceSummary"}},"required":["summary","source","extractedDraft","citations"],"type":"object"},"UserOutput_get_profile_provenance__ProvenanceSummary":{"additionalProperties":false,"properties":{"attribution":{"description":"callerSubmitted, or serverRetrievalAttested when a valid retrieval attestation matched.","type":"string"},"extractionVersion":{"type":"string"},"profileVersion":{"format":"int64","type":"integer"},"retainedAt":{"format":"date-time","type":"string"},"retrievedAt":{"format":"date-time","type":["string","null"]},"retrievedPages":{"items":{"$ref":"#/components/schemas/UserOutput_get_profile_provenance__RetrievedPage"},"type":"array"},"sourceRetrievalVerified":{"description":"True only for a verified attestation: Rust retrieved the pages and derived this text.\nIt never verifies supplier qualifications.","type":"boolean"},"textSha256":{"type":"string"},"version":{"type":"string"}},"required":["version","extractionVersion","profileVersion","retainedAt","textSha256","attribution","sourceRetrievalVerified"],"type":"object"},"UserOutput_get_profile_provenance__RetrievalAttestation":{"additionalProperties":false,"description":"Server-signed statement that Rust retrieved these pages and derived exactly this text.","properties":{"pages":{"items":{"$ref":"#/components/schemas/UserOutput_get_profile_provenance__RetrievedPage"},"type":"array"},"retrievedAt":{"format":"date-time","type":"string"},"signature":{"description":"Hex HMAC-SHA256 under the operator attestation key; opaque to callers.","type":"string"},"textSha256":{"type":"string"},"version":{"type":"string"}},"required":["version","pages","textSha256","retrievedAt","signature"],"type":"object"},"UserOutput_get_profile_provenance__RetrievedPage":{"additionalProperties":false,"properties":{"sha256":{"description":"SHA-256 of the downloaded bytes.","type":"string"},"url":{"type":"string"}},"required":["url","sha256"],"type":"object"},"UserOutput_get_profile_provenance__SourceInput":{"additionalProperties":false,"description":"Caller-submitted source retained only by an explicit profile creation.","properties":{"attestation":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_get_profile_provenance__RetrievalAttestation"},{"type":"null"}],"description":"Optional retrieval attestation from extract_supplier_website for exactly this text."},"draftName":{"type":"string"},"maxKeywords":{"default":12,"format":"uint","maximum":20,"minimum":1,"type":"integer"},"reportedObservedAt":{"format":"date-time","type":["string","null"]},"sourceSha256":{"description":"Caller-reported downloaded-byte SHA-256, never verified by this save operation.","type":["string","null"]},"sourceUrl":{"description":"Optional caller-attributed website URL; saving never retrieves this URL.","type":["string","null"]},"text":{"description":"At most 32768 UTF-8 bytes. Rust regenerates literal citations from this text.","type":"string"}},"required":["text","draftName"],"type":"object"},"UserOutput_get_profile_source":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_get_profile_source__SourceDetail"},"name":{"const":"get_profile_source","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_get_profile_source__Citation":{"additionalProperties":false,"properties":{"endByte":{"format":"uint","minimum":0,"type":"integer"},"field":{"type":"string"},"quote":{"type":"string"},"ruleId":{"type":"string"},"startByte":{"format":"uint","minimum":0,"type":"integer"}},"required":["field","ruleId","startByte","endByte","quote"],"type":"object"},"UserOutput_get_profile_source__ProfileDraft":{"additionalProperties":false,"properties":{"assertions":{"additionalProperties":true,"default":{},"type":"object"},"exclusions":{"default":[],"items":{"type":"string"},"type":"array"},"keywords":{"default":[],"items":{"type":"string"},"type":"array"},"minimumDaysToDeadline":{"format":"uint32","minimum":0,"type":["integer","null"]},"naicsPrefixes":{"default":[],"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"narrative":{"type":["string","null"]},"noticeTypes":{"default":[],"items":{"type":"string"},"type":"array"},"setAsides":{"default":[],"items":{"type":"string"},"type":"array"},"states":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["name"],"type":"object"},"UserOutput_get_profile_source__Provenance":{"additionalProperties":false,"properties":{"citations":{"items":{"$ref":"#/components/schemas/UserOutput_get_profile_source__Citation"},"type":"array"},"extractedDraft":{"$ref":"#/components/schemas/UserOutput_get_profile_source__ProfileDraft"},"source":{"$ref":"#/components/schemas/UserOutput_get_profile_source__SourceInput"},"summary":{"$ref":"#/components/schemas/UserOutput_get_profile_source__ProvenanceSummary"}},"required":["summary","source","extractedDraft","citations"],"type":"object"},"UserOutput_get_profile_source__ProvenanceSummary":{"additionalProperties":false,"properties":{"attribution":{"description":"callerSubmitted, or serverRetrievalAttested when a valid retrieval attestation matched.","type":"string"},"extractionVersion":{"type":"string"},"profileVersion":{"format":"int64","type":"integer"},"retainedAt":{"format":"date-time","type":"string"},"retrievedAt":{"format":"date-time","type":["string","null"]},"retrievedPages":{"items":{"$ref":"#/components/schemas/UserOutput_get_profile_source__RetrievedPage"},"type":"array"},"sourceRetrievalVerified":{"description":"True only for a verified attestation: Rust retrieved the pages and derived this text.\nIt never verifies supplier qualifications.","type":"boolean"},"textSha256":{"type":"string"},"version":{"type":"string"}},"required":["version","extractionVersion","profileVersion","retainedAt","textSha256","attribution","sourceRetrievalVerified"],"type":"object"},"UserOutput_get_profile_source__RetrievalAttestation":{"additionalProperties":false,"description":"Server-signed statement that Rust retrieved these pages and derived exactly this text.","properties":{"pages":{"items":{"$ref":"#/components/schemas/UserOutput_get_profile_source__RetrievedPage"},"type":"array"},"retrievedAt":{"format":"date-time","type":"string"},"signature":{"description":"Hex HMAC-SHA256 under the operator attestation key; opaque to callers.","type":"string"},"textSha256":{"type":"string"},"version":{"type":"string"}},"required":["version","pages","textSha256","retrievedAt","signature"],"type":"object"},"UserOutput_get_profile_source__RetrievedPage":{"additionalProperties":false,"properties":{"sha256":{"description":"SHA-256 of the downloaded bytes.","type":"string"},"url":{"type":"string"}},"required":["url","sha256"],"type":"object"},"UserOutput_get_profile_source__SourceDetail":{"properties":{"ordinal":{"format":"int32","type":"integer"},"profileId":{"type":"string"},"provenance":{"$ref":"#/components/schemas/UserOutput_get_profile_source__Provenance"}},"required":["profileId","ordinal","provenance"],"type":"object"},"UserOutput_get_profile_source__SourceInput":{"additionalProperties":false,"description":"Caller-submitted source retained only by an explicit profile creation.","properties":{"attestation":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_get_profile_source__RetrievalAttestation"},{"type":"null"}],"description":"Optional retrieval attestation from extract_supplier_website for exactly this text."},"draftName":{"type":"string"},"maxKeywords":{"default":12,"format":"uint","maximum":20,"minimum":1,"type":"integer"},"reportedObservedAt":{"format":"date-time","type":["string","null"]},"sourceSha256":{"description":"Caller-reported downloaded-byte SHA-256, never verified by this save operation.","type":["string","null"]},"sourceUrl":{"description":"Optional caller-attributed website URL; saving never retrieves this URL.","type":["string","null"]},"text":{"description":"At most 32768 UTF-8 bytes. Rust regenerates literal citations from this text.","type":"string"}},"required":["text","draftName"],"type":"object"},"UserOutput_get_saved_search":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_get_saved_search__SavedSearch"},"name":{"const":"get_saved_search","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_get_saved_search__Filters":{"additionalProperties":false,"properties":{"active":{"default":null,"type":["boolean","null"]},"agencyIds":{"default":[],"items":{"type":"string"},"type":"array"},"countries":{"default":[],"items":{"type":"string"},"type":"array"},"deadlineFrom":{"default":null,"format":"date-time","type":["string","null"]},"deadlineTo":{"default":null,"format":"date-time","type":["string","null"]},"minimumDaysToDeadline":{"default":null,"format":"uint32","minimum":0,"type":["integer","null"]},"naicsPrefixes":{"default":[],"items":{"type":"string"},"type":"array"},"noticeTypes":{"default":[],"items":{"type":"string"},"type":"array"},"postedFrom":{"default":null,"format":"date","type":["string","null"]},"postedTo":{"default":null,"format":"date","type":["string","null"]},"pscCodes":{"default":[],"items":{"type":"string"},"type":"array"},"setAsides":{"default":[],"items":{"type":"string"},"type":"array"},"states":{"default":[],"items":{"type":"string"},"type":"array"}},"type":"object"},"UserOutput_get_saved_search__QueryEmbedding":{"additionalProperties":false,"properties":{"minimumSimilarity":{"default":0.2,"format":"double","type":"number"},"model":{"type":"string"},"spaceId":{"type":"string"},"values":{"items":{"format":"double","type":"number"},"type":"array"}},"required":["spaceId","model","values"],"type":"object"},"UserOutput_get_saved_search__Request":{"additionalProperties":false,"properties":{"asOf":{"format":"date-time","type":["string","null"]},"cursor":{"type":["string","null"]},"exclusions":{"default":[],"items":{"type":"string"},"type":"array"},"filters":{"$ref":"#/components/schemas/UserOutput_get_saved_search__Filters","default":{"active":null,"agencyIds":[],"countries":[],"deadlineFrom":null,"deadlineTo":null,"minimumDaysToDeadline":null,"naicsPrefixes":[],"noticeTypes":[],"postedFrom":null,"postedTo":null,"pscCodes":[],"setAsides":[],"states":[]}},"limit":{"default":25,"format":"uint","minimum":0,"type":"integer"},"q":{"type":["string","null"]},"queryEmbedding":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_get_saved_search__QueryEmbedding"},{"type":"null"}]},"unknownPolicy":{"$ref":"#/components/schemas/UserOutput_get_saved_search__UnknownPolicy","default":"exclude"}},"type":"object"},"UserOutput_get_saved_search__SavedSearch":{"properties":{"createdAt":{"format":"date-time","type":"string"},"definitionVersion":{"type":"string"},"enabled":{"type":"boolean"},"id":{"type":"string"},"name":{"type":"string"},"ownerId":{"type":"string"},"query":{"$ref":"#/components/schemas/UserOutput_get_saved_search__Request"},"recordVersion":{"format":"int64","type":"integer"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","ownerId","name","query","definitionVersion","recordVersion","enabled","createdAt","updatedAt"],"type":"object"},"UserOutput_get_saved_search__UnknownPolicy":{"enum":["exclude","include"],"type":"string"},"UserOutput_get_supplier_model_attempt":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_get_supplier_model_attempt__Detail"},"name":{"const":"get_supplier_model_attempt","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_get_supplier_model_attempt__Citation":{"additionalProperties":false,"properties":{"endByte":{"format":"uint","minimum":0,"type":"integer"},"field":{"type":"string"},"quote":{"type":"string"},"ruleId":{"type":"string"},"startByte":{"format":"uint","minimum":0,"type":"integer"}},"required":["field","ruleId","startByte","endByte","quote"],"type":"object"},"UserOutput_get_supplier_model_attempt__Detail":{"properties":{"attempt":{"$ref":"#/components/schemas/UserOutput_get_supplier_model_attempt__Header"},"input":{"$ref":"#/components/schemas/UserOutput_get_supplier_model_attempt__Input"},"result":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_get_supplier_model_attempt__Output"},{"type":"null"}]}},"required":["attempt","input"],"type":"object"},"UserOutput_get_supplier_model_attempt__Header":{"properties":{"budgetDay":{"format":"date","type":"string"},"completedAt":{"format":"date-time","type":["string","null"]},"createdAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"inputHash":{"type":"string"},"model":{"type":"string"},"outcomeUnknown":{"description":"True for a spent fence without a stored result after its execution window.","type":"boolean"},"ownerId":{"type":"string"},"providerConfigHash":{"type":"string"},"recordVersion":{"format":"int64","type":"integer"},"reservedCostUsd":{"format":"double","type":"number"},"startedAt":{"format":"date-time","type":["string","null"]},"state":{"type":"string"}},"required":["id","ownerId","state","recordVersion","inputHash","providerConfigHash","model","budgetDay","reservedCostUsd","createdAt","outcomeUnknown"],"type":"object"},"UserOutput_get_supplier_model_attempt__Input":{"additionalProperties":false,"properties":{"name":{"type":["string","null"]},"sendToModel":{"description":"Must be true. Explicitly authorize sending this source to the operator-configured model provider.","type":"boolean"},"text":{"description":"Nonempty text, at most 8192 UTF-8 bytes; blocks must fit 2048 bytes, maximum six.","type":"string"}},"required":["text","sendToModel"],"type":"object"},"UserOutput_get_supplier_model_attempt__Output":{"additionalProperties":false,"properties":{"inference":{"$ref":"#/components/schemas/UserOutput_get_supplier_model_attempt__Report"},"proposal":{"$ref":"#/components/schemas/UserOutput_get_supplier_model_attempt__Proposal"}},"required":["proposal","inference"],"type":"object"},"UserOutput_get_supplier_model_attempt__ProfileDraft":{"additionalProperties":false,"properties":{"assertions":{"additionalProperties":true,"default":{},"type":"object"},"exclusions":{"default":[],"items":{"type":"string"},"type":"array"},"keywords":{"default":[],"items":{"type":"string"},"type":"array"},"minimumDaysToDeadline":{"format":"uint32","minimum":0,"type":["integer","null"]},"naicsPrefixes":{"default":[],"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"narrative":{"type":["string","null"]},"noticeTypes":{"default":[],"items":{"type":"string"},"type":"array"},"setAsides":{"default":[],"items":{"type":"string"},"type":"array"},"states":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["name"],"type":"object"},"UserOutput_get_supplier_model_attempt__Proposal":{"additionalProperties":false,"properties":{"attestation":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_get_supplier_model_attempt__RetrievalAttestation"},{"type":"null"}],"description":"Present for server-retrieved website text when the operator configured an attestation key."},"citations":{"items":{"$ref":"#/components/schemas/UserOutput_get_supplier_model_attempt__Citation"},"type":"array"},"draft":{"$ref":"#/components/schemas/UserOutput_get_supplier_model_attempt__ProfileDraft"},"observedAt":{"format":"date-time","type":"string"},"requiresReview":{"type":"boolean"},"sourceSha256":{"type":["string","null"]},"sourceText":{"type":"string"},"sourceUrl":{"type":["string","null"]},"textSha256":{"type":"string"},"version":{"type":"string"},"warnings":{"items":{"type":"string"},"type":"array"}},"required":["version","requiresReview","draft","sourceText","textSha256","observedAt","citations","warnings"],"type":"object"},"UserOutput_get_supplier_model_attempt__Report":{"additionalProperties":false,"properties":{"configuredModel":{"type":"string"},"inputBlocks":{"format":"uint","minimum":0,"type":"integer"},"promptHash":{"type":"string"},"providerAttempts":{"format":"uint32","minimum":0,"type":"integer"},"reservedCostUsd":{"format":"double","type":["number","null"]},"selectedBlocks":{"format":"uint","minimum":0,"type":"integer"},"status":{"type":"string"},"version":{"type":"string"}},"required":["version","status","configuredModel","promptHash","providerAttempts","inputBlocks","selectedBlocks"],"type":"object"},"UserOutput_get_supplier_model_attempt__RetrievalAttestation":{"additionalProperties":false,"description":"Server-signed statement that Rust retrieved these pages and derived exactly this text.","properties":{"pages":{"items":{"$ref":"#/components/schemas/UserOutput_get_supplier_model_attempt__RetrievedPage"},"type":"array"},"retrievedAt":{"format":"date-time","type":"string"},"signature":{"description":"Hex HMAC-SHA256 under the operator attestation key; opaque to callers.","type":"string"},"textSha256":{"type":"string"},"version":{"type":"string"}},"required":["version","pages","textSha256","retrievedAt","signature"],"type":"object"},"UserOutput_get_supplier_model_attempt__RetrievedPage":{"additionalProperties":false,"properties":{"sha256":{"description":"SHA-256 of the downloaded bytes.","type":"string"},"url":{"type":"string"}},"required":["url","sha256"],"type":"object"},"UserOutput_get_watch":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_get_watch__Watch"},"name":{"const":"get_watch","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_get_watch__Watch":{"properties":{"baselineRevisionId":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"currentRevisionId":{"type":"string"},"id":{"type":"string"},"note":{"type":["string","null"]},"noticeId":{"type":"string"},"ownerId":{"type":"string"},"recordVersion":{"format":"int64","type":"integer"},"sourceChanged":{"type":"boolean"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","ownerId","noticeId","baselineRevisionId","currentRevisionId","sourceChanged","recordVersion","createdAt","updatedAt"],"type":"object"},"UserOutput_get_workflow_artifact":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_get_workflow_artifact__ArtifactExcerpt"},"name":{"const":"get_workflow_artifact","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_get_workflow_artifact__Artifact":{"properties":{"contentHash":{"type":"string"},"kind":{"type":"string"},"ordinal":{"format":"int32","type":"integer"},"totalBytes":{"format":"int32","type":"integer"}},"required":["ordinal","kind","contentHash","totalBytes"],"type":"object"},"UserOutput_get_workflow_artifact__ArtifactExcerpt":{"properties":{"artifact":{"$ref":"#/components/schemas/UserOutput_get_workflow_artifact__Artifact"},"endByte":{"format":"uint","minimum":0,"type":"integer"},"nextStartByte":{"format":"uint","minimum":0,"type":["integer","null"]},"runId":{"type":"string"},"startByte":{"format":"uint","minimum":0,"type":"integer"},"text":{"type":"string"}},"required":["runId","artifact","text","startByte","endByte"],"type":"object"},"UserOutput_get_workflow_report":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_get_workflow_report__StoredReport"},"name":{"const":"get_workflow_report","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_get_workflow_report__DocumentMetadata":{"properties":{"contentHash":{"type":["string","null"]},"extractionQuality":true,"extractionStatus":{"type":"string"},"extractionVersion":{"type":["string","null"]},"id":{"type":"string"},"mediaType":{"type":["string","null"]},"retrievalStatus":{"type":"string"},"revisionId":{"type":"string"},"sourceUrl":{"type":"string"}},"required":["id","revisionId","sourceUrl","retrievalStatus","extractionStatus"],"type":"object"},"UserOutput_get_workflow_report__ErrorCode":{"enum":["invalidInput","notFound","resultTooLarge","upstreamUnavailable","timeLimit"],"type":"string"},"UserOutput_get_workflow_report__EvidenceRecord":{"properties":{"documentContentHash":{"type":["string","null"]},"documentId":{"type":["string","null"]},"id":{"type":"string"},"locator":true,"matchesCurrentDocument":{"type":["boolean","null"]},"quote":{"type":["string","null"]},"revisionId":{"type":"string"},"sourceUrl":{"type":"string"}},"required":["id","revisionId","sourceUrl","locator"],"type":"object"},"UserOutput_get_workflow_report__Filters":{"additionalProperties":false,"properties":{"active":{"default":null,"type":["boolean","null"]},"agencyIds":{"default":[],"items":{"type":"string"},"type":"array"},"countries":{"default":[],"items":{"type":"string"},"type":"array"},"deadlineFrom":{"default":null,"format":"date-time","type":["string","null"]},"deadlineTo":{"default":null,"format":"date-time","type":["string","null"]},"minimumDaysToDeadline":{"default":null,"format":"uint32","minimum":0,"type":["integer","null"]},"naicsPrefixes":{"default":[],"items":{"type":"string"},"type":"array"},"noticeTypes":{"default":[],"items":{"type":"string"},"type":"array"},"postedFrom":{"default":null,"format":"date","type":["string","null"]},"postedTo":{"default":null,"format":"date","type":["string","null"]},"pscCodes":{"default":[],"items":{"type":"string"},"type":"array"},"setAsides":{"default":[],"items":{"type":"string"},"type":"array"},"states":{"default":[],"items":{"type":"string"},"type":"array"}},"type":"object"},"UserOutput_get_workflow_report__GenerationSource":{"enum":["llm","extractive"],"type":"string"},"UserOutput_get_workflow_report__Input":{"additionalProperties":false,"properties":{"asOf":{"format":"date-time","type":["string","null"]},"limit":{"default":25,"format":"uint","minimum":0,"type":"integer"},"text":{"type":"string"},"unknownPolicy":{"$ref":"#/components/schemas/UserOutput_get_workflow_report__UnknownPolicy","default":"exclude"}},"required":["text"],"type":"object"},"UserOutput_get_workflow_report__Interpretation":{"additionalProperties":false,"properties":{"field":{"type":"string"},"meaning":{"type":"string"},"sourceText":{"type":"string"}},"required":["field","sourceText","meaning"],"type":"object"},"UserOutput_get_workflow_report__Item":{"properties":{"documents":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_get_workflow_report__ListPage"},{"type":"null"}]},"evidence":{"items":{"$ref":"#/components/schemas/UserOutput_get_workflow_report__EvidenceRecord"},"type":"array"},"groundedSummary":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_get_workflow_report__Summary"},{"type":"null"}]},"issues":{"items":{"type":"string"},"type":"array"},"result":{"$ref":"#/components/schemas/UserOutput_get_workflow_report__SearchResult"},"screeningOutcomes":{"items":{"$ref":"#/components/schemas/UserOutput_get_workflow_report__RuleOutcome"},"type":"array"},"sourceSynopsis":{"description":"Canonical source fields from the frozen search result; not model prose.","type":"string"},"summaryStatus":{"type":"string"},"uninspectedEvidenceIds":{"items":{"type":"string"},"type":"array"},"unknownRuleIds":{"items":{"type":"string"},"type":"array"}},"required":["result","evidence","summaryStatus","screeningOutcomes","unknownRuleIds","uninspectedEvidenceIds","sourceSynopsis","issues"],"type":"object"},"UserOutput_get_workflow_report__ListPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserOutput_get_workflow_report__DocumentMetadata"},"type":"array"},"limit":{"format":"uint","minimum":0,"type":"integer"},"nextAfterId":{"type":["string","null"]},"revisionId":{"type":["string","null"]}},"required":["items","limit"],"type":"object"},"UserOutput_get_workflow_report__Money":{"additionalProperties":false,"properties":{"amount":{"pattern":"^-?[0-9]+(\\.[0-9]+)?$","type":"string"},"currency":{"type":"string"}},"required":["amount","currency"],"type":"object"},"UserOutput_get_workflow_report__Opportunity":{"additionalProperties":false,"properties":{"active":{"type":["boolean","null"]},"agencyId":{"type":["string","null"]},"currentRevisionId":{"type":"string"},"firstSeenAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"lastSeenAt":{"format":"date-time","type":"string"},"naics":{"type":["string","null"]},"noticeId":{"type":"string"},"noticeType":{"type":["string","null"]},"officeId":{"type":["string","null"]},"placeOfPerformance":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_get_workflow_report__Place"},{"type":"null"}]},"postedDate":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_get_workflow_report__SourceDate"},{"type":"null"}]},"psc":{"type":["string","null"]},"responseDeadline":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_get_workflow_report__SourceDate"},{"type":"null"}]},"setAside":{"type":["string","null"]},"solicitationNumber":{"type":["string","null"]},"source":{"$ref":"#/components/schemas/UserOutput_get_workflow_report__Source"},"title":{"type":["string","null"]},"uiLink":{"type":["string","null"]}},"required":["id","noticeId","currentRevisionId","source","firstSeenAt","lastSeenAt"],"type":"object"},"UserOutput_get_workflow_report__Place":{"additionalProperties":false,"properties":{"city":{"type":["string","null"]},"countryCode":{"type":["string","null"]},"postalCode":{"type":["string","null"]},"stateCode":{"type":["string","null"]}},"type":"object"},"UserOutput_get_workflow_report__Plan":{"additionalProperties":false,"properties":{"assumptions":{"items":{"type":"string"},"type":"array"},"executable":{"type":"boolean"},"interpretations":{"items":{"$ref":"#/components/schemas/UserOutput_get_workflow_report__Interpretation"},"type":"array"},"issues":{"items":{"type":"string"},"type":"array"},"normalizedInput":{"$ref":"#/components/schemas/UserOutput_get_workflow_report__Input"},"planHash":{"type":"string"},"plannerVersion":{"type":"string"},"request":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_get_workflow_report__Request"},{"type":"null"}]}},"required":["plannerVersion","normalizedInput","interpretations","assumptions","issues","executable","planHash"],"type":"object"},"UserOutput_get_workflow_report__QueryEmbedding":{"additionalProperties":false,"properties":{"minimumSimilarity":{"default":0.2,"format":"double","type":"number"},"model":{"type":"string"},"spaceId":{"type":"string"},"values":{"items":{"format":"double","type":"number"},"type":"array"}},"required":["spaceId","model","values"],"type":"object"},"UserOutput_get_workflow_report__Report":{"properties":{"candidateTotal":{"format":"uint","minimum":0,"type":["integer","null"]},"elapsedMilliseconds":{"format":"uint64","minimum":0,"type":"integer"},"issues":{"items":{"type":"string"},"type":"array"},"items":{"items":{"$ref":"#/components/schemas/UserOutput_get_workflow_report__Item"},"type":"array"},"modelCostUsd":{"format":"uint","minimum":0,"type":"integer"},"modelTokens":{"format":"uint","minimum":0,"type":"integer"},"moreResultsAvailable":{"type":"boolean"},"plan":{"$ref":"#/components/schemas/UserOutput_get_workflow_report__Plan"},"searchSnapshotId":{"type":["string","null"]},"stages":{"items":{"$ref":"#/components/schemas/UserOutput_get_workflow_report__Stage"},"type":"array"},"startedAt":{"format":"date-time","type":"string"},"status":{"$ref":"#/components/schemas/UserOutput_get_workflow_report__Status"},"toolOutputBytes":{"format":"uint","minimum":0,"type":"integer"},"trace":{"items":{"$ref":"#/components/schemas/UserOutput_get_workflow_report__Trace"},"type":"array"},"workflowVersion":{"type":"string"}},"required":["workflowVersion","status","startedAt","plan","stages","items","moreResultsAvailable","trace","issues","elapsedMilliseconds","toolOutputBytes","modelTokens","modelCostUsd"],"type":"object"},"UserOutput_get_workflow_report__Request":{"additionalProperties":false,"properties":{"asOf":{"format":"date-time","type":["string","null"]},"cursor":{"type":["string","null"]},"exclusions":{"default":[],"items":{"type":"string"},"type":"array"},"filters":{"$ref":"#/components/schemas/UserOutput_get_workflow_report__Filters","default":{"active":null,"agencyIds":[],"countries":[],"deadlineFrom":null,"deadlineTo":null,"minimumDaysToDeadline":null,"naicsPrefixes":[],"noticeTypes":[],"postedFrom":null,"postedTo":null,"pscCodes":[],"setAsides":[],"states":[]}},"limit":{"default":25,"format":"uint","minimum":0,"type":"integer"},"q":{"type":["string","null"]},"queryEmbedding":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_get_workflow_report__QueryEmbedding"},{"type":"null"}]},"unknownPolicy":{"$ref":"#/components/schemas/UserOutput_get_workflow_report__UnknownPolicy","default":"exclude"}},"type":"object"},"UserOutput_get_workflow_report__RuleOutcome":{"additionalProperties":false,"properties":{"evaluatedValue":true,"evidenceIds":{"items":{"type":"string"},"type":"array"},"explanation":{"type":"string"},"ruleId":{"type":"string"},"ruleVersion":{"type":"string"},"status":{"$ref":"#/components/schemas/UserOutput_get_workflow_report__RuleStatus"}},"required":["ruleId","ruleVersion","status","explanation","evidenceIds"],"type":"object"},"UserOutput_get_workflow_report__RuleStatus":{"enum":["satisfied","unsatisfied","unknown"],"type":"string"},"UserOutput_get_workflow_report__SearchResult":{"additionalProperties":false,"properties":{"evidenceIds":{"items":{"type":"string"},"type":"array"},"opportunity":{"$ref":"#/components/schemas/UserOutput_get_workflow_report__Opportunity"},"reasons":{"items":{"type":"string"},"type":"array"},"ruleOutcomes":{"items":{"$ref":"#/components/schemas/UserOutput_get_workflow_report__RuleOutcome"},"type":"array"},"score":{"format":"double","type":"number"},"scoreComponents":{"additionalProperties":{"format":"double","type":"number"},"type":"object"},"summary":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_get_workflow_report__Summary"},{"type":"null"}]}},"required":["opportunity","score","scoreComponents","reasons","ruleOutcomes","evidenceIds"],"type":"object"},"UserOutput_get_workflow_report__Source":{"additionalProperties":false,"properties":{"retrievedAt":{"format":"date-time","type":"string"},"system":{"type":"string"},"url":{"type":"string"}},"required":["system","url","retrievedAt"],"type":"object"},"UserOutput_get_workflow_report__SourceDate":{"description":"Preserve dates with unknown timezone rather than inventing a UTC instant.","oneOf":[{"properties":{"precision":{"const":"instant","type":"string"},"value":{"format":"date-time","type":"string"}},"required":["precision","value"],"type":"object"},{"properties":{"precision":{"const":"date","type":"string"},"value":{"format":"date","type":"string"}},"required":["precision","value"],"type":"object"},{"properties":{"precision":{"const":"unresolved","type":"string"},"value":{"type":"string"}},"required":["precision","value"],"type":"object"}]},"UserOutput_get_workflow_report__Stage":{"properties":{"completed":{"type":"boolean"},"detail":{"type":"string"},"step":{"$ref":"#/components/schemas/UserOutput_get_workflow_report__Step"}},"required":["step","completed","detail"],"type":"object"},"UserOutput_get_workflow_report__Status":{"enum":["completed","needsInput","partial"],"type":"string"},"UserOutput_get_workflow_report__Step":{"enum":["plan","retrieve","inspect","reason","summarize","report"],"type":"string"},"UserOutput_get_workflow_report__StoredReport":{"properties":{"report":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_get_workflow_report__Report"},{"type":"null"}]},"runId":{"type":"string"}},"required":["runId"],"type":"object"},"UserOutput_get_workflow_report__Summary":{"additionalProperties":false,"properties":{"bullets":{"items":{"type":"string"},"type":"array"},"deadline":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_get_workflow_report__SourceDate"},{"type":"null"}]},"evidenceIds":{"items":{"type":"string"},"type":"array"},"generatedAt":{"format":"date-time","type":"string"},"generationSource":{"$ref":"#/components/schemas/UserOutput_get_workflow_report__GenerationSource"},"id":{"type":"string"},"model":{"type":["string","null"]},"ontologyVersion":{"type":"string"},"promptVersion":{"type":["string","null"]},"revisionId":{"type":"string"},"setAside":{"type":["string","null"]},"tags":{"items":{"type":"string"},"type":"array"},"text":{"type":"string"},"value":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_get_workflow_report__Money"},{"type":"null"}]},"what":{"type":["string","null"]},"who":{"type":["string","null"]}},"required":["id","revisionId","text","bullets","tags","evidenceIds","generationSource","generatedAt","ontologyVersion"],"type":"object"},"UserOutput_get_workflow_report__ToolError":{"properties":{"code":{"$ref":"#/components/schemas/UserOutput_get_workflow_report__ErrorCode"},"message":{"type":"string"},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"type":"object"},"UserOutput_get_workflow_report__Trace":{"properties":{"arguments":true,"elapsedMilliseconds":{"format":"uint64","minimum":0,"type":"integer"},"error":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_get_workflow_report__ToolError"},{"type":"null"}]},"outputBytes":{"format":"uint","minimum":0,"type":"integer"},"outputHash":{"type":["string","null"]},"step":{"$ref":"#/components/schemas/UserOutput_get_workflow_report__Step"},"tool":{"type":"string"}},"required":["step","tool","arguments","elapsedMilliseconds","outputBytes"],"type":"object"},"UserOutput_get_workflow_report__UnknownPolicy":{"enum":["exclude","include"],"type":"string"},"UserOutput_get_workflow_run":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_get_workflow_run__Run"},"name":{"const":"get_workflow_run","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_get_workflow_run__Run":{"properties":{"completedAt":{"format":"date-time","type":["string","null"]},"createdAt":{"format":"date-time","type":"string"},"elapsedMilliseconds":{"format":"int64","type":"integer"},"id":{"type":"string"},"nextStep":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_get_workflow_run__Step"},{"type":"null"}]},"ownerId":{"type":"string"},"planExecutable":{"type":"boolean"},"planHash":{"type":"string"},"recordVersion":{"format":"int64","type":"integer"},"state":{"$ref":"#/components/schemas/UserOutput_get_workflow_run__State"},"toolCalls":{"format":"int32","type":"integer"},"toolOutputBytes":{"format":"int64","type":"integer"},"updatedAt":{"format":"date-time","type":"string"},"workflowVersion":{"type":"string"}},"required":["id","ownerId","workflowVersion","state","recordVersion","planHash","planExecutable","toolCalls","toolOutputBytes","elapsedMilliseconds","createdAt","updatedAt"],"type":"object"},"UserOutput_get_workflow_run__State":{"enum":["queued","running","cancelled","completed","needsInput","partial"],"type":"string"},"UserOutput_get_workflow_run__Step":{"enum":["plan","retrieve","inspect","reason","summarize","report"],"type":"string"},"UserOutput_list_agent_runs":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_list_agent_runs__Page"},"name":{"const":"list_agent_runs","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_list_agent_runs__Header":{"properties":{"budgetDay":{"format":"date","type":"string"},"completedAt":{"format":"date-time","type":["string","null"]},"createdAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"maxSteps":{"format":"int32","type":"integer"},"model":{"type":"string"},"nextAction":{"description":"\"advance\" when another step may be committed; null when terminal.","type":["string","null"]},"ownerId":{"type":"string"},"providerConfigHash":{"type":"string"},"recordVersion":{"format":"int64","type":"integer"},"reservedCostUsd":{"format":"double","type":"number"},"state":{"description":"queued, running, completed or partial.","type":"string"},"stepsStarted":{"format":"int32","type":"integer"},"taskHash":{"type":"string"},"updatedAt":{"format":"date-time","type":"string"},"workflowVersion":{"type":"string"}},"required":["id","ownerId","workflowVersion","state","recordVersion","taskHash","providerConfigHash","model","budgetDay","reservedCostUsd","maxSteps","stepsStarted","createdAt","updatedAt"],"type":"object"},"UserOutput_list_agent_runs__Page":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserOutput_list_agent_runs__Header"},"type":"array"},"limit":{"format":"uint","minimum":0,"type":"integer"},"nextAfterId":{"type":["string","null"]}},"required":["items","limit"],"type":"object"},"UserOutput_list_alert_deliveries":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_list_alert_deliveries__Page"},"name":{"const":"list_alert_deliveries","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_list_alert_deliveries__DeliveryRecord":{"properties":{"attempts":{"format":"int32","type":"integer"},"createdAt":{"format":"date-time","type":"string"},"deliveredAt":{"format":"date-time","type":["string","null"]},"id":{"type":"string"},"lastError":{"type":["string","null"]},"lastStatus":{"format":"int32","type":["integer","null"]},"nextAttemptAt":{"format":"date-time","type":"string"},"noticeId":{"type":["string","null"]},"revisionId":{"type":"string"},"state":{"description":"pending, delivering, delivered, dead or cancelled.","type":"string"}},"required":["id","revisionId","state","attempts","nextAttemptAt","createdAt"],"type":"object"},"UserOutput_list_alert_deliveries__Page":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserOutput_list_alert_deliveries__DeliveryRecord"},"type":"array"},"limit":{"format":"uint","minimum":0,"type":"integer"},"nextAfterId":{"type":["string","null"]}},"required":["items","limit"],"type":"object"},"UserOutput_list_alerts":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_list_alerts__Page"},"name":{"const":"list_alerts","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_list_alerts__Alert":{"properties":{"checkpointAt":{"description":"Revisions observed after this time are evaluated next.","format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"},"dead":{"format":"int64","type":"integer"},"delivered":{"format":"int64","type":"integer"},"enabled":{"type":"boolean"},"id":{"type":"string"},"nextEvaluationAt":{"format":"date-time","type":"string"},"ownerId":{"type":"string"},"pendingDeliveries":{"format":"int64","type":"integer"},"recordVersion":{"format":"int64","type":"integer"},"savedSearchId":{"type":"string"},"updatedAt":{"format":"date-time","type":"string"},"webhookUrl":{"type":"string"}},"required":["id","ownerId","savedSearchId","webhookUrl","enabled","recordVersion","checkpointAt","nextEvaluationAt","createdAt","updatedAt","pendingDeliveries","delivered","dead"],"type":"object"},"UserOutput_list_alerts__Page":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserOutput_list_alerts__Alert"},"type":"array"},"limit":{"format":"uint","minimum":0,"type":"integer"},"nextAfterId":{"type":["string","null"]}},"required":["items","limit"],"type":"object"},"UserOutput_list_briefs":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_list_briefs__Page"},"name":{"const":"list_briefs","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_list_briefs__BriefHeader":{"properties":{"createdAt":{"format":"date-time","type":"string"},"definitionVersion":{"type":"string"},"id":{"type":"string"},"ownerId":{"type":"string"},"recordVersion":{"format":"int64","type":"integer"},"title":{"type":"string"}},"required":["id","ownerId","title","definitionVersion","recordVersion","createdAt"],"type":"object"},"UserOutput_list_briefs__Page":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserOutput_list_briefs__BriefHeader"},"type":"array"},"limit":{"format":"uint","minimum":0,"type":"integer"},"nextAfterId":{"type":["string","null"]}},"required":["items","limit"],"type":"object"},"UserOutput_list_profile_sources":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_list_profile_sources__SourcePage"},"name":{"const":"list_profile_sources","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_list_profile_sources__ProvenanceSummary":{"additionalProperties":false,"properties":{"attribution":{"description":"callerSubmitted, or serverRetrievalAttested when a valid retrieval attestation matched.","type":"string"},"extractionVersion":{"type":"string"},"profileVersion":{"format":"int64","type":"integer"},"retainedAt":{"format":"date-time","type":"string"},"retrievedAt":{"format":"date-time","type":["string","null"]},"retrievedPages":{"items":{"$ref":"#/components/schemas/UserOutput_list_profile_sources__RetrievedPage"},"type":"array"},"sourceRetrievalVerified":{"description":"True only for a verified attestation: Rust retrieved the pages and derived this text.\nIt never verifies supplier qualifications.","type":"boolean"},"textSha256":{"type":"string"},"version":{"type":"string"}},"required":["version","extractionVersion","profileVersion","retainedAt","textSha256","attribution","sourceRetrievalVerified"],"type":"object"},"UserOutput_list_profile_sources__RetrievedPage":{"additionalProperties":false,"properties":{"sha256":{"description":"SHA-256 of the downloaded bytes.","type":"string"},"url":{"type":"string"}},"required":["url","sha256"],"type":"object"},"UserOutput_list_profile_sources__SourcePage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserOutput_list_profile_sources__SourceRevision"},"type":"array"},"nextAfterOrdinal":{"format":"int32","type":["integer","null"]}},"required":["items"],"type":"object"},"UserOutput_list_profile_sources__SourceRevision":{"properties":{"ordinal":{"format":"int32","type":"integer"},"profileId":{"type":"string"},"retainedAt":{"format":"date-time","type":"string"},"summary":{"$ref":"#/components/schemas/UserOutput_list_profile_sources__ProvenanceSummary"}},"required":["profileId","ordinal","retainedAt","summary"],"type":"object"},"UserOutput_list_profiles":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_list_profiles__Page"},"name":{"const":"list_profiles","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_list_profiles__Page":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserOutput_list_profiles__ProfileRecord"},"type":"array"},"limit":{"format":"uint","minimum":0,"type":"integer"},"nextAfterId":{"type":["string","null"]}},"required":["items","limit"],"type":"object"},"UserOutput_list_profiles__Profile":{"additionalProperties":false,"properties":{"assertions":{"additionalProperties":true,"description":"User assertions are not verified certifications.","type":"object"},"createdAt":{"format":"date-time","type":"string"},"exclusions":{"items":{"type":"string"},"type":"array"},"id":{"type":"string"},"keywords":{"items":{"type":"string"},"type":"array"},"minimumDaysToDeadline":{"format":"uint32","minimum":0,"type":["integer","null"]},"naicsPrefixes":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"narrative":{"type":["string","null"]},"noticeTypes":{"items":{"type":"string"},"type":"array"},"ownerId":{"type":"string"},"setAsides":{"items":{"type":"string"},"type":"array"},"states":{"items":{"type":"string"},"type":"array"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","ownerId","name","keywords","exclusions","naicsPrefixes","setAsides","states","noticeTypes","assertions","createdAt","updatedAt"],"type":"object"},"UserOutput_list_profiles__ProfileRecord":{"properties":{"profile":{"$ref":"#/components/schemas/UserOutput_list_profiles__Profile"},"recordVersion":{"format":"int64","type":"integer"},"sourceProvenance":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_list_profiles__ProvenanceSummary"},{"type":"null"}]}},"required":["profile","recordVersion"],"type":"object"},"UserOutput_list_profiles__ProvenanceSummary":{"additionalProperties":false,"properties":{"attribution":{"description":"callerSubmitted, or serverRetrievalAttested when a valid retrieval attestation matched.","type":"string"},"extractionVersion":{"type":"string"},"profileVersion":{"format":"int64","type":"integer"},"retainedAt":{"format":"date-time","type":"string"},"retrievedAt":{"format":"date-time","type":["string","null"]},"retrievedPages":{"items":{"$ref":"#/components/schemas/UserOutput_list_profiles__RetrievedPage"},"type":"array"},"sourceRetrievalVerified":{"description":"True only for a verified attestation: Rust retrieved the pages and derived this text.\nIt never verifies supplier qualifications.","type":"boolean"},"textSha256":{"type":"string"},"version":{"type":"string"}},"required":["version","extractionVersion","profileVersion","retainedAt","textSha256","attribution","sourceRetrievalVerified"],"type":"object"},"UserOutput_list_profiles__RetrievedPage":{"additionalProperties":false,"properties":{"sha256":{"description":"SHA-256 of the downloaded bytes.","type":"string"},"url":{"type":"string"}},"required":["url","sha256"],"type":"object"},"UserOutput_list_saved_searches":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_list_saved_searches__Page"},"name":{"const":"list_saved_searches","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_list_saved_searches__Filters":{"additionalProperties":false,"properties":{"active":{"default":null,"type":["boolean","null"]},"agencyIds":{"default":[],"items":{"type":"string"},"type":"array"},"countries":{"default":[],"items":{"type":"string"},"type":"array"},"deadlineFrom":{"default":null,"format":"date-time","type":["string","null"]},"deadlineTo":{"default":null,"format":"date-time","type":["string","null"]},"minimumDaysToDeadline":{"default":null,"format":"uint32","minimum":0,"type":["integer","null"]},"naicsPrefixes":{"default":[],"items":{"type":"string"},"type":"array"},"noticeTypes":{"default":[],"items":{"type":"string"},"type":"array"},"postedFrom":{"default":null,"format":"date","type":["string","null"]},"postedTo":{"default":null,"format":"date","type":["string","null"]},"pscCodes":{"default":[],"items":{"type":"string"},"type":"array"},"setAsides":{"default":[],"items":{"type":"string"},"type":"array"},"states":{"default":[],"items":{"type":"string"},"type":"array"}},"type":"object"},"UserOutput_list_saved_searches__Page":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserOutput_list_saved_searches__SavedSearch"},"type":"array"},"limit":{"format":"uint","minimum":0,"type":"integer"},"nextAfterId":{"type":["string","null"]}},"required":["items","limit"],"type":"object"},"UserOutput_list_saved_searches__QueryEmbedding":{"additionalProperties":false,"properties":{"minimumSimilarity":{"default":0.2,"format":"double","type":"number"},"model":{"type":"string"},"spaceId":{"type":"string"},"values":{"items":{"format":"double","type":"number"},"type":"array"}},"required":["spaceId","model","values"],"type":"object"},"UserOutput_list_saved_searches__Request":{"additionalProperties":false,"properties":{"asOf":{"format":"date-time","type":["string","null"]},"cursor":{"type":["string","null"]},"exclusions":{"default":[],"items":{"type":"string"},"type":"array"},"filters":{"$ref":"#/components/schemas/UserOutput_list_saved_searches__Filters","default":{"active":null,"agencyIds":[],"countries":[],"deadlineFrom":null,"deadlineTo":null,"minimumDaysToDeadline":null,"naicsPrefixes":[],"noticeTypes":[],"postedFrom":null,"postedTo":null,"pscCodes":[],"setAsides":[],"states":[]}},"limit":{"default":25,"format":"uint","minimum":0,"type":"integer"},"q":{"type":["string","null"]},"queryEmbedding":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_list_saved_searches__QueryEmbedding"},{"type":"null"}]},"unknownPolicy":{"$ref":"#/components/schemas/UserOutput_list_saved_searches__UnknownPolicy","default":"exclude"}},"type":"object"},"UserOutput_list_saved_searches__SavedSearch":{"properties":{"createdAt":{"format":"date-time","type":"string"},"definitionVersion":{"type":"string"},"enabled":{"type":"boolean"},"id":{"type":"string"},"name":{"type":"string"},"ownerId":{"type":"string"},"query":{"$ref":"#/components/schemas/UserOutput_list_saved_searches__Request"},"recordVersion":{"format":"int64","type":"integer"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","ownerId","name","query","definitionVersion","recordVersion","enabled","createdAt","updatedAt"],"type":"object"},"UserOutput_list_saved_searches__UnknownPolicy":{"enum":["exclude","include"],"type":"string"},"UserOutput_list_supplier_model_attempts":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_list_supplier_model_attempts__Page"},"name":{"const":"list_supplier_model_attempts","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_list_supplier_model_attempts__Header":{"properties":{"budgetDay":{"format":"date","type":"string"},"completedAt":{"format":"date-time","type":["string","null"]},"createdAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"inputHash":{"type":"string"},"model":{"type":"string"},"outcomeUnknown":{"description":"True for a spent fence without a stored result after its execution window.","type":"boolean"},"ownerId":{"type":"string"},"providerConfigHash":{"type":"string"},"recordVersion":{"format":"int64","type":"integer"},"reservedCostUsd":{"format":"double","type":"number"},"startedAt":{"format":"date-time","type":["string","null"]},"state":{"type":"string"}},"required":["id","ownerId","state","recordVersion","inputHash","providerConfigHash","model","budgetDay","reservedCostUsd","createdAt","outcomeUnknown"],"type":"object"},"UserOutput_list_supplier_model_attempts__Page":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserOutput_list_supplier_model_attempts__Header"},"type":"array"},"limit":{"format":"uint","minimum":0,"type":"integer"},"nextAfterId":{"type":["string","null"]}},"required":["items","limit"],"type":"object"},"UserOutput_list_watches":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_list_watches__Page"},"name":{"const":"list_watches","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_list_watches__Page":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserOutput_list_watches__Watch"},"type":"array"},"limit":{"format":"uint","minimum":0,"type":"integer"},"nextAfterId":{"type":["string","null"]}},"required":["items","limit"],"type":"object"},"UserOutput_list_watches__Watch":{"properties":{"baselineRevisionId":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"currentRevisionId":{"type":"string"},"id":{"type":"string"},"note":{"type":["string","null"]},"noticeId":{"type":"string"},"ownerId":{"type":"string"},"recordVersion":{"format":"int64","type":"integer"},"sourceChanged":{"type":"boolean"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","ownerId","noticeId","baselineRevisionId","currentRevisionId","sourceChanged","recordVersion","createdAt","updatedAt"],"type":"object"},"UserOutput_list_workflow_artifacts":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_list_workflow_artifacts__EntryPage"},"name":{"const":"list_workflow_artifacts","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_list_workflow_artifacts__Artifact":{"properties":{"contentHash":{"type":"string"},"kind":{"type":"string"},"ordinal":{"format":"int32","type":"integer"},"totalBytes":{"format":"int32","type":"integer"}},"required":["ordinal","kind","contentHash","totalBytes"],"type":"object"},"UserOutput_list_workflow_artifacts__EntryPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserOutput_list_workflow_artifacts__Artifact"},"type":"array"},"limit":{"format":"uint","minimum":0,"type":"integer"},"nextAfterOrdinal":{"format":"int32","type":["integer","null"]},"runId":{"type":"string"}},"required":["runId","items","limit"],"type":"object"},"UserOutput_list_workflow_checkpoints":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_list_workflow_checkpoints__EntryPage"},"name":{"const":"list_workflow_checkpoints","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_list_workflow_checkpoints__Checkpoint":{"properties":{"createdAt":{"format":"date-time","type":"string"},"ordinal":{"format":"int32","type":"integer"},"stage":{"$ref":"#/components/schemas/UserOutput_list_workflow_checkpoints__Stage"}},"required":["ordinal","stage","createdAt"],"type":"object"},"UserOutput_list_workflow_checkpoints__EntryPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserOutput_list_workflow_checkpoints__Checkpoint"},"type":"array"},"limit":{"format":"uint","minimum":0,"type":"integer"},"nextAfterOrdinal":{"format":"int32","type":["integer","null"]},"runId":{"type":"string"}},"required":["runId","items","limit"],"type":"object"},"UserOutput_list_workflow_checkpoints__Stage":{"properties":{"completed":{"type":"boolean"},"detail":{"type":"string"},"step":{"$ref":"#/components/schemas/UserOutput_list_workflow_checkpoints__Step"}},"required":["step","completed","detail"],"type":"object"},"UserOutput_list_workflow_checkpoints__Step":{"enum":["plan","retrieve","inspect","reason","summarize","report"],"type":"string"},"UserOutput_list_workflow_runs":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_list_workflow_runs__Page"},"name":{"const":"list_workflow_runs","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_list_workflow_runs__Page":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserOutput_list_workflow_runs__Run"},"type":"array"},"limit":{"format":"uint","minimum":0,"type":"integer"},"nextAfterId":{"type":["string","null"]}},"required":["items","limit"],"type":"object"},"UserOutput_list_workflow_runs__Run":{"properties":{"completedAt":{"format":"date-time","type":["string","null"]},"createdAt":{"format":"date-time","type":"string"},"elapsedMilliseconds":{"format":"int64","type":"integer"},"id":{"type":"string"},"nextStep":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_list_workflow_runs__Step"},{"type":"null"}]},"ownerId":{"type":"string"},"planExecutable":{"type":"boolean"},"planHash":{"type":"string"},"recordVersion":{"format":"int64","type":"integer"},"state":{"$ref":"#/components/schemas/UserOutput_list_workflow_runs__State"},"toolCalls":{"format":"int32","type":"integer"},"toolOutputBytes":{"format":"int64","type":"integer"},"updatedAt":{"format":"date-time","type":"string"},"workflowVersion":{"type":"string"}},"required":["id","ownerId","workflowVersion","state","recordVersion","planHash","planExecutable","toolCalls","toolOutputBytes","elapsedMilliseconds","createdAt","updatedAt"],"type":"object"},"UserOutput_list_workflow_runs__State":{"enum":["queued","running","cancelled","completed","needsInput","partial"],"type":"string"},"UserOutput_list_workflow_runs__Step":{"enum":["plan","retrieve","inspect","reason","summarize","report"],"type":"string"},"UserOutput_list_workflow_traces":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_list_workflow_traces__EntryPage"},"name":{"const":"list_workflow_traces","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_list_workflow_traces__EntryPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserOutput_list_workflow_traces__Trace"},"type":"array"},"limit":{"format":"uint","minimum":0,"type":"integer"},"nextAfterOrdinal":{"format":"int32","type":["integer","null"]},"runId":{"type":"string"}},"required":["runId","items","limit"],"type":"object"},"UserOutput_list_workflow_traces__ErrorCode":{"enum":["invalidInput","notFound","resultTooLarge","upstreamUnavailable","timeLimit"],"type":"string"},"UserOutput_list_workflow_traces__Step":{"enum":["plan","retrieve","inspect","reason","summarize","report"],"type":"string"},"UserOutput_list_workflow_traces__ToolError":{"properties":{"code":{"$ref":"#/components/schemas/UserOutput_list_workflow_traces__ErrorCode"},"message":{"type":"string"},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"type":"object"},"UserOutput_list_workflow_traces__Trace":{"properties":{"ordinal":{"format":"int32","type":"integer"},"trace":{"$ref":"#/components/schemas/UserOutput_list_workflow_traces__Trace2"}},"required":["ordinal","trace"],"type":"object"},"UserOutput_list_workflow_traces__Trace2":{"properties":{"arguments":true,"elapsedMilliseconds":{"format":"uint64","minimum":0,"type":"integer"},"error":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_list_workflow_traces__ToolError"},{"type":"null"}]},"outputBytes":{"format":"uint","minimum":0,"type":"integer"},"outputHash":{"type":["string","null"]},"step":{"$ref":"#/components/schemas/UserOutput_list_workflow_traces__Step"},"tool":{"type":"string"}},"required":["step","tool","arguments","elapsedMilliseconds","outputBytes"],"type":"object"},"UserOutput_resume_workflow_run":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_resume_workflow_run__Run"},"name":{"const":"resume_workflow_run","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_resume_workflow_run__Run":{"properties":{"completedAt":{"format":"date-time","type":["string","null"]},"createdAt":{"format":"date-time","type":"string"},"elapsedMilliseconds":{"format":"int64","type":"integer"},"id":{"type":"string"},"nextStep":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_resume_workflow_run__Step"},{"type":"null"}]},"ownerId":{"type":"string"},"planExecutable":{"type":"boolean"},"planHash":{"type":"string"},"recordVersion":{"format":"int64","type":"integer"},"state":{"$ref":"#/components/schemas/UserOutput_resume_workflow_run__State"},"toolCalls":{"format":"int32","type":"integer"},"toolOutputBytes":{"format":"int64","type":"integer"},"updatedAt":{"format":"date-time","type":"string"},"workflowVersion":{"type":"string"}},"required":["id","ownerId","workflowVersion","state","recordVersion","planHash","planExecutable","toolCalls","toolOutputBytes","elapsedMilliseconds","createdAt","updatedAt"],"type":"object"},"UserOutput_resume_workflow_run__State":{"enum":["queued","running","cancelled","completed","needsInput","partial"],"type":"string"},"UserOutput_resume_workflow_run__Step":{"enum":["plan","retrieve","inspect","reason","summarize","report"],"type":"string"},"UserOutput_select_supplier_capabilities":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_select_supplier_capabilities__Output"},"name":{"const":"select_supplier_capabilities","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_select_supplier_capabilities__Citation":{"additionalProperties":false,"properties":{"endByte":{"format":"uint","minimum":0,"type":"integer"},"field":{"type":"string"},"quote":{"type":"string"},"ruleId":{"type":"string"},"startByte":{"format":"uint","minimum":0,"type":"integer"}},"required":["field","ruleId","startByte","endByte","quote"],"type":"object"},"UserOutput_select_supplier_capabilities__Output":{"additionalProperties":false,"properties":{"inference":{"$ref":"#/components/schemas/UserOutput_select_supplier_capabilities__Report"},"proposal":{"$ref":"#/components/schemas/UserOutput_select_supplier_capabilities__Proposal"}},"required":["proposal","inference"],"type":"object"},"UserOutput_select_supplier_capabilities__ProfileDraft":{"additionalProperties":false,"properties":{"assertions":{"additionalProperties":true,"default":{},"type":"object"},"exclusions":{"default":[],"items":{"type":"string"},"type":"array"},"keywords":{"default":[],"items":{"type":"string"},"type":"array"},"minimumDaysToDeadline":{"format":"uint32","minimum":0,"type":["integer","null"]},"naicsPrefixes":{"default":[],"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"narrative":{"type":["string","null"]},"noticeTypes":{"default":[],"items":{"type":"string"},"type":"array"},"setAsides":{"default":[],"items":{"type":"string"},"type":"array"},"states":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["name"],"type":"object"},"UserOutput_select_supplier_capabilities__Proposal":{"additionalProperties":false,"properties":{"attestation":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_select_supplier_capabilities__RetrievalAttestation"},{"type":"null"}],"description":"Present for server-retrieved website text when the operator configured an attestation key."},"citations":{"items":{"$ref":"#/components/schemas/UserOutput_select_supplier_capabilities__Citation"},"type":"array"},"draft":{"$ref":"#/components/schemas/UserOutput_select_supplier_capabilities__ProfileDraft"},"observedAt":{"format":"date-time","type":"string"},"requiresReview":{"type":"boolean"},"sourceSha256":{"type":["string","null"]},"sourceText":{"type":"string"},"sourceUrl":{"type":["string","null"]},"textSha256":{"type":"string"},"version":{"type":"string"},"warnings":{"items":{"type":"string"},"type":"array"}},"required":["version","requiresReview","draft","sourceText","textSha256","observedAt","citations","warnings"],"type":"object"},"UserOutput_select_supplier_capabilities__Report":{"additionalProperties":false,"properties":{"configuredModel":{"type":"string"},"inputBlocks":{"format":"uint","minimum":0,"type":"integer"},"promptHash":{"type":"string"},"providerAttempts":{"format":"uint32","minimum":0,"type":"integer"},"reservedCostUsd":{"format":"double","type":["number","null"]},"selectedBlocks":{"format":"uint","minimum":0,"type":"integer"},"status":{"type":"string"},"version":{"type":"string"}},"required":["version","status","configuredModel","promptHash","providerAttempts","inputBlocks","selectedBlocks"],"type":"object"},"UserOutput_select_supplier_capabilities__RetrievalAttestation":{"additionalProperties":false,"description":"Server-signed statement that Rust retrieved these pages and derived exactly this text.","properties":{"pages":{"items":{"$ref":"#/components/schemas/UserOutput_select_supplier_capabilities__RetrievedPage"},"type":"array"},"retrievedAt":{"format":"date-time","type":"string"},"signature":{"description":"Hex HMAC-SHA256 under the operator attestation key; opaque to callers.","type":"string"},"textSha256":{"type":"string"},"version":{"type":"string"}},"required":["version","pages","textSha256","retrievedAt","signature"],"type":"object"},"UserOutput_select_supplier_capabilities__RetrievedPage":{"additionalProperties":false,"properties":{"sha256":{"description":"SHA-256 of the downloaded bytes.","type":"string"},"url":{"type":"string"}},"required":["url","sha256"],"type":"object"},"UserOutput_start_ingestion":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_start_ingestion__JobView"},"name":{"const":"start_ingestion","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_start_ingestion__JobView":{"properties":{"attempt":{"format":"int32","type":"integer"},"cancellationRequested":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"maxAttempts":{"format":"int32","type":"integer"},"ownerId":{"type":"string"},"state":{"type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","ownerId","state","cancellationRequested","attempt","maxAttempts","createdAt","updatedAt"],"type":"object"},"UserOutput_update_alert":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_update_alert__Alert"},"name":{"const":"update_alert","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_update_alert__Alert":{"properties":{"checkpointAt":{"description":"Revisions observed after this time are evaluated next.","format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"},"dead":{"format":"int64","type":"integer"},"delivered":{"format":"int64","type":"integer"},"enabled":{"type":"boolean"},"id":{"type":"string"},"nextEvaluationAt":{"format":"date-time","type":"string"},"ownerId":{"type":"string"},"pendingDeliveries":{"format":"int64","type":"integer"},"recordVersion":{"format":"int64","type":"integer"},"savedSearchId":{"type":"string"},"updatedAt":{"format":"date-time","type":"string"},"webhookUrl":{"type":"string"}},"required":["id","ownerId","savedSearchId","webhookUrl","enabled","recordVersion","checkpointAt","nextEvaluationAt","createdAt","updatedAt","pendingDeliveries","delivered","dead"],"type":"object"},"UserOutput_update_profile":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_update_profile__ProfileRecord"},"name":{"const":"update_profile","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_update_profile__Profile":{"additionalProperties":false,"properties":{"assertions":{"additionalProperties":true,"description":"User assertions are not verified certifications.","type":"object"},"createdAt":{"format":"date-time","type":"string"},"exclusions":{"items":{"type":"string"},"type":"array"},"id":{"type":"string"},"keywords":{"items":{"type":"string"},"type":"array"},"minimumDaysToDeadline":{"format":"uint32","minimum":0,"type":["integer","null"]},"naicsPrefixes":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"narrative":{"type":["string","null"]},"noticeTypes":{"items":{"type":"string"},"type":"array"},"ownerId":{"type":"string"},"setAsides":{"items":{"type":"string"},"type":"array"},"states":{"items":{"type":"string"},"type":"array"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","ownerId","name","keywords","exclusions","naicsPrefixes","setAsides","states","noticeTypes","assertions","createdAt","updatedAt"],"type":"object"},"UserOutput_update_profile__ProfileRecord":{"properties":{"profile":{"$ref":"#/components/schemas/UserOutput_update_profile__Profile"},"recordVersion":{"format":"int64","type":"integer"},"sourceProvenance":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_update_profile__ProvenanceSummary"},{"type":"null"}]}},"required":["profile","recordVersion"],"type":"object"},"UserOutput_update_profile__ProvenanceSummary":{"additionalProperties":false,"properties":{"attribution":{"description":"callerSubmitted, or serverRetrievalAttested when a valid retrieval attestation matched.","type":"string"},"extractionVersion":{"type":"string"},"profileVersion":{"format":"int64","type":"integer"},"retainedAt":{"format":"date-time","type":"string"},"retrievedAt":{"format":"date-time","type":["string","null"]},"retrievedPages":{"items":{"$ref":"#/components/schemas/UserOutput_update_profile__RetrievedPage"},"type":"array"},"sourceRetrievalVerified":{"description":"True only for a verified attestation: Rust retrieved the pages and derived this text.\nIt never verifies supplier qualifications.","type":"boolean"},"textSha256":{"type":"string"},"version":{"type":"string"}},"required":["version","extractionVersion","profileVersion","retainedAt","textSha256","attribution","sourceRetrievalVerified"],"type":"object"},"UserOutput_update_profile__RetrievedPage":{"additionalProperties":false,"properties":{"sha256":{"description":"SHA-256 of the downloaded bytes.","type":"string"},"url":{"type":"string"}},"required":["url","sha256"],"type":"object"},"UserOutput_update_saved_search":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_update_saved_search__SavedSearch"},"name":{"const":"update_saved_search","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_update_saved_search__Filters":{"additionalProperties":false,"properties":{"active":{"default":null,"type":["boolean","null"]},"agencyIds":{"default":[],"items":{"type":"string"},"type":"array"},"countries":{"default":[],"items":{"type":"string"},"type":"array"},"deadlineFrom":{"default":null,"format":"date-time","type":["string","null"]},"deadlineTo":{"default":null,"format":"date-time","type":["string","null"]},"minimumDaysToDeadline":{"default":null,"format":"uint32","minimum":0,"type":["integer","null"]},"naicsPrefixes":{"default":[],"items":{"type":"string"},"type":"array"},"noticeTypes":{"default":[],"items":{"type":"string"},"type":"array"},"postedFrom":{"default":null,"format":"date","type":["string","null"]},"postedTo":{"default":null,"format":"date","type":["string","null"]},"pscCodes":{"default":[],"items":{"type":"string"},"type":"array"},"setAsides":{"default":[],"items":{"type":"string"},"type":"array"},"states":{"default":[],"items":{"type":"string"},"type":"array"}},"type":"object"},"UserOutput_update_saved_search__QueryEmbedding":{"additionalProperties":false,"properties":{"minimumSimilarity":{"default":0.2,"format":"double","type":"number"},"model":{"type":"string"},"spaceId":{"type":"string"},"values":{"items":{"format":"double","type":"number"},"type":"array"}},"required":["spaceId","model","values"],"type":"object"},"UserOutput_update_saved_search__Request":{"additionalProperties":false,"properties":{"asOf":{"format":"date-time","type":["string","null"]},"cursor":{"type":["string","null"]},"exclusions":{"default":[],"items":{"type":"string"},"type":"array"},"filters":{"$ref":"#/components/schemas/UserOutput_update_saved_search__Filters","default":{"active":null,"agencyIds":[],"countries":[],"deadlineFrom":null,"deadlineTo":null,"minimumDaysToDeadline":null,"naicsPrefixes":[],"noticeTypes":[],"postedFrom":null,"postedTo":null,"pscCodes":[],"setAsides":[],"states":[]}},"limit":{"default":25,"format":"uint","minimum":0,"type":"integer"},"q":{"type":["string","null"]},"queryEmbedding":{"anyOf":[{"$ref":"#/components/schemas/UserOutput_update_saved_search__QueryEmbedding"},{"type":"null"}]},"unknownPolicy":{"$ref":"#/components/schemas/UserOutput_update_saved_search__UnknownPolicy","default":"exclude"}},"type":"object"},"UserOutput_update_saved_search__SavedSearch":{"properties":{"createdAt":{"format":"date-time","type":"string"},"definitionVersion":{"type":"string"},"enabled":{"type":"boolean"},"id":{"type":"string"},"name":{"type":"string"},"ownerId":{"type":"string"},"query":{"$ref":"#/components/schemas/UserOutput_update_saved_search__Request"},"recordVersion":{"format":"int64","type":"integer"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","ownerId","name","query","definitionVersion","recordVersion","enabled","createdAt","updatedAt"],"type":"object"},"UserOutput_update_saved_search__UnknownPolicy":{"enum":["exclude","include"],"type":"string"},"UserOutput_update_watch":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"data":{"$ref":"#/components/schemas/UserOutput_update_watch__Watch"},"name":{"const":"update_watch","type":"string"},"toolVersion":{"type":"string"}},"required":["toolVersion","name","data"],"title":"Output","type":"object"},"UserOutput_update_watch__Watch":{"properties":{"baselineRevisionId":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"currentRevisionId":{"type":"string"},"id":{"type":"string"},"note":{"type":["string","null"]},"noticeId":{"type":"string"},"ownerId":{"type":"string"},"recordVersion":{"format":"int64","type":"integer"},"sourceChanged":{"type":"boolean"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","ownerId","noticeId","baselineRevisionId","currentRevisionId","sourceChanged","recordVersion","createdAt","updatedAt"],"type":"object"}},"securitySchemes":{"UserBearer":{"bearerFormat":"sam_<opaque random token>","description":"Expiring, revocable, local-CLI-provisioned credential. Independent profiles:read/write, searches:read/write and ingestion:read/write scopes are enforced by tool name; not OAuth.","scheme":"bearer","type":"http"}}},"info":{"description":"Implemented PostgreSQL HTTP surface. Public tools read stored source data. User tools enforce bearer scopes and ownership; supplier declarations remain unverified. Credential provisioning, schedules and workers are local CLI operations; owner-scoped SAM crawl job control uses independent ingestion scopes. MCP stdio is a separate protocol. Legacy TypeScript/SQLite routes are outside this contract.","title":"SAM TLDR Rust knowledgebase API","version":"rust-http-v1"},"jsonSchemaDialect":"https://json-schema.org/draft/2020-12/schema","openapi":"3.1.1","paths":{"/.well-known/sam-tldr-agent.json":{"get":{"operationId":"agent_manifest","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"JSON HTTP and MCP stdio discovery manifest","x-ontology":"/api/v1/ontology"}},"/api/v1/agent/invoke":{"post":{"operationId":"agent_invoke","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"arguments":{"noticeId":"<notice ID>"},"name":"get_opportunity"},"schema":{"$ref":"#/components/schemas/PublicInvocation"}}},"required":true,"x-max-bytes":131072},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"oneOf":[{"$ref":"#/components/schemas/PublicOutput_investigate_opportunities"},{"$ref":"#/components/schemas/PublicOutput_search_opportunities"},{"$ref":"#/components/schemas/PublicOutput_get_opportunity"},{"$ref":"#/components/schemas/PublicOutput_list_documents"},{"$ref":"#/components/schemas/PublicOutput_get_document"},{"$ref":"#/components/schemas/PublicOutput_list_revisions"},{"$ref":"#/components/schemas/PublicOutput_inspect_ontology"},{"$ref":"#/components/schemas/PublicOutput_traverse_relationships"},{"$ref":"#/components/schemas/PublicOutput_get_evidence"},{"$ref":"#/components/schemas/PublicOutput_get_summary"},{"$ref":"#/components/schemas/PublicOutput_evaluate_profile_fit"}]},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"Cache-Control":{"schema":{"const":"no-store"}},"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"error":{"$ref":"#/components/schemas/ToolError"},"requestId":{"type":"string"}},"required":["apiVersion","error","requestId"],"type":"object"}}},"description":"Unknown tool or invalid input","headers":{"Cache-Control":{"schema":{"const":"no-store"}},"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"404":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"error":{"$ref":"#/components/schemas/ToolError"},"requestId":{"type":"string"}},"required":["apiVersion","error","requestId"],"type":"object"}}},"description":"Source resource not found","headers":{"Cache-Control":{"schema":{"const":"no-store"}},"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"422":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"error":{"$ref":"#/components/schemas/ToolError"},"requestId":{"type":"string"}},"required":["apiVersion","error","requestId"],"type":"object"}}},"description":"Result exceeds output budget","headers":{"Cache-Control":{"schema":{"const":"no-store"}},"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"503":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"error":{"$ref":"#/components/schemas/ToolError"},"requestId":{"type":"string"}},"required":["apiVersion","error","requestId"],"type":"object"}}},"description":"Storage unavailable or time limit exceeded","headers":{"Cache-Control":{"schema":{"const":"no-store"}},"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Invoke a public-source Rust tool; source content is untrusted data","x-json-rejection-status":400,"x-ontology":"/api/v1/ontology","x-timeout-seconds":30}},"/api/v1/agent/tools":{"get":{"operationId":"agent_discovery","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"additionalProperties":true,"type":"object"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Tool/protocol discovery; contains no user records or credentials","x-ontology":"/api/v1/ontology"}},"/api/v1/contracts":{"get":{"operationId":"schema","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"additionalProperties":true,"type":"object"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Generated Rust schema or schema discovery metadata","x-ontology":"/api/v1/ontology"}},"/api/v1/feeds/json":{"get":{"operationId":"feed_json","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":25,"format":"uint","maximum":25,"minimum":1,"type":"integer"}},{"in":"query","name":"naics","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"in":"query","name":"setAside","required":false,"schema":{"type":"string"}},{"in":"query","name":"state","required":false,"schema":{"type":"string"}},{"in":"query","name":"unknownPolicy","required":false,"schema":{"$ref":"#/components/schemas/FeedQuery__UnknownPolicy","default":"exclude"}}],"responses":{"200":{"content":{"application/feed+json":{"schema":{"$ref":"#/components/schemas/Feed"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Invalid/expired cursor, invalid filters or search too broad","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Feed exceeds output budget","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Storage unavailable or publisher origin invalid","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Bounded JSON Feed 1.1 over canonical frozen source search; stored summaries only","x-ontology":"/api/v1/ontology","x-reject-unknown-query-parameters":true}},"/api/v1/feeds/rss":{"get":{"operationId":"feed_rss","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":25,"format":"uint","maximum":25,"minimum":1,"type":"integer"}},{"in":"query","name":"naics","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"in":"query","name":"setAside","required":false,"schema":{"type":"string"}},{"in":"query","name":"state","required":false,"schema":{"type":"string"}},{"in":"query","name":"unknownPolicy","required":false,"schema":{"$ref":"#/components/schemas/FeedQuery__UnknownPolicy","default":"exclude"}}],"responses":{"200":{"content":{"application/rss+xml":{"schema":{"type":"string"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Invalid/expired cursor, invalid filters or search too broad","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Feed exceeds output budget","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Storage unavailable or publisher origin invalid","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Bounded RSS 2.0 over canonical frozen source search; source date precision preserved","x-ontology":"/api/v1/ontology","x-reject-unknown-query-parameters":true}},"/api/v1/feeds/schema":{"get":{"operationId":"feed_schema","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"additionalProperties":true,"type":"object"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Feed query/output schema and semantics","x-ontology":"/api/v1/ontology"}},"/api/v1/fit/schema":{"get":{"operationId":"fit_schema","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"additionalProperties":true,"type":"object"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Generated Rust schema or schema discovery metadata","x-ontology":"/api/v1/ontology"}},"/api/v1/inference/schema":{"get":{"operationId":"inference_schema","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"additionalProperties":true,"type":"object"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Generated Rust schema or schema discovery metadata","x-ontology":"/api/v1/ontology"}},"/api/v1/ingestion/schema":{"get":{"operationId":"ingestion_schema","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"additionalProperties":true,"type":"object"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Generated Rust schema or schema discovery metadata","x-ontology":"/api/v1/ontology"}},"/api/v1/mcp/discovery":{"get":{"operationId":"mcp_discovery","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"additionalProperties":true,"type":"object"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Tool/protocol discovery; contains no user records or credentials","x-ontology":"/api/v1/ontology"}},"/api/v1/ontology":{"get":{"operationId":"ontology_catalog","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"additionalProperties":true,"type":"object"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"JSON-LD ontology catalog and supported coverage","x-ontology":"/api/v1/ontology"}},"/api/v1/ontology/claim-schema":{"get":{"operationId":"claim_schema","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"additionalProperties":true,"type":"object"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Generated Rust schema or schema discovery metadata","x-ontology":"/api/v1/ontology"}},"/api/v1/ontology/clause-schema":{"get":{"operationId":"clause_schema","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"additionalProperties":true,"type":"object"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Generated Rust schema or schema discovery metadata","x-ontology":"/api/v1/ontology"}},"/api/v1/ontology/concepts/{name}":{"get":{"operationId":"concept","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}},{"in":"path","name":"name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"additionalProperties":true,"type":"object"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Concept not found","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Supported ontology concept definition","x-ontology":"/api/v1/ontology"}},"/api/v1/ontology/schema":{"get":{"operationId":"ontology_schema","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"additionalProperties":true,"type":"object"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Generated Rust schema or schema discovery metadata","x-ontology":"/api/v1/ontology"}},"/api/v1/ontology/vocabularies/{name}":{"get":{"operationId":"vocabulary","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}},{"in":"path","name":"name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"additionalProperties":true,"type":"object"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Source resource not found","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Storage unavailable","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Versioned vocabulary with bounded observed codes where applicable","x-ontology":"/api/v1/ontology"}},"/api/v1/openapi.json":{"get":{"operationId":"openapi_document","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"OpenAPI document for the implemented PostgreSQL HTTP API","x-ontology":"/api/v1/ontology"}},"/api/v1/opportunities":{"get":{"operationId":"search","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}},{"in":"query","name":"active","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"default":25,"maximum":100,"minimum":1,"type":"integer"}},{"in":"query","name":"naics","required":false,"schema":{"type":"string"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"maximum":100000,"minimum":0,"type":"integer"}},{"description":"At most 1000 UTF-8 bytes","in":"query","name":"q","required":false,"schema":{"type":"string"}},{"in":"query","name":"state","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"$ref":"#/components/schemas/SearchPage"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Invalid input or pagination; refine the query","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Storage unavailable or time limit exceeded","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Offset-paged metadata and lexical search","x-ontology":"/api/v1/ontology","x-reject-unknown-query-parameters":true}},"/api/v1/opportunities/{notice_id}":{"get":{"operationId":"detail","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}},{"in":"path","name":"notice_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"$ref":"#/components/schemas/Opportunity"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Source resource not found","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Storage unavailable","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Current canonical opportunity","x-ontology":"/api/v1/ontology"}},"/api/v1/opportunities/{notice_id}/entities":{"get":{"operationId":"entities","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}},{"in":"path","name":"notice_id","required":true,"schema":{"type":"string"}},{"in":"query","name":"direction","required":false,"schema":{"enum":["outgoing","incoming","both"],"type":"string"}},{"description":"At most 512 UTF-8 bytes; filters entities/relationships only","in":"query","name":"entityId","required":false,"schema":{"type":"string"}},{"in":"query","name":"predicate","required":false,"schema":{"enum":["reservesModelBudget","hasAgentStep","monitorsSavedSearch","hasSupplierSourceRevision","attestsRetrieval","enqueuesNotification","notifiesRevision","invokesTool","observesToolResult","citesEvidence","discussesOpportunity","producesSupplierDraft","hasSupplierSourceProvenance","retainsSupplierDraft","proposesProfile","hasFeedItem","syndicatesOpportunity","syndicatesRevision","embedsRevision","usesEmbeddingSpace","indexesEmbedding","issuedBy","investigatesOpportunity","watchesOpportunity","baselineRevision","capturesRevision","hasComparison","hasComparisonRow","comparesRevision","producesBrief","requiresScope","usesTool","hasCheckpoint","hasTrace","hasArtifact","hasBudget","ownedBy","hasRevision","supersedes","amends","hasSolicitation","hasAward","awardedTo","parentOrganization","classifiedAs","requires","eligibleFor","locatedIn","hasContact","hasDocument","hasDeadline","supportedByEvidence"],"type":"string"}},{"in":"query","name":"revisionId","required":false,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"additionalProperties":false,"properties":{"entities":{"items":{"$ref":"#/components/schemas/Entity"},"type":"array"},"ontologyVersion":{"const":"1.0.0"},"revisionId":{"type":"string"}},"required":["entities","ontologyVersion","revisionId"],"type":"object"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Invalid query/body","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Opportunity/revision/entity not found","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Storage unavailable or time limit exceeded","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Source entities, optionally filtered by entityId","x-ontology":"/api/v1/ontology","x-reject-unknown-query-parameters":true}},"/api/v1/opportunities/{notice_id}/fit":{"post":{"operationId":"profile_fit","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}},{"in":"path","name":"notice_id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"profile":{"assertions":{},"createdAt":"2026-10-01T00:00:00Z","exclusions":[],"id":"caller-profile","keywords":["cyber"],"naicsPrefixes":[],"name":"Example supplier","noticeTypes":[],"ownerId":"unverified-caller","setAsides":[],"states":[],"updatedAt":"2026-10-01T00:00:00Z"}},"schema":{"$ref":"#/components/schemas/FitInput"}}},"required":true,"x-max-bytes":65536},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"$ref":"#/components/schemas/FitEvaluation"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"Cache-Control":{"schema":{"const":"no-store"}},"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Invalid query/body","headers":{"Cache-Control":{"schema":{"const":"no-store"}},"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Opportunity/revision/entity not found","headers":{"Cache-Control":{"schema":{"const":"no-store"}},"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Storage unavailable or time limit exceeded","headers":{"Cache-Control":{"schema":{"const":"no-store"}},"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Stateless supplier preference and declaration screening; declarations remain unverified","x-json-rejection-status":400,"x-ontology":"/api/v1/ontology","x-timeout-seconds":30}},"/api/v1/opportunities/{notice_id}/graph":{"get":{"operationId":"graph","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}},{"in":"path","name":"notice_id","required":true,"schema":{"type":"string"}},{"in":"query","name":"direction","required":false,"schema":{"enum":["outgoing","incoming","both"],"type":"string"}},{"description":"At most 512 UTF-8 bytes; filters entities/relationships only","in":"query","name":"entityId","required":false,"schema":{"type":"string"}},{"in":"query","name":"predicate","required":false,"schema":{"enum":["reservesModelBudget","hasAgentStep","monitorsSavedSearch","hasSupplierSourceRevision","attestsRetrieval","enqueuesNotification","notifiesRevision","invokesTool","observesToolResult","citesEvidence","discussesOpportunity","producesSupplierDraft","hasSupplierSourceProvenance","retainsSupplierDraft","proposesProfile","hasFeedItem","syndicatesOpportunity","syndicatesRevision","embedsRevision","usesEmbeddingSpace","indexesEmbedding","issuedBy","investigatesOpportunity","watchesOpportunity","baselineRevision","capturesRevision","hasComparison","hasComparisonRow","comparesRevision","producesBrief","requiresScope","usesTool","hasCheckpoint","hasTrace","hasArtifact","hasBudget","ownedBy","hasRevision","supersedes","amends","hasSolicitation","hasAward","awardedTo","parentOrganization","classifiedAs","requires","eligibleFor","locatedIn","hasContact","hasDocument","hasDeadline","supportedByEvidence"],"type":"string"}},{"in":"query","name":"revisionId","required":false,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"$ref":"#/components/schemas/Graph"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Invalid query/body","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Opportunity/revision/entity not found","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Storage unavailable or time limit exceeded","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Source-projected graph for the current or selected revision","x-ontology":"/api/v1/ontology","x-reject-unknown-query-parameters":true}},"/api/v1/opportunities/{notice_id}/provenance":{"get":{"operationId":"provenance","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}},{"in":"path","name":"notice_id","required":true,"schema":{"type":"string"}},{"in":"query","name":"direction","required":false,"schema":{"enum":["outgoing","incoming","both"],"type":"string"}},{"description":"At most 512 UTF-8 bytes; filters entities/relationships only","in":"query","name":"entityId","required":false,"schema":{"type":"string"}},{"in":"query","name":"predicate","required":false,"schema":{"enum":["reservesModelBudget","hasAgentStep","monitorsSavedSearch","hasSupplierSourceRevision","attestsRetrieval","enqueuesNotification","notifiesRevision","invokesTool","observesToolResult","citesEvidence","discussesOpportunity","producesSupplierDraft","hasSupplierSourceProvenance","retainsSupplierDraft","proposesProfile","hasFeedItem","syndicatesOpportunity","syndicatesRevision","embedsRevision","usesEmbeddingSpace","indexesEmbedding","issuedBy","investigatesOpportunity","watchesOpportunity","baselineRevision","capturesRevision","hasComparison","hasComparisonRow","comparesRevision","producesBrief","requiresScope","usesTool","hasCheckpoint","hasTrace","hasArtifact","hasBudget","ownedBy","hasRevision","supersedes","amends","hasSolicitation","hasAward","awardedTo","parentOrganization","classifiedAs","requires","eligibleFor","locatedIn","hasContact","hasDocument","hasDeadline","supportedByEvidence"],"type":"string"}},{"in":"query","name":"revisionId","required":false,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"additionalProperties":false,"properties":{"artifacts":{"additionalProperties":true,"type":"object"},"ontologyVersion":{"const":"1.0.0"},"sourceGraph":{"$ref":"#/components/schemas/Graph"}},"required":["artifacts","ontologyVersion","sourceGraph"],"type":"object"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Invalid query/body","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Opportunity/revision/entity not found","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Storage unavailable or time limit exceeded","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Source graph and bounded stored evidence, claim and retrieval collections","x-ontology":"/api/v1/ontology","x-reject-unknown-query-parameters":true}},"/api/v1/opportunities/{notice_id}/relationships":{"get":{"operationId":"relationships","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}},{"in":"path","name":"notice_id","required":true,"schema":{"type":"string"}},{"in":"query","name":"direction","required":false,"schema":{"enum":["outgoing","incoming","both"],"type":"string"}},{"description":"At most 512 UTF-8 bytes; filters entities/relationships only","in":"query","name":"entityId","required":false,"schema":{"type":"string"}},{"in":"query","name":"predicate","required":false,"schema":{"enum":["reservesModelBudget","hasAgentStep","monitorsSavedSearch","hasSupplierSourceRevision","attestsRetrieval","enqueuesNotification","notifiesRevision","invokesTool","observesToolResult","citesEvidence","discussesOpportunity","producesSupplierDraft","hasSupplierSourceProvenance","retainsSupplierDraft","proposesProfile","hasFeedItem","syndicatesOpportunity","syndicatesRevision","embedsRevision","usesEmbeddingSpace","indexesEmbedding","issuedBy","investigatesOpportunity","watchesOpportunity","baselineRevision","capturesRevision","hasComparison","hasComparisonRow","comparesRevision","producesBrief","requiresScope","usesTool","hasCheckpoint","hasTrace","hasArtifact","hasBudget","ownedBy","hasRevision","supersedes","amends","hasSolicitation","hasAward","awardedTo","parentOrganization","classifiedAs","requires","eligibleFor","locatedIn","hasContact","hasDocument","hasDeadline","supportedByEvidence"],"type":"string"}},{"in":"query","name":"revisionId","required":false,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"additionalProperties":false,"properties":{"ontologyVersion":{"const":"1.0.0"},"relationships":{"items":{"$ref":"#/components/schemas/Relationship"},"type":"array"},"revisionId":{"type":"string"}},"required":["ontologyVersion","relationships","revisionId"],"type":"object"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Invalid query/body","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Opportunity/revision/entity not found","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Storage unavailable or time limit exceeded","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"One-hop source relationships with optional filters","x-ontology":"/api/v1/ontology","x-reject-unknown-query-parameters":true}},"/api/v1/opportunities/{notice_id}/revisions":{"get":{"operationId":"revisions","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}},{"in":"path","name":"notice_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"$ref":"#/components/schemas/Revisions"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Source resource not found","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Storage unavailable","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Locally observed revisions; use read tools for bounded revision paging","x-ontology":"/api/v1/ontology"}},"/api/v1/opportunities/{notice_id}/summary":{"get":{"operationId":"grounded_summary","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}},{"in":"path","name":"notice_id","required":true,"schema":{"type":"string"}},{"in":"query","name":"revisionId","required":false,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"additionalProperties":false,"properties":{"createdAt":{"format":"date-time","type":"string"},"extractionRunId":{"type":["string","null"]},"inputFingerprint":{"type":"string"},"metadata":{},"processingVersion":{"type":"string"},"status":{"type":"string"},"summary":{"anyOf":[{"$ref":"#/components/schemas/Summary"},{"type":"null"}]}},"required":["summary","status","inputFingerprint"],"type":"object"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Invalid query/body","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Opportunity/revision/entity not found","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Storage unavailable or time limit exceeded","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Stored grounded artifact or pending status; does not invoke inference","x-ontology":"/api/v1/ontology","x-reject-unknown-query-parameters":true}},"/api/v1/search":{"post":{"operationId":"screened_search","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"filters":{"active":true},"limit":25,"q":"cyber support"},"schema":{"$ref":"#/components/schemas/SearchRequest"}}},"required":true,"x-max-bytes":131072},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"$ref":"#/components/schemas/RetrievalPage"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Invalid input or pagination; refine the query","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Storage unavailable or time limit exceeded","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Structured source screening and lexical/current-vector ranking with frozen cursor pages","x-json-rejection-status":400,"x-ontology":"/api/v1/ontology","x-timeout-seconds":30}},"/api/v1/search/embedding-spaces":{"get":{"operationId":"embedding_spaces","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"additionalProperties":false,"properties":{"coverage":{"type":"string"},"retrievalVersion":{"const":"hybrid-retrieval-v1"},"spaces":{"items":{"additionalProperties":false,"properties":{"dimensions":{"type":"integer"},"lastStoredAt":{"format":"date-time","type":"string"},"model":{"type":"string"},"spaceId":{"type":"string"},"storedCurrentRevisionCount":{"type":"integer"}},"required":["dimensions","lastStoredAt","model","spaceId","storedCurrentRevisionCount"],"type":"object"},"type":"array"}},"required":["coverage","retrievalVersion","spaces"],"type":"object"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Storage unavailable","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Stored embedding model-space inventory","x-ontology":"/api/v1/ontology"}},"/api/v1/search/plan":{"post":{"operationId":"query_plan","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":25,"text":"cyber support"},"schema":{"$ref":"#/components/schemas/PlanInput"}}},"required":true,"x-max-bytes":8192},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"$ref":"#/components/schemas/Plan"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Invalid planning input","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Plan a supported search; unresolved plans are returned with executable=false","x-json-rejection-status":400,"x-ontology":"/api/v1/ontology"}},"/api/v1/search/plan/schema":{"get":{"operationId":"planning_schema","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"additionalProperties":true,"type":"object"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Generated Rust schema or schema discovery metadata","x-ontology":"/api/v1/ontology"}},"/api/v1/search/planned":{"post":{"operationId":"planned_search","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"expectedPlanHash":"<hash returned by planning>","input":{"limit":25,"text":"cyber support"}},"schema":{"$ref":"#/components/schemas/PlanExecution"}}},"required":true,"x-max-bytes":8192},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"$ref":"#/components/schemas/PlannedPage"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Invalid input or pagination; refine the query","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Storage unavailable or time limit exceeded","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Execute an unchanged, resolved plan with a matching hash","x-json-rejection-status":400,"x-ontology":"/api/v1/ontology","x-timeout-seconds":30}},"/api/v1/search/schema":{"get":{"operationId":"search_schema","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"additionalProperties":true,"type":"object"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Generated Rust schema or schema discovery metadata","x-ontology":"/api/v1/ontology"}},"/api/v1/user/invoke":{"post":{"operationId":"user_invoke","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"arguments":{"profile":{"keywords":["cyber"],"name":"Example supplier"},"requestKey":"supplier-import-1"},"name":"create_profile"},"schema":{"$ref":"#/components/schemas/UserInvocation"}}},"required":true,"x-max-bytes":65536},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"oneOf":[{"$ref":"#/components/schemas/UserOutput_create_workflow_run"},{"$ref":"#/components/schemas/UserOutput_execute_workflow_run"},{"$ref":"#/components/schemas/UserOutput_advance_workflow_run"},{"$ref":"#/components/schemas/UserOutput_cancel_workflow_run"},{"$ref":"#/components/schemas/UserOutput_resume_workflow_run"},{"$ref":"#/components/schemas/UserOutput_get_workflow_run"},{"$ref":"#/components/schemas/UserOutput_list_workflow_runs"},{"$ref":"#/components/schemas/UserOutput_get_workflow_report"},{"$ref":"#/components/schemas/UserOutput_list_workflow_checkpoints"},{"$ref":"#/components/schemas/UserOutput_list_workflow_traces"},{"$ref":"#/components/schemas/UserOutput_list_workflow_artifacts"},{"$ref":"#/components/schemas/UserOutput_get_workflow_artifact"},{"$ref":"#/components/schemas/UserOutput_describe_credential"},{"$ref":"#/components/schemas/UserOutput_create_alert"},{"$ref":"#/components/schemas/UserOutput_get_alert"},{"$ref":"#/components/schemas/UserOutput_list_alerts"},{"$ref":"#/components/schemas/UserOutput_update_alert"},{"$ref":"#/components/schemas/UserOutput_delete_alert"},{"$ref":"#/components/schemas/UserOutput_get_alert_signing_secret"},{"$ref":"#/components/schemas/UserOutput_list_alert_deliveries"},{"$ref":"#/components/schemas/UserOutput_create_agent_run"},{"$ref":"#/components/schemas/UserOutput_advance_agent_run"},{"$ref":"#/components/schemas/UserOutput_get_agent_run"},{"$ref":"#/components/schemas/UserOutput_get_agent_run_step"},{"$ref":"#/components/schemas/UserOutput_list_agent_runs"},{"$ref":"#/components/schemas/UserOutput_create_watch"},{"$ref":"#/components/schemas/UserOutput_get_watch"},{"$ref":"#/components/schemas/UserOutput_list_watches"},{"$ref":"#/components/schemas/UserOutput_update_watch"},{"$ref":"#/components/schemas/UserOutput_delete_watch"},{"$ref":"#/components/schemas/UserOutput_create_comparison_brief"},{"$ref":"#/components/schemas/UserOutput_create_brief"},{"$ref":"#/components/schemas/UserOutput_get_brief"},{"$ref":"#/components/schemas/UserOutput_list_briefs"},{"$ref":"#/components/schemas/UserOutput_delete_brief"},{"$ref":"#/components/schemas/UserOutput_create_supplier_model_attempt"},{"$ref":"#/components/schemas/UserOutput_execute_supplier_model_attempt"},{"$ref":"#/components/schemas/UserOutput_get_supplier_model_attempt"},{"$ref":"#/components/schemas/UserOutput_list_supplier_model_attempts"},{"$ref":"#/components/schemas/UserOutput_select_supplier_capabilities"},{"$ref":"#/components/schemas/UserOutput_extract_supplier_text"},{"$ref":"#/components/schemas/UserOutput_extract_supplier_website"},{"$ref":"#/components/schemas/UserOutput_create_profile"},{"$ref":"#/components/schemas/UserOutput_get_profile"},{"$ref":"#/components/schemas/UserOutput_get_profile_provenance"},{"$ref":"#/components/schemas/UserOutput_add_profile_source"},{"$ref":"#/components/schemas/UserOutput_list_profile_sources"},{"$ref":"#/components/schemas/UserOutput_get_profile_source"},{"$ref":"#/components/schemas/UserOutput_list_profiles"},{"$ref":"#/components/schemas/UserOutput_update_profile"},{"$ref":"#/components/schemas/UserOutput_delete_profile"},{"$ref":"#/components/schemas/UserOutput_create_saved_search"},{"$ref":"#/components/schemas/UserOutput_get_saved_search"},{"$ref":"#/components/schemas/UserOutput_list_saved_searches"},{"$ref":"#/components/schemas/UserOutput_update_saved_search"},{"$ref":"#/components/schemas/UserOutput_delete_saved_search"},{"$ref":"#/components/schemas/UserOutput_start_ingestion"},{"$ref":"#/components/schemas/UserOutput_get_ingestion_job"},{"$ref":"#/components/schemas/UserOutput_cancel_ingestion_job"}]},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"Cache-Control":{"schema":{"const":"no-store"}},"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"error":{"$ref":"#/components/schemas/UserError"},"requestId":{"type":"string"}},"required":["apiVersion","error","requestId"],"type":"object"}}},"description":"Invalid input","headers":{"Cache-Control":{"schema":{"const":"no-store"}},"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"401":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"error":{"$ref":"#/components/schemas/UserError"},"requestId":{"type":"string"}},"required":["apiVersion","error","requestId"],"type":"object"}}},"description":"Missing, invalid, expired or revoked credential","headers":{"Cache-Control":{"schema":{"const":"no-store"}},"WWW-Authenticate":{"schema":{"const":"Bearer realm=\"sam-tldr-user-tools\""}},"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"error":{"$ref":"#/components/schemas/UserError"},"requestId":{"type":"string"}},"required":["apiVersion","error","requestId"],"type":"object"}}},"description":"Missing required scope","headers":{"Cache-Control":{"schema":{"const":"no-store"}},"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"404":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"error":{"$ref":"#/components/schemas/UserError"},"requestId":{"type":"string"}},"required":["apiVersion","error","requestId"],"type":"object"}}},"description":"Resource not found for this owner","headers":{"Cache-Control":{"schema":{"const":"no-store"}},"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"409":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"error":{"$ref":"#/components/schemas/UserError"},"requestId":{"type":"string"}},"required":["apiVersion","error","requestId"],"type":"object"}}},"description":"Stale version or changed create request key","headers":{"Cache-Control":{"schema":{"const":"no-store"}},"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"422":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"error":{"$ref":"#/components/schemas/UserError"},"requestId":{"type":"string"}},"required":["apiVersion","error","requestId"],"type":"object"}}},"description":"Result exceeds output budget","headers":{"Cache-Control":{"schema":{"const":"no-store"}},"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"429":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"error":{"$ref":"#/components/schemas/UserError"},"requestId":{"type":"string"}},"required":["apiVersion","error","requestId"],"type":"object"}}},"description":"Owner resource/receipt quota reached","headers":{"Cache-Control":{"schema":{"const":"no-store"}},"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"503":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"error":{"$ref":"#/components/schemas/UserError"},"requestId":{"type":"string"}},"required":["apiVersion","error","requestId"],"type":"object"}}},"description":"Storage unavailable or time limit exceeded","headers":{"Cache-Control":{"schema":{"const":"no-store"}},"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[{"UserBearer":[]}],"summary":"Invoke an owner-scoped user tool; credential scope is checked for the selected operation","x-json-rejection-status":400,"x-ontology":"/api/v1/ontology","x-required-scopes-by-tool":{"add_profile_source":"profiles:write","advance_agent_run":"workflows:write","advance_workflow_run":"workflows:write","cancel_ingestion_job":"ingestion:write","cancel_workflow_run":"workflows:write","create_agent_run":"workflows:write","create_alert":"alerts:write","create_brief":"briefs:write","create_comparison_brief":"briefs:write","create_profile":"profiles:write","create_saved_search":"searches:write","create_supplier_model_attempt":"profiles:write","create_watch":"watches:write","create_workflow_run":"workflows:write","delete_alert":"alerts:write","delete_brief":"briefs:write","delete_profile":"profiles:write","delete_saved_search":"searches:write","delete_watch":"watches:write","describe_credential":null,"execute_supplier_model_attempt":"profiles:write","execute_workflow_run":"workflows:write","extract_supplier_text":"profiles:write","extract_supplier_website":"profiles:write","get_agent_run":"workflows:read","get_agent_run_step":"workflows:read","get_alert":"alerts:read","get_alert_signing_secret":"alerts:write","get_brief":"briefs:read","get_ingestion_job":"ingestion:read","get_profile":"profiles:read","get_profile_provenance":"profiles:read","get_profile_source":"profiles:read","get_saved_search":"searches:read","get_supplier_model_attempt":"profiles:read","get_watch":"watches:read","get_workflow_artifact":"workflows:read","get_workflow_report":"workflows:read","get_workflow_run":"workflows:read","list_agent_runs":"workflows:read","list_alert_deliveries":"alerts:read","list_alerts":"alerts:read","list_briefs":"briefs:read","list_profile_sources":"profiles:read","list_profiles":"profiles:read","list_saved_searches":"searches:read","list_supplier_model_attempts":"profiles:read","list_watches":"watches:read","list_workflow_artifacts":"workflows:read","list_workflow_checkpoints":"workflows:read","list_workflow_runs":"workflows:read","list_workflow_traces":"workflows:read","resume_workflow_run":"workflows:write","select_supplier_capabilities":"profiles:write","start_ingestion":"ingestion:write","update_alert":"alerts:write","update_profile":"profiles:write","update_saved_search":"searches:write","update_watch":"watches:write"},"x-timeout-seconds":30}},"/api/v1/user/tools":{"get":{"operationId":"user_discovery","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"additionalProperties":true,"type":"object"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Tool/protocol discovery; contains no user records or credentials","x-ontology":"/api/v1/ontology"}},"/healthz":{"get":{"operationId":"health","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"ok":{"const":true},"storage":{"const":"postgres"}},"required":["ok","storage"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Process liveness","x-ontology":"/api/v1/ontology"}},"/readyz":{"get":{"operationId":"ready","parameters":[{"in":"header","name":"x-request-id","required":false,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"apiVersion":{"const":"1"},"data":{"additionalProperties":false,"properties":{"dependencies":{"additionalProperties":false,"properties":{"postgres":{"const":"ok"},"qdrant":{"enum":["ok","unavailable","notConfigured"]}},"required":["postgres","qdrant"],"type":"object"},"ready":{"const":true}},"required":["dependencies","ready"],"type":"object"},"requestId":{"type":"string"}},"required":["apiVersion","data","requestId"],"type":"object"}}},"description":"Successful response","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceError"}}},"description":"Storage unavailable","headers":{"x-request-id":{"description":"Caller request ID, or a generated UUID","schema":{"type":"string"}}}}},"security":[],"summary":"Readiness: PostgreSQL is required; Qdrant is reported but non-fatal","x-ontology":"/api/v1/ontology"}}},"security":[],"servers":[{"url":"/"}],"x-discovery":{"mcp":"/api/v1/mcp/discovery","ontology":"/api/v1/ontology","publicTools":"/api/v1/agent/tools","userTools":"/api/v1/user/tools"}}