Create an agent in a FlowAI project

Creates an Agent as a member of a FlowAI Project. Requires editor or owner GBAC role on the project.

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Path parameters

projIdstringRequired

Project _id (UUID) or iid (integer).

Request

request body
namestringOptionalformat: "^\S(.*\S)?$"1-100 characters
descriptionstringOptional<=500 characters
instructionsstringOptional>=1 character
inputSchemaobjectOptional
providerobjectOptional
toolslist of objectsOptional
operatorslist of stringsOptional

Response

The created Agent Definition

Errors

500
Internal Server Error