Nexus/API Reference/Setups

Edit one of your bot's setups

PATCHhttps://app.skylit.ai/api/nexus/v1/playbooks/{id}

Send only what changes: name, description, color. Rules have their own routes below. Renaming a setup renames it everywhere it is shown, including past trades.

curl -s -X PATCH "https://app.skylit.ai/api/nexus/v1/playbooks/$SETUP_ID" \
  -H "Authorization: Bearer $SKYLIT_API_KEY" -H "Content-Type: application/json" \
  -d '{"name":"ORB five"}'

Authorization

Authorization: Bearer <your API key>

Required. A missing header returns 401; an invalid, revoked or expired key returns 403.

Path parameters

  • idstringuuidrequired

Request body

  • namestring
  • descriptionstring
  • colorstring

Responses

  • 200

    The setup as it is now.

  • 403

    main_account_web_only: your own account's setups and tags are changed only on skylit.ai, signed in as yourself.

  • 404

    playbook_not_found.

  • 409

    name_taken.

Last updated

Was this page helpful?