POST
/
v2
/
datasets
/
{dataset_id}
/
extend
curl --request POST \
  --url https://api.galileo.ai/v2/datasets/{dataset_id}/extend \
  --header 'Content-Type: application/json' \
  --header 'Galileo-API-Key: <api-key>' \
  --data '{
  "prompt_settings": {
    "logprobs": true,
    "top_logprobs": 5,
    "echo": false,
    "n": 1,
    "deployment_name": "<string>",
    "model_alias": "GPT-4o mini",
    "temperature": 1,
    "max_tokens": 1024,
    "stop_sequences": [
      "<string>"
    ],
    "top_p": 1,
    "top_k": 40,
    "frequency_penalty": 0,
    "presence_penalty": 0,
    "tools": [
      {}
    ],
    "tool_choice": "<string>",
    "response_format": {},
    "known_models": [
      {
        "name": "<string>",
        "alias": "<string>",
        "integration": "openai",
        "user_role": "<string>",
        "assistant_role": "<string>",
        "system_supported": false,
        "alternative_names": [
          "<string>"
        ],
        "input_token_limit": 123,
        "output_token_limit": 123,
        "token_limit": 123,
        "output_price": 0,
        "input_price": 0,
        "cost_by": "tokens",
        "is_chat": false,
        "provides_log_probs": false,
        "formatting_tokens": 0,
        "response_prefix_tokens": 0,
        "api_version": "<string>",
        "params_map": {
          "model": "<string>",
          "temperature": "<string>",
          "max_tokens": "<string>",
          "stop_sequences": "<string>",
          "top_p": "<string>",
          "top_k": "<string>",
          "frequency_penalty": "<string>",
          "presence_penalty": "<string>",
          "echo": "<string>",
          "logprobs": "<string>",
          "top_logprobs": "<string>",
          "n": "<string>",
          "api_version": "<string>",
          "tools": "<string>",
          "tool_choice": "<string>",
          "response_format": "<string>",
          "deployment_name": "<string>"
        },
        "output_map": {
          "response": "<string>",
          "token_count": "<string>",
          "input_token_count": "<string>",
          "output_token_count": "<string>",
          "completion_reason": "<string>"
        },
        "input_map": {
          "prompt": "<string>",
          "prefix": "",
          "suffix": ""
        }
      }
    ]
  },
  "prompt": "<string>",
  "instructions": "<string>",
  "examples": [
    "<string>"
  ],
  "data_types": [
    "General Query"
  ],
  "count": 10
}'
"<any>"

Authorizations

Galileo-API-Key
string
header
required

Headers

If-Match
string | null

ETag of the dataset as a version identifier.

Path Parameters

dataset_id
string
required

Body

application/json

Request for a synthetic dataset run job.

Response

200
application/json

Successful Response

The response is of type any.