Skip to main content Announcing Tool Policies: AI agent permissions down to the field Read the announcement
Connectors xAI
Live 99 Actions

xAI Integration for AI Agents

Connect your AI agent to 99 xAI actions via MCP, A2A, or SDK, with agent authentication, tool-calling execution, and security built-in.

StackOne
DrataGPLocalyzeFlipMindtoolsScreenloop

xAI AI Agent Actions

99 production-ready actions for your agent to do more on xAI.

99 Actions
Get API Key Info - Get the name, status and permissions of the xAI API key the connection uses.
Get Me - Get the user, team and API key behind the xAI connection.
List API Keys - List the API keys of an xAI console team.
Create API Key - Create an API key in an xAI console team.
Update API Key - Change the name, limits, permissions or disabled state of an xAI API key.
Rotate API Key - Replace the secret of an xAI API key, ending the old secret.
Delete API Key - Delete an xAI API key for good.
Get API Key Propagation - Check whether an xAI API key has reached every inference cluster.
List Audit Events - List the audit events of an xAI console team, such as API key and membership changes.
Create Batch - Create an xAI batch to run many model requests in the background at a lower price.
List Batches - List the batches of the xAI team, a page at a time.
Get Batch - Get one xAI batch with its progress counts.
List Batch Requests - List the requests in an xAI batch with the state of each, a page at a time.
Add Batch Requests - Add chat, responses, image or video requests to an xAI batch.
List Batch Results - List the answers of the finished requests in an xAI batch, a page at a time.
Cancel Batch - Stop an xAI batch so its pending requests are not processed.
Get Billing Info - Get the billing name, address, email and tax ID of an xAI console team.
Set Billing Info - Save the billing name, address, email and tax ID of an xAI console team.
List Invoices - List the invoices of an xAI console team, with line items and payment status.
List Payment Methods - List the cards and bank accounts on file for an xAI console team.
Set Default Payment Method - Make a payment method on file the default for an xAI console team.
Preview Postpaid Invoice - Preview what an xAI console team owes for postpaid usage this billing period.
Get Spending Limits - Get the monthly postpaid spending limits of an xAI console team.
Set Spending Limit - Set the monthly postpaid spending limit of an xAI console team.
Get Prepaid Balance - Get the prepaid credit balance of an xAI console team and its history.
Top Up Prepaid Credits - Buy prepaid credits for an xAI console team, charged to its default payment method.
Get Usage - Get the API usage and spend of an xAI console team over time, grouped as asked.
Create Chat Completion - Send a conversation to a Grok model and get its reply.
Get Deferred Chat Completion - Fetch the result of a chat completion started with deferred set to true.
Search Collections - Search the documents in one or more xAI collections and return the best-matching chunks.
Create Collection - Create an xAI collection that indexes documents for search.
List Collections - List the collections of an xAI team, a page at a time.
Get Collection - Get the settings of one xAI collection.
Update Collection - Rename an xAI collection or change its chunking and document fields.
Delete Collection - Delete an xAI collection for good.
Add Collection Document - Add an uploaded xAI file to a collection so it can be searched.
List Collection Documents - List the documents in an xAI collection with their indexing status, a page at a time.
Get Collection Document - Get one document of an xAI collection with its indexing status.
Regenerate Collection Document - Rebuild the search index of one document in an xAI collection.
Remove Collection Document - Remove a document from an xAI collection.
Batch Get Collection Documents - Get several documents of an xAI collection in one call.
Create Embeddings - Turn text into embedding vectors with an xAI embedding model.
List Files - List the files stored in the xAI team, a page at a time.
Get File - Get the details of one stored xAI file.
Delete File - Delete a stored xAI file for good.
Create File Public URL - Publish a stored xAI file at a public URL anyone can open.
Revoke File Public URL - Turn off the public URL of a stored xAI file.
List Grok Team Members - List every member of the Grok team with their role and removal status.
List Grok Team Directory Groups - List the Grok team's directory groups with their member counts and spend limits.
Get Grok Team Directory Group - Get one of the Grok team's directory groups by ID.
List Grok Team Directory Group Members - List the members of one Grok team directory group.
Get Unified Credentials - Get the current xAI connection's unified credentials and identity.
List Unified Groups - List unified directory groups in a Grok team.
Get Unified Group - Get a unified Grok team directory group by ID.
List Unified Roles - List the built-in roles of a Grok team.
Get Unified Role - Get a built-in Grok team role by ID.
List Unified Users - List unified users in a Grok team.
Get Unified User - Get a unified Grok team member by ID.
Generate Image - Generate images from a text prompt with a Grok image model.
Edit Image - Edit one or more images from a text prompt with a Grok image model.
Get Deferred Image - Fetch the result of an image generation or edit started with deferred set to true.
Validate Management Key - Check the xAI management key the connection uses and return its scope and permissions.
List Models - List the models the xAI API key can use, with prices.
Get Model - Get one model by ID or alias, with its prices.
List Language Models - List the chat and image understanding models the xAI API key can use, with prices.
Get Language Model - Get one chat and image understanding model by ID or alias, with its prices.
List Image Generation Models - List the image generation models the xAI API key can use, with prices.
Get Image Generation Model - Get one image generation model by ID or alias, with its prices.
List Video Generation Models - List the video generation models the xAI API key can use, with prices.
Get Video Generation Model - Get one video generation model by ID or alias, with its prices.
List Embedding Models - List the embedding models the xAI API key can use, with prices.
Get Embedding Model - Get one embedding model by ID or alias, with its prices.
Create Response - Generate a Grok model response from text, image or file input, stored for later retrieval.
Get Response - Get a stored Grok model response by ID.
Delete Response - Delete a stored Grok model response.
Compact Response Input - Shorten a long Responses input window into one compacted item to send next time.
List Response Input Items - List the input items of a stored Grok model response, a page at a time.
List Skills - List the hosted skills uploaded to the xAI team, a page at a time.
Get Skill - Get the details of one hosted xAI skill.
Delete Skill - Delete a hosted xAI skill for good.
List Team Models - List the models an xAI console team can use, with prices and rate limits.
List Team Endpoint ACLs - List the endpoint ACLs that can be given to API keys of an xAI console team.
Tokenize Text - Split text into the tokens a Grok model reads, with each token id.
Generate Video - Start generating a video from a text prompt, an image or reference images.
Edit Video - Start editing a video from a text prompt.
Extend Video - Start generating a continuation of a video from a text prompt.
Get Deferred Video - Fetch the status and result of a video generation, edit or extension.
Create Phone Number - Add a phone number that routes SIP calls to an xAI voice agent or webhook.
List Phone Numbers - List the phone numbers of the xAI team, a page at a time.
Delete Phone Number - Remove a Direct SIP or Twilio-imported phone number from the xAI team.
Transfer SIP Call - Transfer an active xAI SIP call to a phone number or SIP address.
Hang Up SIP Call - End an active xAI SIP call.
Create Speech - Turn text into spoken audio with an xAI voice, returned as base64 with timings.
List TTS Voices - List the built-in xAI voices for text to speech.
Get TTS Voice - Get one built-in xAI text to speech voice.
List Custom Voices - List the custom voices the xAI team has made, a page at a time.
Get Custom Voice - Get one custom voice of the xAI team.
Update Custom Voice - Change the name, description or labels of a custom xAI voice.
Delete Custom Voice - Delete a custom xAI voice for good.

