Skip to main content
POST
/
v1
/
agents
/
{id}
/
regenerate-setup
Regenerate agent setup instructions
curl --request POST \
  --url https://api.fortressproductivity.com/v1/agents/{id}/regenerate-setup \
  --header 'Content-Type: application/json' \
  --cookie better-auth.session_token= \
  --data '{}'
{
  "agent_id": "<string>",
  "setup_url": "<string>",
  "prompt": "<string>",
  "config_command": "<string>",
  "expires_at": "2023-11-07T05:31:56Z",
  "agent_name": "<string>"
}

Authorizations

better-auth.session_token
string
cookie
required

Human web-session cookie issued by Better Auth.

Path Parameters

id
string
required
Minimum string length: 1
Example:

"act_123"

Body

application/json
client_preset
enum<string>
Available options:
claude_code,
claude_desktop,
codex,
cursor,
windsurf,
vscode,
gemini_cli,
openclaw,
openrouter_spawn,
generic

Response

Regenerated setup

agent_id
string
required
Minimum string length: 1
setup_url
string
required
Minimum string length: 1
prompt
string
required
Minimum string length: 1
config_command
string
required
Minimum string length: 1
expires_at
string<date-time>
required
agent_name
string
required
Minimum string length: 1
client_preset
enum<string>
required
Available options:
claude_code,
claude_desktop,
codex,
cursor,
windsurf,
vscode,
gemini_cli,
openclaw,
openrouter_spawn,
generic