# DotMock > DotMock is the controlled execution environment around a backend for REST, GraphQL, SOAP, gRPC, LLM API, realtime, and webhook workflows. It does not replace the backend. Use DotMock to model dependencies, connect agents through CLI or MCP, run stateful success and failure paths, inspect traffic and outbound events, and approve changes before production. Deterministic contracts come before prompt and context optimization. Public documentation is authoritative for supported workflows; management credentials must never be included in generated examples. ## Get started - [DotMock documentation](https://dotmock.com/docs): Choose a task, understand the runtime boundaries, and build a mock from verified product behavior. - [Build a stateful users API](https://dotmock.com/docs/quickstart): Create a REST mock, store users, return them by ID, and prove the missing-user branch. ## Concepts - [How DotMock works](https://dotmock.com/docs/concepts/how-it-works): Follow a definition from authoring through matching, state, rendering, publication, and delivery. - [Request matching](https://dotmock.com/docs/concepts/request-matching): Select deterministic behavior from operation, request data, time, and state. - [Templates and expressions](https://dotmock.com/docs/reference/templates): Render typed values from request scopes, deterministic helpers, and shared state. ## Protocols - [APIs and endpoints](https://dotmock.com/docs/concepts/apis-endpoints): Model REST methods, paths, schemas, responses, faults, state actions, and response hooks. - [Realtime SSE and WebSockets](https://dotmock.com/docs/guides/realtime): Author OpenAPI SSE streams and AsyncAPI WebSocket channels with scenarios, replay, proxying, and traffic timelines. - [GraphQL](https://dotmock.com/docs/guides/graphql): Mock schema-native queries, mutations, variables, aliases, errors, subscriptions, and persisted queries. - [gRPC](https://dotmock.com/docs/guides/grpc): Import protobuf contracts and mock unary or streaming RPCs with reflection, state, traffic, and proxying. - [SOAP](https://dotmock.com/docs/guides/soap): Import WSDL and XSD contracts, route SOAP 1.1 or 1.2, return faults, use state, and proxy upstreams. - [LLM APIs](https://dotmock.com/docs/features/llm-mocking): Serve deterministic OpenAI-, Anthropic-, Gemini-, Cohere-, and Ollama-shaped responses from fixtures. - [LLM fixtures](https://dotmock.com/docs/features/llm-fixtures): Match normalized requests to ordered content, tool, JSON, error, and workflow fixtures. - [LLM streaming](https://dotmock.com/docs/features/llm-streaming): Test provider-shaped SSE events, token timing, truncation, malformed chunks, disconnects, and WebSocket events. - [Webhooks](https://dotmock.com/docs/guides/webhook-workflows): Render, sign, deliver, inspect, retry, and connect webhook events to REST response hooks. - [Protocol coverage](https://dotmock.com/docs/reference/protocols): Compare verified authoring, testing, runtime, state, traffic, and automation boundaries by protocol. ## Build and automate - [Stateful mocking](https://dotmock.com/docs/guides/stateful-mocking): Build CRUD, counters, queues, carts, sessions, collections, TTLs, snapshots, and state machines. - [Conditional responses](https://dotmock.com/docs/features/response-rules): Model success, validation, missing data, rate limits, faults, and upstream errors as explicit branches. - [Faults and proxying](https://dotmock.com/docs/features/proxy-mode): Mock selected behavior, proxy unmatched traffic, and make latency or upstream failures explicit. - [Testing and dry-runs](https://dotmock.com/docs/guides/testing): Prove winners, response bodies, state diffs, sequences, and failures without mutating live state. - [DotMock CLI](https://dotmock.com/docs/guides/cli): Create, configure, test, inspect, publish, rollback, and deliver mocks from a terminal or CI. - [MCP and coding agents](https://dotmock.com/docs/features/mcp-integration): Give coding agents scoped tools for inspection, draft authoring, simulation, publication, and protocol workflows. - [Traffic capture](https://dotmock.com/docs/features/traffic-capture): Inspect protocol-aware requests and promote selected traffic into editable behavior. ## Workspace - [OpenAPI import](https://dotmock.com/docs/features/import-openapi): Create and review a REST workspace from an OpenAPI or Swagger source document. - [Authentication](https://dotmock.com/docs/features/authentication): Keep management credentials separate from credentials and headers expected by the mock runtime. - [Team collaboration](https://dotmock.com/docs/features/collaboration): Share workspaces, drafts, state resources, traffic, and automation through team-scoped roles. - [Contact DotMock](https://dotmock.com/docs/contact): Send the DotMock team a product, documentation, evaluation, or technical question. ## Machine-readable resources - [Full documentation context](https://dotmock.com/llms-full.txt): Expanded capability, boundary, pricing, and authentication context. - [Pricing](https://dotmock.com/pricing.md): Active public plan catalog or a fail-closed unavailable state. - [Authentication](https://dotmock.com/auth.md): MCP and management credential guidance. - [API catalog](https://dotmock.com/.well-known/api-catalog): Agent-facing protocol discovery. - [MCP Server Card](https://dotmock.com/.well-known/mcp/server-card.json): Remote MCP transport and capability metadata. ## Additional resources - [API template directory](https://dotmock.com/directory): Reusable public API templates. - [Contact](https://dotmock.com/contact): Product and technical questions.