ข้อมูลอ้างอิง API: Discovery
Platform API v1 ส่วน Discovery: path, พารามิเตอร์, ฟิลด์ของคำขอและคำตอบ, scope, idempotency และข้อผิดพลาดของทุก operation จาก contract
สร้างจาก API contract (Agent Lab Platform API 1.0.0-alpha.1) คำอธิบายเป็นภาษาอังกฤษตามต้นฉบับใน contract
Public documents a client reads before it can authenticate.
This document, as JSON#
GET /v1/openapi.json
| Scope | ทำในนามของ | การยืนยันตัวตน | Idempotency-Key |
|---|---|---|---|
| ไม่มี | — | ไม่มี | — |
คำตอบ
| สถานะ | เนื้อหา | คำอธิบาย |
|---|---|---|
200 | application/json: object | The OpenAPI document this server conforms to. |
503 | application/json: Error | Try again later (recovery: retry). |
200 application/json
| ฟิลด์ | ชนิด | จำเป็น | คำอธิบาย |
|---|---|---|---|
openapi | string | ใช่ | — |
info | object | ใช่ | — |
paths | object | ใช่ | — |
OpenID Connect discovery#
GET /.well-known/openid-configuration
Issuer, endpoints and the rules an OpenID relying party reads. Any origin may read it.
| Scope | ทำในนามของ | การยืนยันตัวตน | Idempotency-Key |
|---|---|---|---|
| ไม่มี | — | ไม่มี | — |
คำตอบ
| สถานะ | เนื้อหา | คำอธิบาย |
|---|---|---|
200 | application/json: OpenIDConfiguration | The provider metadata. |
OAuth authorization server metadata (RFC 8414)#
GET /.well-known/oauth-authorization-server
| Scope | ทำในนามของ | การยืนยันตัวตน | Idempotency-Key |
|---|---|---|---|
| ไม่มี | — | ไม่มี | — |
คำตอบ
| สถานะ | เนื้อหา | คำอธิบาย |
|---|---|---|
200 | application/json: AuthorizationServerMetadata | The authorization server metadata. |
The key that signs channel event deliveries#
GET /.well-known/agentlab-sdk-event-key.json
The public half of the Ed25519 key that signs sdk-event/v1 deliveries (agentlab-sdk-event-v1-ed25519). Cached for five minutes. When event delivery is not configured the answer is 503, never an empty key a client could cache as valid.
| Scope | ทำในนามของ | การยืนยันตัวตน | Idempotency-Key |
|---|---|---|---|
| ไม่มี | — | ไม่มี | — |
คำตอบ
| สถานะ | เนื้อหา | คำอธิบาย |
|---|---|---|
200 | application/json: SdkEventVerificationKey | The verification key. |
503 | application/json: LegacyErrorString | Event delivery is not configured on this server. |