{ "operationId": "create_assistant", "method": "POST", "path": "/assistants", "summary": "Create an assistant", "requestExamples": [], "responseExamples": [ { "status": "400", "contentType": "application/json", "name": "upload-validation-error", "example": { "error": { "code": "INVALID_ARGUMENT", "message": "Uploaded file can only currently be either a pdf or txt file" }, "status": 400 } }, { "status": "401", "contentType": "application/json", "name": "unauthorized", "example": { "error": { "code": "UNAUTHENTICATED", "message": "Invalid API key." }, "status": 401 } }, { "status": "500", "contentType": "application/json", "name": "internal-server-error", "example": { "error": { "code": "UNKNOWN", "message": "Internal server error" }, "status": 500 } } ] }