LogoLogo
  • 👋Welcome to Arcee AI Docs
  • Arcee Orchestra
    • Introduction to Arcee Orchestra
    • Getting Started
    • Workflows
      • Workflow Components
        • Model Node
        • Code Node
        • Integrations
        • Knowledge Retrieval
        • Conditional Node
      • Passing Variables
      • API Invocation
        • List Available Workflows API
        • Workflow Execution API
        • Workflow Execution Steps API
        • Execution History API
        • Workflow Diagram API
        • API Code Examples
        • Upload Workflow JSON API
        • Workflow Runs API
    • Workflow Library
      • Research Automation
      • Real Time Financial Analysis
      • Blog Writer
      • Code Improvement
      • Energy Domain Assistant
    • Chat Interface
    • FAQ
  • ARCEE CONDUCTOR
    • Introduction to Arcee Conductor
    • Getting Started
    • Features & Functionality
      • Auto Mode
      • Auto Reasoning Mode
      • Auto Tools Mode
      • Compare
      • Direct Model Invocation
      • Usage
      • API
    • Arcee Small Language Models
      • Model Selection
      • Model Performance
    • Pricing
Powered by GitBook
On this page
  • Available APIs
  • Swagger Documentation
  • Setting up an API Key
  • Core Functionality
  • Error Handling
  • Security Best Practices
  1. Arcee Orchestra
  2. Workflows

API Invocation

PreviousPassing VariablesNextList Available Workflows API

Last updated 16 days ago

A common use case for Orchestra workflows is to be integrated into or invoked from an external application. This can be done using the Workflow API. The Workflow API provides endpoints to list available workflows, execute workflows, track execution status, and more.

Available APIs

Swagger Documentation

Swagger provides an easy way to test and visualize APIs and their required syntax. Open the link above in a new tab, (if you only see a base url, toggle to SwaggerUI) and you'll be presented a list of the Orchestra APIs.

Setting up an API Key

All API requests require authentication using a Bearer token. To generate an API key:

  1. Go to Settings --> API Tokens --> Add API Token.

  2. Provide a name and select "Get API Token".

  1. Copy the generated API Key. You will not be able to view this again so ensure you store it somewhere secure. You will also be provided code examples for calling the APIs in Javascript and Python.

Core Functionality

Each API call will use the API Key generated with the steps above as well as the base url: https://orchestra.arcee.ai/api/v1/workflow.

Error Handling

All APIs adhere to standard HTTP status codes:

  • 200 OK – Request successful

  • 400 Bad Request – Invalid input

  • 401 Unauthorized – Invalid or missing authentication

  • 404 Not Found – Resource not found

  • 500 Internal Server Error – Server-side error

Proper error handling should be implemented when interacting with the API to manage failures effectively.

Security Best Practices

To ensure secure API interactions, follow these best practices:

  • Store API tokens securely in environment variables or credential stores.

  • Use HTTPS for all API requests to prevent data interception.

  • Implement proper error handling to avoid exposing sensitive information in API responses.

List available workflows
Workflow Execution
Workflow Execution Steps
Execution History
Workflow Diagram
Arcee Orchestra Swagger Documentation
Add a New API Token
Add New API Token
Page cover image