POST
/
agents
curl --request POST \
  --url https://dash.superagentes.ai/api/agents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "modelName": "groq",
  "temperature": 123,
  "systemPrompt": "<string>",
  "userPrompt": "<string>",
  "visibility": "public"
}'
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "modelName": "groq",
  "temperature": 123,
  "visibility": "public",
  "systemPrompt": "<string>",
  "userPrompt": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Sucesso

The response is of type object.