Install any skill in seconds. Free to start, no credit card required.
Get Started Free →API design best practices for Postman-managed APIs. Applied when working with OpenAPI specs, collections, and API code.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 148% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -7% | 0% |
| case-14 | ✗→✓ | ▲ Improved | -26% | 0% |
| case-17 | ✗→✓ | ▲ Improved | 11% | 0% |
| case-20 | ✗→✓ | ▲ Improved | 50% | 0% |
Follow these conventions when creating, modifying, or reviewing APIs and OpenAPI specs.
/user-profiles, not /userProfiles or /user_profiles/users, /orders, /products/users/{id}/profilePOST /users (not /createUser)DELETE /orders/{id} (not /deleteOrder)firstName, createdAt, userId| Method | Purpose | Idempotent | Success Code | |--------|---------|------------|--------------| | GET | Read resource(s) | Yes | 200 | | POST | Create resource | No | 201 | | PUT | Replace resource | Yes | 200 | | PATCH | Partial update | No | 200 | | DELETE | Remove resource | Yes | 204 |
Every endpoint MUST have:
operationId: Unique, camelCase identifier (e.g., getUser, createOrder)summary: Short description under 120 characterstags: At least one tag for groupingresponses: At minimum, define the success response and common errors (400, 401, 404, 500)Every parameter MUST have:
type or schema with explicit typedescription: What the parameter doesrequired: Explicitly set to true or falseexample: A realistic example valueAll error responses should follow a consistent schema:
yamlcomponents: schemas: Error: type: object required: [error, code] properties: error: type: string description: Human-readable error message code: type: string description: Machine-readable error code details: type: array items: type: object properties: field: type: string message: type: string
Define these error responses on every endpoint:
400: Validation error (with field-level details)401: Authentication required403: Insufficient permissions404: Resource not found (on endpoints with path parameters)429: Rate limit exceeded (with Retry-After header)500: Internal server errorList endpoints returning multiple items MUST support pagination:
yamlparameters: - name: limit in: query schema: type: integer default: 20 maximum: 100 - name: offset in: query schema: type: integer default: 0
Response should include pagination metadata:
yamlproperties: data: type: array items: ... meta: type: object properties: total: type: integer limit: type: integer offset: type: integer
components.securitySchemes sectionsecret type in PostmanWhen creating Postman collections:
2026-01-15T10:30:00Zformat: date-time in schemas for datetime fieldsformat: date for date-only fieldsformat: email for email fieldsformat: uri for URL fieldsinfo.version: "1.0.0"/v1/users) or header versioningdeprecated: trueOther measured skills in the registry, with their headline benchmark lift.