Creates a new llm beta Licence for a project. Will be purged on end of beta
POST/projects/ {projectId}/ llm-licences/
v2
POST
project-create-llm-beta-licence-experimental
Deprecated route which will be removed on end of beta. Please do not use for production.
Request
Responses
Usage examples
- cURL
- JavaScript SDK
- PHP SDK
$ curl \
--fail \
--location \
-X POST \
-d '{"createWebuiContainer":true,"name":"string"}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/projects/string/llm-licences
import { MittwaldAPIV2Client } from "@mittwald/api-client";
import { assertStatus } from "@mittwald/api-client-commons";
const client = MittwaldAPIClient.newWithToken(process.env.MITTWALD_API_TOKEN);
const response = await client.project.createLlmBetaLicenceExperimental({
"projectId": "string",
"data": {
"createWebuiContainer": true,
"name": "string"
}
});
assertStatus(response, 201);
use \Mittwald\ApiClient\Generated\V2\Clients\Project\CreateLlmBetaLicenceExperimental\CreateLlmBetaLicenceExperimentalRequest;
use \Mittwald\ApiClient\Generated\V2\Clients\Project\CreateLlmBetaLicenceExperimental\CreateLlmBetaLicenceExperimentalRequestBody;
$client = MittwaldAPIClient::newWithToken(getenv('MITTWALD_API_TOKEN'));
// TODO: Please consult the properties and constructor signature of
// CreateLlmBetaLicenceExperimentalRequestBody to learn how to construct a valid instance
$body = new CreateLlmBetaLicenceExperimentalRequestBody(/* TODO: ... */);
$request = (new CreateLlmBetaLicenceExperimentalRequest(
projectId: "string",
body: $body
));
$response = $client->project()->createLlmBetaLicenceExperimental($request);
var_dump($response->getBody();