Get the API catalog (RFC 9727 linkset)
On this page
GET
/.well-known/api-catalogget_api_catalog| Risk | read |
| Authentication | none (public) |
| Scopes | none |
| Idempotency | natural: repeating the call gives the same result |
| Dry run | not applicable |
| Success status | 200 |
| Response type | application/linkset+json |
What it does#
- Use when: A crawler or agent discovers this API from the domain and needs the links to its description and documentation.
- Do not use when: you already know the OpenAPI address (call get_openapi).
- Side effects: None.
- Reversible: Not applicable, nothing changes.
- Required scope: none (public).
- Idempotency: safe to repeat.
- Typical next step: call get_openapi, or read llms.txt.
Request#
Path parameters#
None.
Query parameters#
None.
Response#
The body is application/linkset+json text.
Examples#
catalog#
Request:
curl 'https://api.seemly.com/.well-known/api-catalog'const response = await fetch("https://api.seemly.com/.well-known/api-catalog");
const result = await response.json();
console.log(response.status, result);import os
import requests
response = requests.get("https://api.seemly.com/.well-known/api-catalog")
print(response.status_code, response.json())Response: 200 (application/linkset+json):
{"linkset":[{"anchor":"https://api.seemly.com/v1","service-desc":[{"href":"https://api.seemly.com/v1/openapi.json","type":"application/vnd.oai.openapi+json"}]}]}Errors#
| Status | Codes |
|---|---|
| 503 | service_unavailable |
Every error is an application/problem+json body with a code, a fix sentence and next_actions. See reading a problem response.