Skip to main content
List the segments in your Reo.dev workspace with their IDs and type (ACCOUNT, DEVELOPER or BUYER).
Tool ID: reo_list_segments

Run this action

Use the TypeScript SDK for one call. Use ctx.tools.execute(...) inside a Play for durable calls, scheduled calls, or CSV processing.

CLI

Example response

The SDK returns this shape at result.toolResponse.raw. The example values illustrate the response.
Use deepline describe reo_list_segments --json for the latest machine-readable contract.

Input reference

Overview Returns all segments configured in your Reo workspace, including each segment’s ID, name, type and owner. Use this endpoint first to discover segment IDs, then pass a segment ID into Get Accounts in a Segment or Get Developers in a Segment or Get Buyers in a Segment to pull the records inside it. ### Path Parameters None. ### Errors | Code | When it happens | Response body | |---|---|---| | 301 | Trailing slash in the URL (/segments/) | Moved Permanently | | 400 | X-API-KEY header missing or empty | {"error":"Missing API Key"} | | 403 | Invalid API key, or a write API key used on this host | {"error":"Invalid API Key."} | | 404 | Wrong HTTP method (POST, DELETE) | 404 page not found | ### ENUMs | Field | Value | Meaning | |---|---|---| | type | ACCOUNT | Segment of accounts. Use with Get Accounts in a Segment. | | type | DEVELOPER | Segment of See the live schema below for the complete notes.

This action requires no input fields.

Output reference

Standard tool result payload.

Deepline cost

  • Pricing model: fixed (per call).
  • Estimated Deepline credits: 0 per pricing unit.
  • Provider-native pricing may still exist outside Deepline credit billing.