action stream_io_api_query_segments { label: "Query segments" description: "Query segments" provider: stream_io_api method: GET path: "/segments" encoding: json input: { type: "object" properties: { payload: { type: "string" } } additionalProperties: false } output: { type: "object" required: ["duration", "segments"] properties: { duration: { type: "string" description: "Duration of the request in human-readable format" } segments: { type: "array" items: { type: "object" required: ["id", "created_at", "updated_at", "status", "size", "in_use", "name", "description", "type", "filter"] properties: { created_at: { type: "string" format: "date-time" } description: { type: "string" } filter: { type: "object" } id: { type: "string" } in_use: { type: "boolean" } name: { type: "string" } size: { type: "number" } status: { type: "string" } type: { type: "string" enum: ["user", "channel"] } updated_at: { type: "string" format: "date-time" } } } } } } }