Skip to content

Assign LLM

Request

Assign an LLM to the company. Idempotent: assigning one that is already assigned keeps it assigned.

Security
OAuth2(Required scopes: llm-assignments.write)
Path
modelIdstring, (uuid)(Modelid)required
curl -i -X PUT \
  'https://api.cloud.hypatos.ai/v2/llm-assignments/{modelId}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Successful Response

Bodyapplication/json
modelIdstring, (uuid)(Modelid)required

Id of the LLM. Use it as the model of an agent or an agent workflow.

Example:"dcbc075f-a99c-4199-86ed-fb4ed5684dd9"
displayNamestring(Displayname)required

Name of the LLM.

Example:"GPT-4o"
Response
{ "modelId": "dcbc075f-a99c-4199-86ed-fb4ed5684dd9", "displayName": "GPT-4o" }