Ciele
Coéquipiers

Create an AI Teammate

POST/api/v1/teammates

Nécessite une clé API d'organisation disposant de la capacité edit.

AuthorizationBearer <token>

In: header

Request Body

application/json

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/teammates" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "id": "string",  "organizationId": "string",  "name": "string",  "title": "string",  "roleDescription": "string",  "avatarSeed": "string",  "ownerId": "string",  "editorIds": [    "string"  ],  "visibility": "org",  "collectionIds": [    "string"  ],  "sourceIds": [    "string"  ],  "modelProvider": "anthropic",  "modelId": "string",  "allowedModels": [    {      "provider": "anthropic",      "modelId": "string"    }  ],  "systemKind": null,  "assistantId": null,  "capabilityCeiling": "edit",  "approvalBypass": true,  "projectId": null,  "deletedAt": null,  "createdAt": "string",  "updatedAt": "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"  }}