# Intelligent Legal Search — list_entitlements

Search Pkulaw Intelligent Legal via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by PKULaw, configure supported query parameters and filters, and retrieve structured data including text, returned type field, title, returned category field, and returned enabled field for document research and entity reference, and integration reference, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/pkulaw/pkulaw-intelligent-legal-search-list-entitlements/d659e9ac-7063-4766-b159-a891fdd82188/
API ID: d659e9ac-7063-4766-b159-a891fdd82188
Provider: pkulaw
Contract revision: 6
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/pkulaw/legal-search/list_entitlements
Page update time: 2026-12-04T01:47:27.423Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.0005 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-04T01:47:27.423Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "500",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Pkulaw Intelligent Legal Search — list\_entitlements API

List Service Enablement and Points (0 points, placed last) with the PKULaw API. Provide JSON payload in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

## What You Can Build

- **Document research and entity reference**: Keep document and entity identifiers with each returned reference.
- **Integration reference**: Use the selected request format and keep source identifiers with the returned result.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `content[].text` | Text |
| `content[].type` | Returned type field |
| `structuredContent.items[].title` | Title |
| `structuredContent.items[].category` | Returned category field |
| `structuredContent.items[].enabled` | Returned enabled field |
| `structuredContent.items[].pointsPerCall` | Returned points per call field |
| `structuredContent.items[].serverId` | Returned server id field |
| `structuredContent.items[].turnedOn` | Returned turned on field |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Intelligent Legal Search — list_entitlements request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "properties": {
        "category": {
          "anyOf": [
            {
              "enum": [
                "Law_Search",
                "Enforcement_Search",
                "Procuratorate_Search",
                "Case_Search",
                "Citation_Tracing",
                "Comprehensive_Search",
                "Points_Query"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Exact filter by console business category; no filter if omitted. Must use the English codes listed above, not Chinese. Law_Search=statutes and articles; Case_Search=judicial cases; Citation_Tracing=citation tracing; Procuratorate_Search=procuratorate documents; Enforcement_Search=administrative enforcement; Comprehensive_Search=comprehensive search; Points_Query=points query. For a custom service with an unlisted category, use keyword.",
          "title": "category"
        },
        "keyword": {
          "default": "",
          "description": "Case-insensitive substring filter on the service's Chinese name or serverId; an empty string applies no filter. Examples: `沿革` (history), `mcp-case`, or `案例` (cases). Do not pass a statute title or case number.",
          "maxLength": 40,
          "title": "keyword",
          "type": "string"
        },
        "onlyTurnedOn": {
          "default": false,
          "description": "Default false: lists all services returned by the portal and indicates whether each is turned on. Pass true only when the user asks which services they have turned on.",
          "title": "onlyTurnedOn",
          "type": "boolean"
        }
      },
      "title": "list_entitlementsArguments",
      "type": "object",
      "description": "List Service Enablement and Points (0 points, placed last)"
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "_meta": {
      "type": "object",
      "properties": {
        "io.modelcontextprotocol/serverInfo": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "title": {
              "type": "string"
            },
            "version": {
              "type": "string"
            }
          }
        },
        "pkulaw/evidence": {
          "type": "object",
          "properties": {
            "confidence": {
              "type": "string"
            },
            "notes": {
              "type": "array",
              "items": {}
            },
            "origin": {
              "type": "string"
            },
            "retrievedAt": {
              "type": "string"
            },
            "verifiedByApi": {
              "type": "boolean"
            }
          }
        },
        "ui": {
          "type": "object",
          "properties": {
            "resourceUri": {
              "type": "string"
            }
          }
        }
      }
    },
    "content": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        }
      }
    },
    "isError": {
      "type": "boolean"
    },
    "resultType": {
      "type": "string"
    },
    "structuredContent": {
      "type": "object",
      "properties": {
        "items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "category": {
                "type": "string"
              },
              "enabled": {
                "type": "boolean"
              },
              "pointsPerCall": {
                "type": "integer"
              },
              "serverId": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "turnedOn": {
                "type": "boolean"
              }
            }
          }
        },
        "portalAppsUrl": {
          "type": "string"
        },
        "totalCount": {
          "type": "integer"
        },
        "turnedOnCount": {
          "type": "integer"
        }
      }
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/pkulaw/legal-search/list_entitlements' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  --data-raw '{}'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "_meta": {
    "io.modelcontextprotocol/serverInfo": {
      "name": "pkulaw-account",
      "title": "北大法宝·查询积分余额",
      "version": "1.1.1"
    },
    "pkulaw/evidence": {
      "confidence": "A",
      "notes": [],
      "origin": "account",
      "retrievedAt": "2026-10-28T12:48:19Z",
      "verifiedByApi": true
    },
    "ui": {
      "resourceUri": "ui://pkulaw-account/entitlements.html"
    }
  },
  "content": [
    {
      "text": "查询时刻 2026-10-28 20:48:19（北京时间）：本页 14 个服务，其中已开启 14 个。\n- 查询积分余额：0 分/次，已开启\n- 检索行政执法：75 分/次，已开启\n- 检索检察文书：75 分/次，已开启\n- 法规与法条沿革：75 分/次，已开启\n- 法条识别与溯源：125 分/次，已开启\n- 精准查找法条-关键词：25 分/次，已开启\n- 检索法律法规-关键词：25 分/次，已开启\n- 检索法律法规-语义：125 分/次，已开启\n- 法宝超链：125 分/次，已开启\n- 修正生成幻觉-法条：125 分/次，已开启\n- 案号识别与溯源：125 分/次，已开启\n- 检索司法案例-关键词：25 分/次，已开启\n- 法律智能检索：125 分/次，已开启\n- 检索司法案例-语义：125 分/次，已开启\n已关闭或未上线的服务请到 https://mcp.pkulaw.com/console/apps 开启或关闭后再调用。查余额用 get_points_balance。",
      "type": "text"
    }
  ],
  "isError": false,
  "resultType": "complete",
  "structuredContent": {
    "items": [
      {
        "category": "Points_Query",
        "enabled": true,
        "pointsPerCall": 0,
        "serverId": "pkulaw-account",
        "title": "查询积分余额",
        "turnedOn": true
      },
      {
        "category": "Enforcement_Search",
        "enabled": true,
        "pointsPerCall": 75,
        "serverId": "pkulaw-enforcement-doc",
        "title": "检索行政执法",
        "turnedOn": true
      },
      {
        "category": "Procuratorate_Search",
        "enabled": true,
        "pointsPerCall": 75,
        "serverId": "pkulaw-procuratorate-doc",
        "title": "检索检察文书",
        "turnedOn": true
      },
      {
        "category": "Law_Search",
        "enabled": true,
        "pointsPerCall": 75,
        "serverId": "pkulaw-statute-history",
        "title": "法规与法条沿革",
        "turnedOn": true
      },
      {
        "category": "Citation_Tracing",
        "enabled": true,
        "pointsPerCall": 125,
        "serverId": "law_recognition",
        "title": "法条识别与溯源",
        "turnedOn": true
      },
      {
        "category": "Law_Search",
        "enabled": true,
        "pointsPerCall": 25,
        "serverId": "mcp-fatiao",
        "title": "精准查找法条-关键词",
        "turnedOn": true
      },
      {
        "category": "Law_Search",
        "enabled": true,
        "pointsPerCall": 25,
        "serverId": "mcp-law",
        "title": "检索法律法规-关键词",
        "turnedOn": true
      },
      {
        "category": "Law_Search",
        "enabled": true,
        "pointsPerCall": 125,
        "serverId": "mcp-law-search-service",
        "title": "检索法律法规-语义",
        "turnedOn": true
      },
      {
        "category": "Citation_Tracing",
        "enabled": true,
        "pointsPerCall": 125,
        "serverId": "add-doc-link",
        "title": "法宝超链",
        "turnedOn": true
      },
      {
        "category": "Citation_Tracing",
        "enabled": true,
        "pointsPerCall": 125,
        "serverId": "pku_citation_validator",
        "title": "修正生成幻觉-法条",
        "turnedOn": true
      },
      {
        "category": "Citation_Tracing",
        "enabled": true,
        "pointsPerCall": 125,
        "serverId": "case_number_recognition",
        "title": "案号识别与溯源",
        "turnedOn": true
      },
      {
        "category": "Case_Search",
        "enabled": true,
        "pointsPerCall": 25,
        "serverId": "mcp-case",
        "title": "检索司法案例-关键词",
        "turnedOn": true
      },
      {
        "category": "Comprehensive_Search",
        "enabled": true,
        "pointsPerCall": 125,
        "serverId": "mcp-law-agg",
        "title": "法律智能检索",
        "turnedOn": true
      },
      {
        "category": "Case_Search",
        "enabled": true,
        "pointsPerCall": 125,
        "serverId": "mcp-case-search-service",
        "title": "检索司法案例-语义",
        "turnedOn": true
      }
    ],
    "portalAppsUrl": "https://mcp.pkulaw.com/console/apps",
    "totalCount": 14,
    "turnedOnCount": 14
  }
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which inputs identify this request?
Provide JSON payload in body (object). Keep identifiers and URLs in the formats documented for this implementation.

### How should I structure the JSON body?
Send the body according to its root JSON schema. Do not add a second body wrapper around the documented properties, and preserve the declared types of nested values.

### How should I map the returned fields?
Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

### Can I reuse request parameters from another endpoint?
Use the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

## Available implementations
- pkulaw: https://openany.si/pkulaw/pkulaw-intelligent-legal-search-list-entitlements/d659e9ac-7063-4766-b159-a891fdd82188/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
