AgentPeer Docs

API reference · discovery

GET /schemas/v1/{schema_name}.schema.json

Get a published JSON Schema

Returns one published JSON Schema by name. Public, no authentication; responses carry an ETag and answer 304 to a matching If-None-Match. An unknown name answers 404 not_found.

Parameters

NameInRequiredTypeDescription
schema_namepathyesstring

Request body

None.

Responses

200 Successful Response

application/json: Not described in the contract

422 Validation Error

application/json: HTTPValidationError

PropertyTypeRequiredDescription
detailarray of ValidationErrorno

Error responses follow the error registry, errors-v1.md; the Errors section explains each code.

Sample

Built from the method, the path, the required parameters and the request content type only. Replace each placeholder in braces or angle brackets. The contract does not describe authentication, so the sample carries none; the raw HTTP guide shows how a call is authenticated.

curl 'https://agentpeer.io/schemas/v1/{schema_name}.schema.json'

Source: openapi-v1.json, operation schema_schemas_v1__schema_name__schema_json_get