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)

  1. In Neblex open Connect › Connections and click New Connection.
  2. Search for xAI (Grok) and give the connection a clear name.
  3. Fill in the fields. Secret values are encrypted and never shown again.
  4. Click Test, then Create Connection.
FieldWhat to enter
xAI API keyOptionalSecretBearer key for api.x.ai inference, files, and search operations.
xAI Management API keyOptionalSecretSeparate Bearer management key for management-api.x.ai team, billing, and collection-management operations.

Use it in a flow

  1. Open a flow, open the node library and search for xAI (Grok).
  2. Drag it onto the canvas and choose an Operation and your connection.
  3. Map the operation's fields from earlier steps, or click Map with Matt.
  4. 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 RequestsaddBatchRequestsPOSTAdd multiple requests to an existing batch.
Cancel BatchcancelBatchPOSTCancel processing of all requests in a batch.
Create BatchcreateBatchPOSTCreate a new batch for processing requests.
Get BatchgetBatchGETGet information about a specific batch.
Get Batch ResultsgetBatchResultsGETList the processing results for a batch.
List Batch RequestslistBatchRequestsGETList metadata for all requests in a batch.
List BatcheslistBatchesGETList all batches for the current team.
Chat9
Chat CompletionchatPOSTCreate a chat response from text/image chat prompts.
Chat MessageschatMessagesPOSTCreate a chat response from text/image chat prompts.
Chat Messages StreamchatMessagesStreamPOSTCreate a chat response from text/image chat prompts.
Compact ResponsecompactResponsePOSTCompacts a full Responses API input window into a shorter canonical window.
Create ResponsecreateResponsePOSTGenerates a response based on text or image prompts.
Create Response StreamcreateResponseStreamPOSTGenerates a response based on text or image prompts.
Delete ResponsedeleteResponseDELETEDelete a previously generated response.
Get Deferred CompletiongetDeferredCompletionGETTries to fetch a result for a previously-started deferred completion.
Get ResponsegetResponseGETRetrieve a previously generated response.
Collections12
Add Collection DocumentaddCollectionDocumentPOSTAdd a document to collection.
Batch Get Collection DocumentsbatchGetCollectionDocumentsGETGet documents metadata in a batch request.
Create CollectioncreateCollectionPOSTCreate a collection.
Delete CollectiondeleteCollectionDELETEDelete a specific collection.
Delete Collection DocumentdeleteCollectionDocumentDELETERemove document from collection.
Get CollectiongetCollectionGETGet a collection's metadata.
Get Collection DocumentgetCollectionDocumentGETRetrieve document metadata in a collection.
List Collection DocumentslistCollectionDocumentsGETList documents in a collection.
List CollectionslistCollectionsGETList all the collections a team has.
Search DocumentssearchDocumentsPOSTSearch for content related to the query within the given collections.
Update CollectionupdateCollectionPUTUpdate collection's config.
Update Collection DocumentupdateCollectionDocumentPATCHRegenerate indices for the given document.
Files5
Delete FiledeleteFileDELETEDelete a file by ID.
Download FiledownloadFileGETDownload the contents of a file as a stream of raw bytes.
Get FilegetFileGETRetrieve metadata for a single file by ID.
List FileslistFilesGETList files owned by the authenticated team, paginated.
Upload FileuploadFilePOSTUpload a file to xAI's storage.
Legacy5
Create Anthropic MessagecreateAnthropicMessagePOSTCreate a messages response.
Create Anthropic Message StreamcreateAnthropicMessageStreamPOSTCreate a messages response.
Create Legacy Anthropic CompletioncreateLegacyAnthropicCompletionPOST(Legacy - Not supported by reasoning models) Create a text completion response.
Create Legacy CompletioncreateLegacyCompletionPOST(Legacy - Not supported by reasoning models) Create a text completion response for a given prompt.
Create Legacy Completion StreamcreateLegacyCompletionStreamPOST(Legacy - Not supported by reasoning models) Create a text completion response for a given prompt.
Management21
Create Api KeycreateApiKeyPOSTAPI keys are used to access the xAI API (https://api.x.ai).
Delete Api KeydeleteApiKeyDELETE!!CAUTION!!
Get Api Key PropagationgetApiKeyPropagationGETChecks if an API key has successfully been propagated.
Get Billing InfogetBillingInfoGETGet billing information of the team with given team ID.
Get Payment MethodgetPaymentMethodGETList payment methods of a team.
Get Postpaid Spending LimitsgetPostpaidSpendingLimitsGETGet the postpaid monthly spending limits.
Get Prepaid BalancegetPrepaidBalanceGETList the prepaid credit balance and balance changes of a team.
Get Team UsagegetTeamUsagePOSTGet historical usage of the API over a time period, aggregated by fields.
List Api KeyslistApiKeysGETLists API keys belonging to a user within a team.
List Audit EventslistAuditEventsGETAPI endpoint for GET requests to /audit/teams/\{teamId}/events.
List InvoiceslistInvoicesGETList invoices that belong to a team.
List Team EndpointslistTeamEndpointsGETLists all the endpoint ACLs that can be used on API keys.
List Team ModelslistTeamModelsGETLists all models that are accessible by a team.
Preview Postpaid InvoicepreviewPostpaidInvoiceGETPreview the amount to pay for postpaid usage in the current billing period.
Rotate Api KeyrotateApiKeyPOST!!CAUTION!!
Set Default Payment MethodsetDefaultPaymentMethodPOSTSet default payment method to an existing payment method on file.
Top Up Prepaid BalancetopUpPrepaidBalancePOSTTop up prepaid credit using the default payment method.
Update Api KeyupdateApiKeyPUTSelectively updates a subset of fields on an API key.
Update Billing InfoupdateBillingInfoPOSTSet billing information of a team.
Update Postpaid Spending LimitsupdatePostpaidSpendingLimitsPOSTSet the postpaid monthly spending limit of a team.
Validate Management KeyvalidateManagementKeyGETAPI endpoint for GET requests to /auth/management-keys/validation.
Media6
Edit ImageeditImagePOSTEdit an image based on a prompt.
Edit VideoeditVideoPOSTEdit a video based on a prompt.
Extend VideoextendVideoPOSTExtend a video by generating continuation content.
Generate ImagegenerateImagePOSTGenerate an image based on a prompt.
Generate VideogenerateVideoPOSTGenerate a video from a text prompt and optionally an image.
Get Video RequestgetVideoRequestGETGet the result of a deferred video generation request.
Models8
Get Image ModelgetImageModelGETGet full information about an image generation model with its model\ id.
Get Language ModelgetLanguageModelGETGet full information about a chat or image understanding model with its model\ id.
Get ModelgetModelGETGet information about a model with its model\ id, including pricing.
Get Video ModelgetVideoModelGETGet full information about a video generation model with its model\ id.
List Image ModelslistImageModelsGETList all image generation models available to the authenticating API key with full information.
List Language ModelslistLanguageModelsGETList all chat and image understanding models available to the authenticating API key with full information.
List ModelslistModelsGETList all models available to the authenticating API key, including model names (ID), creation times, and pricing.
List Video ModelslistVideoModelsGETList all video generation models available to the authenticating API key with full information.
Utilities2
Get Api Key InfogetApiKeyInfoGETGet information about an API key, including name, status, permissions and users who created or modified this key.
Tokenize TexttokenizeTextPOSTTokenize text with the specified model
Voice14
Create Custom VoicecreateCustomVoicePOSTCreate a custom voice from a reference audio clip.
Create Realtime Client SecretcreateRealtimeClientSecretPOSTCreate an ephemeral client secret for authenticating browser-side Realtime API connections.
Delete Custom VoicedeleteCustomVoiceDELETEDelete a custom voice.
Get Custom VoicegetCustomVoiceGETGet a single custom voice.
Get Custom Voice AudiogetCustomVoiceAudioGETDownload the reference audio for a custom voice.
Get Tts VoicegetTtsVoiceGETGet details for a specific voice.
Hangup Realtime CallhangupRealtimeCallPOSTEnd an active SIP call.
List Custom VoiceslistCustomVoicesGETList custom voices owned by your team.
List Tts VoiceslistTtsVoicesGETList all available TTS voices.
Provision Phone NumberprovisionPhoneNumberPOSTCreate a phone number for API-controlled SIP calls.
Refer Realtime CallreferRealtimeCallPOSTTransfer an active SIP call to a PSTN or SIP destination.
SttsttPOSTTranscribe an audio file to text.
TtsttsPOSTConvert text into speech audio.
Update Custom VoiceupdateCustomVoicePATCHUpdate custom voice metadata.