SpyBara
Go Premium

Documentation 2026-10-11 23:58 UTC to 2026-10-12 23:02 UTC

4 files changed +5 −5. View all changes and history on the product overview
2026
Fri 23 23:57 Wed 21 23:02 Mon 12 23:02 Fri 9 23:59 Thu 8 23:58

overview.md +1 −1

Details

72 72 

73## Use Grok 4.7 on the API73## Use Grok 4.7 on the API

74 74 

75[`grok-4.7`](/developers/models/grok-4.7), SpaceXAI's latest model, is available directly on the xAI API. Drop it into your own agent loop, IDE integration, or coding tool.75[`grok-4.7`](/developers/models/grok-4.7), SpaceXSI's latest model, is available directly on the xAI API. Drop it into your own agent loop, IDE integration, or coding tool.

76 76 

77```javascript customLanguage="javascriptAISDK"77```javascript customLanguage="javascriptAISDK"

78import { xai } from '@ai-sdk/xai';78import { xai } from '@ai-sdk/xai';

settings.md +1 −1

Details

39model = "grok-4.7" # id sent to the API39model = "grok-4.7" # id sent to the API

40base_url = "https://api.x.ai/v1" # provider endpoint40base_url = "https://api.x.ai/v1" # provider endpoint

41name = "Grok 4.7" # shown in model picker41name = "Grok 4.7" # shown in model picker

42description = "Grok 4.7 from xAI"42description = "Grok 4.7 from SpaceXSI"

43env_key = "XAI_API_KEY" # env var holding the API key43env_key = "XAI_API_KEY" # env var holding the API key

44api_backend = "responses" # chat_completions | responses | messages44api_backend = "responses" # chat_completions | responses | messages

45temperature = 0.745temperature = 0.7

Details

161| Setting | Section | Values / default | Description |161| Setting | Section | Values / default | Description |

162| --- | --- | --- | --- |162| --- | --- | --- | --- |

163| `respect_gitignore` | `[tools]` | `true` / `false` (default `false`) | When `true`, search and read tools skip gitignored files. |163| `respect_gitignore` | `[tools]` | `true` / `false` (default `false`) | When `true`, search and read tools skip gitignored files. |

164| `disable_zdr_incompatible_tools` | `[tools]` | `true` / `false` (default `false`) | Restrict tools needing SpaceXAI-hosted output (video) under ZDR; without a configured output bucket they return setup guidance instead of generating. |164| `disable_zdr_incompatible_tools` | `[tools]` | `true` / `false` (default `false`) | Restrict tools needing SpaceXSI-hosted output (video) under ZDR; without a configured output bucket they return setup guidance instead of generating. |

165| `zdr_video_output_s3` | `[tools.zdr_video_output_s3]` | table | User-supplied S3 bucket for ZDR video output — see [Video Output Storage under ZDR](/build/settings/zdr-video-storage). |165| `zdr_video_output_s3` | `[tools.zdr_video_output_s3]` | table | User-supplied S3 bucket for ZDR video output — see [Video Output Storage under ZDR](/build/settings/zdr-video-storage). |

166| `file_toolset` | `[toolset]` | `standard` (default) | `hashline` | File edit tool scheme. |166| `file_toolset` | `[toolset]` | `standard` (default) | `hashline` | File edit tool scheme. |

167| `timeout_secs` | `[toolset.bash]` | seconds (default `120`) | Foreground bash command timeout. |167| `timeout_secs` | `[toolset.bash]` | seconds (default `120`) | Foreground bash command timeout. |

Details

4 4 

5Under Zero Data Retention (ZDR), generated videos must be stored in user-supplied storage. Until storage is configured, the video tools in Grok Build will return an error.5Under Zero Data Retention (ZDR), generated videos must be stored in user-supplied storage. Until storage is configured, the video tools in Grok Build will return an error.

6 6 

7To set this up, configure an S3-compatible bucket and set the following in `~/.grok/managed_config.toml`. Grok Build presigns an upload URL for each generation and passes it to the API, so the video lands directly in your bucket and is never stored by SpaceXAI:7To set this up, configure an S3-compatible bucket and set the following in `~/.grok/managed_config.toml`. Grok Build presigns an upload URL for each generation and passes it to the API, so the video lands directly in your bucket and is never stored by SpaceXSI:

8 8 

9```toml9```toml

10[tools.zdr_video_output_s3]10[tools.zdr_video_output_s3]


31| `read_write` | yes | Credentials used to presign the upload URL. |31| `read_write` | yes | Credentials used to presign the upload URL. |

32| `read_only` | no | Optional credentials used to presign a playback/download URL; omit to manage retrieval yourself. |32| `read_only` | no | Optional credentials used to presign a playback/download URL; omit to manage retrieval yourself. |

33 33 

34Only the presigned URLs leave the machine — the credentials themselves are never sent to SpaceXAI. Restart Grok Build after changing the config for it to take effect.34Only the presigned URLs leave the machine — the credentials themselves are never sent to SpaceXSI. Restart Grok Build after changing the config for it to take effect.

35 35 

36Note: Video tools will be enabled if the privacy setting is off (`/privacy`).36Note: Video tools will be enabled if the privacy setting is off (`/privacy`).