1 line
2.6 KiB
JSON
1 line
2.6 KiB
JSON
{"repo": "api-search/security", "files": {"_security/docs/docs-authentication.md": {"156a9d5d49b3a723d83699e12ebcd48888a7fe07": {"t": 1785595449.175038, "n": 2327, "h": "5823b6fd5d07121d", "c": "---\napi_key_in:\n- header\nauth_types:\n- http\ndescription: ''\nkind: authentication\nlayout: security\nmethod: searched\nname: Docs Authentication\nname_suffix: Authentication\noauth_flows: []\noverview: Infini-AI (无问芯穹) secures its APIs with http across 1 declared security scheme, as derived from its OpenAPI definitions.\nprovider_name: Infini-AI (无问芯穹)\nprovider_slug: docs\nscheme_count: 1\nschemes:\n- evidence:\n - POST /maas/v1/chat/completions with no token -> 401 {\"code\":60000,\"msg\":\"Wrong Bearer Token or Token is nil\"}\n - POST /maas/v1/chat/completions with bad token -> {\"code\":10009,\"msg\":\"请使用正确的api key进行请求\"}\n format: Bearer <API_KEY>\n header: Authorization\n in: header\n name: bearerAuth\n scheme: bearer\n sources:\n - live-probe https://cloud.infini-ai.com/maas/v1\n type: http\nslug: docs-authentication\nsource_filename: docs-authentication.yml\nsource_heading: Authentication Profile\nsource_url: ''\nsource_yaml: \"generated: '2026-07-18'\\nmethod: searched\\nsource: https://cloud.infini-ai.com/fundamentals/tenant/iam-credentials-api-key.html\\ndocs: https://cloud.infini-ai.com/fundamentals/tenant/iam-credentials-api-key.html\\nprovider: Infini-AI (无问芯穹) GenStudio\\nsummary:\\n types: [http]\\n http_schemes: [bearer]\\n api_key_in: [header]\\n notes: >-\\n The GenStudio large-model service (MaaS) is OpenAI-compatible and authenticates\\n with a tenant-managed API Key passed as a Bearer token in the Authorization\\n header. Confirmed by live probe of the /maas/v1 endpoints (missing/invalid\\n tokens return the provider error envelope).\\nschemes:\\n- name: bearerAuth\\n type: http\\n scheme: bearer\\n in: header\\n header: Authorization\\n format: 'Bearer <API_KEY>'\\n sources: [live-probe https://cloud.infini-ai.com/maas/v1]\\n evidence:\\n - 'POST /maas/v1/chat/completions with no token -> 401 {\\\"code\\\":60000,\\\"msg\\\":\\\"Wrong Bearer Token or Token is nil\\\"}'\\n - 'POST /maas/v1/chat/completions\\\n \\ with bad token -> {\\\"code\\\":10009,\\\"msg\\\":\\\"请使用正确的api key进行请求\\\"}'\\n\"\nsource_yaml_url: https://raw.githubusercontent.com/api-evangelist/docs/refs/heads/main/authentication/docs-authentication.yml\nsummary_line: http · 1 scheme\ntags:\n- Company\n- Artificial Intelligence\n- Machine Learning\n- Large Language Models\n- Model as a Service\n- Inference\n- ComfyUI\n- Agents\n- AGI Compute\n- OpenAI-Compatible\n---\n"}}}} |