# List pipeline

URL: https://docs.hanzo.ai/docs/openapi/world/get-world-pipeline

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

`GET /v1/world/pipeline`

> [World →](https://docs.hanzo.ai/docs/openapi/world) · [All API references →](https://docs.hanzo.ai/docs/openapi) · [Get started →](https://docs.hanzo.ai/docs/guides)

|               |                                          |
| ------------- | ---------------------------------------- |
| **Address**   | `https://api.hanzo.ai/v1/world/pipeline` |
| **Method**    | `GET`                                    |
| **Operation** | `get_world_pipeline`                     |
| **Auth**      | `Authorization: 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

| Status    | Body               | Meaning |
| --------- | ------------------ | ------- |
| `200`     | world.pipelineView | ok      |
| `default` | problem-details    | refused |

`200` body — 10 fields.

| Field              | In   | Type          | Always | Description                                                                                            |
| ------------------ | ---- | ------------- | ------ | ------------------------------------------------------------------------------------------------------ |
| `createdAt`        | body | string        | —      | CreatedAt is when the pipeline was first stored, RFC3339 UTC.                                          |
| `default`          | body | boolean       | —      | Default is true when no pipeline is stored for this project and these are the built-in world feeds.    |
| `feeds`            | body | string\[]     | —      | Feeds is the RSS/Atom feed URLs the pipeline reads.                                                    |
| `filters`          | body | world.Filters | —      |                                                                                                        |
| `filters.keywords` | body | string\[]     | —      | Keywords keeps only items whose TITLE contains one of these, case-insensitively.                       |
| `filters.regions`  | body | string\[]     | —      | Regions keeps only items whose TITLE contains one of these, matched case-insensitively as a substring. |
| `filters.sources`  | body | string\[]     | —      | Sources keeps only items whose outlet name contains one of these, case-insensitively.                  |
| `org`              | body | string        | —      | Org is the tenant the pipeline belongs to, resolved server-side from the validated principal.          |
| `project`          | body | string        | —      | Project is the org sub-scope the pipeline belongs to.                                                  |
| `updatedAt`        | body | string        | —      | UpdatedAt is when it was last written, RFC3339 UTC.                                                    |

Failure carries the platform error shape — see [Errors](https://docs.hanzo.ai/docs/errors).

## Examples

**CLI**

```bash
hanzo world pipeline get
```

**SDK**

**.ts**

```ts
import { Configuration, WorldApi } from 'hanzoai';

const api = new WorldApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getWorldPipeline();
```

**.py**

```python
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()
```

**.go**

```go
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
}
```

**.rs**

```rust
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?;
```

**.java**

```java
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();
```

**HTTP**

```bash
curl https://api.hanzo.ai/v1/world/pipeline \
  -H "Authorization: Bearer $HANZO_API_KEY"
```

**MCP**

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

```bash
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](https://docs.hanzo.ai/docs/openapi/world) · [All Hanzo APIs](https://docs.hanzo.ai/docs/openapi) · [Interactive reference](https://docs.hanzo.ai/docs/openapi/reference)
