File tree 1 file changed +31
-5
lines changed
1 file changed +31
-5
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,37 @@ Authorization: Bearer {{$dotenv TEST_API_KEY}}
34
34
DELETE {{baseUrl }}/v1/crawl/{{crawlId}} HTTP/1.1
35
35
Authorization: Bearer {{$dotenv TEST_API_KEY}}
36
36
37
+ ### Extract website
38
+ # @name extract
39
+ POST {{baseUrl }}/v1/extract HTTP/1.1
40
+ Authorization: Bearer {{$dotenv TEST_API_KEY}}
41
+ content-type: application/json
42
+
43
+ {
44
+ "urls" : [" https://firecrawl.dev" ],
45
+ "schema" : {
46
+ "type" : " object" ,
47
+ "properties" : {
48
+ "companyName" : {
49
+ "type" : " string"
50
+ },
51
+ "companyDescription" : {
52
+ "type" : " string"
53
+ }
54
+ }
55
+ },
56
+ "agent" : {
57
+ "model" : " fire-1"
58
+ },
59
+ "origin" : " api-sdk"
60
+ }
61
+
62
+ ### Check Extract Status
63
+ @extractId = {{extract.response.body.$.id}}
64
+ # @name extractStatus
65
+ GET {{baseUrl }}/v1/extract/{{extractId}} HTTP/1.1
66
+ Authorization: Bearer {{$dotenv TEST_API_KEY}}
67
+
37
68
### Batch Scrape Websites
38
69
# @name batchScrape
39
70
POST {{baseUrl }}/v1/batch/scrape HTTP/1.1
@@ -53,7 +84,6 @@ content-type: application/json
53
84
GET {{baseUrl }}/v1/crawl/{{batchScrapeId}} HTTP/1.1
54
85
Authorization: Bearer {{$dotenv TEST_API_KEY}}
55
86
56
-
57
87
### Map Website
58
88
# @name map
59
89
POST {{baseUrl }}/v1/map HTTP/1.1
@@ -65,10 +95,6 @@ content-type: application/json
65
95
"sitemapOnly" : true
66
96
}
67
97
68
- ###
69
- DELETE {{baseUrl }}/v1/crawl/c94136f9-86c1-4a97-966c-1c8e0274778f HTTP/1.1
70
- Authorization: Bearer {{$dotenv TEST_API_KEY}}
71
-
72
98
### Generate LLMs TXT
73
99
# @name generateLlmsTxt
74
100
POST {{baseUrl }}/v1/llmstxt HTTP/1.1
You can’t perform that action at this time.
0 commit comments