Skip to main content
PUT
Save Agent Picks setup

Authorizations

Authorization
string
header
required

API key with dtk_live_ prefix. Obtain it from API Keys in the account sidebar. New keys start with all supported scopes selected for the chosen project, and you can narrow them to specific read/write scopes as needed.

Path Parameters

projectId
string<uuid>
required

The project the credential is bound to. Read it from GET /connection.

Body

application/json
category_id
string<uuid>
required
tool_key
string | null
required
Maximum string length: 63
environment_ids
string<uuid>[]
required
Required array length: 1 - 100 elements
agent_models
object[]
required
Required array length: 1 - 7 elements
competitor_tool_keys
string[]

Up to six of the category’s tools; DevTune’s own public boards are exempt.

Maximum array length: 200
Maximum string length: 63
requests
object

Requests by intent: the text, or "omitted" to leave it out, as long as one request stays active. An intent not named is unchanged.

request_ending
string

The text appended to each request, at most 300 characters once trimmed, stored after one space. Empty sends requests as written. The value a save returns can be sent back as it is.

recognition
object

How the setup recognises its tools. Each part not named is unchanged, and so is a tool not listed.

setup
string

The Agent Picks setup to use: its id or its category slug. Optional while the project has one setup. With several, omitting it is refused with 400 and reason agent_picks_setup_required, and a setup the project does not have with 404 and reason agent_picks_setup_not_found; both list the project’s setups in details.setups (id, category_slug, category_name). The response echoes the setup used as setup.

Required string length: 1 - 200

Response

Saved setup

data
object
required
meta
object
required

Sent beside data on every successful response that returns data.