Portabase Logo
Portabase DashboardAPIAgents

Create an agent

POST
/agents

Authorization

apiKeyAuth
x-api-key<token>

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

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/agents" \  -H "Content-Type: application/json" \  -d '{    "name": "my-agent"  }'
{
  "data": {
    "name": "string",
    "description": "string"
  }
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}