Ciele
Assistants

Create an Assistant

POST/api/v1/assistants

Nécessite une clé API d'organisation disposant de l'autorisation edit. Fournissez une Idempotency-Key lorsque vous renouvelez la même requête.

AuthorizationBearer <token>

In: header

Header Parameters

Idempotency-Key?string

N'utilisez la même valeur que lorsque vous tentez à nouveau la même opération logique.

Request Body

application/json

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/assistants" \  -H "Content-Type: application/json" \  -d '{    "title": "string"  }'
{  "id": "string",  "title": "string",  "nickname": "string",  "description": "string",  "avatarUrl": "string",  "welcomeMessage": "string",  "aiDisclaimer": "string",  "suggestedQuestions": [    "string"  ],  "answeringStyle": "string",  "chatLauncherEnabled": true,  "allowedDomains": [    "string"  ],  "requireSignIn": true,  "createdAt": "string"}
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}