Query
deepResearchQuote
Validate a Deep Research report input and quote its cost without starting it.
Arguments
Object, input and enum types open in place — use + to reveal their fields. A type that is already open above the row stops at a ↻ circular marker, and anything nested past the depth limit links out to its own page instead.
- input DeepResearchReportInput! required
- The report input, as it would be passed to
createDeepResearchReport. - brandIds [ID!]
- BRAND: competitor brand UUIDs (
competitorBrands). How many brands a report takes is set per template, and a count outside its bounds is refused with the bounds in the message. A single-brand template takes exactly one brand: your own (the entry withisOwnBrand: true) or one competitor. A multi-brand template (e.g. Share of Voice) always includes your own brand, so pass competitors only, at least as many as the template asks for; your own brand is not one of them. - campaignId ID
- CAMPAIGN: the campaign UUID (
campaigns). - commentCount Int
- Comments read per post when
includeCommentsis true. - creatorId ID
- CREATOR: the creator UUID (
creators). - from DateWithZone
- BRAND: first day of the window. Defaults to the first day of the previous month.
- includeComments Boolean
- Read the comments under each post, where the template allows (
audienceComments). - includeReplies Boolean
- Also read replies to those comments.
- inputType DeepResearchInputType! required
- What the report runs on.
deepResearchTemplateslists which types each template accepts. - BRAND
- Tracked competitor brands (
brandIds), including your own brand, over a date window. - CAMPAIGN
- A campaign (
campaignId): the report reads the campaign's content. - CREATOR
- A creator (
creatorId, optionally narrowed tosocialProfileIds). - VIEW
- A saved content view (
viewId): the report reads the posts the view matches. - name String
- Report title. Defaults to one derived from the template and source.
- poolSize Int
- BRAND, pooled Share of Voice templates only: candidate posts ranked before the per-brand limit.
- postLimitPerBrand Int
- BRAND: posts read per brand. Defaults to the template's recommendation.
- prompt String
- Extra instructions for the analysis.
- repliesPerParent Int
- Replies read per comment when
includeRepliesis true. - replyParentLimit Int
- Comments per post whose replies are read when
includeRepliesis true. - socialProfileIds [ID!]
- CREATOR: narrow the report to these of the creator's social profile UUIDs.
- templateSlug String! required
- The template to run, as
slugindeepResearchTemplates. - to DateWithZone
- BRAND: last day of the window. Defaults to the last day of the previous month.
- trackedCommentsOnly Boolean
- Read only the comments this workspace tracks (Social Flirting workspaces).
- viewId ID
- VIEW: the content view UUID (
contentViews).
Returns
Returns DeepResearchQuote!.
- affordable Boolean!
- Whether
createDeepResearchReportwith the same input would be accepted on credits right now. - availableCredits Float
- Credits the workspace can spend now. Null when the balance could not be read.
- estimateCredits Float
- Expected final cost in credits.
- holdCredits Float
- Credits held when the report starts; the unused part is released when it finishes.
- inputType DeepResearchInputType!
- The source the quote was made for.
- BRAND
- Tracked competitor brands (
brandIds), including your own brand, over a date window. - CAMPAIGN
- A campaign (
campaignId): the report reads the campaign's content. - CREATOR
- A creator (
creatorId, optionally narrowed tosocialProfileIds). - VIEW
- A saved content view (
viewId): the report reads the posts the view matches. - templateSlug String!
- The template the quote was made for.