{"items":[{"type":"link","label":"Constellation","link":"/constellation/api","routeSlug":"/constellation/api","content":{"contentType":"overview","meta":{"name":"Constellation"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"api.json","url":"/_bundle/constellation/api.json?download"},{"kind":"download","label":"api.yaml","url":"/_bundle/constellation/api.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"https://api-prd.infra-prod.blackbird.ai/v1"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Constellation","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"b","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"An API for understanding online narratives, the posts that make them, and the actors who shape them"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The Constellation API provides endpoints that let you analyze social posts, the accounts behind them, and the narratives connecting them. Using advanced AI, the API organizes raw social data into structured insights—showing what is being said, who is amplifying it, how it is propagating across platforms, and what potential risks it may pose to your organization."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The Posts endpoint returns post-level content such as text, author information, engagement metadata, and AI-generated enrichments including risk metrics and narrative identifiers. The Authors endpoint provides account-level context, including cohort membership and other actor-intelligence indicators. The Narratives endpoint returns clusters of related content, an AI-generated assessment of potential risk, a narrative summary, and a description of the narrative itself."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This API is ideal for customers who want to embed Constellation enrichments directly into their own products, dashboards, or analytical workflows."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"i","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"All boolean and query searches are beta. They are intended to mirror a subset of the ElasticSearch DSL spec, but the current implementation is just an approximate. Any change to the functionality which makes it more-correctly implement that spec is considered non-breaking"},"children":[]}]}]}]}]}],"sectionId":"/constellation/api"}],"sectionId":"/constellation/api"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":2,"id":"section/user-documentation"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"User Documentation"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/constellation/actor-intelligence"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Actor Intelligence"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/constellation/author-analysis"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Author Analysis"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/constellation/detailed-stats-widget"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Detailed Stats Widget"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/constellation/narrative-details"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Narrative Details"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/constellation/narrative-list"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Narrative List"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/constellation/post-analysis"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Post Analysis"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/constellation/post-translation"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Post Translation"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/constellation/project-overview"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Project Overview"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/constellation/segment-bar-quick-reference"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Segment Bar Quick Reference"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/constellation/segment-bar-user-guide"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Segment Bar User Guide"},"children":[]}]}]}]}]}]}],"sectionId":"/constellation/api/section/user-documentation"}]}]}},{"type":"link","label":"User Documentation","link":"/constellation/api/section/user-documentation","routeSlug":"/constellation/api/section/user-documentation","content":null},{"type":"group","label":"Project","link":"/constellation/api/project","routeSlug":"/constellation/api/project","items":[{"label":"find_projects","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/constellation/api/project/find_projects","routeSlug":"/constellation/api/project/find_projects","metadata":{"seo":{"title":"find_projects"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"find_projects","name":"find_projects","isWebhook":false,"pointer":"/paths/~1projects/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"find_projects","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"projectId","in":"query","schemaId":"schema_91","description":"If provided, will filter the projects to only include the project with the given projectId"}],"pointer":"/paths/~1projects/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/projects","servers":[{"url":"https://api-prd.infra-prod.blackbird.ai/v1"}],"parameters":{"path":[],"query":[{"name":"projectId","in":"query","required":false,"schemaId":"schema_91"}],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200"],"pointer":"/projects","href":"project/find_projects","openApiOperationId":"find_projects"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-prd.infra-prod.blackbird.ai/v1"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ProjectSummaryCollection_Output"}},"schemaId":"components/schemas/ProjectSummaryCollection_Output"}],"pointer":"/paths/~1projects/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/ProjectSummaryCollection_Output","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ProjectSummaryCollection_Output"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/project/find_projects"}],"panels":[]}]},"httpPath":"/projects"},{"label":"find_projects_by_id","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/constellation/api/project/find_projects_by_id","routeSlug":"/constellation/api/project/find_projects_by_id","metadata":{"seo":{"title":"find_projects_by_id"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"find_projects_by_id","name":"find_projects_by_id","isWebhook":false,"pointer":"/paths/~1projects~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"find_projects_by_id","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_91","required":true}],"pointer":"/paths/~1projects~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/projects/{id}","servers":[{"url":"https://api-prd.infra-prod.blackbird.ai/v1"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_91"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200"],"pointer":"/projects/{id}","href":"project/find_projects_by_id","openApiOperationId":"find_projects_by_id"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-prd.infra-prod.blackbird.ai/v1"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ProjectByIdSummary_Output"}},"schemaId":"components/schemas/ProjectByIdSummary_Output"}],"pointer":"/paths/~1projects~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/ProjectByIdSummary_Output","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ProjectByIdSummary_Output"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/project/find_projects_by_id"}],"panels":[]}]},"httpPath":"/projects/{id}"},{"label":"update_projects_by_id","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/constellation/api/project/update_projects_by_id","routeSlug":"/constellation/api/project/update_projects_by_id","metadata":{"seo":{"title":"update_projects_by_id"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"update_projects_by_id","name":"update_projects_by_id","isWebhook":false,"pointer":"/paths/~1projects~1{id}/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"update_projects_by_id","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_91","required":true}],"pointer":"/paths/~1projects~1{id}/patch/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_92"}},"schemaId":"schema_92","pointer":"/paths/~1projects~1{id}/patch/requestBody","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Discriminated by "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"actionType"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Send only the fields for the chosen variant."},"children":[]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/projects/{id}","servers":[{"url":"https://api-prd.infra-prod.blackbird.ai/v1"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_91"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"schema_92"}},"responseCodes":["200"],"pointer":"/projects/{id}","href":"project/update_projects_by_id","openApiOperationId":"update_projects_by_id"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-prd.infra-prod.blackbird.ai/v1"}],"schemaId":"schema_92","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_92"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ProjectSummary_Output"}},"schemaId":"components/schemas/ProjectSummary_Output"}],"pointer":"/paths/~1projects~1{id}/patch/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/ProjectSummary_Output","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ProjectSummary_Output"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/project/update_projects_by_id"}],"panels":[]}]},"httpPath":"/projects/{id}"}],"content":{"contentType":"group","meta":{"name":"Project"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Project","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/projects","summary":"find_projects","prefix":{"name":"get","color":"get"},"badges":[],"link":"/project/find_projects","deprecated":false},{"title":"/projects/{id}","summary":"find_projects_by_id","prefix":{"name":"get","color":"get"},"badges":[],"link":"/project/find_projects_by_id","deprecated":false},{"title":"/projects/{id}","summary":"update_projects_by_id","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/project/update_projects_by_id","deprecated":false}]}]}]}]}},{"type":"group","label":"Posts","link":"/constellation/api/posts","routeSlug":"/constellation/api/posts","items":[{"label":"Search for posts","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/constellation/api/posts/postsearch","routeSlug":"/constellation/api/posts/postsearch","metadata":{"seo":{"title":"Search for posts","description":"The Posts endpoint allows you to fetch social posts that have been processed and enriched by Constellation. Each post includes its original content—such as text, author information, and engagement data—along with enrichments that provide deeper analytical context."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"postSearch","name":"Search for posts","isWebhook":false,"pointer":"/paths/~1posts~1-~1search/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Search for posts","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The Posts endpoint allows you to fetch social posts that have been processed and enriched by Constellation. Each post includes its original content—such as text, author information, and engagement data—along with enrichments that provide deeper analytical context."},"children":[]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"projectId","in":"query","schemaId":"schema_91","description":"The ID of the project to find records within","required":true},{"name":"field","in":"query","schemaId":"schema_93","description":"Fields to include in the response. Omit to return all fields."}],"pointer":"/paths/~1posts~1-~1search/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/PostsSearchRequestDto","exampleIds":["paths/~1posts~1-~1search/post/requestBody/content/application~1json/examples/example1"]}},"schemaId":"components/schemas/PostsSearchRequestDto","exampleIds":["paths/~1posts~1-~1search/post/requestBody/content/application~1json/examples/example1"],"pointer":"/paths/~1posts~1-~1search/post/requestBody","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Query, sort, and pagination criteria."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Cursor-Based Pagination:"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"For the first page, omit the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"after"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" field or set it to "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"null"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Use the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"endCursor"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" value from the previous response's "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"pageInfo"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" as the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"after"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" value for the next page"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The cursor is an identifier to the last row in the previous page"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Example cursor: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"eyJjcmVhdGVkQXQiOiIyMDI1LTA4LTI3VDIwOjQ4OjI4LjAwMFoiLCJwb3N0SWQiOiIxOTYwODA2NjQyMjE3NTc0NTAyIn0="},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Pagination Flow:"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"First request: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"{ \"query\": {...}, \"page\": { \"first\": 50 } }"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Response includes: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"pageInfo.endCursor"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Next request: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"{ \"query\": {...}, \"page\": { \"first\": 50, \"after\": \"<endCursor from previous>\" } }"},"children":[]}]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/posts/-/search","servers":[{"url":"https://api-prd.infra-prod.blackbird.ai/v1"}],"parameters":{"path":[],"query":[{"name":"projectId","in":"query","required":true,"schemaId":"schema_91"},{"name":"field","in":"query","required":false,"schemaId":"schema_93"}],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/PostsSearchRequestDto","exampleIds":["paths/~1posts~1-~1search/post/requestBody/content/application~1json/examples/example1"]}},"responseCodes":["200"],"pointer":"/posts/-/search","href":"posts/postsearch","openApiOperationId":"postSearch","summary":"Search for posts"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-prd.infra-prod.blackbird.ai/v1"}],"schemaId":"components/schemas/PostsSearchRequestDto","exampleIds":["paths/~1posts~1-~1search/post/requestBody/content/application~1json/examples/example1"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/PostsSearchRequestDto","exampleIds":["paths/~1posts~1-~1search/post/requestBody/content/application~1json/examples/example1"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/PostsCollection_Output"}},"schemaId":"components/schemas/PostsCollection_Output"}],"pointer":"/paths/~1posts~1-~1search/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/PostsCollection_Output","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/PostsCollection_Output"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/posts/postsearch"}],"panels":[]}]},"httpPath":"/posts/-/search"}],"content":{"contentType":"group","meta":{"name":"Posts"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Posts","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/posts/-/search","summary":"Search for posts","prefix":{"name":"post","color":"post"},"badges":[],"link":"/posts/postsearch","deprecated":false}]}]}]}]}},{"type":"group","label":"Narratives","link":"/constellation/api/narratives","routeSlug":"/constellation/api/narratives","items":[{"label":"Search for narratives","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/constellation/api/narratives/narrativessearch","routeSlug":"/constellation/api/narratives/narrativessearch","metadata":{"seo":{"title":"Search for narratives","description":"The Narratives endpoint allows you to fetch clusters of related content that Constellation has grouped into coherent narratives. Each narrative includes an AI-generated summary, a description, and an assessment of the claim."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"narrativesSearch","name":"Search for narratives","isWebhook":false,"pointer":"/paths/~1narratives~1-~1search/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Search for narratives","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The Narratives endpoint allows you to fetch clusters of related content that Constellation has grouped into coherent narratives. Each narrative includes an AI-generated summary, a description, and an assessment of the claim."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Date ranges select narratives, they do not scope narrative metrics."},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A date range in "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"query"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" decides "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"which"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" narratives are returned: any narrative with at least one post in the window. It does not change the narrative-level metrics, which are lifetime totals for the whole narrative:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"postCount"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"totalEngagement"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"uniqueAuthors"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"dailyHistogram"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"hourlyHistogram"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cohortsDistribution"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"platformDistribution"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A narrative with 113 posts inside your window but 18,126 across its lifetime returns "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"postCount: 18126"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"For window-scoped numbers:"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"matchingPostCount"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is the post count restricted to the filters in the request. Use this instead of "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"postCount"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" whenever your request carries a date range. It is also filterable and sortable."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"matchingPostRatio"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"matchingPostCount / postCount"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". It defaults to "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"1"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" when no post-level filter applies, so a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"1"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" does not by itself prove the filter was applied."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"For scoped engagement, author counts, or histograms, use "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"entitiesSearchAggregations"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" with "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"entityType: \"narratives\""},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and the same "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"query"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"projectId","in":"query","schemaId":"schema_91","description":"The ID of the project to find records within","required":true},{"name":"field","in":"query","schemaId":"schema_94","description":"Fields to include in the response. Omit to return all fields."}],"pointer":"/paths/~1narratives~1-~1search/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/NarrativesSearchRequestDto","exampleIds":["paths/~1narratives~1-~1search/post/requestBody/content/application~1json/examples/example1"]}},"schemaId":"components/schemas/NarrativesSearchRequestDto","exampleIds":["paths/~1narratives~1-~1search/post/requestBody/content/application~1json/examples/example1"],"pointer":"/paths/~1narratives~1-~1search/post/requestBody","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Query, sort, and pagination criteria."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Cursor-Based Pagination:"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"For the first page, omit the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"after"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" field or set it to "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"null"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Use the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"endCursor"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" value from the previous response's "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"pageInfo"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" as the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"after"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" value for the next page"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The cursor is an identifier to the last row in the previous page"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Example cursor: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"eyJjcmVhdGVkQXQiOiIyMDI1LTA4LTI3VDIwOjQ4OjI4LjAwMFoiLCJwb3N0SWQiOiIxOTYwODA2NjQyMjE3NTc0NTAyIn0="},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Pagination Flow:"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"First request: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"{ \"query\": {...}, \"page\": { \"first\": 50 } }"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Response includes: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"pageInfo.endCursor"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Next request: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"{ \"query\": {...}, \"page\": { \"first\": 50, \"after\": \"<endCursor from previous>\" } }"},"children":[]}]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/narratives/-/search","servers":[{"url":"https://api-prd.infra-prod.blackbird.ai/v1"}],"parameters":{"path":[],"query":[{"name":"projectId","in":"query","required":true,"schemaId":"schema_91"},{"name":"field","in":"query","required":false,"schemaId":"schema_94"}],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/NarrativesSearchRequestDto","exampleIds":["paths/~1narratives~1-~1search/post/requestBody/content/application~1json/examples/example1"]}},"responseCodes":["200"],"pointer":"/narratives/-/search","href":"narratives/narrativessearch","openApiOperationId":"narrativesSearch","summary":"Search for narratives"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-prd.infra-prod.blackbird.ai/v1"}],"schemaId":"components/schemas/NarrativesSearchRequestDto","exampleIds":["paths/~1narratives~1-~1search/post/requestBody/content/application~1json/examples/example1"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/NarrativesSearchRequestDto","exampleIds":["paths/~1narratives~1-~1search/post/requestBody/content/application~1json/examples/example1"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/NarrativesCollection_Output"}},"schemaId":"components/schemas/NarrativesCollection_Output"}],"pointer":"/paths/~1narratives~1-~1search/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/NarrativesCollection_Output","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/NarrativesCollection_Output"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/narratives/narrativessearch"}],"panels":[]}]},"httpPath":"/narratives/-/search"}],"content":{"contentType":"group","meta":{"name":"Narratives"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Narratives","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/narratives/-/search","summary":"Search for narratives","prefix":{"name":"post","color":"post"},"badges":[],"link":"/narratives/narrativessearch","deprecated":false}]}]}]}]}},{"type":"group","label":"Authors","link":"/constellation/api/authors","routeSlug":"/constellation/api/authors","items":[{"label":"Search for authors","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/constellation/api/authors/authorsearch","routeSlug":"/constellation/api/authors/authorsearch","metadata":{"seo":{"title":"Search for authors","description":"The Authors endpoint allows you to fetch authors of content that Constellation has analyzed. Each author includes bio information, summary statistics of posts and account info, and an assessment of their profile."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"authorSearch","name":"Search for authors","isWebhook":false,"pointer":"/paths/~1authors~1-~1search/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Search for authors","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"The Authors endpoint allows you to fetch authors of content that Constellation has analyzed. Each author includes bio information, summary statistics of posts and account info, and an assessment of their profile."},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"projectId","in":"query","schemaId":"schema_91","description":"The ID of the project to find records within","required":true},{"name":"field","in":"query","schemaId":"schema_95","description":"Fields to include in the response. Omit to return all fields."}],"pointer":"/paths/~1authors~1-~1search/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/AuthorsSearchRequestDto","exampleIds":["paths/~1authors~1-~1search/post/requestBody/content/application~1json/examples/example1"]}},"schemaId":"components/schemas/AuthorsSearchRequestDto","exampleIds":["paths/~1authors~1-~1search/post/requestBody/content/application~1json/examples/example1"],"pointer":"/paths/~1authors~1-~1search/post/requestBody","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Query, sort, and pagination criteria."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Cursor-Based Pagination:"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"For the first page, omit the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"after"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" field or set it to "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"null"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Use the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"endCursor"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" value from the previous response's "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"pageInfo"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" as the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"after"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" value for the next page"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The cursor is an identifier to the last row in the previous page"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Example cursor: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"eyJjcmVhdGVkQXQiOiIyMDI1LTA4LTI3VDIwOjQ4OjI4LjAwMFoiLCJwb3N0SWQiOiIxOTYwODA2NjQyMjE3NTc0NTAyIn0="},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Pagination Flow:"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"First request: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"{ \"query\": {...}, \"page\": { \"first\": 50 } }"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Response includes: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"pageInfo.endCursor"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Next request: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"{ \"query\": {...}, \"page\": { \"first\": 50, \"after\": \"<endCursor from previous>\" } }"},"children":[]}]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/authors/-/search","servers":[{"url":"https://api-prd.infra-prod.blackbird.ai/v1"}],"parameters":{"path":[],"query":[{"name":"projectId","in":"query","required":true,"schemaId":"schema_91"},{"name":"field","in":"query","required":false,"schemaId":"schema_95"}],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/AuthorsSearchRequestDto","exampleIds":["paths/~1authors~1-~1search/post/requestBody/content/application~1json/examples/example1"]}},"responseCodes":["200"],"pointer":"/authors/-/search","href":"authors/authorsearch","openApiOperationId":"authorSearch","summary":"Search for authors"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-prd.infra-prod.blackbird.ai/v1"}],"schemaId":"components/schemas/AuthorsSearchRequestDto","exampleIds":["paths/~1authors~1-~1search/post/requestBody/content/application~1json/examples/example1"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/AuthorsSearchRequestDto","exampleIds":["paths/~1authors~1-~1search/post/requestBody/content/application~1json/examples/example1"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/AuthorsCollection_Output"}},"schemaId":"components/schemas/AuthorsCollection_Output"}],"pointer":"/paths/~1authors~1-~1search/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/AuthorsCollection_Output","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/AuthorsCollection_Output"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/authors/authorsearch"}],"panels":[]}]},"httpPath":"/authors/-/search"}],"content":{"contentType":"group","meta":{"name":"Authors"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Authors","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/authors/-/search","summary":"Search for authors","prefix":{"name":"post","color":"post"},"badges":[],"link":"/authors/authorsearch","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/ProjectSummaryCollection_Output":{"id":"components/schemas/ProjectSummaryCollection_Output","kind":"json-schema","title":"ProjectSummaryCollection_Output","data":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"postCount":{"type":"number"},"displayName":{"type":"string"},"dataAvailable":{"type":"boolean"},"jobSchedule":{"type":"object","properties":{"enabled":{"type":"boolean"},"jobConfigIdsToRun":{"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"External IDs of job configs to run on each scheduled auto-update (same values as job config "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"externalId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")."},"children":[]}]}]}],"example":["config-abc-twitter","config-def-brandwatch"],"type":"array","items":{"type":"string"}},"schedule":{"example":{"frequency":"daily","time":"01:00","day":"monday","intervalHours":12},"anyOf":[{"type":"object","properties":{"frequency":{"type":"string","const":"daily"},"time":{"type":"string","pattern":"^\\d{2}:\\d{2}$"}},"required":["frequency","time"],"additionalProperties":false},{"type":"object","properties":{"frequency":{"type":"string","const":"weekly"},"time":{"type":"string","pattern":"^\\d{2}:\\d{2}$"},"day":{"type":"string","enum":["sunday","monday","tuesday","wednesday","thursday","friday","saturday"]}},"required":["frequency","time","day"],"additionalProperties":false},{"type":"object","properties":{"frequency":{"type":"string","const":"onDemand"}},"required":["frequency"],"additionalProperties":false},{"type":"object","properties":{"frequency":{"type":"string","const":"recurring"},"time":{"type":"string","pattern":"^\\d{2}:\\d{2}$"},"intervalHours":{"anyOf":[{"type":"number","const":12}]}},"required":["frequency","time","intervalHours"],"additionalProperties":false}]},"dataSources":{"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Distinct data provider names for the selected job configs (COALESCE(linked connector data_provider, config data_provider_name)); set when jobConfigIdsToRun is saved."},"children":[]}]}]}],"example":["twitter","brandwatch"],"type":"array","items":{"type":"string"}},"updatedAt":{"example":"2026-08-18T13:16:32.624Z","type":"string","format":"date-time"},"nextRunDate":{"example":"2026-08-18T13:16:32.624Z","type":"string","format":"date-time"}},"required":["enabled","schedule","dataSources"],"additionalProperties":false},"lastAccessed":{"example":"2026-08-18T13:16:32.624Z","type":"string","format":"date-time"},"createdAt":{"example":"2026-08-18T13:16:32.624Z","type":"string","format":"date-time"},"updatedAt":{"example":"2026-08-18T13:16:32.624Z","type":"string","format":"date-time"},"jobCount":{"type":"object","properties":{"running":{"type":"number"},"completed":{"type":"number"},"failed":{"type":"number"}},"additionalProperties":false},"lastJobStatus":{"type":"string"},"folder":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id"],"additionalProperties":false},"description":{"type":"string"},"originalDataDateRange":{"anyOf":[{"type":"object","properties":{"start":{"description":"ISO 8601 start of the project original-data window","type":"string"},"end":{"description":"ISO 8601 end of the project original-data window","type":"string"}},"required":["start","end"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","slug","displayName"],"additionalProperties":false}}},"required":["data"],"additionalProperties":false}},"components/schemas/ProjectByIdSummary_Output":{"id":"components/schemas/ProjectByIdSummary_Output","kind":"json-schema","title":"ProjectByIdSummary_Output","data":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"postCount":{"type":"number"},"displayName":{"type":"string"},"dataAvailable":{"type":"boolean"},"jobSchedule":{"type":"object","properties":{"enabled":{"type":"boolean"},"jobConfigIdsToRun":{"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"External IDs of job configs to run on each scheduled auto-update (same values as job config "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"externalId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")."},"children":[]}]}]}],"example":["config-abc-twitter","config-def-brandwatch"],"type":"array","items":{"type":"string"}},"schedule":{"example":{"frequency":"daily","time":"01:00","day":"monday","intervalHours":12},"anyOf":[{"type":"object","properties":{"frequency":{"type":"string","const":"daily"},"time":{"type":"string","pattern":"^\\d{2}:\\d{2}$"}},"required":["frequency","time"],"additionalProperties":false},{"type":"object","properties":{"frequency":{"type":"string","const":"weekly"},"time":{"type":"string","pattern":"^\\d{2}:\\d{2}$"},"day":{"type":"string","enum":["sunday","monday","tuesday","wednesday","thursday","friday","saturday"]}},"required":["frequency","time","day"],"additionalProperties":false},{"type":"object","properties":{"frequency":{"type":"string","const":"onDemand"}},"required":["frequency"],"additionalProperties":false},{"type":"object","properties":{"frequency":{"type":"string","const":"recurring"},"time":{"type":"string","pattern":"^\\d{2}:\\d{2}$"},"intervalHours":{"anyOf":[{"type":"number","const":12}]}},"required":["frequency","time","intervalHours"],"additionalProperties":false}]},"dataSources":{"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Distinct data provider names for the selected job configs (COALESCE(linked connector data_provider, config data_provider_name)); set when jobConfigIdsToRun is saved."},"children":[]}]}]}],"example":["twitter","brandwatch"],"type":"array","items":{"type":"string"}},"updatedAt":{"example":"2026-08-18T13:16:32.624Z","type":"string","format":"date-time"},"nextRunDate":{"example":"2026-08-18T13:16:32.624Z","type":"string","format":"date-time"}},"required":["enabled","schedule","dataSources"],"additionalProperties":false},"lastAccessed":{"type":"string","example":"2026-08-18T13:16:32.624Z","format":"date-time"},"createdAt":{"type":"string","example":"2026-08-18T13:16:32.624Z","format":"date-time"},"updatedAt":{"type":"string","example":"2026-08-18T13:16:32.624Z","format":"date-time"},"jobCount":{"type":"object","properties":{"running":{"type":"number"},"completed":{"type":"number"},"failed":{"type":"number"}},"additionalProperties":false},"lastJobStatus":{"type":"string"},"folder":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id"],"additionalProperties":false},"description":{"type":"string"},"originalDataDateRange":{"anyOf":[{"type":"object","properties":{"start":{"description":"ISO 8601 start of the project original-data window","type":"string"},"end":{"description":"ISO 8601 end of the project original-data window","type":"string"}},"required":["start","end"],"additionalProperties":false},{"type":"null"}]},"usersWithAccess":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"roles":{"type":"array","items":{"type":"string"}},"lastName":{"type":"string"},"firstName":{"type":"string"}},"required":["id","email","roles","lastName","firstName"],"additionalProperties":false}}},"required":["id","name","slug","displayName"],"additionalProperties":false}},"components/schemas/ProjectJobScheduleUpdate":{"id":"components/schemas/ProjectJobScheduleUpdate","kind":"json-schema","title":"ProjectJobScheduleUpdate","data":{"type":"object","properties":{"actionType":{"type":"string","const":"jobSchedule"},"jobSchedule":{"type":"object","properties":{"enabled":{"type":"boolean"},"jobConfigIdsToRun":{"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"When set, replaces scheduled configs; server derives "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"dataSources"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" from these job config external IDs."},"children":[]}]}]}],"type":"array","items":{"type":"string"}},"schedule":{"description":"Automated schedule (daily, weekly, or twice-daily recurring); onDemand is not valid for updates.","anyOf":[{"type":"object","properties":{"frequency":{"type":"string","const":"daily"},"time":{"type":"string","pattern":"^\\d{2}:\\d{2}$"}},"required":["frequency","time"]},{"type":"object","properties":{"frequency":{"type":"string","const":"weekly"},"time":{"type":"string","pattern":"^\\d{2}:\\d{2}$"},"day":{"type":"string","enum":["sunday","monday","tuesday","wednesday","thursday","friday","saturday"]}},"required":["frequency","time","day"]},{"type":"object","properties":{"frequency":{"type":"string","const":"recurring"},"time":{"type":"string","pattern":"^\\d{2}:\\d{2}$"},"intervalHours":{"anyOf":[{"type":"number","const":12}]}},"required":["frequency","time","intervalHours"]}]}}}},"required":["actionType","jobSchedule"]}},"components/schemas/ProjectTopicUpdate":{"id":"components/schemas/ProjectTopicUpdate","kind":"json-schema","title":"ProjectTopicUpdate","data":{"type":"object","properties":{"actionType":{"type":"string","const":"updateFolder"},"folderId":{"type":"string"}},"required":["actionType","folderId"]}},"components/schemas/ProjectUsersWithAccessUpdate":{"id":"components/schemas/ProjectUsersWithAccessUpdate","kind":"json-schema","title":"ProjectUsersWithAccessUpdate","data":{"type":"object","properties":{"actionType":{"type":"string","const":"updateUsersWithAccess"},"usersWithAccess":{"type":"array","items":{"type":"string"}}},"required":["actionType","usersWithAccess"]}},"components/schemas/ProjectDisplayNameUpdate":{"id":"components/schemas/ProjectDisplayNameUpdate","kind":"json-schema","title":"ProjectDisplayNameUpdate","data":{"type":"object","properties":{"actionType":{"type":"string","const":"updateDisplayName"},"displayName":{"type":"string"}},"required":["actionType","displayName"]}},"components/schemas/ProjectDescriptionUpdate":{"id":"components/schemas/ProjectDescriptionUpdate","kind":"json-schema","title":"ProjectDescriptionUpdate","data":{"type":"object","properties":{"actionType":{"type":"string","const":"updateDescription"},"description":{"type":"string"}},"required":["actionType","description"]}},"components/schemas/ProjectCohortProfilesUpdate":{"id":"components/schemas/ProjectCohortProfilesUpdate","kind":"json-schema","title":"ProjectCohortProfilesUpdate","data":{"type":"object","properties":{"actionType":{"type":"string","const":"updateCohortProfiles"},"cohortProfileIds":{"type":"array","items":{"type":"string"}}},"required":["actionType","cohortProfileIds"]}},"components/schemas/ProjectSummary_Output":{"id":"components/schemas/ProjectSummary_Output","kind":"json-schema","title":"ProjectSummary_Output","data":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"postCount":{"type":"number"},"displayName":{"type":"string"},"dataAvailable":{"type":"boolean"},"jobSchedule":{"type":"object","properties":{"enabled":{"type":"boolean"},"jobConfigIdsToRun":{"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"External IDs of job configs to run on each scheduled auto-update (same values as job config "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"externalId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")."},"children":[]}]}]}],"example":["config-abc-twitter","config-def-brandwatch"],"type":"array","items":{"type":"string"}},"schedule":{"example":{"frequency":"daily","time":"01:00","day":"monday","intervalHours":12},"anyOf":[{"type":"object","properties":{"frequency":{"type":"string","const":"daily"},"time":{"type":"string","pattern":"^\\d{2}:\\d{2}$"}},"required":["frequency","time"],"additionalProperties":false},{"type":"object","properties":{"frequency":{"type":"string","const":"weekly"},"time":{"type":"string","pattern":"^\\d{2}:\\d{2}$"},"day":{"type":"string","enum":["sunday","monday","tuesday","wednesday","thursday","friday","saturday"]}},"required":["frequency","time","day"],"additionalProperties":false},{"type":"object","properties":{"frequency":{"type":"string","const":"onDemand"}},"required":["frequency"],"additionalProperties":false},{"type":"object","properties":{"frequency":{"type":"string","const":"recurring"},"time":{"type":"string","pattern":"^\\d{2}:\\d{2}$"},"intervalHours":{"anyOf":[{"type":"number","const":12}]}},"required":["frequency","time","intervalHours"],"additionalProperties":false}]},"dataSources":{"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Distinct data provider names for the selected job configs (COALESCE(linked connector data_provider, config data_provider_name)); set when jobConfigIdsToRun is saved."},"children":[]}]}]}],"example":["twitter","brandwatch"],"type":"array","items":{"type":"string"}},"updatedAt":{"example":"2026-08-18T13:16:32.624Z","type":"string","format":"date-time"},"nextRunDate":{"example":"2026-08-18T13:16:32.624Z","type":"string","format":"date-time"}},"required":["enabled","schedule","dataSources"],"additionalProperties":false},"lastAccessed":{"type":"string","example":"2026-08-18T13:16:32.624Z","format":"date-time"},"createdAt":{"type":"string","example":"2026-08-18T13:16:32.624Z","format":"date-time"},"updatedAt":{"type":"string","example":"2026-08-18T13:16:32.624Z","format":"date-time"},"jobCount":{"type":"object","properties":{"running":{"type":"number"},"completed":{"type":"number"},"failed":{"type":"number"}},"additionalProperties":false},"lastJobStatus":{"type":"string"},"folder":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id"],"additionalProperties":false},"description":{"type":"string"},"originalDataDateRange":{"anyOf":[{"type":"object","properties":{"start":{"description":"ISO 8601 start of the project original-data window","type":"string"},"end":{"description":"ISO 8601 end of the project original-data window","type":"string"}},"required":["start","end"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","slug","displayName"],"additionalProperties":false}},"components/schemas/PostsSearchRequestDto__schema0":{"id":"components/schemas/PostsSearchRequestDto__schema0","kind":"json-schema","title":"PostsSearchRequestDto__schema0","data":{"anyOf":[{"type":"object","properties":{"bool":{"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Exactly one of must, should, or must_not. Combine clauses by nesting a bool inside a clause array, not by adding sibling keys — must + should means different things in Elasticsearch and in B2S SQL (NIP-249)."},"children":[]}]}]}],"anyOf":[{"type":"object","properties":{"must":{"type":"array","items":{"$ref":"#/components/schemas/PostsSearchRequestDto__schema0"}}},"required":["must"],"additionalProperties":false},{"type":"object","properties":{"should":{"type":"array","items":{"$ref":"#/components/schemas/PostsSearchRequestDto__schema0"}}},"required":["should"],"additionalProperties":false},{"type":"object","properties":{"must_not":{"type":"array","items":{"$ref":"#/components/schemas/PostsSearchRequestDto__schema0"}}},"required":["must_not"],"additionalProperties":false}]}},"required":["bool"]},{"type":"object","properties":{"exists":{"type":"object","properties":{"field":{"anyOf":[{"type":"string","enum":["allAuthorText","allNarrativeText","allPostText","author.brandwatch.categories.name","author.brandwatch.tags","author.displayName","author.followers","author.following","author.isBotLike","author.platform","author.postCount","author.profileBio","author.username","authorId","body","brandwatch.categories.name","brandwatch.tags","category.label","createdAt","isToxic","lang","narrative.compassHeadline","narrative.compassOneSentence","narrative.compassSummary","narrative.executiveBriefing","narrative.matchingPostCount","narrative.postCount","narrative.title","narrative.totalEngagement","narrative.weightedRiskScore","narrativeId","parentId","platform","postId","text","title"],"title":"Field name (enum)"},{"anyOf":[{"type":"string","pattern":"^author\\.cohorts\\..*","title":"Dynamic field path (regex: ^author\\.cohorts\\..*)"},{"type":"string","pattern":"^author\\.followerCohorts\\..*","title":"Dynamic field path (regex: ^author\\.followerCohorts\\..*)"}]}]}},"required":["field"]}},"required":["exists"]},{"type":"object","properties":{"term":{"type":"object","properties":{"allAuthorText":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"allNarrativeText":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"allPostText":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.brandwatch.categories.name":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.brandwatch.tags":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.displayName":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.followers":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.following":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.isBotLike":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.platform":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.postCount":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.profileBio":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.username":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"authorId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"body":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"brandwatch.categories.name":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"brandwatch.tags":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"category.label":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"createdAt":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"isToxic":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"lang":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.compassHeadline":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.compassOneSentence":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.compassSummary":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.executiveBriefing":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.matchingPostCount":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.postCount":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.title":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.totalEngagement":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.weightedRiskScore":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrativeId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"parentId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"platform":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"postId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"text":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"title":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]}},"additionalProperties":false}},"required":["term"]},{"type":"object","properties":{"terms":{"type":"object","properties":{"allAuthorText":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"allNarrativeText":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"allPostText":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.brandwatch.categories.name":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.brandwatch.tags":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.displayName":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.followers":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.following":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.isBotLike":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.platform":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.postCount":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.profileBio":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.username":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"authorId":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"body":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"brandwatch.categories.name":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"brandwatch.tags":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"category.label":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"createdAt":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"isToxic":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"lang":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.compassHeadline":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.compassOneSentence":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.compassSummary":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.executiveBriefing":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.matchingPostCount":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.postCount":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.title":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.totalEngagement":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.weightedRiskScore":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrativeId":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"parentId":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"platform":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"postId":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"text":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"title":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},"additionalProperties":false}},"required":["terms"],"title":"terms"},{"type":"object","properties":{"wildcard":{"type":"object","properties":{"allAuthorText":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"allNarrativeText":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"allPostText":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"author.brandwatch.categories.name":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"author.brandwatch.tags":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"author.displayName":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"author.platform":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"author.profileBio":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"author.username":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"authorId":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"body":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"brandwatch.categories.name":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"brandwatch.tags":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"category.label":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"lang":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"narrative.compassHeadline":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"narrative.compassOneSentence":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"narrative.compassSummary":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"narrative.executiveBriefing":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"narrative.title":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"narrativeId":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"parentId":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"platform":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"postId":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"text":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"title":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]}},"additionalProperties":false}},"required":["wildcard"]},{"type":"object","properties":{"range":{"type":"object","properties":{"author.followers":{"type":"object","properties":{"gte":{"anyOf":[{"type":"number"},{"type":"string"}]},"lte":{"anyOf":[{"type":"number"},{"type":"string"}]},"gt":{"anyOf":[{"type":"number"},{"type":"string"}]},"lt":{"anyOf":[{"type":"number"},{"type":"string"}]}}},"author.following":{"type":"object","properties":{"gte":{"anyOf":[{"type":"number"},{"type":"string"}]},"lte":{"anyOf":[{"type":"number"},{"type":"string"}]},"gt":{"anyOf":[{"type":"number"},{"type":"string"}]},"lt":{"anyOf":[{"type":"number"},{"type":"string"}]}}},"author.postCount":{"type":"object","properties":{"gte":{"anyOf":[{"type":"number"},{"type":"string"}]},"lte":{"anyOf":[{"type":"number"},{"type":"string"}]},"gt":{"anyOf":[{"type":"number"},{"type":"string"}]},"lt":{"anyOf":[{"type":"number"},{"type":"string"}]}}},"narrative.matchingPostCount":{"type":"object","properties":{"gte":{"anyOf":[{"type":"number"},{"type":"string"}]},"lte":{"anyOf":[{"type":"number"},{"type":"string"}]},"gt":{"anyOf":[{"type":"number"},{"type":"string"}]},"lt":{"anyOf":[{"type":"number"},{"type":"string"}]}}},"narrative.postCount":{"type":"object","properties":{"gte":{"anyOf":[{"type":"number"},{"type":"string"}]},"lte":{"anyOf":[{"type":"number"},{"type":"string"}]},"gt":{"anyOf":[{"type":"number"},{"type":"string"}]},"lt":{"anyOf":[{"type":"number"},{"type":"string"}]}}},"narrative.totalEngagement":{"type":"object","properties":{"gte":{"anyOf":[{"type":"number"},{"type":"string"}]},"lte":{"anyOf":[{"type":"number"},{"type":"string"}]},"gt":{"anyOf":[{"type":"number"},{"type":"string"}]},"lt":{"anyOf":[{"type":"number"},{"type":"string"}]}}},"narrative.weightedRiskScore":{"type":"object","properties":{"gte":{"anyOf":[{"type":"number"},{"type":"string"}]},"lte":{"anyOf":[{"type":"number"},{"type":"string"}]},"gt":{"anyOf":[{"type":"number"},{"type":"string"}]},"lt":{"anyOf":[{"type":"number"},{"type":"string"}]}}},"createdAt":{"type":"object","properties":{"gte":{"anyOf":[{"type":"number"},{"type":"string"}]},"lte":{"anyOf":[{"type":"number"},{"type":"string"}]},"gt":{"anyOf":[{"type":"number"},{"type":"string"}]},"lt":{"anyOf":[{"type":"number"},{"type":"string"}]}}}},"additionalProperties":false}},"required":["range"]},{"type":"object","properties":{"match":{"type":"object","properties":{"allAuthorText":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"allNarrativeText":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"allPostText":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"author.brandwatch.categories.name":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"author.brandwatch.tags":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"author.displayName":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"author.platform":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"author.profileBio":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"author.username":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"authorId":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"body":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"brandwatch.categories.name":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"brandwatch.tags":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"category.label":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"lang":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"narrative.compassHeadline":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"narrative.compassOneSentence":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"narrative.compassSummary":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"narrative.executiveBriefing":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"narrative.title":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"narrativeId":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"parentId":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"platform":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"postId":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"text":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"title":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]}},"additionalProperties":false}},"required":["match"]},{"type":"object","properties":{"match_phrase":{"type":"object","properties":{"allAuthorText":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"allNarrativeText":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"allPostText":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"author.brandwatch.categories.name":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"author.brandwatch.tags":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"author.displayName":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"author.platform":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"author.profileBio":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"author.username":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"authorId":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"body":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"brandwatch.categories.name":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"brandwatch.tags":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"category.label":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"lang":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"narrative.compassHeadline":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"narrative.compassOneSentence":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"narrative.compassSummary":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"narrative.executiveBriefing":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"narrative.title":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"narrativeId":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"parentId":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"platform":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"postId":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"text":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"title":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}},"additionalProperties":false}},"required":["match_phrase"]}]}},"components/schemas/PostsSearchRequestDto":{"id":"components/schemas/PostsSearchRequestDto","kind":"json-schema","title":"PostsSearchRequestDto","data":{"type":"object","properties":{"query":{"description":"A search query to filter on post criteria. Mirrors a subset of the Elasticsearch DSL filter syntax.","$ref":"#/components/schemas/PostsSearchRequestDto__schema0"},"boolean":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A lucene query to filter on post criteria. Provides the same intent as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"query"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", but more text-friendly way of specifying the filter. If both "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"boolean"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"query"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" are provided, they are combined with a logical AND."},"children":[]}]}]}]},"sort":{"type":"array","description":"A list of fields to sort by.","items":{"type":"object","properties":{"field":{"type":"string","enum":["author.isBotLike","author.username","authorId","body","createdAt","isToxic","lang","parentId","platform","postId","text","title"]},"direction":{"type":"string","enum":["ASC","DESC"]}},"required":["field","direction"]}},"page":{"type":"object","description":"Pagination information.","default":{"first":50},"properties":{"first":{"default":50,"type":"integer","minimum":1,"maximum":200},"after":{"type":"string"}}}}}},"components/schemas/PostsCollection_Output":{"id":"components/schemas/PostsCollection_Output","kind":"json-schema","title":"PostsCollection_Output","data":{"type":"object","properties":{"posts":{"type":"array","items":{"example":{"postId":"1960806642217574502","narrativeId":"429","createdAt":"2025-08-27T20:48:28.000Z","platform":"twitter","text":"RT @Jansant: @MichaelWestBiz @AlboMP Over the weekend 300k march to sanction Israel..."},"type":"object","properties":{"allAuthorText":{"description":"Search across all author text fields - author.username, author.displayName, author.profileBio. NOTE - Not actually returned as a field in the response, but documented here to facilitate describing the filterability.","type":"string"},"allNarrativeText":{"description":"Search across all narrative text fields - narrative.title, narrative.compassHeadline, narrative.compassSummary, narrative.compassOneSentence, narrative.executiveBriefing. NOTE - Not actually returned as a field in the response, but documented here to facilitate describing the filterability.","type":"string"},"allPostText":{"description":"Search across all post text content fields - title, body. NOTE - Not actually returned as a field in the response, but documented here to facilitate describing the filterability.","type":"string"},"anomalousScore":{"description":"Behavioral Manipulation score from the BBMI model.","type":"number"},"author":{"type":"object","properties":{"brandwatch":{"type":"object","properties":{"categories":{"type":"object","properties":{"name":{"description":"Brandwatch category name assigned to the author.","type":"array","items":{"type":"string"}}},"additionalProperties":false},"tags":{"description":"Brandwatch tags assigned to the author.","type":"array","items":{"type":"string"}}},"additionalProperties":false},"cohorts":{"description":"Author classification cohorts. Query as author.cohorts:Label","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"isBotLike":{"description":"Whether the author was analyzed to have bot-like behavior.","type":"boolean"},"profileImageUrl":{"description":"The author's profile image url.","type":"string"},"username":{"description":"The author's username/handle.","type":"string"}},"additionalProperties":false},"authorId":{"description":"The unique identifier for the author of the post.","type":"string"},"body":{"description":"The body of the post, separate from the title.","type":"string"},"brandwatch":{"type":"object","properties":{"categories":{"type":"object","properties":{"name":{"description":"Brandwatch category name assigned to the post.","type":"array","items":{"type":"string"}}},"additionalProperties":false},"tags":{"description":"Brandwatch tags assigned to the post.","type":"array","items":{"type":"string"}}},"additionalProperties":false},"createdAt":{"description":"The timestamp when the post was created. (ISO 8601, UTC)","type":"string","format":"date-time"},"domain":{"type":"object","properties":{"domain":{"description":"Domain URL.","type":"string"},"id":{"description":"Domain identifier.","type":"string"},"name":{"description":"Domain name.","type":"string"}},"additionalProperties":false},"engagement":{"type":"object","properties":{"comments":{"description":"Number of comments on the post.","type":"number"},"isComment":{"description":"Flag indicating if this is a comment.","type":"boolean"},"isShare":{"description":"Flag indicating if this is a share/retweet.","type":"boolean"},"likes":{"description":"Number of likes on the post.","type":"number"},"quotes":{"description":"Number of quote tweets.","type":"number"},"reach":{"description":"Reach count of the post.","type":"number"},"reactions":{"description":"Total reaction count.","type":"number"},"score":{"description":"Engagement score.","type":"number"},"shares":{"description":"Number of shares/retweets.","type":"number"},"total":{"description":"Total engagement metric including all granular engagements except Views and Reach","type":"number"},"views":{"description":"Number of views.","type":"number"}},"additionalProperties":false},"isToxic":{"description":"True if the general toxicity score meets the project's toxicity threshold (default 0.5, resolved per project).","type":"boolean"},"lang":{"description":"The detected language of the post content (e.g., 'en', 'es').","type":"string"},"parentId":{"description":"The ID of the post's direct parent.","type":"string"},"platform":{"description":"The platform where the post originated (e.g., Twitter, Reddit, Telegram).","type":"string"},"postId":{"description":"The unique identifier for the post.","type":"string"},"postUrl":{"description":"The original URL of the post.","type":"string"},"text":{"description":"The main text content of the post. Not exposed for twitter or reddit posts. Use the postUrl to get it.","type":"string"},"title":{"description":"The title of the post (e.g., for Reddit submissions or articles). Not exposed for twitter or reddit posts. Use the postUrl to get it.","type":"string"},"updatedAt":{"description":"The timestamp when the post was last updated. (ISO 8601, UTC)","type":"string","format":"date-time"}},"required":["createdAt","platform","postId"],"additionalProperties":false}},"pageInfo":{"type":"object","example":{"hasNextPage":true,"endCursor":"eyJjcmVhdGVkQXQiOiIyMDI1LTA4LTI3VDAxOjAwOjEyLjAwMFoiLCJwb3N0SWQiOiIxOTYwNTA3NjA3Njg2MjA1ODc5In0=","sortKey":"created_at DESC, post_id ASC"},"properties":{"hasNextPage":{"type":"boolean"},"endCursor":{"type":"string"},"totalCount":{"type":"number"},"sortKey":{"type":"string"}},"required":["hasNextPage"],"additionalProperties":false},"searchTerms":{"type":"array","items":{"type":"string"}}},"required":["posts","pageInfo"],"additionalProperties":false}},"components/schemas/NarrativesSearchRequestDto__schema0":{"id":"components/schemas/NarrativesSearchRequestDto__schema0","kind":"json-schema","title":"NarrativesSearchRequestDto__schema0","data":{"anyOf":[{"type":"object","properties":{"bool":{"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Exactly one of must, should, or must_not. Combine clauses by nesting a bool inside a clause array, not by adding sibling keys — must + should means different things in Elasticsearch and in B2S SQL (NIP-249)."},"children":[]}]}]}],"anyOf":[{"type":"object","properties":{"must":{"type":"array","items":{"$ref":"#/components/schemas/NarrativesSearchRequestDto__schema0"}}},"required":["must"],"additionalProperties":false},{"type":"object","properties":{"should":{"type":"array","items":{"$ref":"#/components/schemas/NarrativesSearchRequestDto__schema0"}}},"required":["should"],"additionalProperties":false},{"type":"object","properties":{"must_not":{"type":"array","items":{"$ref":"#/components/schemas/NarrativesSearchRequestDto__schema0"}}},"required":["must_not"],"additionalProperties":false}]}},"required":["bool"]},{"type":"object","properties":{"exists":{"type":"object","properties":{"field":{"anyOf":[{"type":"string","enum":["allAuthorText","allNarrativeText","allPostText","author.brandwatch.categories.name","author.brandwatch.tags","author.displayName","author.followers","author.following","author.isBotLike","author.platform","author.postCount","author.profileBio","author.username","authorId","body","brandwatch.categories.name","brandwatch.tags","category.label","createdAt","isToxic","lang","narrative.compassHeadline","narrative.compassOneSentence","narrative.compassSummary","narrative.executiveBriefing","narrative.matchingPostCount","narrative.postCount","narrative.title","narrative.totalEngagement","narrative.weightedRiskScore","narrativeId","parentId","platform","postId","text","title"],"title":"Field name (enum)"},{"anyOf":[{"type":"string","pattern":"^author\\.cohorts\\..*","title":"Dynamic field path (regex: ^author\\.cohorts\\..*)"},{"type":"string","pattern":"^author\\.followerCohorts\\..*","title":"Dynamic field path (regex: ^author\\.followerCohorts\\..*)"}]}]}},"required":["field"]}},"required":["exists"]},{"type":"object","properties":{"term":{"type":"object","properties":{"allAuthorText":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"allNarrativeText":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"allPostText":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.brandwatch.categories.name":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.brandwatch.tags":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.displayName":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.followers":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.following":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.isBotLike":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.platform":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.postCount":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.profileBio":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.username":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"authorId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"body":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"brandwatch.categories.name":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"brandwatch.tags":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"category.label":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"createdAt":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"isToxic":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"lang":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.compassHeadline":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.compassOneSentence":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.compassSummary":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.executiveBriefing":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.matchingPostCount":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.postCount":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.title":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.totalEngagement":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.weightedRiskScore":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrativeId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"parentId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"platform":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"postId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"text":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"title":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]}},"additionalProperties":false}},"required":["term"]},{"type":"object","properties":{"terms":{"type":"object","properties":{"allAuthorText":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"allNarrativeText":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"allPostText":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.brandwatch.categories.name":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.brandwatch.tags":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.displayName":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.followers":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.following":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.isBotLike":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.platform":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.postCount":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.profileBio":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.username":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"authorId":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"body":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"brandwatch.categories.name":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"brandwatch.tags":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"category.label":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"createdAt":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"isToxic":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"lang":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.compassHeadline":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.compassOneSentence":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.compassSummary":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.executiveBriefing":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.matchingPostCount":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.postCount":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.title":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.totalEngagement":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.weightedRiskScore":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrativeId":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"parentId":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"platform":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"postId":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"text":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"title":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},"additionalProperties":false}},"required":["terms"],"title":"terms"},{"type":"object","properties":{"wildcard":{"type":"object","properties":{"allAuthorText":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"allNarrativeText":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"allPostText":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"author.brandwatch.categories.name":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"author.brandwatch.tags":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"author.displayName":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"author.platform":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"author.profileBio":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"author.username":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"authorId":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"body":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"brandwatch.categories.name":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"brandwatch.tags":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"category.label":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"lang":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"narrative.compassHeadline":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"narrative.compassOneSentence":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"narrative.compassSummary":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"narrative.executiveBriefing":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"narrative.title":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"narrativeId":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"parentId":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"platform":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"postId":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"text":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"title":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]}},"additionalProperties":false}},"required":["wildcard"]},{"type":"object","properties":{"range":{"type":"object","properties":{"author.followers":{"type":"object","properties":{"gte":{"anyOf":[{"type":"number"},{"type":"string"}]},"lte":{"anyOf":[{"type":"number"},{"type":"string"}]},"gt":{"anyOf":[{"type":"number"},{"type":"string"}]},"lt":{"anyOf":[{"type":"number"},{"type":"string"}]}}},"author.following":{"type":"object","properties":{"gte":{"anyOf":[{"type":"number"},{"type":"string"}]},"lte":{"anyOf":[{"type":"number"},{"type":"string"}]},"gt":{"anyOf":[{"type":"number"},{"type":"string"}]},"lt":{"anyOf":[{"type":"number"},{"type":"string"}]}}},"author.postCount":{"type":"object","properties":{"gte":{"anyOf":[{"type":"number"},{"type":"string"}]},"lte":{"anyOf":[{"type":"number"},{"type":"string"}]},"gt":{"anyOf":[{"type":"number"},{"type":"string"}]},"lt":{"anyOf":[{"type":"number"},{"type":"string"}]}}},"narrative.matchingPostCount":{"type":"object","properties":{"gte":{"anyOf":[{"type":"number"},{"type":"string"}]},"lte":{"anyOf":[{"type":"number"},{"type":"string"}]},"gt":{"anyOf":[{"type":"number"},{"type":"string"}]},"lt":{"anyOf":[{"type":"number"},{"type":"string"}]}}},"narrative.postCount":{"type":"object","properties":{"gte":{"anyOf":[{"type":"number"},{"type":"string"}]},"lte":{"anyOf":[{"type":"number"},{"type":"string"}]},"gt":{"anyOf":[{"type":"number"},{"type":"string"}]},"lt":{"anyOf":[{"type":"number"},{"type":"string"}]}}},"narrative.totalEngagement":{"type":"object","properties":{"gte":{"anyOf":[{"type":"number"},{"type":"string"}]},"lte":{"anyOf":[{"type":"number"},{"type":"string"}]},"gt":{"anyOf":[{"type":"number"},{"type":"string"}]},"lt":{"anyOf":[{"type":"number"},{"type":"string"}]}}},"narrative.weightedRiskScore":{"type":"object","properties":{"gte":{"anyOf":[{"type":"number"},{"type":"string"}]},"lte":{"anyOf":[{"type":"number"},{"type":"string"}]},"gt":{"anyOf":[{"type":"number"},{"type":"string"}]},"lt":{"anyOf":[{"type":"number"},{"type":"string"}]}}},"createdAt":{"type":"object","properties":{"gte":{"anyOf":[{"type":"number"},{"type":"string"}]},"lte":{"anyOf":[{"type":"number"},{"type":"string"}]},"gt":{"anyOf":[{"type":"number"},{"type":"string"}]},"lt":{"anyOf":[{"type":"number"},{"type":"string"}]}}}},"additionalProperties":false}},"required":["range"]},{"type":"object","properties":{"match":{"type":"object","properties":{"allAuthorText":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"allNarrativeText":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"allPostText":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"author.brandwatch.categories.name":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"author.brandwatch.tags":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"author.displayName":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"author.platform":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"author.profileBio":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"author.username":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"authorId":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"body":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"brandwatch.categories.name":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"brandwatch.tags":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"category.label":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"lang":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"narrative.compassHeadline":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"narrative.compassOneSentence":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"narrative.compassSummary":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"narrative.executiveBriefing":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"narrative.title":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"narrativeId":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"parentId":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"platform":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"postId":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"text":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"title":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]}},"additionalProperties":false}},"required":["match"]},{"type":"object","properties":{"match_phrase":{"type":"object","properties":{"allAuthorText":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"allNarrativeText":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"allPostText":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"author.brandwatch.categories.name":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"author.brandwatch.tags":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"author.displayName":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"author.platform":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"author.profileBio":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"author.username":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"authorId":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"body":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"brandwatch.categories.name":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"brandwatch.tags":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"category.label":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"lang":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"narrative.compassHeadline":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"narrative.compassOneSentence":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"narrative.compassSummary":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"narrative.executiveBriefing":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"narrative.title":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"narrativeId":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"parentId":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"platform":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"postId":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"text":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"title":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}},"additionalProperties":false}},"required":["match_phrase"]}]}},"components/schemas/NarrativesSearchRequestDto":{"id":"components/schemas/NarrativesSearchRequestDto","kind":"json-schema","title":"NarrativesSearchRequestDto","data":{"type":"object","properties":{"query":{"description":"A search query to filter on post criteria. Mirrors a subset of the Elasticsearch DSL filter syntax.","$ref":"#/components/schemas/NarrativesSearchRequestDto__schema0"},"boolean":{"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A lucene query to filter on post criteria. Provides the same intent as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"query"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", but more text-friendly way of specifying the filter. If both "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"boolean"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"query"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" are provided, they are combined with a logical AND."},"children":[]}]}]}],"type":"string"},"sort":{"description":"A list of fields to sort by.","type":"array","items":{"type":"object","properties":{"field":{"type":"string","enum":["narrative.compassHeadline","narrative.compassOneSentence","narrative.compassScore","narrative.compassSummary","narrative.executiveBriefing","narrative.matchingPostCount","narrative.matchingPostRatio","narrative.postCount","narrative.title","narrative.totalEngagement","narrative.uniqueAuthors","narrative.weightedRiskScore","narrativeId"]},"direction":{"type":"string","enum":["ASC","DESC"]}},"required":["field","direction"]}},"page":{"description":"Pagination information.","default":{"first":50},"type":"object","properties":{"first":{"default":50,"type":"integer","minimum":1,"maximum":200},"after":{"type":"string"}}}}}},"components/schemas/NarrativesCollection_Output":{"id":"components/schemas/NarrativesCollection_Output","kind":"json-schema","title":"NarrativesCollection_Output","data":{"type":"object","properties":{"narratives":{"type":"array","items":{"example":{"compassHeadline":"The expulsion of Iran's ambassador was based on credible security concerns, but the claim's language includes subjective interpretation.","compassLabel":"Caution","compassOneSentence":"The expulsion of Iran's ambassador was based on credible security concerns, but the claim's language includes subjective interpretation.","compassSummary":"The expulsion of Iran's ambassador was based on credible security concerns, but the claim's language includes subjective interpretation.","executiveBriefing":"The expulsion of the Iranian ambassador by Australia has led to significant online discourse, with users expressing mixed feelings about the timing and necessity of the action. Prominent voices criticized the delay in addressing threats from the Iranian regime, particularly following antisemitic incidents. The conversation was largely driven by right-wing users advocating for stronger measures against Iranian influence.","postCount":398,"title":"The expulsion of the Iranian ambassador is seen as a delayed but necessary response to long-known threats from the Iranian regime.","totalEngagement":7713,"narrativeId":"107"},"type":"object","properties":{"allAuthorText":{"description":"Search across all author text fields - author.username, author.displayName, author.profileBio. NOTE - Not actually returned as a field in the response, but documented here to facilitate describing the filterability.","type":"string"},"allNarrativeText":{"description":"Search across all narrative text fields - narrative.title, narrative.compassHeadline, narrative.compassSummary, narrative.compassOneSentence, narrative.executiveBriefing. NOTE - Not actually returned as a field in the response, but documented here to facilitate describing the filterability.","type":"string"},"allPostText":{"description":"Search across all post text content fields - title, body. NOTE - Not actually returned as a field in the response, but documented here to facilitate describing the filterability.","type":"string"},"category":{"type":"object","properties":{"label":{"description":"Specific category label (e.g., 'Politics', 'Health').","type":"array","items":{"type":"string"}}},"additionalProperties":false},"cohortsDistribution":{"description":"Cohort distribution.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"compassHeadline":{"description":"Compass-generated headline for the narrative.","type":"string"},"compassLabel":{"description":"Compass-assigned label for the narrative.","type":"string"},"compassOneSentence":{"description":"Compass-generated one-sentence summary.","type":"string"},"compassResponse":{"description":"Compass context response for the narrative.","type":"string"},"compassScore":{"description":"Overall disinformation risk score (0-10) from Compass.","type":"number"},"compassSummary":{"description":"Compass-generated summary of the narrative.","type":"string"},"dailyHistogram":{"description":"Daily histogram.","type":"array","items":{"type":"object","properties":{"timestamp":{"type":"string"},"count":{"type":"number"}},"required":["timestamp","count"],"additionalProperties":false}},"executiveBriefing":{"description":"Executive briefing text for the narrative.","type":"string"},"hourlyHistogram":{"description":"Hourly histogram.","type":"array","items":{"type":"object","properties":{"timestamp":{"type":"string"},"count":{"type":"number"}},"required":["timestamp","count"],"additionalProperties":false}},"matchingPostCount":{"description":"Total number of posts in the narrative matching the query.","type":"number"},"matchingPostRatio":{"description":"Ratio of matching posts to total posts in the narrative (0-1). Only meaningful when post-level filters are applied.","type":"number"},"platformDistribution":{"description":"Distribution of posts in the narrative across platforms.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"postCount":{"description":"Total number of posts in the narrative.","type":"number"},"title":{"description":"Title of the narrative the post belongs to.","type":"string"},"totalEngagement":{"description":"Total engagement across all posts in the narrative.","type":"number"},"trendJustification":{"description":"Justification for the trend prediction.","type":"string"},"uniqueAuthors":{"description":"Count of unique authors in the narrative.","type":"number"},"weightedRiskScore":{"description":"Weighted risk score for the narrative.","type":"number"},"narrativeId":{"description":"The unique identifier for the narrative.","type":"string"}},"required":["narrativeId"],"additionalProperties":false}},"pageInfo":{"type":"object","example":{"hasNextPage":true,"endCursor":"eyJjcmVhdGVkQXQiOiIyMDI1LTA4LTI3VDAxOjAwOjEyLjAwMFoiLCJwb3N0SWQiOiIxOTYwNTA3NjA3Njg2MjA1ODc5In0=","sortKey":"created_at DESC, post_id ASC"},"properties":{"hasNextPage":{"type":"boolean"},"endCursor":{"type":"string"},"totalCount":{"type":"number"},"sortKey":{"type":"string"}},"required":["hasNextPage"],"additionalProperties":false},"searchTerms":{"type":"array","items":{"type":"string"}}},"required":["narratives","pageInfo"],"additionalProperties":false}},"components/schemas/AuthorsSearchRequestDto__schema0":{"id":"components/schemas/AuthorsSearchRequestDto__schema0","kind":"json-schema","title":"AuthorsSearchRequestDto__schema0","data":{"anyOf":[{"type":"object","properties":{"bool":{"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Exactly one of must, should, or must_not. Combine clauses by nesting a bool inside a clause array, not by adding sibling keys — must + should means different things in Elasticsearch and in B2S SQL (NIP-249)."},"children":[]}]}]}],"anyOf":[{"type":"object","properties":{"must":{"type":"array","items":{"$ref":"#/components/schemas/AuthorsSearchRequestDto__schema0"}}},"required":["must"],"additionalProperties":false},{"type":"object","properties":{"should":{"type":"array","items":{"$ref":"#/components/schemas/AuthorsSearchRequestDto__schema0"}}},"required":["should"],"additionalProperties":false},{"type":"object","properties":{"must_not":{"type":"array","items":{"$ref":"#/components/schemas/AuthorsSearchRequestDto__schema0"}}},"required":["must_not"],"additionalProperties":false}]}},"required":["bool"]},{"type":"object","properties":{"exists":{"type":"object","properties":{"field":{"anyOf":[{"type":"string","enum":["allAuthorText","allNarrativeText","allPostText","author.brandwatch.categories.name","author.brandwatch.tags","author.displayName","author.followers","author.following","author.isBotLike","author.platform","author.postCount","author.profileBio","author.username","authorId","body","brandwatch.categories.name","brandwatch.tags","category.label","createdAt","isToxic","lang","narrative.compassHeadline","narrative.compassOneSentence","narrative.compassSummary","narrative.executiveBriefing","narrative.matchingPostCount","narrative.postCount","narrative.title","narrative.totalEngagement","narrative.weightedRiskScore","narrativeId","parentId","platform","postId","text","title"],"title":"Field name (enum)"},{"anyOf":[{"type":"string","pattern":"^author\\.cohorts\\..*","title":"Dynamic field path (regex: ^author\\.cohorts\\..*)"},{"type":"string","pattern":"^author\\.followerCohorts\\..*","title":"Dynamic field path (regex: ^author\\.followerCohorts\\..*)"}]}]}},"required":["field"]}},"required":["exists"]},{"type":"object","properties":{"term":{"type":"object","properties":{"allAuthorText":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"allNarrativeText":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"allPostText":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.brandwatch.categories.name":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.brandwatch.tags":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.displayName":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.followers":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.following":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.isBotLike":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.platform":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.postCount":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.profileBio":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"author.username":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"authorId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"body":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"brandwatch.categories.name":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"brandwatch.tags":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"category.label":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"createdAt":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"isToxic":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"lang":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.compassHeadline":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.compassOneSentence":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.compassSummary":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.executiveBriefing":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.matchingPostCount":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.postCount":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.title":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.totalEngagement":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrative.weightedRiskScore":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"narrativeId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"parentId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"platform":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"postId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"text":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]},"title":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"object","properties":{"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["value"]}]}},"additionalProperties":false}},"required":["term"]},{"type":"object","properties":{"terms":{"type":"object","properties":{"allAuthorText":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"allNarrativeText":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"allPostText":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.brandwatch.categories.name":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.brandwatch.tags":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.displayName":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.followers":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.following":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.isBotLike":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.platform":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.postCount":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.profileBio":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"author.username":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"authorId":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"body":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"brandwatch.categories.name":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"brandwatch.tags":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"category.label":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"createdAt":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"isToxic":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"lang":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.compassHeadline":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.compassOneSentence":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.compassSummary":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.executiveBriefing":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.matchingPostCount":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.postCount":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.title":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.totalEngagement":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrative.weightedRiskScore":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"narrativeId":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"parentId":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"platform":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"postId":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"text":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"title":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},"additionalProperties":false}},"required":["terms"],"title":"terms"},{"type":"object","properties":{"wildcard":{"type":"object","properties":{"allAuthorText":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"allNarrativeText":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"allPostText":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"author.brandwatch.categories.name":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"author.brandwatch.tags":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"author.displayName":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"author.platform":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"author.profileBio":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"author.username":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"authorId":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"body":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"brandwatch.categories.name":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"brandwatch.tags":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"category.label":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"lang":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"narrative.compassHeadline":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"narrative.compassOneSentence":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"narrative.compassSummary":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"narrative.executiveBriefing":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"narrative.title":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"narrativeId":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"parentId":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"platform":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"postId":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"text":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"title":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]}},"additionalProperties":false}},"required":["wildcard"]},{"type":"object","properties":{"range":{"type":"object","properties":{"author.followers":{"type":"object","properties":{"gte":{"anyOf":[{"type":"number"},{"type":"string"}]},"lte":{"anyOf":[{"type":"number"},{"type":"string"}]},"gt":{"anyOf":[{"type":"number"},{"type":"string"}]},"lt":{"anyOf":[{"type":"number"},{"type":"string"}]}}},"author.following":{"type":"object","properties":{"gte":{"anyOf":[{"type":"number"},{"type":"string"}]},"lte":{"anyOf":[{"type":"number"},{"type":"string"}]},"gt":{"anyOf":[{"type":"number"},{"type":"string"}]},"lt":{"anyOf":[{"type":"number"},{"type":"string"}]}}},"author.postCount":{"type":"object","properties":{"gte":{"anyOf":[{"type":"number"},{"type":"string"}]},"lte":{"anyOf":[{"type":"number"},{"type":"string"}]},"gt":{"anyOf":[{"type":"number"},{"type":"string"}]},"lt":{"anyOf":[{"type":"number"},{"type":"string"}]}}},"narrative.matchingPostCount":{"type":"object","properties":{"gte":{"anyOf":[{"type":"number"},{"type":"string"}]},"lte":{"anyOf":[{"type":"number"},{"type":"string"}]},"gt":{"anyOf":[{"type":"number"},{"type":"string"}]},"lt":{"anyOf":[{"type":"number"},{"type":"string"}]}}},"narrative.postCount":{"type":"object","properties":{"gte":{"anyOf":[{"type":"number"},{"type":"string"}]},"lte":{"anyOf":[{"type":"number"},{"type":"string"}]},"gt":{"anyOf":[{"type":"number"},{"type":"string"}]},"lt":{"anyOf":[{"type":"number"},{"type":"string"}]}}},"narrative.totalEngagement":{"type":"object","properties":{"gte":{"anyOf":[{"type":"number"},{"type":"string"}]},"lte":{"anyOf":[{"type":"number"},{"type":"string"}]},"gt":{"anyOf":[{"type":"number"},{"type":"string"}]},"lt":{"anyOf":[{"type":"number"},{"type":"string"}]}}},"narrative.weightedRiskScore":{"type":"object","properties":{"gte":{"anyOf":[{"type":"number"},{"type":"string"}]},"lte":{"anyOf":[{"type":"number"},{"type":"string"}]},"gt":{"anyOf":[{"type":"number"},{"type":"string"}]},"lt":{"anyOf":[{"type":"number"},{"type":"string"}]}}},"createdAt":{"type":"object","properties":{"gte":{"anyOf":[{"type":"number"},{"type":"string"}]},"lte":{"anyOf":[{"type":"number"},{"type":"string"}]},"gt":{"anyOf":[{"type":"number"},{"type":"string"}]},"lt":{"anyOf":[{"type":"number"},{"type":"string"}]}}}},"additionalProperties":false}},"required":["range"]},{"type":"object","properties":{"match":{"type":"object","properties":{"allAuthorText":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"allNarrativeText":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"allPostText":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"author.brandwatch.categories.name":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"author.brandwatch.tags":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"author.displayName":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"author.platform":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"author.profileBio":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"author.username":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"authorId":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"body":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"brandwatch.categories.name":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"brandwatch.tags":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"category.label":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"lang":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"narrative.compassHeadline":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"narrative.compassOneSentence":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"narrative.compassSummary":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"narrative.executiveBriefing":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"narrative.title":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"narrativeId":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"parentId":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"platform":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"postId":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"text":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]},"title":{"anyOf":[{"type":"string"},{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}]}},"additionalProperties":false}},"required":["match"]},{"type":"object","properties":{"match_phrase":{"type":"object","properties":{"allAuthorText":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"allNarrativeText":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"allPostText":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"author.brandwatch.categories.name":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"author.brandwatch.tags":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"author.displayName":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"author.platform":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"author.profileBio":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"author.username":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"authorId":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"body":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"brandwatch.categories.name":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"brandwatch.tags":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"category.label":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"lang":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"narrative.compassHeadline":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"narrative.compassOneSentence":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"narrative.compassSummary":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"narrative.executiveBriefing":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"narrative.title":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"narrativeId":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"parentId":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"platform":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"postId":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"text":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"title":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}},"additionalProperties":false}},"required":["match_phrase"]}]}},"components/schemas/AuthorsSearchRequestDto":{"id":"components/schemas/AuthorsSearchRequestDto","kind":"json-schema","title":"AuthorsSearchRequestDto","data":{"type":"object","properties":{"query":{"description":"A search query to filter on author criteria. Mirrors a subset of the Elasticsearch DSL filter syntax.","$ref":"#/components/schemas/AuthorsSearchRequestDto__schema0"},"boolean":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A lucene query to filter on author criteria. Provides the same intent as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"query"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", but more text-friendly way of specifying the filter. If both "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"boolean"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"query"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" are provided, they are combined with a logical AND."},"children":[]}]}]}]},"sort":{"type":"array","description":"A list of fields to sort by.","items":{"type":"object","properties":{"field":{"type":"string","enum":["author.displayName","author.followers","author.following","author.inferredLocation","author.isBotLike","author.matchingPostCount","author.platform","author.postCount","author.profileBio","author.statedLocation","author.username","authorId"]},"direction":{"type":"string","enum":["ASC","DESC"]}},"required":["field","direction"]}},"page":{"type":"object","description":"Pagination information.","default":{"first":50},"properties":{"first":{"default":50,"type":"integer","minimum":1,"maximum":200},"after":{"type":"string"}}}}}},"components/schemas/AuthorsCollection_Output":{"id":"components/schemas/AuthorsCollection_Output","kind":"json-schema","title":"AuthorsCollection_Output","data":{"type":"object","properties":{"authors":{"type":"array","items":{"example":{"authorId":"1324f3rcdq34cwq3sxwerc23"},"type":"object","properties":{"allAuthorText":{"description":"Search across all author text fields - author.username, author.displayName, author.profileBio. NOTE - Not actually returned as a field in the response, but documented here to facilitate describing the filterability.","type":"string"},"allNarrativeText":{"description":"Search across all narrative text fields - narrative.title, narrative.compassHeadline, narrative.compassSummary, narrative.compassOneSentence, narrative.executiveBriefing. NOTE - Not actually returned as a field in the response, but documented here to facilitate describing the filterability.","type":"string"},"allPostText":{"description":"Search across all post text content fields - title, body. NOTE - Not actually returned as a field in the response, but documented here to facilitate describing the filterability.","type":"string"},"accountCreatedAt":{"description":"The date the the author created their account. (ISO 8601, UTC)","type":"string","format":"date-time"},"bioLocation":{"description":"The location the author put directly in their bio.","type":"string"},"bioUrl":{"description":"The author's website URL.","type":"string"},"botJustification":{"description":"Actor intelligence justification for bot classification.","type":"string"},"brandwatch":{"type":"object","properties":{"categories":{"type":"object","properties":{"name":{"description":"Brandwatch category name assigned to the author.","type":"array","items":{"type":"string"}}},"additionalProperties":false},"tags":{"description":"Brandwatch tags assigned to the author.","type":"array","items":{"type":"string"}}},"additionalProperties":false},"cohorts":{"description":"Author classification cohorts. Query as author.cohorts:Label","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"displayName":{"description":"The author's display name.","type":"string"},"followerCohorts":{"description":"Cohorts that follow the author.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"followers":{"description":"Number of followers the author has.","type":"number"},"following":{"description":"Number of accounts the author follows.","type":"number"},"followingCohorts":{"description":"Cohorts of the authors the author follows.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"inferredLocation":{"description":"The author's inferred geographic location based on actor intelligence analysis.","type":"string"},"isBotLike":{"description":"Whether the author was analyzed to have bot-like behavior.","type":"boolean"},"matchingMaxToxicity":{"description":"Maximum toxicity score of the posts by the author matching the query.","type":"number"},"matchingPostCount":{"description":"Total number of posts by the author matching the query.","type":"number"},"narrativeCount":{"description":"Count of distinct narratives the author has posts in.","type":"number"},"platform":{"description":"The platform the author is on.","type":"string"},"postCount":{"description":"Total number of posts by the author.","type":"number"},"postHourHistogram":{"description":"Count of author posts by hour (0-23). Map of hour string to post count.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"profileBio":{"description":"The author's profile description/bio.","type":"string"},"profileImageUrl":{"description":"The author's profile image url.","type":"string"},"spoofingLikelihood":{"description":"Actor intelligence spoofing likelihood. Possible values: Very Low, Low, Medium, High.","type":"string"},"statedLocation":{"description":"Location of the author based on their stated profile information.","type":"string"},"username":{"description":"The author's username/handle.","type":"string"},"authorId":{"description":"The unique identifier for the author of the post.","type":"string"}},"required":["authorId"],"additionalProperties":false}},"pageInfo":{"type":"object","example":{"hasNextPage":true,"endCursor":"eyJjcmVhdGVkQXQiOiIyMDI1LTA4LTI3VDAxOjAwOjEyLjAwMFoiLCJwb3N0SWQiOiIxOTYwNTA3NjA3Njg2MjA1ODc5In0=","sortKey":"created_at DESC, post_id ASC"},"properties":{"hasNextPage":{"type":"boolean"},"endCursor":{"type":"string"},"totalCount":{"type":"number"},"sortKey":{"type":"string"}},"required":["hasNextPage"],"additionalProperties":false},"searchTerms":{"type":"array","items":{"type":"string"}}},"required":["authors","pageInfo"],"additionalProperties":false}},"schema_91":{"kind":"json-schema","data":{"type":"string"},"id":"schema_91"},"schema_92":{"kind":"json-schema","data":{"oneOf":[{"$ref":"#/components/schemas/ProjectJobScheduleUpdate","title":"ProjectJobScheduleUpdate"},{"$ref":"#/components/schemas/ProjectTopicUpdate","title":"ProjectTopicUpdate"},{"$ref":"#/components/schemas/ProjectUsersWithAccessUpdate","title":"ProjectUsersWithAccessUpdate"},{"$ref":"#/components/schemas/ProjectDisplayNameUpdate","title":"ProjectDisplayNameUpdate"},{"$ref":"#/components/schemas/ProjectDescriptionUpdate","title":"ProjectDescriptionUpdate"},{"$ref":"#/components/schemas/ProjectCohortProfilesUpdate","title":"ProjectCohortProfilesUpdate"}],"discriminator":{"propertyName":"actionType","mapping":{"jobSchedule":"#/components/schemas/ProjectJobScheduleUpdate","updateFolder":"#/components/schemas/ProjectTopicUpdate","updateUsersWithAccess":"#/components/schemas/ProjectUsersWithAccessUpdate","updateDisplayName":"#/components/schemas/ProjectDisplayNameUpdate","updateDescription":"#/components/schemas/ProjectDescriptionUpdate","updateCohortProfiles":"#/components/schemas/ProjectCohortProfilesUpdate"}}},"id":"schema_92"},"schema_93":{"kind":"json-schema","data":{"type":"array","items":{"type":"string","enum":["anomalousScore","author.brandwatch.categories.name","author.brandwatch.tags","author.cohorts","author.isBotLike","author.profileImageUrl","author.username","authorId","body","brandwatch.categories.name","brandwatch.tags","createdAt","domain.domain","domain.id","domain.name","engagement.comments","engagement.isComment","engagement.isShare","engagement.likes","engagement.quotes","engagement.reach","engagement.reactions","engagement.score","engagement.shares","engagement.total","engagement.views","isToxic","lang","parentId","platform","postId","postUrl","text","title","updatedAt"]}},"id":"schema_93"},"schema_94":{"kind":"json-schema","data":{"type":"array","items":{"type":"string","enum":["category.label","narrative.cohortsDistribution","narrative.compassHeadline","narrative.compassLabel","narrative.compassOneSentence","narrative.compassResponse","narrative.compassScore","narrative.compassSummary","narrative.dailyHistogram","narrative.executiveBriefing","narrative.hourlyHistogram","narrative.matchingPostCount","narrative.matchingPostRatio","narrative.platformDistribution","narrative.postCount","narrative.title","narrative.totalEngagement","narrative.trendJustification","narrative.uniqueAuthors","narrative.weightedRiskScore","narrativeId"]}},"id":"schema_94"},"schema_95":{"kind":"json-schema","data":{"type":"array","items":{"type":"string","enum":["author.accountCreatedAt","author.bioLocation","author.bioUrl","author.botJustification","author.brandwatch.categories.name","author.brandwatch.tags","author.cohorts","author.displayName","author.followerCohorts","author.followers","author.following","author.followingCohorts","author.inferredLocation","author.isBotLike","author.matchingMaxToxicity","author.matchingPostCount","author.narrativeCount","author.platform","author.postCount","author.postHourHistogram","author.profileBio","author.profileImageUrl","author.spoofingLikelihood","author.statedLocation","author.username","authorId"]}},"id":"schema_95"}},"exampleStore":{"paths/~1posts~1-~1search/post/requestBody/content/application~1json/examples/example1":{"value":{"query":{"bool":{"must":[{"range":{"createdAt":{"gte":"2025-01-01T00:00:00Z","lte":"2025-11-05T23:59:59Z"}}}],"should":[{"term":{"platform":"twitter"}},{"term":{"platform":"reddit"}}]}},"sort":[{"field":"createdAt","direction":"DESC"},{"field":"postId","direction":"ASC"}],"page":{"first":50,"after":"eyJwb3N0SWQiOiIxOTYwODA2NjQyMjE3NTc0NTAyIiwiY3JlYXRlZEF0IjoiMjAyNS0wOC0yN1QyMDo0ODoyOC4wMDBaIn0="}},"key":"example1","summary":"Search with query and pagination","id":"paths/~1posts~1-~1search/post/requestBody/content/application~1json/examples/example1"},"paths/~1narratives~1-~1search/post/requestBody/content/application~1json/examples/example1":{"value":{"boolean":"platform:twitter OR platform:reddit","query":{"bool":{"must":[{"match_phrase":{"narrative.title":{"query":"Iranian"}}},{"range":{"narrative.weightedRiskScore":{"gte":54}}}]}},"sort":[{"field":"narrative.weightedRiskScore","direction":"DESC"}],"page":{"first":50}},"key":"example1","summary":"Search with query and pagination","id":"paths/~1narratives~1-~1search/post/requestBody/content/application~1json/examples/example1"},"paths/~1authors~1-~1search/post/requestBody/content/application~1json/examples/example1":{"value":{"query":{"bool":{"must":[{"range":{"followers":{"gte":1000,"lte":100000}}}],"should":[{"term":{"platform":"twitter"}},{"term":{"platform":"reddit"}}]}},"sort":[{"field":"followers","direction":"DESC"},{"field":"authorId","direction":"ASC"}],"page":{"first":50,"after":"eyJhdXRob3JJZCI6IjEyMzQ1Njc4OSIsImZvbGxvd2VycyI6MTAwMDB9"}},"key":"example1","summary":"Search with query and pagination","id":"paths/~1authors~1-~1search/post/requestBody/content/application~1json/examples/example1"}},"securitySchemeStore":{},"servers":[{"url":"https://api-prd.infra-prod.blackbird.ai/v1"}]},"options":{"hideSidebar":true,"mockServer":{"url":"/_mock/constellation/api","position":"off","description":"Mock server"},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/constellation/api.json?download"},{"url":"/_bundle/constellation/api.yaml?download"}],"excludeFromSearch":false,"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Constellation","description":"<b>An API for understanding online narratives, the posts that make them, and the actors who shape them</b>\n\nThe Constellation API provides endpoints that let you analyze social posts, the accounts behind them, and the narratives connecting them. Using advanced AI, the API organizes raw social data into structured insights—showing what is being said, who is amplifying it, how it is propagating across platforms, and what potential risks it may pose to your organization.\n\nThe Posts endpoint returns post-level content such as text, author information, engagement metadata, and AI-generated enrichments including risk metrics and narrative identifiers. The Authors endpoint provides account-level context, including cohort membership and other actor-intelligence indicators. The Narratives endpoint returns clusters of related content, an AI-generated assessment of potential risk, a narrative summary, and a description of the narrative itself.\n\nThis API is ideal for customers who want to embed Constellation enrichments directly into their own products, dashboards, or analytical workflows.\n\n<i>All boolean and query searches are beta. They are intended to mirror a subset of the ElasticSearch DSL spec, but the current implementation is just an approximate. Any change to the functionality which makes it more-correctly implement that spec is considered non-breaking</i>\n\n## User Documentation\n\n* [Actor Intelligence](./actor-intelligence.md)\n* [Author Analysis](./author-analysis.md)\n* [Detailed Stats Widget](./detailed-stats-widget.md)\n* [Narrative Details](./narrative-details.md)\n* [Narrative List](./narrative-list.md)\n* [Post Analysis](./post-analysis.md)\n* [Post Translation](./post-translation.md)\n* [Project Overview](./project-overview.md)\n* [Segment Bar Quick Reference](./segment-bar-quick-reference.md)\n* [Segment Bar User Guide](./segment-bar-user-guide.md)"}},"baseSlug":"/constellation/api","routesMapping":{}}