Skip to main content

Automatic API Generation

When you publish an agent, Logic automatically generates an API for your agent. This API allows you to interact with your agent programmatically, making it easy to integrate it into your applications or workflows. Information on the API and how to use it can be found in the Integration tab of the agent editor. agent-integration

Endpoint

At the top of the Integration tab, you will see the API endpoint for your agent. This is the URL that you will use to call your agent’s API.

Authorization

To access the Logic API, you will need to provide an authorization token. This token is used to authenticate your requests and ensure that only authorized users can access your agents.
Learn more about authorization and how to set up your API token in the Authorization section.

Before You Use the API

Make sure you understand the input and output schema for your agent. This will help you structure your requests and understand the responses you will receive.
Learn more about the input and output schema in the Agent Schemas section.

Email Execution

You can also trigger agent executions by sending an email, without writing any code or calling the API directly.
Learn how to set up email execution in the Email Execution section.

Sending Emails

Agents can send emails to members of your organization as part of an execution. This is useful for workflows that need to notify team members or share results.
Learn more about sending emails in the Sending Emails section.

Ready to Use the API?

Now that you want to get started with the API, check out the API documentation to learn how to get started.
Learn how to use the API in the API Reference section.