What this API does
The Temporal Workflow API allows developers to create fault-tolerant and stateful workflows for managing long-running processes. Key features include automatic retries, state persistence, timers, and versioning to ensure reliable execution of business logic. Developers can use SDKs available for Go, Java, Python, and TypeScript, facilitating easy integration into existing applications.
How it works
Workflows and tasks are defined using familiar programming languages through the provided SDKs. The API supports both REST and gRPC endpoints, allowing seamless integration with microservices and event-driven architectures. Temporal manages state, failure recovery, and scaling to simplify developer workflows and reduce infrastructure complexity.
Authentication
The Temporal Workflow API does not require API keys or tokens for access. Developers can utilize the API endpoints directly to start creating workflows without any authentication overhead.
Example usage
/api/v1/workflows- Create a new workflow./api/v1/workflows/{workflowId}- Retrieve details of a specific workflow./api/v1/workflows/{workflowId}/run- Execute a specified workflow./api/v1/workflows/{workflowId}/tasks- Access tasks associated with a particular workflow./api/v1/workflows/{workflowId}/status- Check the execution status of a workflow.
Limits
Details regarding rate limits for the Temporal Workflow API are not documented. Developers should monitor their usage based on their specific deployment architecture.
Ideal use cases
- Implementing resilient microservice architectures.
- Orchestrating complex, long-running business processes.
- Building event-driven applications that require robust state management.
- Creating reliable retry mechanisms for failed tasks.