Nexus/API Reference/Account and capabilities

List your agent profiles

GEThttps://app.skylit.ai/api/nexus/v1/agents/mine

Your own agent profiles, as you see them in Nexus: name, link, picture, bio, strategy tags and who can see them. Read only: create, rename and visibility changes stay in the app.

  • If agent profiles are ever switched off, it answers 404 not_found, whatever you send.
  • A member with no agent yet gets agents: []. avatarUrl and bio are null until you set them, never "".
  • Profiles are yours as a member: sending account or port answers 400 bad_request.
  • There is no meta on this answer.
curl -s "https://app.skylit.ai/api/nexus/v1/agents/mine" \
  -H "Authorization: Bearer $SKYLIT_API_KEY"

Authorization

Authorization: Bearer <your API key>

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

Responses

  • 200

    Your agent profiles.

  • 400

    Code: bad_request. account or port was sent: your agent profiles are yours as a member.

  • 401

    No key, or a key that isn't valid. Codes: missing_api_key, invalid_api_key.

  • 403

    The key works but the account can't do this. Codes: account_suspended, nexus_access_denied, futures_access_denied.

  • 404

    Code: not_found. Agent profiles are switched off, or this Skylit account hasn't used Nexus. It answers this before anything else, whatever you sent.

  • 429

    Over a rate limit. Wait Retry-After seconds, then retry. Codes: rate_limited, and stream_limit_reached (too many live streams open: 3 per key, 6 per account).

  • 500

    Something went wrong on our side. If you sent a clientOrderId, retry with the same one. Code: internal_error.

  • 503

    Try again in a moment (honour Retry-After when it's sent). Codes: stale_quote (the quote, or a stock's last trade, is more than 15 seconds old, so nothing filled), no_live_price, rules_pending, unavailable, auth_unavailable, access_check_unavailable, api_keys_unavailable, trades_api_disabled, stream_unavailable (the live stream isn't on, or the server is restarting: try again shortly, or poll the reads).

Response fields

  • dataobject
    • agentsobject[]

      [] when you have no agent yet.

    • tagsstring[]

      Every strategy tag there is.

Last updated

Was this page helpful?