Skip to content
中文

Search documentation

GET/meta/v1/docs/search● Supported

Request parameters

  • qstringrequired

    query: Keywords describing the syntax or guide needed, for example export or workflow.

  • limitintegeroptional
    default 20

    query: Maximum number of matching pages returned; integer 1–50, default 20.

  • langstringoptional
    default "zh"

    query: Documentation language: zh for Chinese (default), en for English.

    values zhen

Returns

200

Errors follow the problem+json format — see error codes

Request

curl
curl "https://api.deepraxis.com/meta/v1/docs/search?q=export&limit=3&lang=zh"
Python
import requests

opts = dict(
    base_url="https://api.deepraxis.com/meta",
)

resp = requests.get(
    f"{opts['base_url']}/v1/docs/search",
    params={"q": "export", "limit": 3, "lang": "zh"},
)
print(resp.json())
TypeScript
const opts = {
  baseURL: "https://api.deepraxis.com/meta",
};

const resp = await fetch(`${opts.baseURL}/v1/docs/search?q=export&limit=3&lang=zh`);
console.log(await resp.json());

Response 200

[
  {
    "path": "api/compatible/e2b",
    "title": "E2B 兼容接口",
    "url": "https://docs.deepraxis.com/api/compatible/e2b",
    "snippet": "ercontent.com`。 也可以不改代码,只设环境变量: <QuickstartCode code=\"&#x22;export E2B_API_KEY=$PRAXIS_API_KEY\\nexport E2B_API_URL=https://api.deepraxis.com/e2b\\nexport E2B_DOMAIN=praxisusercontent.com&#x22;\" language=\"bash\" /> ## 端点 [#端点] | 方法 | 路径 | 说明 | 支持 | | ------ | --------------------------------------------------------------"
  },
  {
    "path": "api/native/agent/getCustomerDeletion",
    "title": "查询客户删除任务",
    "url": "https://docs.deepraxis.com/api/native/agent/getCustomerDeletion",
    "snippet": "ier. | | status | string | pending: accepted; snapshotting: exporting recovery data; deleting: verified snapshot exists and erasure is running; done: erasure completed; failed: stopped safely, retry DELETE to resume the same task. | | counts | object | Counts from the verified snapshot; empty until snapshotting complet"
  },
  {
    "path": "api/native/automation/archiveAction",
    "title": "归档动作",
    "url": "https://docs.deepraxis.com/api/native/automation/archiveAction",
    "snippet": "ementation\": { \"kind\": \"code\", \"language\": \"ts\", \"source\": \"export default async (input: { n: number }) => ({ answer: input.n + 1 });\" }, \"host\": \"isolate\", \"platform_apis\": [], \"created_by\": { \"type\": \"api_key\", \"id\": \"key_rbq66f5v9vxqbk6cd702x5er\" }, \"message\": \"回滚到 actr_00mvoxlgsk801cc9175f4f4a49977639b88f9fe24d\", \""
  }
]

Response

HTTP 200

Matching documentation pages; empty when no page contains all keywords.

application/json

Name Type Description
[].path string Documentation path, including the requested section anchor when present.
[].title string Human-readable title of the documentation page.
[].url string Canonical documentation URL for reading the page in a browser.
[].snippet string Short excerpt from the matching page to help choose which documentation to retrieve.