# Fetch all stream targets This operation lists limited details for custom stream targets and Wowza CDN stream targets. For detailed information, fetch a single stream target of a specific type. Endpoint: GET /stream_targets Version: v2.0 ## Query parameters: - `assignable` (boolean) Returns stream targets that are assignable to an output. If true, all assignable stream targets are included in the response. If the parameter isn't used, all assignable and unassignable stream targets are included in the response. A primary_stream_target is a single stream target that automatically gets created for all output renditions (the ABR ladder) created when you create a live stream through a live stream flow. Primary_stream_targets cannot be deleted or reassigned so they will not be listed when using the assignable parameter. Example: api.video.wowza.com/api/v2.0/stream_targets?assignable=true - `filter` (string) Restricts the data that gets returned by filtering on one or more values associated with a field. Construct a filter using a two-part expression that specifies the field on which to filter and the logic to use to filter. Filters use a zero-based index. For valid filter operators and filter fields, see How to get filtered query results with the Wowza Video REST API. Example: filter0=state&filter0=stopped - `page` (integer) Returns a paginated view of results from the HTTP request. Specify a positive integer to indicate which page of the results should be displayed. The default is 1. For more information and examples, see Get paginated query results with the Wowza Video REST API. - `per_page` (integer) For use with the page parameter. Indicates how many records should be included in a page of results. A valid value is any positive integer. The default and maximum value is 1000. ## Response 200 fields (application/json): - `stream_targets` (array, required) Example: [{"created_at":"2020-01-29T17:16:22.007Z","id":"qvvjyjjk","name":"My RTMP Stream Target","state":"deactivated","type":"wowza","updated_at":"2020-01-31T02:05:18.007Z"},{"created_at":"2020-01-28T17:16:22.007Z","id":"j75mlh3v","name":"My HLS Push Stream Target","state":"activated","type":"custom","updated_at":"2020-01-31T11:02:53.007Z"}] - `stream_targets.created_at` (string) The date and time that the stream target was created. - `stream_targets.id` (string) The unique alphanumeric string that identifies the stream target. - `stream_targets.name` (string) A descriptive name for the stream target. Maximum 255 characters. - `stream_targets.state` (string) The state of the stream target. Enum: "activated", "archived" - `stream_targets.type` (string) custom is an external, third-party destination and wowza_cdn is a Wowza CDN target. Enum: "custom", "wowza_cdn" - `stream_targets.updated_at` (string) The date and time that the stream target was updated. ## Response 401 fields (application/json): - `meta` (object, required) - `meta.status` (integer) - `meta.code` (string) - `meta.title` (string) - `meta.message` (string) - `meta.description` (string) - `meta.links` (array)