---
title: Discovery API リファレンス
description: Platform API v1 の Discovery：各操作のパス、パラメーター、リクエストとレスポンスのフィールド、スコープ、冪等性、エラーをコントラクトから掲載します。
url: https://agentlab.cresclab.com/docs/ja/api/discovery
language: ja
updated: 2026-12-05
---

# Discovery API リファレンス

Platform API v1 の Discovery：各操作のパス、パラメーター、リクエストとレスポンスのフィールド、スコープ、冪等性、エラーをコントラクトから掲載します。

> [!NOTE]
> API コントラクト（Agent Lab Platform API 1.0.0-alpha.1）から生成しています。説明文はコントラクトの英語の原文のままです。

Public documents a client reads before it can authenticate.

## This document, as JSON

`GET /v1/openapi.json`

| スコープ | 実行主体 | 認証 | Idempotency-Key |
| --- | --- | --- | --- |
| なし | — | なし | — |

### レスポンス

| ステータス | ボディ | 説明 |
| --- | --- | --- |
| `200` | `application/json`: `object` | The OpenAPI document this server conforms to. |
| `503` | `application/json`: [Error](https://agentlab.cresclab.com/docs/ja/api/schemas.md#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.

| スコープ | 実行主体 | 認証 | Idempotency-Key |
| --- | --- | --- | --- |
| なし | — | なし | — |

### レスポンス

| ステータス | ボディ | 説明 |
| --- | --- | --- |
| `200` | `application/json`: [OpenIDConfiguration](https://agentlab.cresclab.com/docs/ja/api/schemas.md#OpenIDConfiguration) | The provider metadata. |

## OAuth authorization server metadata (RFC 8414)

`GET /.well-known/oauth-authorization-server`

| スコープ | 実行主体 | 認証 | Idempotency-Key |
| --- | --- | --- | --- |
| なし | — | なし | — |

### レスポンス

| ステータス | ボディ | 説明 |
| --- | --- | --- |
| `200` | `application/json`: [AuthorizationServerMetadata](https://agentlab.cresclab.com/docs/ja/api/schemas.md#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.

| スコープ | 実行主体 | 認証 | Idempotency-Key |
| --- | --- | --- | --- |
| なし | — | なし | — |

### レスポンス

| ステータス | ボディ | 説明 |
| --- | --- | --- |
| `200` | `application/json`: [SdkEventVerificationKey](https://agentlab.cresclab.com/docs/ja/api/schemas.md#SdkEventVerificationKey) | The verification key. |
| `503` | `application/json`: [LegacyErrorString](https://agentlab.cresclab.com/docs/ja/api/schemas.md#LegacyErrorString) | Event delivery is not configured on this server. |
