When you configure an export, import, or other type of flow step using the prebuilt xAI connector, you can select any of the API operations listed below, organized by API type.
Note
If your API endpoint isn’t listed here, switch the flow step to HTTP mode and configure the endpoint provided in the xAI API documentation. You can also create a composite endpoint for this application in HTTP mode.
|
Resource |
API endpoint |
Export |
Import |
|---|---|---|---|
|
Accounts and authorization |
Create an API key |
X |
|
|
List API keys |
X |
||
|
Update API key |
X |
||
|
Rotate API key |
X |
||
|
Delete an API key |
X |
||
|
Check API key propagation |
X |
||
|
List models |
X |
||
|
List possible endpoint ACL values |
X |
||
|
Validate management key |
X |
||
|
Audit logs |
List audit events |
X |
|
|
Batches |
Create a new batch |
X |
|
|
List batches |
X |
||
|
Get batch |
X |
||
|
List batch requests in a batch |
X |
||
|
Add batch requests to a batch |
X |
||
|
Get processing results of a batch |
X |
||
|
Cancel processing on a batch |
X |
||
|
Billing management |
Get billing information |
X |
|
|
Set billing information |
X |
||
|
List invoices |
X |
||
|
List payment methods |
X |
||
|
Set default payment method |
X |
||
|
Preview postpaid invoice for the month |
X |
||
|
Get monthly postpaid spending limits |
X |
||
|
Set monthly postpaid spending limits |
X |
||
|
List prepaid credit balance and balance changes |
X |
||
|
Top up prepaid credit |
X |
||
|
Get historical usage of the API |
X |
||
|
Chat |
Example API |
X |
|
|
Example API |
X |
||
|
Example API |
X |
||
|
Example API |
X |
||
|
Chat completion |
X |
||
|
Create a response |
X |
||
|
Retrieve a response |
X |
||
|
Delete a response |
X |
||
|
Get deferred chat completion |
X |
||
|
Collection management |
Create a collection |
X |
|
|
List all collections |
X |
||
|
Get metadata of a collection |
X |
||
|
Delete a collection |
X |
||
|
Update a collection's configuration |
X |
||
|
Add an existing document to a collection |
X |
||
|
List documents in a collection |
X |
||
|
Retrieve a document metadata |
X |
||
|
Regenerate indices for the given document |
X |
||
|
Remove document from a collection |
X |
||
|
Batch GET document's metadata |
X |
||
|
Download |
Get file content |
X |
|
|
Images |
Image generation API |
X |
|
|
Image edit API |
X |
||
|
Manage |
List files |
X |
|
|
Get file metadata |
X |
||
|
Update file metadata or content |
X |
||
|
Delete a file |
X |
||
|
Models |
List models |
X |
|
|
Get model |
X |
||
|
List language models |
X |
||
|
Get language model |
X |
||
|
List image generation models |
X |
||
|
Get the image generation model |
X |
||
|
List video generation models |
X |
||
|
Get video generation model |
X |
||
|
Other |
Get API key |
X |
|
|
Tokenize text |
X |
||
|
Search in collections |
Search content in a collection |
X |
|
|
Upload |
Upload file |
X |
|
|
Initialize file upload |
X |
||
|
Upload a file in chunks |
X |
||
|
Videos |
Video generation API |
X |
|
|
Video edit API |
X |
||
|
Video extension API |
X |
||
|
Get video generation results |
X |
||
|
Voice |
Create a real-time client secret |
X |
|
|
Realtime API (WebSocket) |
X |
||
|
Text to speech |
X |
||
|
Streaming text to speech (WebSocket) |
X |
||
|
List voices |
X |
||
|
Get voice |
X |