Use a real-time endpoint to run API Tasks on demand. Generate an execution URL and a token, and then call the URL from any API client to execute the API Tasks.
Key benefits
Invoking API Tasks with a real-time endpoint has the following benefits:
- Programmatic deployment
- Invoke an API Task in real time using your preferred API client.
- Response time
- Designed for low latency with real-time response rates, aiming to provide responses almost instantly.
- Processing
-
- Automations are loaded into the cloud and ready to accept requests at all times. This allows for quick processing and response.
- The Enterprise Platform license scales your automation and provides access to a larger pool of cloud resources that can execute multiple instances of your API Task. This boosts concurrency and enables you to handle more API Task requests simultaneously.
Use cases
Use a real-time endpoint for scenarios such as:
- Interactive applications like chatbots
- Real-time fraud detection
- Online case creation
- Any scenario that needs an instant response
Prerequisites
- Create your API Task. For more details on creating an API Task, see Create an.
- Check in your API Task. For more details on checking in your API Task, see Check in API Tasks to Repository.
Workflow
The following topics show how to deploy an API Task to a cloud device in real time. You can also pass variables to API Tasks when they are deployed:
- API Task real-time endpoint - Authenticate: Authenticate access to your Control Room instance.
- Create an API Task allocation (admin): Create an API Task allocation.
- List API Task allocation (admin): List all API Task allocations.
- Generate task execution URL and token: Generate an execution URL and a token to deploy your API Task.
- Execute API Task real-time endpoint: Use the execution URL and the token to execute the allocated API Task.