RESTful Services · Schema
REST Error Response
Standard error response format for RESTful services, aligned with RFC 7807 Problem Details for HTTP APIs.
ArchitectureHTTPMicroservicesRESTWeb Services
Properties
| Name | Type | Description |
|---|---|---|
| type | string | URI reference identifying the problem type (RFC 7807) |
| title | string | Short, human-readable summary of the problem type |
| status | integer | HTTP status code (e.g., 400, 404, 422, 500) |
| detail | string | Human-readable explanation specific to this occurrence |
| instance | string | URI reference identifying the specific occurrence of the problem |
| errors | array | Field-level validation errors |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://api-evangelist.github.io/restful-services/schemas/rest-error",
"title": "REST Error Response",
"description": "Standard error response format for RESTful services, aligned with RFC 7807 Problem Details for HTTP APIs.",
"type": "object",
"properties": {
"type": {
"type": "string",
"format": "uri",
"description": "URI reference identifying the problem type (RFC 7807)"
},
"title": {
"type": "string",
"description": "Short, human-readable summary of the problem type"
},
"status": {
"type": "integer",
"description": "HTTP status code (e.g., 400, 404, 422, 500)"
},
"detail": {
"type": "string",
"description": "Human-readable explanation specific to this occurrence"
},
"instance": {
"type": "string",
"format": "uri",
"description": "URI reference identifying the specific occurrence of the problem"
},
"errors": {
"type": "array",
"description": "Field-level validation errors",
"items": {
"type": "object",
"properties": {
"field": { "type": "string" },
"message": { "type": "string" },
"code": { "type": "string" }
}
}
}
},
"required": ["status", "title"]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/restful-services-error"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.