Connectors
AI, LLM & Vector Stores
xAI (Grok)
Grok AI models: chat completions, reasoning, and live search grounding
- Signs in with
- Connection fields
- Runs on
- Cloud or On-Prem Worker
- Operations
- 89
- Ready-made triggers
- 0
Connect xAI (Grok)
- In Neblex open Connect › Connections and click New Connection.
- Search for xAI (Grok) and give the connection a clear name.
- Fill in the fields. Secret values are encrypted and never shown again.
- Click Test, then Create Connection.
| Field | What to enter |
|---|---|
| xAI API keyOptionalSecret | Bearer key for api.x.ai inference, files, and search operations. |
| xAI Management API keyOptionalSecret | Separate Bearer management key for management-api.x.ai team, billing, and collection-management operations. |
Use it in a flow
- Open a flow, open the node library and search for xAI (Grok).
- Drag it onto the canvas and choose an Operation and your connection.
- Map the operation's fields from earlier steps, or click Map with Matt.
- Use Test this step to see what it returns, then save.
Operations
89 operations in 10 groups. Each one is a step you can add to a flow.
Batches7
Add Batch RequestsaddBatchRequests | POST | Add multiple requests to an existing batch. |
Cancel BatchcancelBatch | POST | Cancel processing of all requests in a batch. |
Create BatchcreateBatch | POST | Create a new batch for processing requests. |
Get BatchgetBatch | GET | Get information about a specific batch. |
Get Batch ResultsgetBatchResults | GET | List the processing results for a batch. |
List Batch RequestslistBatchRequests | GET | List metadata for all requests in a batch. |
List BatcheslistBatches | GET | List all batches for the current team. |
Chat9
Chat Completionchat | POST | Create a chat response from text/image chat prompts. |
Chat MessageschatMessages | POST | Create a chat response from text/image chat prompts. |
Chat Messages StreamchatMessagesStream | POST | Create a chat response from text/image chat prompts. |
Compact ResponsecompactResponse | POST | Compacts a full Responses API input window into a shorter canonical window. |
Create ResponsecreateResponse | POST | Generates a response based on text or image prompts. |
Create Response StreamcreateResponseStream | POST | Generates a response based on text or image prompts. |
Delete ResponsedeleteResponse | DELETE | Delete a previously generated response. |
Get Deferred CompletiongetDeferredCompletion | GET | Tries to fetch a result for a previously-started deferred completion. |
Get ResponsegetResponse | GET | Retrieve a previously generated response. |
Collections12
Add Collection DocumentaddCollectionDocument | POST | Add a document to collection. |
Batch Get Collection DocumentsbatchGetCollectionDocuments | GET | Get documents metadata in a batch request. |
Create CollectioncreateCollection | POST | Create a collection. |
Delete CollectiondeleteCollection | DELETE | Delete a specific collection. |
Delete Collection DocumentdeleteCollectionDocument | DELETE | Remove document from collection. |
Get CollectiongetCollection | GET | Get a collection's metadata. |
Get Collection DocumentgetCollectionDocument | GET | Retrieve document metadata in a collection. |
List Collection DocumentslistCollectionDocuments | GET | List documents in a collection. |
List CollectionslistCollections | GET | List all the collections a team has. |
Search DocumentssearchDocuments | POST | Search for content related to the query within the given collections. |
Update CollectionupdateCollection | PUT | Update collection's config. |
Update Collection DocumentupdateCollectionDocument | PATCH | Regenerate indices for the given document. |
Files5
Delete FiledeleteFile | DELETE | Delete a file by ID. |
Download FiledownloadFile | GET | Download the contents of a file as a stream of raw bytes. |
Get FilegetFile | GET | Retrieve metadata for a single file by ID. |
List FileslistFiles | GET | List files owned by the authenticated team, paginated. |
Upload FileuploadFile | POST | Upload a file to xAI's storage. |
Legacy5
Create Anthropic MessagecreateAnthropicMessage | POST | Create a messages response. |
Create Anthropic Message StreamcreateAnthropicMessageStream | POST | Create a messages response. |
Create Legacy Anthropic CompletioncreateLegacyAnthropicCompletion | POST | (Legacy - Not supported by reasoning models) Create a text completion response. |
Create Legacy CompletioncreateLegacyCompletion | POST | (Legacy - Not supported by reasoning models) Create a text completion response for a given prompt. |
Create Legacy Completion StreamcreateLegacyCompletionStream | POST | (Legacy - Not supported by reasoning models) Create a text completion response for a given prompt. |
Management21
Create Api KeycreateApiKey | POST | API keys are used to access the xAI API (https://api.x.ai). |
Delete Api KeydeleteApiKey | DELETE | !!CAUTION!! |
Get Api Key PropagationgetApiKeyPropagation | GET | Checks if an API key has successfully been propagated. |
Get Billing InfogetBillingInfo | GET | Get billing information of the team with given team ID. |
Get Payment MethodgetPaymentMethod | GET | List payment methods of a team. |
Get Postpaid Spending LimitsgetPostpaidSpendingLimits | GET | Get the postpaid monthly spending limits. |
Get Prepaid BalancegetPrepaidBalance | GET | List the prepaid credit balance and balance changes of a team. |
Get Team UsagegetTeamUsage | POST | Get historical usage of the API over a time period, aggregated by fields. |
List Api KeyslistApiKeys | GET | Lists API keys belonging to a user within a team. |
List Audit EventslistAuditEvents | GET | API endpoint for GET requests to /audit/teams/\{teamId}/events. |
List InvoiceslistInvoices | GET | List invoices that belong to a team. |
List Team EndpointslistTeamEndpoints | GET | Lists all the endpoint ACLs that can be used on API keys. |
List Team ModelslistTeamModels | GET | Lists all models that are accessible by a team. |
Preview Postpaid InvoicepreviewPostpaidInvoice | GET | Preview the amount to pay for postpaid usage in the current billing period. |
Rotate Api KeyrotateApiKey | POST | !!CAUTION!! |
Set Default Payment MethodsetDefaultPaymentMethod | POST | Set default payment method to an existing payment method on file. |
Top Up Prepaid BalancetopUpPrepaidBalance | POST | Top up prepaid credit using the default payment method. |
Update Api KeyupdateApiKey | PUT | Selectively updates a subset of fields on an API key. |
Update Billing InfoupdateBillingInfo | POST | Set billing information of a team. |
Update Postpaid Spending LimitsupdatePostpaidSpendingLimits | POST | Set the postpaid monthly spending limit of a team. |
Validate Management KeyvalidateManagementKey | GET | API endpoint for GET requests to /auth/management-keys/validation. |
Media6
Edit ImageeditImage | POST | Edit an image based on a prompt. |
Edit VideoeditVideo | POST | Edit a video based on a prompt. |
Extend VideoextendVideo | POST | Extend a video by generating continuation content. |
Generate ImagegenerateImage | POST | Generate an image based on a prompt. |
Generate VideogenerateVideo | POST | Generate a video from a text prompt and optionally an image. |
Get Video RequestgetVideoRequest | GET | Get the result of a deferred video generation request. |
Models8
Get Image ModelgetImageModel | GET | Get full information about an image generation model with its model\ id. |
Get Language ModelgetLanguageModel | GET | Get full information about a chat or image understanding model with its model\ id. |
Get ModelgetModel | GET | Get information about a model with its model\ id, including pricing. |
Get Video ModelgetVideoModel | GET | Get full information about a video generation model with its model\ id. |
List Image ModelslistImageModels | GET | List all image generation models available to the authenticating API key with full information. |
List Language ModelslistLanguageModels | GET | List all chat and image understanding models available to the authenticating API key with full information. |
List ModelslistModels | GET | List all models available to the authenticating API key, including model names (ID), creation times, and pricing. |
List Video ModelslistVideoModels | GET | List all video generation models available to the authenticating API key with full information. |
Utilities2
Get Api Key InfogetApiKeyInfo | GET | Get information about an API key, including name, status, permissions and users who created or modified this key. |
Tokenize TexttokenizeText | POST | Tokenize text with the specified model |
Voice14
Create Custom VoicecreateCustomVoice | POST | Create a custom voice from a reference audio clip. |
Create Realtime Client SecretcreateRealtimeClientSecret | POST | Create an ephemeral client secret for authenticating browser-side Realtime API connections. |
Delete Custom VoicedeleteCustomVoice | DELETE | Delete a custom voice. |
Get Custom VoicegetCustomVoice | GET | Get a single custom voice. |
Get Custom Voice AudiogetCustomVoiceAudio | GET | Download the reference audio for a custom voice. |
Get Tts VoicegetTtsVoice | GET | Get details for a specific voice. |
Hangup Realtime CallhangupRealtimeCall | POST | End an active SIP call. |
List Custom VoiceslistCustomVoices | GET | List custom voices owned by your team. |
List Tts VoiceslistTtsVoices | GET | List all available TTS voices. |
Provision Phone NumberprovisionPhoneNumber | POST | Create a phone number for API-controlled SIP calls. |
Refer Realtime CallreferRealtimeCall | POST | Transfer an active SIP call to a PSTN or SIP destination. |
Sttstt | POST | Transcribe an audio file to text. |
Ttstts | POST | Convert text into speech audio. |
Update Custom VoiceupdateCustomVoice | PATCH | Update custom voice metadata. |