Segments

Get Segments

Returns the saved segments available on a site: its own plus organization-wide ones. Callers without site access only see segments shown on the public dashboard.

get/api/sites/{site}/segments

Request

  • Base URL: https://app.rybbit.io
  • URL: https://app.rybbit.io/api/sites/{site}/segments
  • Auth: one of:
    • HTTP bearer
    • API key in query parameter api_key
    • API key in cookie better-auth.session_token

Path parameters

integer required
OR
string required

Numeric Rybbit Site ID or string identifier.

Response

Successful response. Refer to the linked endpoint documentation for the response fields.

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.