Code Blocks for AgentSerp
How to document and display AgentSerp API requests and responses
Inline Code
Use backticks to highlight a parameter, header, or field name in AgentSerp docs, e.g. Authorization
or query
.
Example:
Authorization: Bearer <token>
API Request Code Blocks
Show how to make requests to AgentSerp endpoints using fenced code blocks and language tags for syntax highlighting.
JSON Request/Response Examples
Use json
for request and response payloads:
Error Example
Show error responses for AgentSerp endpoints:
Multi-language Examples
You can provide examples in multiple languages for AgentSerp API usage: