Portabase Logo
Portabase DashboardAPIAgents

Create an agent

POST
/agents

Authorization

apiKeyAuth
headerx-api-key<token>

API key generated from the Portabase dashboard. Pass as the x-api-key header.

Request Body

application/json
  1. body
name*string
Length1 <= length
organizationId?string
Formatuuid

Response Body

Agent created

application/json
  1. response
data*
Example Request
curl -X POST 'https://portabase.example.com/api/v1/agents' \  -H 'Content-Type: application/json' \  -d '{  "name": "my-agent"}'
Example Response
{  "data": {    "name": "string",    "description": "string",    "overrideUrl": ""  }}