Do More, Build Less

Connect AI to xAI and control what it can do, down to the field

Multiple Interfaces

Access integrations via API, AI SDKs, MCP & A2A.

xAI MCP server
Managed Authentication

Pre-built authentication UI.

Agent auth
Falcon Engine

Every xAI action runs on Falcon.

Agent Execution Engine
StackOne Defender
StackOne Defender 0.94 DeBERTa 0.74 Meta PG v2 0.63 NemoGuard 0.58 F1, Jayavibhav (65,000 samples)

0.94 F1 on prompt injection.

Prompt injection defense

"What impressed us most about StackOne is its ambition and clarity. They're creating infrastructure that modern software and the entire AI agent ecosystem can rely on. The depth of secure integrations, the pace of delivery, and the team's foresight into AI's future uniquely position StackOne to redefine this category."

Luna Schmid, Partner at GV

"We've been impressed by how quickly and deeply StackOne integrates with complex enterprise systems -- and now, with their focus on agent-to-agent interoperability, they're unlocking even more powerful use cases for customers. StackOne delivers all of the above in a universal layer -- without compromise."

Barbry McGann, SVP at Workday Ventures

G2 - High Performer G2 - Easiest To Do Business With G2 - Users Love Us G2 - Best Relationship G2 - Easiest Admin

Product Teams Love Building Agent Integrations With StackOne

G2

More developer Integrations Like xAI

Wiz

696+ actions

Backbase

606+ actions

IONOS

501+ actions

Guidewire

294+ actions

Addepar

269+ actions

Workiva

266+ actions

xAI AI agent integration resources

Agentic Context Engineering: Why AI Agents Kill Their Own Context Windows

AI agents exceed their context windows without knowing it. Six failure patterns and seven survival architectures for agentic context engineering.

15 min

Comparing BM25, TF-IDF, and Hybrid Search for MCP Tool Discovery

Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.

10 min

Ready to put your agents to work?