List pipeline

Returns the caller project's news pipeline: which feeds it reads and how the merged result is filtered.

GET /v1/world/pipeline

Addresshttps://api.hanzo.ai/v1/world/pipeline
MethodGET
Operationget_world_pipeline
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the caller project's news pipeline: which feeds it reads and how the merged result is filtered. A project that has never written one is answered with the built-in world feeds and default: true, so a fresh project sees the same feed /v1/world/news would actually serve rather than an empty configuration.

Request

GET /v1/world/pipeline takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200world.pipelineViewok
defaultproblem-detailsrefused

200 body — 10 fields.

FieldInTypeAlwaysDescription
createdAtbodystring—CreatedAt is when the pipeline was first stored, RFC3339 UTC.
defaultbodyboolean—Default is true when no pipeline is stored for this project and these are the built-in world feeds.
feedsbodystring[]—Feeds is the RSS/Atom feed URLs the pipeline reads.
filtersbodyworld.Filters—
filters.keywordsbodystring[]—Keywords keeps only items whose TITLE contains one of these, case-insensitively.
filters.regionsbodystring[]—Regions keeps only items whose TITLE contains one of these, matched case-insensitively as a substring.
filters.sourcesbodystring[]—Sources keeps only items whose outlet name contains one of these, case-insensitively.
orgbodystring—Org is the tenant the pipeline belongs to, resolved server-side from the validated principal.
projectbodystring—Project is the org sub-scope the pipeline belongs to.
updatedAtbodystring—UpdatedAt is when it was last written, RFC3339 UTC.

Failure carries the platform error shape — see Errors.

Examples

hanzo world pipeline get
import { Configuration, WorldApi } from 'hanzoai';

const api = new WorldApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getWorldPipeline();
from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import WorldApi

client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = WorldApi(client).get_world_pipeline()
cfg := hanzoai.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := hanzoai.NewAPIClient(cfg)

resp, _, err := client.WorldAPI.GetWorldPipeline(context.Background()).Execute()
if err != nil {
	return err
}
use hanzo_client::apis::{configuration::Configuration, world_api};

let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();

let result = world_api::get_world_pipeline(&cfg, Default::default()).await?;
import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.WorldApi;

ApiClient client = new ApiClient();
client.setBearerToken(System.getenv("HANZO_API_KEY"));

var result = new WorldApi(client).getWorldPipeline();
curl https://api.hanzo.ai/v1/world/pipeline \
  -H "Authorization: Bearer $HANZO_API_KEY"

Tool world, op get_world_pipeline — POST the JSON-RPC envelope to https://api.hanzo.ai/v1/mcp.

curl -X POST https://api.hanzo.ai/v1/mcp \
  -H "Authorization: Bearer $HANZO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
       "jsonrpc": "2.0",
       "id": 1,
       "method": "tools/call",
       "params": {
         "name": "world",
         "arguments": {
           "op": "get_world_pipeline",
           "input": {}
         }
       }
     }'

World API · All Hanzo APIs · Interactive reference

Was this page useful?