Accessing Your Deployment

Only deployments in the Running state can be accessed.

  • Click the Running card to open the Deployment Details page and find the endpoint URL.

Example: Access via curl

curl --location 'https://2t5y1srid9mo.yottadeos.com/v1/chat/completions' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--data '{
  "temperature": 0.5,
  "top_p": 0.9,
  "max_tokens": 256,
  "frequency_penalty": 0.3,
  "presence_penalty": 0.2,
  "repetition_penalty": 1.2,
  "model": "meta-llama/Llama-3.2-3B-Instruct",
  "messages": [
    {
      "role": "user",
      "content": "Will the Federal Reserve continue cutting rates in Q4?"
    }
  ],
  "stream": false
}'

The base URL is unique to your deployment (e.g. https://2t5y1srid9mo.yottadeos.com). Replace the localhost in the URL of your local deployment to get the full URL (e.g. in the above example, it would be https://2t5y1srid9mo.yottadeos.com/v1/chat/completions) of your service managed by the elastic deployment.

Last updated

Was this helpful?