Dog API · Schema
ErrorResponse
Response envelope returned when an API request fails (e.g., unknown breed).
DogsImageOpen DataOpen-Source
Properties
| Name | Type | Description |
|---|---|---|
| status | string | Outcome marker; "error" when the request failed. |
| message | string | Human-readable error description. |
| code | integer | HTTP status code echoed in the response body. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/dog-api/refs/heads/main/json-schema/dog-api-error-response-schema.json",
"title": "ErrorResponse",
"description": "Response envelope returned when an API request fails (e.g., unknown breed).",
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "Outcome marker; \"error\" when the request failed.",
"enum": [
"error"
],
"example": "error"
},
"message": {
"type": "string",
"description": "Human-readable error description.",
"example": "Breed not found (main breed does not exist)"
},
"code": {
"type": "integer",
"description": "HTTP status code echoed in the response body.",
"example": 404
}
},
"required": [
"status",
"message",
"code"
]
}
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/dog-api-error-response"
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.