Deploy model to endpoint

post/management/v1/endpoints/{endpoint_id}:deployModel

Request

  • Base URL
    https://api.cerebras.ai
  • Auth
    HTTP bearer

Path parameters

endpoint_idstring required

Unique identifier for the endpoint. It is used as the model field when making an inference request.

Example: my-org-gpt-oss-120b

curl --location 'https://api.cerebras.ai/v1/chat/completions' \
--header 'Content-Type: application/json' \
--header "Authorization: Bearer ${CEREBRAS_API_KEY}" \
--data '{
  "model": "my-org-gpt-oss-120b",
  "messages": [{"content": "Hello!", "role": "user"}]
}'

Request body

modelstring required

Model version name in the format of orgs/<org_name>/models/<model_arch_id>/versions/<version_id>, where <version_id> can be an integer version ID or a model version alias.

Response

Successful Response

namestring required

Operation name for API compatibility. Its value is the deployment UUID and matches response.deployment_id when response is present.

doneboolean required

Whether the operation is complete.

Changes

No recorded changes to this operation across all 1 revision of this API.