Alinea API
Home
Link
Multiple Menus
Multiple Menus
  • Link1
  • Link2
Home
Link
Multiple Menus
Multiple Menus
  • Link1
  • Link2
  1. Agents
  • Apps
    • Get App
      GET
  • Agents
    • Update Agent
      PUT
    • Create Agent
      POST
Home
Link
Multiple Menus
Multiple Menus
  • Link1
  • Link2
Home
Link
Multiple Menus
Multiple Menus
  • Link1
  • Link2
  1. Agents

Create Agent

POST
/api/v1/agents

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/jsonRequired

Examples

Responses

🟢200OK
application/json
Successful Response
Body

🟠422Unprocessable Entity
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/agents' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "app_name": "string",
    "agent_name": "string",
    "faq_prompt": "string",
    "info_prompt": "string",
    "tone_prompt": "string",
    "description_prompt": "string",
    "conversation_step_prompt": "string",
    "customer_scratchpad_prompt": "string",
    "model": "string",
    "agent_description": "string",
    "tool_id": 0
}'
Response Response Example
200 - Example 1
null
Modified at 2025-10-21 10:55:28
Previous
Update Agent
Built with