Skip to content

Commit 2cffab0

Browse files
authored
docs: Update GraphQL docs to use flashBootType field for FlashBoot (#589)
2 parents 9919502 + 4c166fa commit 2cffab0

2 files changed

Lines changed: 12 additions & 9 deletions

File tree

flash/troubleshooting.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This guide covers how to monitor your Flash deployments, debug issues, and resol
1313
When running Flash functions, logs are displayed in your terminal:
1414

1515
```text
16-
2025-11-19 12:35:15,109 | INFO | Created endpoint: rb50waqznmn2kg - flash-quickstart-fb
16+
2025-11-19 12:35:15,109 | INFO | Created endpoint: rb50waqznmn2kg - flash-quickstart
1717
2025-11-19 12:35:15,114 | INFO | Endpoint:rb50waqznmn2kg | API /run
1818
2025-11-19 12:35:15,655 | INFO | Endpoint:rb50waqznmn2kg | Started Job:b0b341e7-...
1919
2025-11-19 12:35:15,762 | INFO | Job:b0b341e7-... | Status: IN_QUEUE

sdks/graphql/manage-endpoints.mdx

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ title: "Manage Endpoints"
1212
curl --request POST \
1313
--header 'content-type: application/json' \
1414
--url 'https://api.runpod.io/graphql?api_key=${YOUR_API_KEY}' \
15-
--data '{"query": "mutation { saveEndpoint(input: { gpuIds: \"AMPERE_16\", idleTimeout: 5, locations: \"US\", name: \"Generated Endpoint -fb\", networkVolumeId: \"\", scalerType: \"QUEUE_DELAY\", scalerValue: 4, templateId: \"xkhgg72fuo\", workersMax: 3, workersMin: 0 }) { gpuIds id idleTimeout locations name scalerType scalerValue templateId workersMax workersMin } }"}'
15+
--data '{"query": "mutation { saveEndpoint(input: { gpuIds: \"AMPERE_16\", idleTimeout: 5, locations: \"US\", name: \"Generated Endpoint\", flashBootType: \"FLASHBOOT\", networkVolumeId: \"\", scalerType: \"QUEUE_DELAY\", scalerValue: 4, templateId: \"xkhgg72fuo\", workersMax: 3, workersMin: 0 }) { gpuIds id idleTimeout locations name flashBootType scalerType scalerValue templateId workersMax workersMin } }"}'
1616
```
1717

1818
</Tab>
@@ -23,12 +23,13 @@ mutation {
2323
saveEndpoint(input: {
2424
# options for gpuIds are "AMPERE_16,AMPERE_24,ADA_24,AMPERE_48,ADA_48_PRO,AMPERE_80,ADA_80_PRO"
2525
gpuIds: "AMPERE_16",
26+
# set flashBootType to "FLASHBOOT" to enable FlashBoot
27+
flashBootType: "FLASHBOOT",
2628
idleTimeout: 5,
2729
# leave locations as an empty string or null for any region
2830
# options for locations are "CZ,FR,GB,NO,RO,US"
2931
locations: "US",
30-
# append -fb to your endpoint's name to enable FlashBoot
31-
name: "Generated Endpoint -fb",
32+
name: "Generated Endpoint",
3233
# uncomment below and provide an ID to mount a network volume to your workers
3334
# networkVolumeId: "",
3435
scalerType: "QUEUE_DELAY",
@@ -37,6 +38,7 @@ mutation {
3738
workersMax: 3,
3839
workersMin: 0
3940
}) {
41+
flashBootType
4042
gpuIds
4143
id
4244
idleTimeout
@@ -59,11 +61,12 @@ mutation {
5961
{
6062
"data": {
6163
"saveEndpoint": {
64+
"flashBootType": "FLASHBOOT",
6265
"gpuIds": "AMPERE_16",
6366
"id": "i02xupws21hp6i",
6467
"idleTimeout": 5,
6568
"locations": "US",
66-
"name": "Generated Endpoint -fb",
69+
"name": "Generated Endpoint",
6770
"scalerType": "QUEUE_DELAY",
6871
"scalerValue": 4,
6972
"templateId": "xkhgg72fuo",
@@ -86,7 +89,7 @@ mutation {
8689
curl --request POST \
8790
--header 'content-type: application/json' \
8891
--url 'https://api.runpod.io/graphql?api_key=${YOUR_API_KEY}' \
89-
--data '{"query": "mutation { saveEndpoint(input: { id: \"i02xupws21hp6i\", gpuIds: \"AMPERE_16\", name: \"Generated Endpoint -fb\", templateId: \"xkhgg72fuo\", workersMax: 0 }) { id gpuIds name templateId workersMax } }"}'
92+
--data '{"query": "mutation { saveEndpoint(input: { id: \"i02xupws21hp6i\", gpuIds: \"AMPERE_16\", name: \"Generated Endpoint\", templateId: \"xkhgg72fuo\", workersMax: 0 }) { id gpuIds name templateId workersMax } }"}'
9093
```
9194

9295
</Tab>
@@ -97,7 +100,7 @@ mutation {
97100
saveEndpoint(input: {
98101
id: "i02xupws21hp6i",
99102
gpuIds: "AMPERE_16",
100-
name: "Generated Endpoint -fb",
103+
name: "Generated Endpoint",
101104
templateId: "xkhgg72fuo",
102105
# Modify your template options here (or above, if applicable).
103106
# For this example, we've modified the endpoint's max workers.
@@ -122,7 +125,7 @@ mutation {
122125
"saveEndpoint": {
123126
"id": "i02xupws21hp6i",
124127
"gpuIds": "AMPERE_16",
125-
"name": "Generated Endpoint -fb",
128+
"name": "Generated Endpoint",
126129
"templateId": "xkhgg72fuo",
127130
"workersMax": 0
128131
}
@@ -189,7 +192,7 @@ query Endpoints {
189192
"id": "i02xupws21hp6i",
190193
"idleTimeout": 5,
191194
"locations": "US",
192-
"name": "Generated Endpoint -fb",
195+
"name": "Generated Endpoint",
193196
"networkVolumeId": null,
194197
"pods": [],
195198
"scalerType": "QUEUE_DELAY",

0 commit comments

Comments
 (0)