Skip to main content
GET
/
v1
/
repo
/
{repo_name}
/
targets
/
{target_name}
Get Target
curl --request GET \
  --url http://localhost:8080/v1/repo/{repo_name}/targets/{target_name} \
  --header 'Authorization: Bearer <token>'
{
  "target_name": "<string>",
  "config": {
    "teacher_prompt": "<string>",
    "student_prompt": "<string>",
    "generators": [
      {
        "type": "<string>",
        "model": "<string>",
        "numq": 2,
        "temperature": 1,
        "max_tokens": 2,
        "dataset": "<string>",
        "questions": [
          "<string>"
        ],
        "template_path": "<string>",
        "template_content": "<string>",
        "seed": 123,
        "rollout_with_conditioned": true
      }
    ],
    "model_name": "<string>",
    "num_traj_per_stimulus": 2,
    "max_concurrency": 2,
    "temperature": 1,
    "max_tokens": 2,
    "extra_kwargs": {}
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-User-Id
string | null

User ID override via header (requires master API key)

Path Parameters

repo_name
string
required
target_name
string
required

Query Parameters

user_id
string | null

User ID override (requires master API key)

Response

Successful Response

Target response

target_name
string
required
config
TargetConfigBase · object
required

Target configuration base model