Where Import cURL Works
Import cURL is available inside the API Call tool configuration panel in Agent Studio.
To access Agent Studio:
Go to AI Agents
Click Agent Studio
You can then create a new agent or open an existing one.
Import cURL can be used inside:
An AI Agent node
A Sequential node
What Import cURL Automatically Populates
Import cURL extracts request details from the pasted cURL command and fills the API Call configuration automatically. Import cURL can populate:
HTTP method
API endpoint URL
Headers
Request body
Supported body types include:
JSON
HTML
XML
Text
Form Data
Supported cURL patterns include:
--locationredirects-ubasic authenticationMultiline request bodies
Backslash
\line continuations
How To Use Import cURL
Navigate to AI Agents > Agent Studio
Create a new agent or open an existing agent
Add or select a start trigger
Add an AI Agent node or Sequential node
Add the API Call tool
Open the API Call configuration panel
Click Import cURL
Paste your cURL command
Click Import
Review the imported configuration
Click Save
Test the API Call
Publish the agent
This workflow demonstrates how the API Call tool is added inside a Sequential node before configuring and importing the cURL request.
Fields to Review After Importing
Always review imported API settings before saving or publishing the agent.
Review these fields carefully:
Instructions
Describe what the API Call does and when the AI Agent should use it.
Variable Name
Confirm where the API response data will be stored.
API Endpoint
Verify both:
HTTP method
Endpoint URL
Headers
Confirm required headers such as:
Authorization
Content-Type
API Keys
Request Body
Review the imported payload and body format.
Authentication Values
Replace or secure any:
Tokens
Credentials
API keys
Variables
Add Agent Studio variables when dynamic runtime values are needed.
Examples include:
Contact fields
Conversation data
Workflow values
Runtime variables
Two-Way Sync With cURL
The Import cURL modal also supports two-way synchronization. When reopening the Import cURL modal, Kyrios reconstructs the current API Call configuration into a cURL command automatically. This helps when you need to:
Verify request formatting
Compare against external API documentation
Troubleshoot requests
Edit headers or request body content quickly
API Call Tool vs. Agent Studio Public APIs
The API Call Tool and Agent Studio Public APIs serve different purposes.
API Call Tool
The API Call Tool allows an AI Agent to make an external API request while the agent flow is running. Example:
Retrieve external data
Send data to another platform
Trigger an external process
Agent Studio Public APIs
Agent Studio Public APIs allow external applications to interact with Agent Studio agents programmatically. Example:
List agents
Execute agents externally
Retrieve production agent data
Use the API Call Tool when the agent needs to call an external service during execution. Use Agent Studio Public APIs when an outside application needs to interact with Agent Studio.
Common Issues and Fixes
The imported request does not work
Review:
Endpoint URL
HTTP method
Headers
Authorization values
Request body
Body type
Variables
Then test the agent again.
Authentication fails after importing
Check whether the imported cURL command contains expired:
Tokens
API keys
Basic authentication credentials
Replace them before testing.
The request body imports incorrectly
Verify the detected body type. Adjust the body format manually if necessary.
The API response is unavailable later in the flow
Check the Variable Name field to confirm the API response is being stored properly.
FAQ
What does Import cURL do?
Import cURL converts a pasted cURL command into API Call configuration fields such as the HTTP method, endpoint URL, headers, and request body.
Can I edit the API Call after importing?
Yes. All imported fields remain editable after import.
Does Import cURL support multiline commands?
Yes. Import cURL supports multiline request bodies and backslash line continuations.
What body types can Import cURL detect?
Import cURL supports:
JSON
HTML
XML
Text
Form Data
Can I use variables after importing?
Yes. You can add supported Agent Studio variables after the cURL command is imported.
Should I test the API Call before publishing?
Yes. Always test the API Call before publishing the agent.
Is Import cURL the same as Agent Studio Public APIs?
No. Import cURL helps configure API requests inside an agent flow. Agent Studio Public APIs allow external systems to interact with Agent Studio programmatically.


