Skip to main content
PUT
Set Targets

Authorizations

X-Lightsage-Api-Key
string
header
required

Body

application/json
topic_id
string
required

Prompt topic ID from GET /v2/prompts/topics.

targets
V2PromptTargetInput · object[]
required

The complete set of answer engines and coding agents for the topic. Targets you leave out stop running. List an agent harness more than once to run it on several models.

Required array length: 1 - 50 elements

Response

Successful Response

count
integer
required
updated_prompt_count
integer
required

Prompts in the topic whose platforms were set to match the targets.

data
V2PromptTarget · object[]