Skip to main content
PUT
Replace the agent setup draft

Authorizations

Authorization
string
header
required

Access token from an unclaimed agent registration (dtk_agent_ prefix), holding only setup.draft. Register at /agent/identity and exchange the identity assertion at /oauth2/token, as /auth.md describes. Only operations listing agentBearer accept it. Once a person claims the registration, its tokens act as the claimed API key under bearerAuth instead.

Body

application/json

An unclaimed agent registration’s project setup, replaced whole. visibility is required for ai-search and both and refused otherwise; agent_picks is required for agent-picks and both and refused otherwise. Probed platforms are not part of a draft. Plan limits are applied when a person claims the registration.

product
enum<string>
required

What the project is set up for: ai-search, agent-picks or both.

Available options:
ai-search,
agent-picks,
both
trial_plan
string | null

The Agent Picks plan a new account’s trial starts on: plus, pro or a price id. Only for agent-picks and both. Null when none is chosen.

visibility
object | null

The AI search setup. Null unless product is ai-search or both.

agent_picks
object

The Agent Picks setup: a public category's setup (use_category) or the project's own job (start_from_scratch). Null unless product is agent-picks or both.

Response

The saved draft

data
object
required
meta
object
required

Sent beside data on every successful response that returns data.