Artos API Documentation
Welcome to the Artos API documentation. Artos provides a comprehensive platform for building, customizing, and optimizing AI workflows through five core API areas that work together to deliver powerful, scalable solutions.Overview
Artos is designed around the principle of structured agent composition rather than prompt-based guessing. The platform provides transparent, accurate, and extensible AI capabilities through a well-defined API structure that enables both simple integrations and complex customizations.Key Benefits
- Higher Accuracy: Structured agent selection vs. prompt-based approaches
- Transparent Composition: Clear visibility into which agents are used and why
- Scalable Architecture: Easy extension with custom agents and workflows
- Context-Aware Processing: Intelligent selection based on data types and usage patterns
- Performance Optimization: Automatic selection of optimal agents for specific tasks
- Complete Customization: From frontend components to backend processing pipelines
Core API Areas
1. Connectors API
Extend Artos functionality with custom Connectors for agent discovery and data-agent mapping Connectors are the primary mechanism for extending Artos functionality. They define the relationship between data types, processing requirements, and the appropriate agents to handle specific tasks. Key Features:- Agent discovery and intelligent selection
- Data-agent mapping based on content types
- AWS Bedrock and Azure Foundry integration
- Custom agent definition and deployment
- Performance optimization and cost control
- Adding new processing capabilities
- Integrating with external AI services
- Defining custom agent workflows
- Optimizing agent selection for specific data types
2. Post-Processing API
Configure and manage post-processing pipelines for content refinement, style matching, and quality control The Post-Processing API manages the sequence of agents that refine content after execution, enabling lean content generation while maintaining high quality and consistency. Key Features:- Content optimization and refinement
- Style matching and brand consistency
- Quality control and hallucination detection
- Custom processing steps
- Pipeline configuration and management
- Ensuring consistent output quality
- Applying brand guidelines and style rules
- Implementing quality control measures
- Adding custom refinement steps
3. Frontend Customization
Embed the Artos platform directly into your applications with complete customization control The Frontend Customization API provides a single, embeddable Artos component that can be integrated into any React application with complete control over authentication, styling, and user experience. Key Features:- Single embeddable ArtosApp component
- Custom authentication integration
- Complete styling and theming control
- Responsive design and mobile support
- TypeScript support with full type safety
- Embedding Artos in existing applications
- Custom branding and styling
- Role-based access control
- Multi-tenant deployments
4. Platform Integration
Integrate Artos workflows into your existing systems with APIs, SDKs, webhooks, and database connectors Platform Integration provides comprehensive patterns for integrating Artos into your existing infrastructure, from simple API calls to complex event-driven architectures. Key Features:- Direct API integration patterns
- SDK-based workflow management
- Event-driven and webhook integration
- Database and message queue integration
- Custom agent creation as scripts with preset input/output fields
- Integrating with existing systems
- Building automated workflows
- Creating custom agents and processes
- Implementing event-driven architectures
5. Debugging and Analytics API
Debug workflows, monitor performance, and optimize your Artos implementations with comprehensive analytics The Debugging and Analytics API provides comprehensive tools for monitoring, debugging, and optimizing your Artos implementations with discrete component testing and granular analytics. Key Features:- Discrete component testing
- Interactive debugging with breakpoints
- Performance monitoring and optimization
- Custom metrics and analytics
- Real-time monitoring and alerting
- Testing individual components
- Debugging workflow issues
- Monitoring performance and usage
- Optimizing system performance
- Creating custom analytics dashboards
Getting Started
Authentication
All Artos API endpoints require authentication using an API key:Python SDK
The recommended way to interact with Artos is through our Python SDK:Rate Limits
API endpoints have the following rate limits:| Endpoint Type | Rate Limit | Window |
|---|---|---|
| Connectors | 100 requests | 1 minute |
| Post-Processing | 100 requests | 1 minute |
| Analytics | 200 requests | 1 minute |
| Debugging | 50 requests | 1 minute |
Error Handling
All API endpoints return standard HTTP status codes with detailed error messages:Integration Patterns
Workflow Creation Process
Understanding how to create custom workflows by adding new agents:- Define Custom Agents: Create agents as scripts with preset input and output fields
- Configure Connectors: Set up connectors to map data types to appropriate agents
- Design Post-Processing: Configure content refinement and quality control
- Test Components: Use debugging tools to test individual components
- Monitor Performance: Track metrics and optimize based on analytics
Custom Agent Development
Custom agents are essentially scripts with preset input and output field definitions:Best Practices
1. Start Simple
- Begin with basic connectors and post-processing steps
- Test individual components before building complex workflows
- Use the debugging tools to understand component behavior
2. Design for Scale
- Use connectors to handle data type variations automatically
- Implement proper error handling and fallback mechanisms
- Monitor performance and optimize based on analytics
3. Customize Incrementally
- Start with default components and customize gradually
- Test customizations in staging before production deployment
- Document all customizations for team collaboration
4. Monitor and Optimize
- Set up comprehensive monitoring and alerting
- Use A/B testing to validate improvements
- Regularly review analytics to identify optimization opportunities
Support and Resources
- API Reference: Detailed documentation for each API endpoint
- Python SDK: Comprehensive SDK documentation with examples
- Examples Repository: Sample implementations and use cases
- Community Forum: Community support and discussions
- Enterprise Support: Dedicated support for enterprise customers