You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usage: "Retrieve and normalize a person profile from identifiers.",
133
+
Usage: "Scrape 25K URLs or crawl large websites asynchronously.",
118
134
Suggest: true,
119
135
Flags: []cli.Flag{
120
136
&requestflag.Flag[map[string]any]{
121
-
Name: "identifiers",
122
-
Usage: "Known identifiers for the person. At least one identifier is required.",
137
+
Name: "input",
138
+
Usage: "Choose a URL list or a site crawl.",
123
139
Required: true,
124
-
BodyPath: "identifiers",
140
+
BodyPath: "input",
125
141
},
126
142
&requestflag.Flag[[]string]{
127
143
Name: "tag",
128
-
Usage: "Optional tags for tracking usage. Up to 20 tags, each 1 to 50 characters.",
144
+
Usage: "Tags stored on the batch. Filter the batch list by them later.",
129
145
BodyPath: "tags",
130
146
},
131
-
&requestflag.Flag[int64]{
132
-
Name: "timeout-ms",
133
-
Usage: "Optional timeout in milliseconds for the request. If the request takes longer than this value, it will be aborted with a 408 status code. Maximum allowed value is 300000ms (5 minutes).",
134
-
BodyPath: "timeoutMS",
147
+
&requestflag.Flag[string]{
148
+
Name: "webhook-url",
149
+
Usage: "URL notified when the batch finishes.",
150
+
BodyPath: "webhookUrl",
151
+
},
152
+
&requestflag.Flag[string]{
153
+
Name: "idempotency-key",
154
+
Usage: "Any string unique to this submission. Retries with the same key return the original batch.",
155
+
HeaderPath: "Idempotency-Key",
135
156
},
136
157
},
137
158
Action: handleBatchSubmit,
138
159
HideHelpCommand: true,
139
-
}, map[string][]requestflag.HasOuterFlag{
140
-
"identifiers": {
141
-
&requestflag.InnerFlag[string]{
142
-
Name: "identifiers.linkedin-url",
143
-
Usage: "LinkedIn profile URL, e.g. https://www.linkedin.com/in/yahia-bakour/.",
Copy file name to clipboardExpand all lines: pkg/cmd/brand.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -154,7 +154,7 @@ var brandRetrieveSimplified = cli.Command{
154
154
155
155
varbrandSearch= cli.Command{
156
156
Name: "search",
157
-
Usage: "Search brands by name or domain and get back up to 10 lightweight matches\n(domain, name, logo), most popular first: by Tranco rank, then market cap for\nbrands outside the Tranco list, with text relevance breaking ties. Matching is\nprefix-based with no typo tolerance, so it is suited to autocomplete. Only\nbrands already in the Context.dev index are returned — use /brand/retrieve to\nfetch (and index) a specific domain. Free on Pro and Scale plans; costs 1 credit\nper request on the Free and Starter plans.",
157
+
Usage: "Search brands by name or domain and get back up to 10 lightweight matches\n(domain, name, logo). Name matches rank ahead of domain matches; within each\ngroup the most popular brands come first: by Tranco rank, then market cap for\nbrands outside the Tranco list, with text relevance breaking ties. Matching is\nprefix-based with no typo tolerance, so it is suited to autocomplete. Only\nbrands already in the Context.dev index are returned — use /brand/retrieve to\nfetch (and index) a specific domain. Free on Pro and Scale plans; costs 1 credit\nper request on the Free and Starter plans.",
Copy file name to clipboardExpand all lines: pkg/cmd/parse.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ var parseHandle = requestflag.WithInnerFlags(cli.Command{
51
51
},
52
52
&requestflag.Flag[any]{
53
53
Name: "ocr",
54
-
Usage: "When true for PDF inputs, detect and OCR images embedded in the selected pages, inserting recognized text at each image's position in page reading order while preserving the PDF text layer. pdf.start/pdf.end limit the inclusive page range. When false, all OCR is disabled, including the automatic scanned-PDF fallback.",
54
+
Usage: "When true for PDF inputs, OCR the selected pages that have no usable text layer (scans), replacing each recovered page's text with the OCR result while pages with a real text layer keep it. pdf.start/pdf.end limit the inclusive page range. Billed at 1 credit per page OCR actually recovered, on top of the base request cost. When false, no OCR runs.",
0 commit comments