---
title: "Get built-in regex patterns from GitHub"
method: GET
path: "/api/{org_id}/re_patterns/built-in"
tags: ["RePattern"]
---

# Get built-in regex patterns from GitHub

`GET /api/{org_id}/re_patterns/built-in`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/re_patterns/built-in`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/re_patterns/built-in/get.ts> (a function with typed inputs; its response is checked against the schema)

Fetches curated regex patterns from the pyWhat project on GitHub. Supports search and tag filtering. Uses frontend caching only.

## Path parameters

- `org_id` string, required

## Query parameters

- `search` string
- `tags` string[]

## Response `200`

Built-in patterns list

- BuiltInPatternsResponse
  - `last_updated` integer, required
  - `patterns` BuiltInPatternResponse[], required
    - `description` string, required
    - `examples` PatternExamples, required
      - `Invalid` string[]
      - `Valid` string[]
    - `name` string, required
    - `pattern` string, required
    - `rarity` number, double, required
    - `tags` string[], required
    - `url` string, nullable
  - `source_url` string, required

## Other responses

- `500`: Failed to fetch patterns

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
