cURL
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": {} } }
Get target definition and metadata.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
User ID override via header (requires master API key)
User ID override (requires master API key)
Successful Response
Target response
Target configuration base model
Show child attributes